/* ============================================
   LushDesires Store — Shared Styles
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --rose: #c4707a;
  --rose-light: #e8b4bc;
  --rose-pale: #faf0f2;
  --plum: #3d1f2e;
  --plum-light: #5a3347;
  --cream: #fdf8f5;
  --warm-white: #fffbf9;
  --text: #2a1520;
  --text-light: #6b4d5e;
  --gold: #c9a96e;
  --success: #4a8c6f;
  --danger: #c45858;
  --border: rgba(196, 112, 122, 0.15);
  --shadow-sm: 0 2px 8px rgba(61, 31, 46, 0.06);
  --shadow-md: 0 8px 30px rgba(61, 31, 46, 0.08);
  --shadow-lg: 0 20px 60px rgba(61, 31, 46, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ============ AGE GATE ============ */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(165deg, var(--plum) 0%, #2a1520 35%, #1a0d14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.age-gate.hidden {
  opacity: 0;
  pointer-events: none;
}

.age-gate-card {
  text-align: center;
  max-width: 440px;
  padding: 3rem 2.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.age-gate-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--rose-light);
  margin-bottom: 0.5rem;
}

.age-gate-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.age-gate-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 300;
}

.age-gate-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-gate-buttons button {
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-age-yes {
  background: var(--rose);
  color: #fff;
}

.btn-age-yes:hover {
  background: var(--rose-light);
  color: var(--plum);
}

.btn-age-no {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15) !important;
}

.btn-age-no:hover {
  border-color: rgba(255,255,255,0.3) !important;
  color: rgba(255,255,255,0.7);
}

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--plum);
  text-decoration: none;
  font-weight: 600;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 400;
  transition: color var(--transition);
  letter-spacing: 0.5px;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--plum);
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-count {
  background: var(--rose);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -8px;
  right: -10px;
}

.cart-count.empty {
  display: none;
}

/* ============ HERO BANNER (shop page) ============ */

.shop-hero {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.shop-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 112, 122, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.shop-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  font-weight: 400;
  margin-bottom: 0.75rem;
  position: relative;
}

.shop-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  position: relative;
}

/* ============ CATEGORY FILTERS ============ */

.category-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--text-light);
}

.filter-btn:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.filter-btn.active {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
}

/* ============ PRODUCT GRID ============ */

.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image-icon {
  font-size: 3rem;
  opacity: 0.3;
  color: #fff;
  position: relative;
  z-index: 1;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.badge-featured {
  background: var(--gold);
  color: var(--plum);
}

.badge-sale {
  background: var(--rose);
  color: #fff;
}

.product-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.product-category-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--rose);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 0.4rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--plum);
}

.product-price-compare {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 0.5rem;
  font-weight: 300;
}

.btn-add-cart {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--plum);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-add-cart:hover {
  background: var(--rose);
}

.btn-add-cart.added {
  background: var(--success);
}

/* ============ PRODUCT DETAIL ============ */

.product-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-detail-image {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-detail-image .product-image-icon {
  font-size: 5rem;
}

.product-detail-info {
  padding-top: 1rem;
}

.product-detail-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.product-detail-breadcrumb a {
  color: var(--rose);
  text-decoration: none;
}

.product-detail-breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--plum);
  font-weight: 400;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.product-detail-short {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 0.5rem;
}

.product-detail-shipping {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 300;
}

.product-detail-shipping strong {
  color: var(--success);
  font-weight: 500;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.5rem;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.qty-btn:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.qty-btn:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.qty-btn:hover {
  background: var(--rose-pale);
}

.qty-input {
  width: 50px;
  height: 40px;
  border: 1px solid var(--border);
  border-left: none;
  border-right: none;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
}

.qty-input:focus {
  outline: none;
}

.btn-add-cart-large {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--plum);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.btn-add-cart-large:hover {
  background: var(--rose);
}

.btn-add-cart-large.added {
  background: var(--success);
}

.product-detail-description {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.product-detail-description h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 1rem;
}

.product-detail-description p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  font-weight: 300;
}

.product-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-meta-item {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 300;
}

.product-meta-item strong {
  color: var(--text);
  font-weight: 500;
}

/* Related Products */
.related-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  border-top: 1px solid var(--border);
}

.related-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--plum);
  font-weight: 400;
  margin-bottom: 2rem;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ============ CART PAGE ============ */

.cart-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.cart-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--plum);
  font-weight: 400;
  margin-bottom: 2rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
}

.cart-empty p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 300;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image .product-image-icon {
  font-size: 1.5rem;
}

.cart-item-details h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 0.25rem;
}

.cart-item-details h3 a {
  color: inherit;
  text-decoration: none;
}

.cart-item-details h3 a:hover {
  color: var(--rose);
}

.cart-item-details p {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 300;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
}

.cart-item-qty .qty-btn {
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
}

.cart-item-qty .qty-input {
  width: 40px;
  height: 32px;
  font-size: 0.9rem;
}

.cart-item-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--plum);
}

.btn-remove {
  font-size: 0.75rem;
  color: var(--text-light);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  padding: 0;
  transition: color var(--transition);
}

.btn-remove:hover {
  color: var(--danger);
}

/* Cart Summary */
.cart-summary {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 0.95rem;
}

.cart-summary-row.total {
  border-top: 2px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--plum);
}

.cart-summary-label {
  color: var(--text-light);
  font-weight: 300;
}

.cart-summary-value {
  font-weight: 500;
  color: var(--text);
}

.free-shipping-note {
  font-size: 0.8rem;
  color: var(--success);
  text-align: center;
  margin-top: 0.75rem;
  font-weight: 400;
}

.btn-checkout {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--rose);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 1.5rem;
  letter-spacing: 0.5px;
}

.btn-checkout:hover {
  background: var(--plum);
}

.btn-checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.continue-shopping {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: none;
}

.continue-shopping:hover {
  color: var(--rose);
}

/* ============ CHECKOUT MODAL ============ */

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(42, 21, 32, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.checkout-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.checkout-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
}

.checkout-modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--plum);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.checkout-modal .checkout-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--rose);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkout-total {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--plum);
}

.btn-place-order {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--rose);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.btn-place-order:hover {
  background: var(--plum);
}

.btn-place-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

/* ============ ORDER CONFIRMED ============ */

.order-confirmed {
  max-width: 600px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.order-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #5ea882);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  color: #fff;
}

.order-confirmed h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--plum);
  font-weight: 400;
  margin-bottom: 1rem;
}

.order-confirmed p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.order-number {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--plum);
  background: var(--cream);
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}

/* ============ FOOTER ============ */

.site-footer {
  background: var(--plum);
  padding: 3rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--rose-light);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: rgba(255,255,255,0.7);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--rose);
  color: #fff;
}

.btn-primary:hover {
  background: var(--plum);
}

.btn-outline {
  background: transparent;
  color: var(--plum);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--rose);
  color: var(--rose);
}

/* ============ LOADING ============ */

.loading-skeleton {
  background: linear-gradient(90deg, var(--cream) 25%, var(--rose-pale) 50%, var(--cream) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.loading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.loading-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.loading-card-image {
  aspect-ratio: 1;
}

.loading-card-text {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.loading-line {
  height: 14px;
  border-radius: 7px;
}

.loading-line.short { width: 40%; }
.loading-line.medium { width: 70%; }
.loading-line.long { width: 100%; }

/* ============ TOAST ============ */

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9000;
  background: var(--plum);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 400;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: var(--success);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .cart-item {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

  .cart-item-qty {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .cart-item-right {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .header-nav {
    gap: 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .shop-hero {
    padding: 3rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .products-section {
    padding: 0 1rem 3rem;
  }

  .category-filters {
    padding: 1.5rem 1rem;
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }

  .cart-page {
    padding: 2rem 1rem 3rem;
  }

  .site-header {
    padding: 0 1rem;
  }

  .header-logo {
    font-size: 1.2rem;
  }

  .checkout-modal {
    padding: 2rem 1.5rem;
  }

  .form-row {
    flex-direction: column;
  }
}

/* ============ REAL PRODUCT IMAGES ============ */

.product-image-real img.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0.5rem;
  background: rgba(255,255,255,0.9);
  border-radius: inherit;
}

.product-image-real {
  position: relative;
  overflow: hidden;
}

/* Product detail page real image */
.product-detail-image.product-image-real {
  position: relative;
  overflow: hidden;
}

.product-detail-image.product-image-real img.product-detail-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1rem;
  background: rgba(255,255,255,0.95);
}

/* Thumbnail gallery */
.product-thumbnails {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0;
  overflow-x: auto;
}

.product-thumbnail {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
  flex-shrink: 0;
}

.product-thumbnail:hover,
.product-thumbnail.active {
  border-color: var(--rose);
}

/* Cart item real images */
.cart-item-image-real img.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.25rem;
  background: rgba(255,255,255,0.9);
  border-radius: inherit;
}

/* Stock indicators */
.product-stock {
  font-size: 0.85rem;
  margin: 0.25rem 0 0.5rem;
}

.product-stock.in-stock {
  color: var(--success);
  font-weight: 500;
}

.product-stock.low-stock {
  color: var(--danger);
  font-weight: 600;
}

.badge-low-stock {
  background: var(--danger) !important;
  color: #fff !important;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
}

/* Brand tag */
.product-brand {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0.25rem 0 0.5rem;
}

/* ============ CHECKOUT FORM ENHANCEMENTS ============ */

.checkout-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--plum);
  margin: 1.25rem 0 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.form-row .form-group {
  flex: 1;
}

.checkout-discreet-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  font-style: italic;
}
