/* ======================================================
   MATCHIVA — Premium Clean E-Commerce Design System
   ====================================================== */

:root {
  --color-dark-emerald: #1A3C28;
  --color-green-primary: #2B6E3F;
  --color-green-light: #F0FDF4;
  --color-gold-accent: #C4C94A;
  --color-bg-cream: #FAF8F5;
  --color-text-dark: #0F172A;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;
  --font-serif: 'Shippori Mincho', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

/* Universal Pointer Cursor for All Buttons, Links & Interactive Elements */
button,
[type="button"],
[type="submit"],
[type="reset"],
[role="button"],
.btn,
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-warning,
.btn-ghost,
.btn-sm,
.btn-lg,
.btn-detail-wishlist,
.star-btn,
.close-btn,
.nav-auth-btn,
.modal-head button,
.modal-foot button,
.modal-overlay button,
a,
select {
  cursor: pointer;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-cream);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Particle Canvas */
canvas#matchaCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ======================================================
   SLIDE-OUT CART DRAWER & MOBILE OVERLAY (STRICTLY HIDDEN BY DEFAULT)
   ====================================================== */

.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
}
.cart-overlay.open {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  z-index: 9999;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F8FAFC;
}
.cart-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}
.cart-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #64748B;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* Free Shipping Progress */
.free-shipping-box {
  background: #F1F5F9;
  padding: 12px 24px;
  border-bottom: 1px solid #E2E8F0;
  font-size: 12px;
  color: #475569;
}
.free-shipping-box p { margin: 0 0 6px 0; }
.free-shipping-track {
  height: 6px;
  background: #CBD5E1;
  border-radius: 4px;
  overflow: hidden;
}
.free-shipping-bar {
  height: 100%;
  background: linear-gradient(90deg, #2B6E3F, #C4C94A);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* Cart Items List */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.empty-cart-state {
  text-align: center;
  padding: 40px 0;
  color: #64748B;
}
.empty-icon { font-size: 44px; display: block; margin-bottom: 10px; }

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #F8FAFC;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  position: relative;
}
.cart-item-img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  background: #ffffff;
}
.cart-item-info { flex: 1; }
.cart-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 2px 0;
}
.cart-item-option {
  font-size: 11px;
  color: #64748B;
  display: block;
  margin-bottom: 6px;
}
.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-qty-ctrl {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
}
.qty-btn {
  background: transparent;
  border: none;
  width: 22px;
  height: 22px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
}
.qty-val {
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  color: #0F172A;
}
.cart-item-price {
  font-size: 14px;
  font-weight: 800;
  color: #2B6E3F;
}
.cart-remove-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.cart-remove-btn:hover { color: #DC2626; }

/* Cart Footer */
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid #E2E8F0;
  background: #ffffff;
}
.cart-gift-note {
  font-size: 12px;
  color: #475569;
  margin-bottom: 12px;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}
.subtotal-val {
  font-size: 18px;
  font-weight: 800;
  color: #2B6E3F;
}
.cart-tax-hint {
  font-size: 11px;
  color: #94A3B8;
  margin: 0 0 16px 0;
}

/* MOBILE MENU (STRICTLY HIDDEN BY DEFAULT) */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9997;
  padding: 40px 24px;
  flex-direction: column;
  justify-content: space-between;
}
.mobile-menu.open {
  display: flex;
}
.mobile-logo {
  max-width: 140px;
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
}
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mob-link {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
}

/* ======================================================
   NAVIGATION BAR
   ====================================================== */

nav#navbar {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.logo-img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-item {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-item:hover { color: var(--color-green-primary); }
.badge-nav {
  background: #E0E7FF;
  color: #4F46E5;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
}

.nav-actions { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.btn-pill.desktop-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: var(--color-dark-emerald);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-pill.desktop-pill:hover {
  background: var(--color-green-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(43, 110, 63, 0.2);
}

.desktop-cart-badge {
  background: #C4C94A;
  color: #0F2619;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 12px;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.mobile-cart-icon {
  display: none !important;
}

.btn-cart-nav {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-dark-emerald);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
}
.btn-cart-nav:hover {
  border-color: var(--color-green-primary);
  transform: translateY(-1px);
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #DC2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0F172A;
  margin: 5px 0;
}

/* ======================================================
   SECTIONS & HERO
   ====================================================== */

section {
  position: relative;
  z-index: 1;
  padding: 90px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-header { margin-bottom: 45px; }
.section-tag {
  color: var(--color-green-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--color-text-dark);
}
.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.section-sub { color: var(--color-text-muted); font-size: 15px; margin-top: 6px; }
.text-center { text-align: center; }

/* HERO SECTION */
.hero-section {
  padding-top: 140px;
  padding-bottom: 70px;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark-emerald);
  margin-bottom: 20px;
}
.kanji-accent { color: var(--color-green-primary); font-weight: 800; }

.hero-heading {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}
.highlight-text { color: var(--color-green-primary); }

.hero-description {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-cta-group { display: flex; gap: 14px; align-items: center; }
.btn-primary {
  background: var(--color-green-primary);
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background: var(--color-dark-emerald);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 110, 63, 0.25);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-text-dark);
  border: 1px solid var(--color-border);
  padding: 13px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--color-green-primary);
  color: var(--color-green-primary);
  transform: translateY(-1px);
}

.btn-danger {
  background: #DC2626;
  color: #ffffff;
  border: 1px solid #DC2626;
  padding: 13px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-danger:hover {
  background: #B91C1C;
  border-color: #B91C1C;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
}

.btn-warning {
  background: #F59E0B;
  color: #ffffff;
  border: 1px solid #F59E0B;
  padding: 13px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-warning:hover {
  background: #D97706;
  border-color: #D97706;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px !important;
  font-size: 12.5px !important;
}

.hero-photo-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 16px 35px rgba(0,0,0,0.06);
  border: 1px solid var(--color-border);
  text-align: center;
}
.hero-main-photo {
  max-width: 100%;
  max-height: 380px;
  border-radius: 16px;
  object-fit: cover;
}
.photo-floating-tag {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

/* MARQUEE BANNER — SEAMLESS INFINITE LOOP */
.marquee-wrapper {
  background: var(--color-dark-emerald);
  color: #ffffff;
  padding: 11px 0;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  box-sizing: border-box !important;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeSlide 28s linear infinite;
}
.marquee-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.marquee-set span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0 28px;
  position: relative;
}
.marquee-set span::after {
  content: '✦';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  opacity: 0.6;
}
@keyframes marqueeSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CATALOG & PRODUCTS GRID */
.catalog-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}
.cat-filter-btn {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-filter-btn:hover { color: var(--color-text-dark); border-color: #CBD5E1; }
.cat-filter-btn.active {
  background: var(--color-green-primary);
  color: #ffffff;
  border-color: var(--color-green-primary);
  box-shadow: 0 4px 14px rgba(43, 110, 63, 0.2);
}

.page-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 20px 24px;
}

.page-main,
.collection-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px 80px 24px;
  width: 100%;
  box-sizing: border-box;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  overflow: visible;
  padding: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
.product-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  overflow: hidden;
  box-sizing: border-box;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(43, 110, 63, 0.12);
  border-color: rgba(43, 110, 63, 0.3);
}

.p-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #F1F5F9;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 12px;
  text-transform: uppercase;
  z-index: 2;
}
.p-badge.hot { background: #FEE2E2; color: #DC2626; }
.p-badge.star { background: #FEF3C7; color: #D97706; }
.p-badge.3d { background: #E0E7FF; color: #4F46E5; }

.p-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #FAF7F2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  flex-shrink: 0;
}
.p-real-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.product-card:hover .p-real-img {
  transform: scale(1.05);
}

/* Dedicated Image Countdown Ribbon (Below Image, Sleek & Compact) */
.card-image-countdown-bar {
  position: relative;
  background: linear-gradient(135deg, #1A3C28 0%, #2B6E3F 100%);
  color: #ffffff;
  padding: 3px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 8.5px;
  font-weight: 800;
  border-radius: 6px;
  margin: 0 0 6px 0;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(26, 60, 40, 0.15);
  flex-shrink: 0;
  overflow: hidden;
}
.card-image-countdown-bar .card-cd-title {
  letter-spacing: 0.4px;
  font-weight: 800;
  font-size: 8.5px;
  color: #F1F5F9;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
}
.card-image-countdown-bar .countdown-timer-val {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(196, 201, 74, 0.35);
  color: #C4C94A;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.p-details { 
  display: flex; 
  flex-direction: column; 
  flex: 1; 
  padding: 4px 2px 2px 2px; 
}
.p-details h3 { 
  font-size: 14px; 
  font-weight: 700; 
  color: var(--color-text-dark); 
  margin: 0 0 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 18px;
}
.p-desc { 
  font-size: 11px; 
  color: var(--color-text-muted); 
  margin: 0 0 8px 0; 
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
}
.p-footer { 
  display: flex; 
  flex-direction: column; 
  align-items: stretch; 
  gap: 8px; 
  margin-top: auto; 
  padding-top: 8px;
  border-top: 1px solid #F1F5F9;
}
.p-price-wrap { 
  display: flex; 
  align-items: baseline; 
  gap: 6px; 
  min-height: 24px;
  flex-wrap: wrap;
}
.p-price { 
  font-size: 17px; 
  font-weight: 800; 
  color: var(--color-green-primary); 
  line-height: 1.2;
}
.p-old-price { 
  font-size: 11.5px; 
  color: #94A3B8; 
  text-decoration: line-through; 
  font-weight: 600; 
  line-height: 1.2;
}
.p-discount-pill { 
  display: none; 
}

/* DISCOUNT CARDS & FALLING GREEN ARROWS */
.product-card.has-discount-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
}

.card-bg-arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  border-radius: 18px;
}

.bg-fall-arrow {
  position: absolute;
  width: 22px;
  height: 30px;
  pointer-events: none;
  z-index: 0;
  animation: arrowFallDown var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
  transform-origin: center center;
  opacity: 0.4;
}

@keyframes arrowFallDown {
  0% {
    transform: translateY(0) scale(var(--scale, 0.9));
    opacity: 0;
  }
  30% {
    opacity: var(--target-opacity, 0.6);
  }
  70% {
    opacity: var(--target-opacity, 0.6);
  }
  100% {
    transform: translateY(var(--travel-dist, 60px)) scale(var(--scale, 0.9));
    opacity: 0;
  }
}

/* DISCOUNT CARDS GREEN BORDER & BREATHING GLOW SHADOW */
.product-card.has-discount-glow {
  border: 1.5px solid rgba(43, 110, 63, 0.45);
  animation: discountGlowPulse 3.2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.product-card.has-discount-glow:hover {
  border-color: var(--color-green-primary);
  box-shadow: 0 12px 36px rgba(43, 110, 63, 0.35), 0 0 20px rgba(43, 110, 63, 0.35), 0 0 0 2px rgba(43, 110, 63, 0.55);
}

@keyframes discountGlowPulse {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(43, 110, 63, 0.14), 0 0 6px rgba(43, 110, 63, 0.12);
  }
  50% {
    box-shadow: 0 8px 30px rgba(43, 110, 63, 0.32), 0 0 18px rgba(43, 110, 63, 0.30);
  }
}

.products-grid {
  overflow: visible;
}
.collection-section,
.catalog-categories-container,
.catalog-category-block {
  overflow: visible;
}

.btn-group-sm { 
  display: grid; 
  grid-template-columns: 1fr 1.35fr; 
  gap: 8px; 
  width: 100%;
}
.btn-sm { 
  padding: 8px 10px; 
  font-size: 12.5px; 
  font-weight: 700; 
  border-radius: 20px; 
  text-align: center;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-sm.btn-secondary {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #334155;
  text-decoration: none;
}
.btn-sm.btn-secondary:hover {
  border-color: var(--color-green-primary);
  color: var(--color-green-primary);
  background: #ffffff;
  transform: translateY(-1px);
}
.btn-sm.btn-primary {
  background: var(--color-dark-emerald);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(43, 110, 63, 0.2);
}
.btn-sm.btn-primary:hover {
  background: var(--color-green-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(43, 110, 63, 0.3);
}

/* ADDED TO CART BUTTON CHECKMARK ANIMATION */
.btn-added-success,
.btn-sm.btn-primary.btn-added-success {
  background: linear-gradient(135deg, #1A3C28 0%, #2B6E3F 100%) !important;
  color: #C4C94A !important;
  border-color: #2B6E3F !important;
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(43, 110, 63, 0.4) !important;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-check-svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  stroke: #C4C94A;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: strokeCheckDraw 0.4s ease forwards;
}

@keyframes strokeCheckDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Header Cart Badge Pulse on Add */
.cart-badge-bounce {
  animation: cartBadgeBounce 0.5s ease-in-out;
}
@keyframes cartBadgeBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.45); }
}

/* BUNDLE CUSTOMIZER SECTION */
.customizer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.customizer-preview {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.preview-stage {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.preview-real-photo {
  max-height: 260px;
  max-width: 90%;
  object-fit: contain;
}

.preview-summary-box {
  background: var(--color-bg-cream);
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
}
.sku-badge { font-size: 14px; font-weight: 800; color: var(--color-dark-emerald); margin-bottom: 8px; }
.price-display-wrapper { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.price-label { font-size: 12px; color: var(--color-text-muted); }
.price-val { font-size: 22px; font-weight: 800; color: var(--color-green-primary); }
.full-width { width: 100%; text-align: center; justify-content: center; }

.customizer-controls { display: flex; flex-direction: column; gap: 20px; }
.custom-step-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.step-tag { font-size: 11px; font-weight: 800; color: var(--color-green-primary); letter-spacing: 1.5px; display: block; margin-bottom: 4px; }
.custom-step-card h4 { font-size: 16px; font-weight: 700; color: var(--color-text-dark); margin-bottom: 14px; }

.bowl-category-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.bowl-type-btn {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}
.bowl-type-btn.active {
  border-color: var(--color-green-primary);
  background: var(--color-green-light);
  box-shadow: 0 4px 14px rgba(43, 110, 63, 0.1);
}
.bowl-type-btn strong { display: block; font-size: 13px; color: var(--color-text-dark); }
.bowl-type-btn span { font-size: 11px; color: var(--color-text-muted); }

.color-options-grid { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px; 
  margin-top: 10px;
}

.color-swatch-btn,
.color-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  padding: 8px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.color-swatch-btn:hover,
.color-btn:hover {
  border-color: #2B6E3F;
  background: #F8FAFC;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 110, 63, 0.1);
}

.color-swatch-btn.active,
.color-btn.active {
  border-color: #2B6E3F;
  background: #F0FDF4;
  color: #1A3C28;
  box-shadow: 0 4px 14px rgba(43, 110, 63, 0.16);
}

.swatch-color,
.color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.swatch-name {
  line-height: 1.2;
}

.tier-options-list { display: flex; flex-direction: column; gap: 10px; }
.tier-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 14px 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tier-card.active {
  border-color: var(--color-green-primary);
  background: var(--color-green-light);
  box-shadow: 0 4px 14px rgba(43, 110, 63, 0.12);
}
.tier-main strong { font-size: 14px; color: var(--color-text-dark); display: block; }
.tier-main p { font-size: 11px; color: var(--color-text-muted); margin-top: 2px; }
.tier-price { font-size: 16px; font-weight: 800; color: var(--color-green-primary); }
.tier-badge-pop {
  position: absolute;
  top: -8px;
  right: 14px;
  background: #FEF3C7;
  color: #D97706;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
}

/* UNBOXING & SAFE PACKAGING SECTION */
.unboxing-section {
  padding: 60px 24px;
}

.unboxing-interactive-container {
  background: #ffffff;
  border-radius: 28px;
  padding: 36px;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
  max-width: 1200px;
  margin: 0 auto;
}

.unboxing-stage {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
}

.unboxing-visual-col {
  width: 100%;
  display: flex;
  justify-content: center;
}

.box-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 440px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #FAF8F5;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 20px;
}

.box-real-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.box-visual-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  z-index: 2;
}

.unboxing-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  padding: 20px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.detail-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateX(4px);
}

.detail-card.active {
  border-color: #2B6E3F;
  background: #F0FDF4;
  box-shadow: 0 6px 20px rgba(43, 110, 63, 0.12);
  transform: translateX(6px);
}

.step-num {
  font-size: 11.5px;
  font-weight: 800;
  color: #2B6E3F;
  display: inline-block;
  background: #DCFCE7;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.detail-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.detail-card p {
  font-size: 13px;
  line-height: 1.5;
  color: #64748B;
  margin: 0;
}

@media (max-width: 900px) {
  .unboxing-stage {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .unboxing-interactive-container {
    padding: 20px 16px;
  }
  .detail-card.active, .detail-card:hover {
    transform: none;
  }
}

/* ======================================================
   FOAM & WHISK RITUAL SIMULATOR (W / M GUIDE)
   ====================================================== */
.mixer-section {
  padding: 60px 24px;
  background: linear-gradient(180deg, #FAF8F2 0%, #F5F1E6 100%);
}

.mixer-container {
  background: #ffffff;
  border-radius: 28px;
  padding: 40px;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
  max-width: 1080px;
  margin: 0 auto;
}

.mixer-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

/* Left Bowl Simulation Stage */
.bowl-simulation-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sim-bowl-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.sim-bowl {
  position: relative;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4B7856 0%, #1E3A25 60%, #112619 100%);
  border: 12px solid #E8DEC8;
  box-shadow: 0 18px 45px rgba(17, 38, 25, 0.35), inset 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 0 2px rgba(180, 160, 130, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-liquid-base {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, #2A5A35 0%, #15341C 75%, #0B2111 100%);
  opacity: 0.95;
}

.sim-foam-layer {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, #C8E65A 0%, #88C33E 40%, #468A2E 75%, rgba(35, 75, 25, 0.9) 100%);
  box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.45), 0 0 20px rgba(160, 220, 60, 0.3);
  opacity: 0.85;
  transform: scale(0.9);
  transition: all 0.35s ease;
}

.foam-bubbles-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  filter: blur(1px);
}
.foam-bubbles-particle.p1 { width: 45px; height: 45px; top: 30%; left: 35%; opacity: 0.6; }
.foam-bubbles-particle.p2 { width: 35px; height: 35px; top: 55%; left: 50%; opacity: 0.5; }
.foam-bubbles-particle.p3 { width: 25px; height: 25px; top: 40%; left: 60%; opacity: 0.7; }

/* W / M Guide SVG Overlay */
.sim-motion-guide {
  position: absolute;
  width: 200px;
  height: 120px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.wm-guide-path {
  fill: none;
  stroke: #FEF08A;
  stroke-width: 3;
  stroke-dasharray: 6 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(254, 240, 138, 0.8));
  animation: guideDashMove 1.5s linear infinite;
}

@keyframes guideDashMove {
  to {
    stroke-dashoffset: -22;
  }
}

.wm-guide-dot {
  fill: #FFFFFF;
  stroke: #16A34A;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px #FEF08A);
}

/* Whisk Graphic & Keyframe Animation */
.sim-whisk-holder {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 95px;
  height: 130px;
  margin-top: -65px;
  margin-left: -47px;
  pointer-events: none;
  animation: whiskWMotion var(--whisk-duration, 0.65s) ease-in-out infinite;
  transform-origin: 50% 85%;
}

.sim-whisk-holder.mode-m {
  animation-name: whiskMMotion;
}

.sim-whisk-graphic {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.55));
}

/* Authentic Japanese W-Motion Whisking Keyframes */
@keyframes whiskWMotion {
  0% {
    transform: translate(-55px, -20px) rotate(-10deg);
  }
  25% {
    transform: translate(-25px, 30px) rotate(4deg);
  }
  50% {
    transform: translate(0px, -20px) rotate(-6deg);
  }
  75% {
    transform: translate(25px, 30px) rotate(8deg);
  }
  100% {
    transform: translate(55px, -20px) rotate(-10deg);
  }
}

/* M-Motion Whisking Keyframes */
@keyframes whiskMMotion {
  0% {
    transform: translate(-55px, 30px) rotate(8deg);
  }
  25% {
    transform: translate(-25px, -20px) rotate(-10deg);
  }
  50% {
    transform: translate(0px, 30px) rotate(6deg);
  }
  75% {
    transform: translate(25px, -20px) rotate(-8deg);
  }
  100% {
    transform: translate(55px, 30px) rotate(8deg);
  }
}

.sim-bowl-tag {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  padding: 4px 12px;
  border-radius: 100px;
}

/* Right Controls Column */
.sim-controls-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sim-status-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px 20px;
}

.sim-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sim-status-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #15803D;
  background: #DCFCE7;
  padding: 3px 10px;
  border-radius: 100px;
}

.sim-speed-num {
  font-size: 13px;
  font-weight: 800;
  color: #2B6E3F;
  font-feature-settings: "tnum";
}

.sim-status-card h3.sim-val {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
}

.sim-status-desc {
  font-size: 13px;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}

.sim-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
}

.custom-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  accent-color: #2B6E3F;
  cursor: pointer;
}

/* Mode Buttons */
.sim-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sim-mode-btn {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: inherit;
}

.sim-mode-btn:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
}

.sim-mode-btn.active {
  border-color: #2B6E3F;
  background: #F0FDF4;
  box-shadow: 0 4px 12px rgba(43, 110, 63, 0.12);
}

.sim-mode-btn strong {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
}

.sim-mode-btn.active strong {
  color: #15803D;
}

.sim-mode-btn span {
  font-size: 11px;
  color: #64748B;
}

/* Master Tips Box */
.sim-tips-box {
  background: #FEF9C3;
  border: 1px solid #FEF08A;
  border-radius: 14px;
  padding: 14px 16px;
}

.sim-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tip-icon {
  font-size: 16px;
  line-height: 1.2;
}

.sim-tip-item p {
  font-size: 12.5px;
  color: #713F12;
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .mixer-grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mixer-container {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .sim-bowl {
    width: 220px;
    height: 220px;
  }
  .sim-motion-guide {
    width: 160px;
    height: 90px;
  }
}

/* FOOTER */
footer.footer-section {
  background: var(--color-dark-emerald);
  color: #ffffff;
  padding: 70px 24px 24px 24px;
  margin-top: 80px;
}
.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer-logo { max-height: 38px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { color: #94A3B8; font-size: 13px; max-width: 300px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.f-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: #ffffff; }
.f-col a, .f-col p { display: block; color: #94A3B8; font-size: 13px; text-decoration: none; margin-bottom: 8px; }
.f-col a:hover { color: #ffffff; }
.f-btn { color: var(--color-gold-accent) !important; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; color: #64748B; font-size: 12px; }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .customizer-grid { grid-template-columns: 1fr; }
  .unboxing-stage { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hamburger-btn { display: block; }
  .hero-heading { font-size: 34px; }
  .section-title { font-size: 26px; }

  /* Product Cards Mobile 2-Column Responsive Layout */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    align-items: stretch !important;
  }
  .product-card {
    padding: 12px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .card-bg-arrows {
    inset: 0 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }
  .p-badge {
    top: 8px !important;
    left: 8px !important;
    font-size: 9px !important;
    padding: 3px 8px !important;
  }
  .p-img-box {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    margin-bottom: 6px !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }
  .p-real-img {
    padding: 4px !important;
    object-fit: cover !important;
  }
  .card-image-countdown-bar {
    height: 20px !important;
    min-height: 20px !important;
    flex-shrink: 0 !important;
    margin-bottom: 4px !important;
  }
  .p-details {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }
  .p-details h3 {
    font-size: 12px !important;
    margin-bottom: 2px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .p-desc {
    font-size: 10.5px !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 0 !important;
  }
  .p-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 5px !important;
    padding-top: 6px !important;
    margin-top: auto !important;
  }
  .p-price {
    font-size: 14px !important;
  }
  .p-old-price {
    font-size: 10px !important;
  }
  .btn-group-sm {
    width: 100% !important;
    gap: 4px !important;
    display: block !important;
  }
  .btn-group-sm .btn-secondary {
    display: none !important;
  }
  .btn-group-sm .btn-primary {
    width: 100% !important;
    text-align: center !important;
    padding: 7px 8px !important;
    font-size: 11px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 440px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  .product-card {
    padding: 9px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }
  .card-bg-arrows {
    inset: 0 !important;
    border-radius: 14px !important;
  }
  .p-img-box {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    margin-bottom: 4px !important;
  }
  .p-real-img {
    padding: 4px !important;
  }
  .card-image-countdown-bar {
    height: 18px !important;
    min-height: 18px !important;
  }
  .p-details h3 {
    font-size: 11.5px !important;
  }
  .btn-group-sm .btn-primary {
    font-size: 10px !important;
    padding: 6px 6px !important;
  }
}


/* ======================================================
   MATCHIVA — DIRECT CHECKOUT & SEPET PAGE STYLES
   ====================================================== */

.page-header {
  padding-top: 130px;
  padding-bottom: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.page-main { padding-top: 30px; }

.checkout-page-container {
  padding-top: 130px;
  padding-bottom: 80px;
  max-width: 1180px;
  margin: 0 auto;
}

.checkout-header {
  margin-bottom: 40px;
}
.checkout-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text-dark);
}
.checkout-header p {
  color: var(--color-text-muted);
  font-size: 15px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: start;
}

.checkout-main-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 24px;
}

.checkout-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}
.card-head .step-num {
  background: var(--color-green-primary);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.card-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0;
}

/* Clear Cart Button (Red Underlined Text on PC/Laptop, Red Trash Can on Phone/Tablet) */
.clear-cart-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #DC2626;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: all 0.2s ease;
  font-family: inherit;
}
.clear-cart-btn .clear-cart-text {
  display: inline;
  color: #DC2626;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.clear-cart-btn .clear-cart-icon {
  display: none;
}
.clear-cart-btn:hover .clear-cart-text {
  color: #991B1B;
  text-decoration-thickness: 2px;
}

/* Checkout Cart List */
.checkout-cart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checkout-cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: #F8FAFC;
  border-radius: 14px;
  border: 1px solid var(--color-border);
}
.checkout-item-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  background: #ffffff;
}
.checkout-item-info { flex: 1; }
.checkout-item-title { font-size: 14px; font-weight: 700; color: var(--color-text-dark); margin: 0 0 2px 0; }
.checkout-item-opt { font-size: 12px; color: var(--color-text-muted); display: block; }
.checkout-item-price { font-size: 16px; font-weight: 800; color: var(--color-green-primary); }

/* Forms */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 14px;
  background: #ffffff;
  color: var(--color-text-dark);
  transition: border-color 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-green-primary);
  box-shadow: 0 0 0 3px rgba(43, 110, 63, 0.1);
}
.form-row { display: flex; }
.gap-2 { gap: 16px; }
.form-row .form-group { flex: 1; }

/* Payment Methods Toggle */
.payment-methods-toggle {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.pay-method-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid var(--color-border);
  padding: 14px 18px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.pay-method-opt:hover { background: #ffffff; }
.pay-method-opt.active {
  border-color: var(--color-green-primary);
  background: var(--color-green-light);
  color: var(--color-green-primary);
}

.card-pay-box {
  background: #F8FAFC;
  border: 1px solid var(--color-border);
  padding: 20px;
  border-radius: 16px;
}
.card-brands-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}
.brand-tag {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #334155;
}
.security-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-green-primary);
  margin-left: auto;
}
.security-check {
  font-size: 12px;
  color: var(--color-text-dark);
  margin-top: 10px;
}

/* Sidebar Order Summary */
.summary-card {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.summary-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.summary-row span:last-child {
  font-weight: 700;
  color: var(--color-text-dark);
}
.discount-row span { color: #DC2626 !important; }

.coupon-input-box {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.coupon-input-box input { flex: 1; padding: 10px 14px; font-size: 12px; }
.coupon-input-box button { padding: 10px 16px; font-size: 12px; white-space: nowrap; }

.summary-divider {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 16px 0;
}
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.summary-total-row span:first-child { font-size: 15px; font-weight: 700; color: var(--color-text-dark); }
.grand-total-val { font-size: 26px; font-weight: 800; color: var(--color-green-primary); }
.summary-total-label-col { display: flex; flex-direction: column; gap: 2px; }
.summary-kdv-note { font-size: 11px; font-weight: 500; color: var(--color-text-muted); }

.btn-checkout-submit {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 30px;
}
.checkout-guarantee {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 16px;
  text-align: center;
  line-height: 1.5;
}

.security-badge {
  background: #F0FDF4;
  border: 1px solid rgba(43, 110, 63, 0.2);
  color: var(--color-green-primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 992px) {
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .summary-card { position: static; }
}





/* PRODUCT DETAIL PAGE STYLES */
.product-detail-page-container {
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}
.breadcrumb a {
  color: var(--color-green-primary);
  text-decoration: none;
  font-weight: 600;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.detail-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-image-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-main-img {
  max-width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

.detail-3d-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.detail-3d-box .box-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark-emerald);
}

.detail-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.2;
}
.product-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-green-primary);
}
.product-description {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.specs-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--color-border);
}
.specs-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}
.specs-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.specs-card li {
  font-size: 13px;
  color: var(--color-text-muted);
}
.specs-card li strong {
  color: var(--color-text-dark);
}

.detail-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}
.cart-qty-ctrl.large {
  padding: 4px;
  border-radius: 24px;
  height: 48px;
}
.cart-qty-ctrl.large .qty-btn {
  width: 36px;
  height: 36px;
  font-size: 16px;
}
.cart-qty-ctrl.large .qty-val {
  padding: 0 14px;
  font-size: 15px;
}

.shipping-info-box {
  background: var(--color-green-light);
  border: 1px solid rgba(43, 110, 63, 0.2);
  padding: 16px;
  border-radius: 16px;
  font-size: 13px;
  color: var(--color-dark-emerald);
}
.shipping-info-box p { margin-bottom: 6px; }
.shipping-info-box p:last-child { margin-bottom: 0; }

.p-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.p-link:hover { color: var(--color-green-primary); }

/* ======================================================
   FULL 100% RESPONSIVE MEDIA QUERIES FOR ALL PAGES
   ====================================================== */

@media (max-width: 1024px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  nav#navbar { height: 64px; }
  .nav-inner { padding: 0 16px; }
  .nav-menu { display: none; }
  .hamburger-btn { display: block; }
  
  section { padding: 60px 16px; }
  .hero-section { padding-top: 110px; padding-bottom: 50px; }
  .hero-heading { font-size: 34px; }
  .hero-description { font-size: 15px; }

  .page-header { padding-top: 100px; padding-bottom: 20px; }
  .section-title { font-size: 26px; }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  .product-card { padding: 14px; border-radius: 16px; }
  .p-img-box { height: 160px; }

  .customizer-grid { grid-template-columns: 1fr; gap: 24px; }
  .preview-stage { height: 240px; }

  .checkout-page-container { padding-top: 100px; padding-left: 16px; padding-right: 16px; }
  .checkout-card { padding: 18px; border-radius: 16px; }
  .form-row { flex-direction: column; gap: 0; }
  .summary-card { position: static; }

  .detail-actions { flex-direction: column; }
  .cart-qty-ctrl.large { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 28px; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn-primary, .hero-cta-group .btn-secondary { width: 100%; text-align: center; justify-content: center; }
  
  .products-grid { grid-template-columns: 1fr; }
  .catalog-filter-bar { gap: 6px; }
  .cat-filter-btn { padding: 6px 14px; font-size: 12px; }

  .payment-methods-toggle { font-size: 12px; }
  .pay-method-opt { padding: 10px 12px; font-size: 12px; }
}


/* ======================================================
   MATCHIVA — HIGH-END DYNAMIC TOP ANNOUNCEMENT BAR & COUNTDOWN
   ====================================================== */

.top-announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 11px 20px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.4;
  text-align: center;
  color: #ffffff;
  position: relative;
  z-index: 1001;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  box-sizing: border-box;
  width: 100%;
}

/* THEMES */
.top-announcement-bar,
.top-announcement-bar.theme-emerald {
  background: linear-gradient(135deg, #0F2617 0%, #1A4D2E 35%, #2B6E3F 70%, #1A4D2E 100%);
  background-size: 250% 250%;
  animation: greenGradientShift 8s ease infinite;
}
.top-announcement-bar.theme-emerald strong,
.top-announcement-bar strong {
  color: #FDE047;
  font-weight: 800;
}

.top-announcement-bar.theme-gold {
  background: linear-gradient(135deg, #592804 0%, #92400E 35%, #D97706 70%, #92400E 100%);
  background-size: 250% 250%;
  animation: greenGradientShift 8s ease infinite;
}
.top-announcement-bar.theme-gold strong {
  color: #FEF08A;
  font-weight: 800;
}

.top-announcement-bar.theme-rose {
  background: linear-gradient(135deg, #4C0519 0%, #881337 35%, #BE123C 70%, #881337 100%);
  background-size: 250% 250%;
  animation: greenGradientShift 8s ease infinite;
}
.top-announcement-bar.theme-rose strong {
  color: #FECDD3;
  font-weight: 800;
}

.top-announcement-bar.theme-dark {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
}
.top-announcement-bar.theme-dark strong {
  color: #38BDF8;
  font-weight: 800;
}

/* Announcement Bar Countdown Badge */
.announcement-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.32);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 12px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.25);
}

.ann-cd-icon {
  font-size: 13px;
}

.ann-cd-lbl {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 11.5px;
}

.ann-cd-val {
  font-family: 'Space Grotesk', monospace;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
}

@keyframes greenGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ======================================================
   MATCHIVA — 100% BULLETPROOF RESPONSIVE HEADER & NAVIGATION
   ====================================================== */

.header-sticky-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: none;
}

nav#navbar {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Glass darkens slightly when page is scrolled */
.header-sticky-wrapper.scrolled nav#navbar {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 26px;
  max-height: 26px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.logo-img:hover {
  opacity: 0.8;
  transform: scale(0.97);
}

.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-item {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-item:hover, .nav-item.active {
  color: var(--color-green-primary);
}

.badge-nav {
  background: #E0E7FF;
  color: #4F46E5;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-pill {
  background: var(--color-dark-emerald);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-pill:hover {
  background: var(--color-green-primary);
  transform: translateY(-1px);
}

.btn-cart-nav {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-dark-emerald);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #DC2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0F172A;
  margin: 5px 0;
  border-radius: 2px;
}

/* Adjust page content top paddings so they sit comfortably under the sticky header */
body.has-top-bar section#hero,
body.has-top-bar .hero-section {
  padding-top: 140px;
}

body.has-top-bar .page-header,
body.has-top-bar .wizard-hero-section,
body.has-top-bar .product-detail-page-container,
body.has-top-bar .checkout-page-container {
  padding-top: 130px;
}

body.has-top-bar .legal-hero-section {
  padding-top: 130px !important;
}

/* ======================================================
   RESPONSIVE NAVBAR — FINAL CORRECT VERSION
   Desktop: logo-left | menu-center | pill-right | hamburger-hidden
   Mobile:  hamburger-left | logo-ABSOLUTE-CENTER | cart-right
   ====================================================== */

/* --- DESKTOP DEFAULTS --- */
.hamburger-btn        { display: none; }   /* hidden on desktop */
.mobile-cart-icon     { display: none; }   /* hidden on desktop */
.desktop-pill         { display: inline-flex; align-items: center; }
.nav-menu             { display: flex; }

/* --- TABLET (squeeze menu) --- */
@media (max-width: 992px) {
  .nav-menu { gap: 14px; }
  .nav-item { font-size: 13px; }
}

/* --- MOBILE (≤768px) --- */
@media (max-width: 768px) {
  /* Hide desktop elements */
  .nav-menu     { display: none !important; }
  .desktop-pill { display: none !important; }
  /* Hide the old desktop auth button/wrap on mobile — replaced by mobile account panel */
  .nav-user-wrap { display: none !important; }

  /* Show mobile elements */
  .hamburger-btn    { display: none !important; }
  .mobile-account-btn { display: flex !important; }
  .mobile-cart-icon { display: flex !important; align-items: center; position: relative; }

  /* Nav-inner: flexbox, space-between so hamburger goes left, cart goes right */
  .nav-inner {
    position: relative;        /* anchor for absolute logo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
  }

  /* Logo: absolute center */
  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Logo size */
  .logo-img { height: 22px !important; max-height: 22px !important; }

  /* Announcement bar smaller */
  .top-announcement-bar { font-size: 11px; padding: 5px 10px; }

  /* Hamburger: 3 bars */
  .hamburger-btn {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
  }
  .hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0F172A;
    border-radius: 2px;
  }
}



/* ======================================================
   MATCHIVA — STUNNING HIGH-END NAVBAR & RESPONSIVE FOOTER
   ====================================================== */

/* ULTRA-PREMIUM NAVBAR STYLING */
nav#navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(43, 110, 63, 0.15);
  box-shadow: 0 4px 25px rgba(26, 60, 40, 0.06);
  width: 100%;
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 36px;
  max-height: 36px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.nav-logo:hover .logo-img {
  transform: scale(1.04);
}

.nav-menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-item {
  position: relative;
  color: #1E293B;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 18px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2B6E3F, #C4C94A);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-item:hover {
  color: var(--color-green-primary);
  background: rgba(43, 110, 63, 0.06);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 70%;
}

.nav-item.active {
  color: var(--color-green-primary);
  background: rgba(43, 110, 63, 0.08);
}

.badge-nav {
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  color: #4F46E5;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(79, 70, 229, 0.2);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
}
.badge-nav::after { display: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Eye-Catching Shimmering Gradient CTA Button */
.btn-glow {
  background: linear-gradient(135deg, #1A3C28 0%, #2B6E3F 50%, #3A7D44 100%);
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(43, 110, 63, 0.35);
  border: 1px solid rgba(196, 201, 74, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.5s;
}

.btn-glow:hover::before {
  left: 100%;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 110, 63, 0.45);
  border-color: #C4C94A;
}

.btn-cart-nav {
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(43, 110, 63, 0.25);
  color: var(--color-dark-emerald);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.btn-cart-nav:hover {
  border-color: var(--color-green-primary);
  background: var(--color-green-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(43, 110, 63, 0.2);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #DC2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
}

/* ======================================================
   STUNNING 100% RESPONSIVE FOOTER DESIGN
   ====================================================== */

footer.footer-section {
  background: linear-gradient(180deg, #112619 0%, #0B1910 100%);
  color: #ffffff;
  padding: 80px 24px 30px 24px;
  margin-top: 100px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(196, 201, 74, 0.2);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 42px;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.6;
  max-width: 340px;
}

.footer-badges-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.f-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.f-col h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}

.f-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: #C4C94A;
  border-radius: 2px;
}

.f-col a, .f-col p {
  display: block;
  color: #94A3B8;
  font-size: 13.5px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.f-col a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.f-btn {
  color: #C4C94A !important;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  color: #64748B;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

/* FOOTER RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  footer.footer-section {
    padding: 60px 20px 30px 20px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-badges-row {
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .f-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .f-col a:hover {
    transform: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}


/* ======================================================
   MATCHIVA — CLEAN DESKTOP NAVBAR & STUNNING MOBILE DRAWER OVERLAY
   ====================================================== */

/* Clean Desktop Navbar */
nav#navbar {
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  width: 100%;
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 34px;
  max-height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-item {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-item:hover, .nav-item.active {
  color: var(--color-green-primary);
}

.badge-nav {
  background: #E0E7FF;
  color: #4F46E5;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-pill {
  background: var(--color-dark-emerald);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-pill:hover {
  background: var(--color-green-primary);
  transform: translateY(-1px);
}

.btn-cart-nav {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-dark-emerald);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #DC2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0F172A;
  margin: 5px 0;
  border-radius: 2px;
}

/* ======================================================
   STUNNING & CAN ALICI MOBILE DRAWER OVERLAY MENU
   ====================================================== */

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, #0F2619 0%, #1A3C28 60%, #0D1E14 100%);
  color: #ffffff;
  z-index: 9999;
  padding: 30px 24px;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-logo {
  height: 34px;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.mobile-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.25s ease;
}

.mob-link:hover, .mob-link.active {
  background: rgba(196, 201, 74, 0.15);
  border-color: #C4C94A;
  color: #C4C94A;
  transform: translateX(6px);
}

.mob-link .mob-tag {
  font-size: 11px;
  font-weight: 800;
  background: #C4C94A;
  color: #1A3C28;
  padding: 2px 8px;
  border-radius: 10px;
}

.mobile-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mob-cta-btn {
  background: linear-gradient(135deg, #2B6E3F, #C4C94A);
  color: #1A3C28;
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border-radius: 24px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(196, 201, 74, 0.3);
}

@media (max-width: 768px) {
  .nav-menu { display: none !important; }
  .hamburger-btn { display: block !important; }
  
  /* On Mobile / Tablet: Show Icon Button, Hide Text Pill */
  .mobile-cart-icon {
    display: flex !important;
  }
  .btn-pill.desktop-pill,
  .desktop-pill {
    display: none !important;
  }
}

/* CANVAS — must never block clicks */
#matchaCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Mobile menu must be above everything */
.mobile-menu {
  z-index: 99999 !important;
}

/* Header must sit above canvas */
.header-sticky-wrapper {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* Ensure body content is above canvas */
section, main, footer {
  position: relative;
  z-index: 1;
}


/* ======================================================
   MATCHIVA — FINAL CLEAN MOBILE MENU (OVERRIDES ALL ABOVE)
   ====================================================== */

/* Hide menu by default — never show unless .open */
.mobile-menu {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  background: linear-gradient(160deg, #0D1E14 0%, #1A3C28 100%) !important;
  z-index: 99999 !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 0 !important;
  overflow-y: auto !important;
}

/* Show only when .open is added by JS */
.mobile-menu.open {
  display: flex !important;
}

.mobile-menu-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 20px 24px 16px !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.mobile-logo {
  height: 32px !important;
  width: auto !important;
  filter: brightness(0) invert(1) !important;
  max-width: 140px !important;
}

.mobile-close-btn {
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  font-size: 22px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.mobile-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 24px 20px !important;
  flex: 1 !important;
}

.mob-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 14px 18px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 14px !important;
  transition: background 0.2s ease !important;
}

.mob-link:hover, .mob-link.active {
  background: rgba(196,201,74,0.18) !important;
  border-color: #C4C94A !important;
  color: #C4C94A !important;
}

.mob-tag {
  display: none !important;
}

.mobile-footer-actions {
  padding: 16px 20px 30px !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
}

.mob-cta-btn {
  display: block !important;
  background: linear-gradient(135deg, #2B6E3F, #C4C94A) !important;
  color: #0F2619 !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  padding: 14px !important;
  border-radius: 50px !important;
  text-align: center !important;
  text-decoration: none !important;
}

/* Hamburger 3 lines */
.hamburger-btn span {
  display: block !important;
  width: 22px !important;
  height: 2px !important;
  background: #0F172A !important;
  margin: 4px 0 !important;
  border-radius: 2px !important;
}


/* ======================================================
   PRODUCT RECOMMENDATIONS SECTION
   ====================================================== */
.recommendations-section {
  background: #F8FFFE;
  padding: 60px 24px;
  border-top: 1px solid #E2E8F0;
}
.reco-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.reco-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 28px;
  text-align: center;
}
.reco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.reco-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.reco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.reco-img-link {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #F8FAFC;
}
.reco-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}
.reco-card:hover .reco-img { transform: scale(1.05); }
.reco-info {
  padding: 14px 16px;
}
.reco-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #2B6E3F;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.reco-name {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px;
  line-height: 1.3;
}
.reco-name a { color: inherit; text-decoration: none; }
.reco-name a:hover { color: #2B6E3F; }
.reco-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.reco-price {
  font-size: 15px;
  font-weight: 800;
  color: #2B6E3F;
}
.reco-add-btn {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #2B6E3F;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.reco-add-btn:hover {
  background: #2B6E3F;
  color: #fff;
  border-color: #2B6E3F;
}
@media (max-width: 768px) {
  .reco-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .recommendations-section { padding: 40px 16px; }
}
@media (max-width: 400px) {
  .reco-grid { grid-template-columns: 1fr; }
}

/* ======================================================
   MATCHIVA — CAMPAIGN & COUNTDOWN TIMER WIDGET STYLES
   ====================================================== */
.detail-price-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.detail-price-main {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-old-price {
  font-size: 20px;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 600;
}
.detail-discount-badge {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #FECACA;
  letter-spacing: 0.5px;
}
.detail-save-notice {
  font-size: 13px;
  color: #15803D;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ======================================================
   MATCHIVA — SLEEK COMPACT COUNTDOWN PILL (PRODUCT DETAIL)
   ====================================================== */
.detail-top-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.detail-compact-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid #FCD34D;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.12);
  vertical-align: middle;
  animation: fadeIn 0.3s ease;
}
.detail-compact-countdown .compact-cd-fire {
  font-size: 14px;
  line-height: 1;
  animation: pulseFire 1.2s infinite ease-in-out;
}
@keyframes pulseFire {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
.detail-compact-countdown .compact-cd-title {
  font-size: 11px;
  font-weight: 800;
  color: #92400E;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.detail-compact-countdown .compact-cd-digits {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  background: #ffffff;
  border: 1px solid #FDE68A;
  padding: 2px 7px;
  border-radius: 6px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  color: #B45309;
  line-height: 1.2;
}
.detail-compact-countdown .cd-unit {
  font-weight: 900;
  color: #B45309;
}
.detail-compact-countdown .cd-lbl {
  font-size: 10px;
  font-weight: 800;
  color: #92400E;
  margin-right: 4px;
}
.detail-compact-countdown .cd-sep {
  color: #D97706;
  font-weight: 800;
  margin: 0 1px;
}

@media (max-width: 480px) {
  .detail-compact-countdown {
    padding: 3px 8px;
    gap: 4px;
  }
  .detail-compact-countdown .compact-cd-title {
    font-size: 10px;
  }
  .detail-compact-countdown .compact-cd-digits {
    font-size: 11px;
    padding: 2px 5px;
  }
}

/* ======================================================
   MATCHIVA — RECOMMENDATIONS SECTION (SEPETİNİ TAMAMLA & BUNLARI DA BEĞENEBİLİRSİNİZ)
   ====================================================== */
.recommendations-section {
  max-width: 1240px;
  margin: 60px auto 0 auto;
  padding: 40px 24px 80px 24px;
  width: 100%;
  box-sizing: border-box;
}

.reco-inner {
  width: 100%;
}

.reco-title {
  font-size: 28px;
  font-weight: 800;
  color: #1A2E22;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.reco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .recommendations-section {
    margin-top: 40px;
    padding: 20px 16px 60px 16px;
  }
  .reco-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .reco-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .recommendations-section {
    margin-top: 30px;
    padding: 16px 12px 50px 12px;
  }
  .reco-title {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .reco-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ======================================================
   MATCHIVA — CATEGORIZED CATALOG & BOTTOM CUSTOMIZER
   ====================================================== */
.catalog-categories-container {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 1240px;
  margin: 0 auto;
}

.catalog-category-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 0.35s ease;
}

.category-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(43, 110, 63, 0.12);
  gap: 16px;
  flex-wrap: wrap;
}

.category-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.category-icon {
  font-size: 26px;
  line-height: 1;
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(43, 110, 63, 0.08);
}

.category-title {
  font-size: 24px;
  font-weight: 800;
  color: #1A2E22;
  margin: 0 0 3px 0;
  letter-spacing: -0.5px;
}

.category-sub {
  font-size: 13.5px;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}

.category-count-badge {
  background: #F8FAFC;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  white-space: nowrap;
}

/* Customizer CTA in Catalog */
.catalog-bottom-customizer {
  margin-top: 60px;
  background: linear-gradient(180deg, #FBF8F3 0%, #F4EFE6 100%);
  border: 1.5px solid #E5DECF;
  border-radius: 32px;
  padding: 60px 30px;
  box-shadow: 0 10px 40px rgba(43, 110, 63, 0.05);
}

.cat-filter-btn.customizer-shortcut-btn {
  background: linear-gradient(135deg, #2B6E3F, #1E4E2D);
  color: #ffffff;
  border-color: #2B6E3F;
  box-shadow: 0 2px 8px rgba(43, 110, 63, 0.25);
}
.cat-filter-btn.customizer-shortcut-btn:hover {
  background: linear-gradient(135deg, #35864D, #2B6E3F);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(43, 110, 63, 0.35);
}

@media (max-width: 768px) {
  .page-header {
    padding: 32px 20px 14px 20px;
  }
  .page-main,
  .collection-section {
    padding: 14px 20px 60px 20px;
  }
  .catalog-categories-container {
    gap: 40px;
  }
  .category-block-header {
    padding-bottom: 12px;
  }
  .category-icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
    border-radius: 12px;
  }
  .category-title {
    font-size: 20px;
  }
  .category-sub {
    font-size: 12.5px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0;
    margin: 0;
    align-items: stretch;
  }
  .product-card {
    padding: 12px;
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .catalog-bottom-customizer {
    padding: 40px 16px;
    border-radius: 24px;
  }
  .clear-cart-btn {
    background: #FEF2F2;
    border: 1.5px solid #FEE2E2;
    color: #DC2626;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .clear-cart-btn .clear-cart-text {
    display: none;
  }
  .clear-cart-btn .clear-cart-icon {
    display: block;
    stroke: #DC2626;
    width: 17px;
    height: 17px;
  }
  .clear-cart-btn:hover, .clear-cart-btn:active {
    background: #FEE2E2;
    border-color: #FECACA;
    transform: scale(1.08);
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 24px 16px 10px 16px;
  }
  .page-main,
  .collection-section {
    padding: 8px 16px 50px 16px;
    overflow-x: hidden;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
    margin: 0;
    width: 100%;
    align-items: stretch;
  }
  .product-card {
    padding: 10px;
    border-radius: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .p-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 4px;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .card-bg-arrows {
    inset: -3px -3px;
  }
  .card-image-countdown-bar {
    padding: 2px 5px;
    margin: 0 0 4px 0;
    border-radius: 5px;
    height: 18px;
    flex-shrink: 0;
  }
  .card-image-countdown-bar .card-cd-title {
    font-size: 8px;
    letter-spacing: 0.2px;
  }
  .card-image-countdown-bar .countdown-timer-val {
    font-size: 8.5px;
    padding: 1px 3px;
  }
  .p-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 2px 2px 0 2px;
  }
  .p-details h3 {
    font-size: 13px;
    line-height: 1.25;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 16px;
  }
  .p-desc {
    font-size: 10.5px;
    line-height: 1.25;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 26px;
  }
  .p-footer {
    gap: 4px;
    padding-top: 4px;
    margin-top: auto;
    border-top: 1px solid #F1F5F9;
  }
  .p-price-wrap {
    min-height: 20px;
    display: flex;
    align-items: baseline;
    gap: 5px;
  }
  .p-old-price {
    font-size: 10.5px;
  }
  .p-price {
    font-size: 15px;
  }
  .btn-group-sm {
    gap: 4px;
  }
  .btn-group-sm .btn-sm {
    padding: 6px 3px;
    font-size: 10.5px;
    border-radius: 16px;
  }
}

/* ======================================================
   MATCHIVA — GLOBAL ADD TO CART BUTTON & SUCCESS STATES
   ====================================================== */
.purchase-action-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.btn-add-to-cart {
  width: 100%;
  background: linear-gradient(135deg, #1A3C28, #2B6E3F);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(43, 110, 63, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(43, 110, 63, 0.4);
}

.btn-add-to-cart:active {
  transform: scale(0.98);
}

.btn-add-to-cart.success-anim {
  background: linear-gradient(135deg, #2B6E3F, #3D8A52) !important;
  box-shadow: 0 8px 24px rgba(43, 110, 63, 0.4) !important;
  animation: btnScalePop 0.35s ease;
  cursor: default !important;
}

.btn-add-to-cart:disabled:not(.success-anim) {
  background: #94A3B8 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

@keyframes btnScalePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.btn-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.checkmark-svg {
  display: block;
}

.checkmark-circle {
  stroke-dasharray: 63;
  stroke-dashoffset: 63;
  animation: strokeCircle 0.35s ease forwards;
}

.checkmark-check {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: strokeCheck 0.3s 0.15s ease forwards;
}

@keyframes strokeCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes strokeCheck {
  to { stroke-dashoffset: 0; }
}

.sub-cart-link-wrap {
  display: flex;
  justify-content: flex-end;
  padding-right: 4px;
  margin-top: 2px;
  animation: subLinkFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sub-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #2B6E3F;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  background: none;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sub-cart-link:hover {
  color: #1A3C28;
  transform: translateX(2px);
}

@keyframes subLinkFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======================================================
   MATCHIVA — CUSTOMER ACCOUNT, PORTAL, WISHLIST, Q&A & REVIEWS
   ====================================================== */

/* ─── GLOBAL AUTH MODAL ─── */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.auth-modal-overlay.open {
  display: flex;
}
.auth-card {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
  animation: authCardIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes authCardIn {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.auth-card-head {
  padding: 24px 24px 16px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  background: #FAF7F2;
}
.auth-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #64748B;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.auth-close-btn:hover { color: #0F172A; }
.auth-tabs {
  display: flex;
  background: #E2E8F0;
  border-radius: 12px;
  padding: 4px;
  margin-top: 14px;
}
.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #64748B;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.auth-tab-btn.active {
  background: #ffffff;
  color: var(--color-dark-emerald);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.auth-card-body {
  padding: 24px;
}
.auth-form-group {
  margin-bottom: 14px;
}
.auth-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.auth-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--color-border);
  font-size: 13.5px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.auth-input:focus {
  outline: none;
  border-color: var(--color-green-primary);
  box-shadow: 0 0 0 3px rgba(43, 110, 63, 0.12);
}
.auth-submit-btn {
  width: 100%;
  background: var(--color-dark-emerald);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
}
.auth-submit-btn:hover {
  background: var(--color-green-primary);
  transform: translateY(-1px);
}

/* ─── HEADER USER BUTTON & DROPDOWN ─── */
.nav-user-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  color: var(--color-dark-emerald);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav-auth-btn:hover {
  border-color: var(--color-green-primary);
  color: var(--color-green-primary);
  background: #FAF7F2;
}
.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 8px 0;
  display: none;
  flex-direction: column;
  z-index: 1001;
  animation: dropDownIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-user-dropdown.open {
  display: flex;
}
@keyframes dropDownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: #1E293B;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.dropdown-item:hover {
  background: #FAF7F2;
  color: var(--color-green-primary);
}
.dropdown-divider {
  height: 1px;
  background: #F1F5F9;
  margin: 6px 0;
}

/* ─── WISHLIST HEART BUTTON ON PRODUCT CARDS ─── */
.card-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}
.card-wishlist-btn:hover {
  transform: scale(1.15);
  background: #ffffff;
}
.card-wishlist-btn.active .heart-icon {
  fill: #E11D48 !important;
  stroke: #E11D48 !important;
}

/* ─── CUSTOMER PORTAL (hesabim.html) ─── */
.account-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 80px;
  min-height: 80vh;
}
.account-guest-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
}
.guest-card {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  max-width: 480px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}
.guest-card h2 { font-size: 24px; color: var(--color-dark-emerald); margin-bottom: 8px; }
.guest-card p { font-size: 14px; color: #64748B; line-height: 1.6; }

.account-portal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: flex-start;
}
.account-sidebar {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.account-profile-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 16px;
}
.user-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-dark-emerald), var(--color-green-primary));
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-meta-info h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-dark-emerald);
  margin: 0 0 2px;
}
.user-meta-info span {
  font-size: 12px;
  color: #64748B;
  display: block;
}
.user-meta-info .member-tag {
  color: #16A34A;
  font-weight: 700;
  font-size: 11px;
  margin-top: 2px;
}
.account-nav-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.acc-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: none;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.acc-tab-btn:hover {
  background: #FAF7F2;
  color: var(--color-green-primary);
}
.acc-tab-btn.active {
  background: var(--color-dark-emerald);
  color: #ffffff;
}
.acc-tab-count {
  margin-left: auto;
  font-size: 11px;
  background: #F1F5F9;
  color: #334155;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 800;
}
.acc-tab-btn.active .acc-tab-count {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
}
.acc-logout-btn {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  width: 100%;
  background: none;
  border: none;
  color: #DC2626;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  padding-left: 14px;
  transition: opacity 0.2s;
}
.acc-logout-btn:hover { opacity: 0.8; }

.account-content-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  min-height: 500px;
}
.acc-tab-content { display: none; }
.acc-tab-content.active { display: block; animation: tabFadeIn 0.25s ease; }
@keyframes tabFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.acc-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.acc-section-header h2 { font-size: 20px; color: var(--color-dark-emerald); margin: 0 0 4px; font-weight: 800; }
.acc-section-header p { font-size: 13px; color: #64748B; margin: 0; }

/* ─── PORTAL ORDERS CLEAN COMPACT LIST VIEW ─── */
.portal-orders-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.portal-order-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 1px solid var(--color-border, #E2E8F0);
  border-radius: 16px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  gap: 16px;
  flex-wrap: wrap;
}
.portal-order-list-row:hover {
  border-color: #CBD5E1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}
.portal-order-row-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 240px;
}
.portal-order-row-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.portal-order-row-id {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.portal-order-num {
  font-family: monospace;
  font-weight: 800;
  font-size: 14px;
  color: var(--color-dark-emerald);
}
.portal-order-date {
  font-size: 12px;
  color: #64748B;
  background: #F8FAFC;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  font-weight: 600;
}
.portal-order-row-items-preview {
  display: flex;
  align-items: center;
  gap: 6px;
}
.portal-order-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
}
.portal-order-thumb-more {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #475569;
}
.portal-order-items-count {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748B;
  margin-left: 6px;
}
.portal-order-row-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.portal-order-row-price-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.portal-order-status-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 14px;
  white-space: nowrap;
}
.portal-order-row-total {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--color-green-primary);
}
.portal-order-detail-btn {
  font-weight: 700;
  padding: 9px 18px !important;
  font-size: 13px !important;
  border-radius: 20px;
  white-space: nowrap;
}

#portalQuestionModal, #portalReviewModal {
  z-index: 100005 !important;
}

/* Portal Order Item */
.portal-order-card {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.portal-order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.portal-order-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: #64748B;
  flex-wrap: wrap;
}
.portal-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.portal-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.portal-item-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}
.portal-item-info { flex: 1; }
.portal-item-name { font-weight: 700; color: #0F172A; font-size: 13.5px; margin: 0 0 2px; }
.portal-item-opt { font-size: 11.5px; color: #64748B; }
.portal-order-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  border-top: 1px dashed #F1F5F9;
  padding-top: 12px;
  flex-wrap: wrap;
}

/* ─── PORTAL WISHLIST LIST VIEW ─── */
.portal-wishlist-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-wishlist-item-row {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid var(--color-border, #E2E8F0);
  border-radius: 14px;
  padding: 14px 18px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.portal-wishlist-item-row:hover {
  border-color: #CBD5E1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.portal-wishlist-img-link {
  display: block;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  transition: transform 0.2s ease;
}

.portal-wishlist-img-link:hover .portal-wishlist-img {
  transform: scale(1.08);
}

.portal-wishlist-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.portal-wishlist-info {
  flex: 1;
  min-width: 160px;
}

.portal-wishlist-name-link {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.portal-wishlist-name-link:hover {
  color: var(--color-green-primary, #2B6E3F);
  text-decoration: underline;
}

.portal-wishlist-name-link .portal-link-arrow {
  font-size: 12px;
  color: #94A3B8;
  transition: transform 0.15s ease, color 0.15s ease;
}

.portal-wishlist-name-link:hover .portal-link-arrow {
  color: var(--color-green-primary, #2B6E3F);
  transform: translate(2px, -2px);
}

.portal-wishlist-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.portal-wishlist-badge {
  font-size: 11px;
  font-weight: 700;
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
  padding: 2px 7px;
  border-radius: 6px;
}

.portal-wishlist-cat-text {
  font-size: 12px;
  color: #64748B;
}

.portal-wishlist-price-box {
  text-align: right;
  min-width: 110px;
  flex-shrink: 0;
}

.portal-wishlist-current-price {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--color-green-primary, #2B6E3F);
  letter-spacing: -0.3px;
}

.portal-wishlist-orig-price {
  font-size: 12px;
  color: #94A3B8;
  text-decoration: line-through;
  margin-top: 1px;
}

.portal-wishlist-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.portal-wishlist-add-btn {
  white-space: nowrap;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  background: var(--color-green-primary, #2B6E3F) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 9px !important;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(43, 110, 63, 0.2);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.portal-wishlist-add-btn:hover {
  background: #235A33 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 110, 63, 0.3);
}

.portal-wishlist-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 600;
  color: #E11D48 !important;
  background: #FFF1F2 !important;
  border: 1px solid #FECDD3 !important;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.portal-wishlist-remove-btn:hover {
  background: #FFE4E6 !important;
  border-color: #FDA4AF !important;
  color: #BE123C !important;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .portal-wishlist-item-row {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 14px;
  }
  .portal-wishlist-price-box {
    text-align: left;
    min-width: auto;
  }
  .portal-wishlist-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 4px;
    border-top: 1px solid #F1F5F9;
    padding-top: 10px;
  }
}

/* Question Thread Item */
.question-thread-card {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
  background: #ffffff;
}
.q-user-bubble {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-left: 3px solid #3B82F6;
}
.a-seller-bubble {
  background: #F0FDF4;
  border-radius: 12px;
  padding: 12px 16px;
  border-left: 3px solid #16A34A;
}

/* Multi-message chat thread (question detail) — customer's own messages on
   the right (outgoing), seller's on the left (incoming), WhatsApp-style. */
.qa-thread-chat {
  background: #F5F1EA;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}
.qa-thread-row { display: flex; margin-bottom: 12px; }
.qa-thread-row:last-child { margin-bottom: 0; }
.qa-thread-row.from-customer { justify-content: flex-end; }
.qa-thread-row.from-seller { justify-content: flex-start; }
.qa-thread-col { max-width: 82%; display: flex; flex-direction: column; }
.qa-thread-row.from-customer .qa-thread-col { align-items: flex-end; }
.qa-thread-row.from-seller .qa-thread-col { align-items: flex-start; }
.qa-thread-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #0F172A;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  white-space: pre-wrap;
  word-break: break-word;
}
.qa-thread-row.from-customer .qa-thread-bubble { background: #D9FDD3; border-top-right-radius: 4px; }
.qa-thread-row.from-seller .qa-thread-bubble { background: #ffffff; border-top-left-radius: 4px; }
.qa-thread-meta { font-size: 10.5px; color: #94A3B8; margin-top: 3px; padding: 0 4px; }
.qa-thread-reply-box { display: flex; gap: 8px; margin-top: 4px; }
.qa-thread-reply-box textarea {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13.5px;
  resize: vertical;
}
.qa-thread-reply-send {
  align-self: flex-end;
  background: var(--color-green-primary, #2B6E3F);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

/* Star Rating Picker */
.star-rating-picker {
  display: inline-flex;
  gap: 6px;
  font-size: 28px;
  cursor: pointer;
}
.star-btn {
  color: #CBD5E1;
  transition: color 0.15s, transform 0.15s;
}
.star-btn.active { color: #F59E0B; }
.star-btn:hover { transform: scale(1.2); }

@media (max-width: 860px) {
  .account-portal-layout { grid-template-columns: 1fr; }
  .account-page-container { padding: 100px 16px 60px; }
  .account-content-card { padding: 20px 16px; }
}

/* ─── ORDER DETAIL MODAL & VISUAL TIMELINE STEPPER ─── */
.order-detail-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.order-detail-subcard {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.order-detail-subcard-head {
  font-size: 11px;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.order-detail-subcard-body {
  font-size: 13px;
  color: #1E293B;
  line-height: 1.5;
}

/* Order Stepper */
.order-stepper-wrap {
  background: #FAF7F2;
  border: 1px solid #E5DDD0;
  border-radius: 14px;
  padding: 16px 20px;
}
.order-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 10px 0 4px;
}
.order-stepper-line-bg {
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #CBD5E1;
  z-index: 1;
}
.order-stepper-line-fill {
  position: absolute;
  top: 14px;
  left: 30px;
  height: 3px;
  background: #16A34A;
  z-index: 2;
  transition: width 0.3s ease;
}
.order-step-item {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}
.order-step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #64748B;
  margin-bottom: 6px;
  transition: all 0.2s ease;
}
.order-step-item.active .order-step-circle {
  background: #16A34A;
  border-color: #16A34A;
  color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}
.order-step-item.completed .order-step-circle {
  background: #16A34A;
  border-color: #16A34A;
  color: #FFFFFF;
}
.order-step-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748B;
}
.order-step-item.active .order-step-label,
.order-step-item.completed .order-step-label {
  color: #0F172A;
}

/* Order Products List in Modal */
.order-detail-items-box {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
}
.order-detail-items-head {
  background: #F8FAFC;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #E2E8F0;
}
.order-detail-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #F1F5F9;
  gap: 12px;
  flex-wrap: wrap;
}
.order-detail-item-row:last-child {
  border-bottom: none;
}

/* E-Arşiv Invoice Printable Styling */
.invoice-paper {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 24px;
  font-family: 'Inter', -apple-system, sans-serif;
  color: #0F172A;
  line-height: 1.45;
}
.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #0F172A;
  padding-bottom: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 14px;
}
.invoice-title {
  font-size: 17px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.3px;
}
.invoice-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.invoice-party-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
}
.invoice-party-title {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 6px;
  border-bottom: 1px solid #CBD5E1;
  padding-bottom: 4px;
}
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 12px;
}
.invoice-table th {
  background: #0F172A;
  color: #FFFFFF;
  padding: 8px 10px;
  text-align: left;
  font-weight: 700;
}
.invoice-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #E2E8F0;
}
.invoice-summary-box {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.invoice-summary-table {
  width: 280px;
  font-size: 12px;
}
.invoice-summary-table td {
  padding: 4px 6px;
}

/* ─── INVOICE PRINTING ───
   The old rule hid the page with `visibility: hidden`, which keeps every
   element's layout box — so the printed sheet began with a page-tall blank
   gap (the header/hero/order list still taking up space) before the
   invoice. Everything except the invoice is now display:none'd, and the
   modal is dropped back into normal flow at the very top of the page.
   Scoped to .printing-invoice (set in printInvoice/beforeprint) so an
   ordinary Ctrl+P on the page still prints the page. */
@media print {
  @page { margin: 12mm; }

  body.printing-invoice {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: visible !important;
  }
  body.printing-invoice > *:not(#invoiceModal) { display: none !important; }

  body.printing-invoice #invoiceModal {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
    z-index: auto !important;
  }
  body.printing-invoice #invoiceModal .modal {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    height: auto !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    animation: none !important;
    overflow: visible !important;
  }
  body.printing-invoice #invoiceModal .modal-head { display: none !important; }
  body.printing-invoice #invoiceModal .modal-body {
    padding: 0 !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  body.printing-invoice .invoice-paper {
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }
  /* Keep the header block and the totals box from splitting across pages. */
  body.printing-invoice .invoice-header,
  body.printing-invoice .invoice-summary-box,
  body.printing-invoice .invoice-party-box { page-break-inside: avoid; break-inside: avoid; }
  body.printing-invoice .invoice-table thead { display: table-header-group; }
  body.printing-invoice .invoice-table tr { page-break-inside: avoid; break-inside: avoid; }
}

/* ─── PRODUCT DETAIL WISHLIST & COMMUNITY SECTIONS ─── */
.btn-detail-wishlist {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #ffffff;
  border: 2px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  flex-shrink: 0;
}
.btn-detail-wishlist:hover {
  border-color: #E11D48;
  transform: scale(1.06);
}
.btn-detail-wishlist.active {
  border-color: #FECDD3;
  background: #FFF1F2;
}
.btn-detail-wishlist.active .heart-icon {
  fill: #E11D48 !important;
  stroke: #E11D48 !important;
}

.detail-community-section {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
}
.detail-community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.community-card-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.community-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.community-card-head h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-dark-emerald);
  margin: 0;
}
.reviews-summary-score {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FAF7F2;
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
}
.reviews-big-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-dark-emerald);
  line-height: 1;
}

.show-more-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  margin-top: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  color: #1E293B;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.show-more-toggle-btn:hover {
  background: #F0FDF4;
  border-color: var(--color-moss);
  color: var(--color-moss);
  box-shadow: 0 4px 12px rgba(43, 110, 63, 0.1);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .detail-community-grid { grid-template-columns: 1fr; }
  .community-card-box { padding: 20px 16px; }
}

/* ─── GENERAL PORTAL & DIALOG MODALS ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.open {
  display: flex;
}
.modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--color-border);
  background: #FAF7F2;
}
.modal-head h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-dark-emerald);
  margin: 0;
}
.modal-body {
  padding: 24px;
  max-height: 75vh;
  overflow-y: auto;
}
.modal-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  background: #F8FAFC;
}
.btn-ghost {
  background: none;
  border: none;
  color: #64748B;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.15s;
}
.btn-ghost:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.form-group {
  margin-bottom: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--color-border);
  font-size: 13.5px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s;
  background: #ffffff;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-green-primary);
  box-shadow: 0 0 0 3px rgba(43, 110, 63, 0.12);
}

/* ─── DYNAMIC NAVBAR AUTH BUTTON & DROPDOWN ─── */
.nav-user-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-auth-btn {
  background: #ffffff;
  border: 1.5px solid rgba(43, 110, 63, 0.25);
  color: var(--color-dark-emerald);
  padding: 7px 14px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-auth-btn:hover {
  border-color: var(--color-green-primary);
  background: var(--color-green-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(43, 110, 63, 0.15);
}

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 1000;
  animation: modalPopIn 0.2s ease-out;
}

.nav-user-dropdown.open {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.15s;
}

.dropdown-item:hover {
  background: #F0FDF4;
  color: var(--color-green-primary);
}

.dropdown-divider {
  height: 1px;
  background: #F1F5F9;
  margin: 6px 4px;
}

/* ─── MOBILE RESPONSIVE NAVBAR OPTIMIZATIONS ─── */
@media (max-width: 768px) {
  .nav-inner {
    padding: 8px 12px !important;
    gap: 8px !important;
  }
  .logo-img {
    height: 28px !important;
    max-height: 28px !important;
  }
  .nav-actions {
    gap: 6px !important;
  }
  .nav-auth-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
    border-radius: 20px !important;
  }
  .btn-cart-nav {
    width: 36px !important;
    height: 36px !important;
  }
}

@media (max-width: 480px) {
  .nav-auth-btn .auth-btn-text,
  .nav-auth-btn .auth-chevron {
    display: none !important;
  }
  .nav-auth-btn {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }
  .nav-auth-btn .auth-icon {
    font-size: 15px !important;
    line-height: 1 !important;
    margin: 0 !important;
  }
  .logo-img {
    height: 25px !important;
    max-height: 25px !important;
  }
}


/* ─── SAVED ADDRESS CARDS & CHECKOUT SELECTOR ─── */
.saved-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.saved-address-card {
  border: 1.5px solid var(--color-border);
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  position: relative;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.saved-address-card.is-default {
  border-color: var(--color-green-primary);
  background: #F0FDF4;
}
.saved-addr-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.saved-addr-title {
  font-weight: 800;
  font-size: 14px;
  color: var(--color-dark-emerald);
}
.saved-addr-default-badge {
  font-size: 11px;
  font-weight: 800;
  color: #047857;
  background: #D1FAE5;
  padding: 2px 8px;
  border-radius: 20px;
}
.saved-addr-body {
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 12px;
}
.saved-addr-name {
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}
.saved-addr-phone {
  font-size: 12px;
  color: #64748B;
  margin-bottom: 4px;
}
.saved-addr-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  border-top: 1px dashed #E2E8F0;
  padding-top: 10px;
}

/* Checkout Saved Address Selector */
.checkout-saved-address-box {
  background: #FAF7F2;
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 18px;
}
.checkout-saved-addr-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 10px;
}
.checkout-saved-addr-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-dark-emerald);
}
.checkout-addr-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.checkout-addr-pill-btn {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.checkout-addr-pill-btn:hover {
  border-color: var(--color-green-primary);
  background: #F8FAFC;
}
.checkout-addr-pill-btn.active {
  border-color: var(--color-green-primary);
  background: #F0FDF4;
  color: var(--color-dark-emerald);
}
.save-addr-toggle-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
  margin-bottom: 12px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ======================================================
   MOBILE ACCOUNT BUTTON (replaces hamburger)
   ====================================================== */

/* Hide hamburger completely on all screens */
.hamburger-btn { display: none !important; }

/* Mobile account button - hidden on desktop */
.mobile-account-btn {
  display: none;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.2s ease;
}
.mobile-account-btn:hover {
  background: rgba(43, 110, 63, 0.08);
}
.mobile-account-btn svg {
  display: block;
}

/* Green dot indicator when logged in */
.mob-acct-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: #2B6E3F;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

/* Show mobile account btn on mobile */
@media (max-width: 768px) {
  .hamburger-btn     { display: none !important; }
  .mobile-account-btn { display: flex !important; }
  /* Hide old desktop nav auth wrap completely on mobile */
  .nav-user-wrap,
  #navUserBtnWrap { display: none !important; }
}

/* ======================================================
   MOBILE ACCOUNT SIDE PANEL
   ====================================================== */

/* Overlay / backdrop */
.mob-acct-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mob-acct-overlay.open {
  display: block;
  opacity: 1;
}

/* The panel itself — slides in from LEFT */
.mob-acct-panel {
  position: fixed;
  top: 0;
  left: -100%;
  right: auto;
  width: min(340px, 88vw);
  height: 100dvh;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 32px rgba(15, 23, 42, 0.18);
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mob-acct-panel.open {
  left: 0;
}

/* Panel header */
.mob-acct-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #F1F5F9;
  flex-shrink: 0;
}
.mob-acct-logo {
  height: 26px;
  width: auto;
}
.mob-acct-close-btn {
  background: #F1F5F9;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #64748B;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.mob-acct-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* Panel content area */
#mobAcctPanelContent {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* ── GUEST STATE (not logged in) ── */
.mob-panel-guest {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px 24px;
  text-align: center;
  gap: 12px;
}
.mob-panel-guest-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.mob-panel-guest-icon svg {
  color: #2B6E3F;
}
.mob-panel-guest h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}
.mob-panel-guest p {
  font-size: 13px;
  color: #64748B;
  line-height: 1.4;
  margin: 0;
}
.mob-panel-guest-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}
.mob-panel-login-btn {
  width: 100%;
  background: linear-gradient(135deg, #1A3C28, #2B6E3F);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mob-panel-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(43, 110, 63, 0.35);
}
.mob-panel-register-btn {
  width: 100%;
  background: #ffffff;
  color: #1A3C28;
  border: 2px solid #2B6E3F;
  border-radius: 14px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mob-panel-register-btn:hover {
  background: #F0FDF4;
}

/* Guest nav links */
.mob-panel-guest-nav {
  border-top: 1px solid #F1F5F9;
  margin-top: 8px;
  padding: 8px 0;
}
.mob-panel-guest-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease;
}
.mob-panel-guest-nav a:hover {
  background: #F8FAFC;
  color: #1A3C28;
}
.mob-panel-guest-nav a svg {
  flex-shrink: 0;
  color: #64748B;
}

/* ── LOGGED IN STATE ── */
.mob-panel-user-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #F1F5F9;
}
.mob-panel-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A3C28, #2B6E3F);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #C4C94A;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.mob-panel-user-info h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 2px 0;
}
.mob-panel-user-info p {
  font-size: 12px;
  color: #64748B;
  margin: 0;
}

/* User menu items */
.mob-panel-menu {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  flex: 1;
}
.mob-panel-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  text-align: left;
}
.mob-panel-menu-item:hover {
  background: #F8FAFC;
  color: #1A3C28;
}
.mob-panel-menu-item:hover svg {
  color: #2B6E3F;
}
.mob-panel-menu-item svg {
  flex-shrink: 0;
  color: #94A3B8;
  transition: color 0.15s ease;
}
.mob-panel-menu-separator {
  height: 1px;
  background: #F1F5F9;
  margin: 6px 0;
}
.mob-panel-logout-item {
  color: #DC2626;
  margin-top: auto;
  border-top: 1px solid #FEE2E2;
}
.mob-panel-logout-item svg {
  color: #DC2626;
}
.mob-panel-logout-item:hover {
  background: #FEF2F2;
  color: #B91C1C;
}


.portal-item-name-link {
  font-weight: 700;
  color: #0F172A;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.portal-item-name-link:hover {
  color: var(--color-green-primary) !important;
  text-decoration: underline !important;
}
.portal-item-img-link {
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.portal-item-img-link:hover {
  transform: scale(1.06);
  opacity: 0.92;
}

/* ─── CATALOG WIZARD BANNER SECTION ─── */
.catalog-wizard-banner-section {
  max-width: 1240px;
  margin: 60px auto 40px;
  padding: 0 20px;
}

.wizard-banner-card {
  background: linear-gradient(135deg, #1E3A27 0%, #2B6E3F 100%);
  border-radius: 24px;
  padding: 44px 50px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 36px;
  box-shadow: 0 16px 40px rgba(30, 58, 39, 0.16);
  position: relative;
  overflow: hidden;
}

.wizard-banner-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(187, 247, 208, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.wizard-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #BBF7D0;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wizard-banner-title {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 12px;
  line-height: 1.2;
}

.wizard-banner-sub {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 520px;
}

.wizard-cta-btn {
  background: #FFFFFF !important;
  color: #1E3A27 !important;
  font-weight: 800;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  text-decoration: none;
}

.wizard-cta-btn:hover {
  background: #F0FDF4 !important;
  color: #166534 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.wizard-banner-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.wb-visual-badge {
  position: absolute;
  top: 0;
  right: 10px;
  background: #FEF08A;
  color: #854D0E;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 4;
}

.wb-visual-imgs {
  display: flex;
  align-items: center;
  position: relative;
}

.wb-img-kase {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: rotate(-4deg);
  z-index: 1;
}

.wb-img-whisk {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: rotate(6deg);
  margin-left: -30px;
  z-index: 2;
}

.wb-img-tutucu {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: rotate(-8deg);
  margin-left: -24px;
  z-index: 3;
}

/* ─── WIZARD PAGE SPECIFIC HERO & STYLING ─── */
.wizard-hero-section {
  text-align: center;
  padding: 10px 20px 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.wizard-hero-tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(22, 101, 52, 0.06);
}

.wizard-hero-title {
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 800;
  color: var(--color-dark-emerald, #1E3A27);
  margin: 0 0 12px;
  line-height: 1.2;
  word-break: break-word;
}

.wizard-hero-sub {
  font-size: clamp(13.5px, 2.5vw, 16px);
  color: #64748B;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.wizard-customizer-section {
  padding: 20px 20px 60px;
}

.wizard-trust-pills {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
  border-top: 1px dashed #E2E8F0;
  padding-top: 12px;
}

.wizard-promises-section {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 48px 20px;
  margin-top: 40px;
}

.promises-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.promise-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promise-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.promise-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.promise-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px;
}

.promise-card p {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .wizard-banner-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: center;
  }
  .wizard-banner-sub {
    margin: 0 auto 24px;
  }
  .wizard-banner-visual {
    margin-top: 12px;
  }
}

/* ─── WIZARD INTERACTIVE BOX & THUMBNAILS BUBBLE STAGE ─── */
.wizard-showcase-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 10px 14px;
  min-height: auto;
  background: radial-gradient(circle at center 65%, rgba(43, 110, 63, 0.06) 0%, transparent 70%);
}

/* Speech Bubble Container */
.wizard-bubble-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  z-index: 10;
  width: 100%;
}

.wizard-items-bubble {
  background: #E5E7EB;
  border-radius: 16px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.9);
  max-width: 100%;
  flex-wrap: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-bubble-pointer {
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 13px solid #E5E7EB;
  margin-top: -1px;
}

/* Rounded Square Miniature Thumbnail */
.wizard-mini-thumb {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 1;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  animation: miniPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wizard-mini-thumb:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 18px rgba(43, 110, 63, 0.22);
  border-color: #2B6E3F;
}

@media (max-width: 480px) {
  .wizard-items-bubble {
    padding: 5px 8px;
    gap: 5px;
  }
  .wizard-mini-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
}

.wizard-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.wizard-mini-thumb .thumb-tooltip {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: #0F172A;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
  pointer-events: none;
  z-index: 20;
}

.wizard-mini-thumb:hover .thumb-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -32px;
}

@keyframes miniPopIn {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Matchiva Box Showcase */
.wizard-box-wrap {
  position: relative;
  width: 100%;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wizard-box-glow {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(43, 110, 63, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.wizard-real-box-img {
  width: 100%;
  height: auto;
  max-height: 175px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
  transition: transform 0.35s ease;
}

.wizard-box-wrap:hover .wizard-real-box-img {
  transform: translateY(-4px) scale(1.02);
}

.wizard-box-label {
  margin-top: 8px;
}

.wizard-box-label .box-tag {
  font-size: 11px;
  font-weight: 800;
  color: #1E3A27;
  background: rgba(43, 110, 63, 0.08);
  border: 1px solid rgba(43, 110, 63, 0.15);
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ─── MY MATCHA KIT GLOWING STICKER HEADER (TOP-LEFT OVERFLOW) ─── */
.customizer-preview {
  position: sticky;
  top: 85px;
  overflow: visible;
}

.my-matcha-kit-badge-wrap {
  position: absolute;
  top: -24px;
  left: -18px;
  z-index: 35;
  animation: stickerFloat 3s ease-in-out infinite alternate;
}

.my-matcha-kit-sticker-img {
  width: 145px;
  max-width: 100%;
  height: auto;
  transform: rotate(-8deg);
  filter: drop-shadow(0 6px 16px rgba(43, 110, 63, 0.32)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.my-matcha-kit-badge-wrap:hover .my-matcha-kit-sticker-img {
  transform: rotate(-4deg) scale(1.06);
  filter: drop-shadow(0 8px 22px rgba(43, 110, 63, 0.45));
}

.sticker-sparkle-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(187, 247, 208, 0.4) 0%, rgba(43, 110, 63, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: haloPulse 2.5s ease-in-out infinite alternate;
}

/* ─── PRICE BREAKDOWN & SAVINGS DISPLAY IN PREVIEW BOX ─── */
.price-breakdown-card {
  background: #FFFFFF;
  border: 1px solid rgba(43, 110, 63, 0.15);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.price-comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.price-comp-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
}

.price-comp-orig {
  font-size: 14px;
  font-weight: 700;
  color: #94A3B8;
  text-decoration: line-through;
}

.wizard-savings-pill {
  margin-top: 8px;
  background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
  border: 1px solid #86EFAC;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #15803D;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.savings-fire-icon {
  font-size: 14px;
  animation: flamePulse 1.5s infinite ease-in-out;
}

@keyframes flamePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

@keyframes stickerFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-4px) rotate(1deg); }
}

@keyframes haloPulse {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.9; }
}

/* ─── SET INCLUDED ITEMS LIST CARD (CLEAN TYPOGRAPHY - NO ICONS) ─── */
.wizard-included-items-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.included-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #E2E8F0;
}

.included-title {
  font-weight: 800;
  font-size: 13px;
  color: #0F172A;
}

.included-sub-tag {
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
}

.wizard-included-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.included-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  line-height: 1.4;
  padding: 2px 0;
  border-bottom: 1px dashed #F1F5F9;
}

.included-item-row:last-child {
  border-bottom: none;
}

.included-item-name {
  font-weight: 600;
  color: #1E293B;
}

.included-item-link {
  font-weight: 600;
  color: #1E293B;
  text-decoration: underline;
  text-decoration-color: #CBD5E1;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.included-item-link:hover {
  color: #2B6E3F;
  text-decoration-color: #2B6E3F;
}

.included-item-price {
  font-weight: 700;
  color: #475569;
  font-feature-settings: "tnum";
}

.included-item-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  color: #64748B;
  font-size: 11.5px;
  font-weight: 600;
  font-style: italic;
  border-bottom: none !important;
  text-align: center;
}

.wizard-empty-bubble-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  padding: 8px 14px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .my-matcha-kit-badge-wrap {
    top: -18px;
    left: -10px;
  }
  .my-matcha-kit-sticker-img {
    width: 110px;
  }
}

@keyframes flamePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* ─── STEP PROGRESS NAVIGATION BAR ─── */
.wizard-steps-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 8px 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: relative;
}

.wizard-step-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: #64748B;
  font-family: inherit;
  text-align: center;
}

.wizard-step-tab .step-tab-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #64748B;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.wizard-step-tab .step-tab-label {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.wizard-step-tab.active {
  background: rgba(43, 110, 63, 0.08);
  color: #1E3A27;
}

.wizard-step-tab.active .step-tab-num {
  background: #2B6E3F;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(43, 110, 63, 0.35);
}

.wizard-step-tab.completed {
  color: #166534;
}

.wizard-step-tab.completed .step-tab-num {
  background: #DCFCE7;
  color: #15803D;
}

.step-tab-connector {
  width: 24px;
  height: 2px;
  background: #E2E8F0;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.step-tab-connector.active {
  background: #2B6E3F;
}

/* ─── STEP PANELS & TRANSITIONS ─── */
.wizard-step-pane {
  animation: stepFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-pane-header {
  margin-bottom: 16px;
}

.step-pane-header h4 {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin: 2px 0 6px;
}

.step-pane-header p {
  font-size: 13px;
  color: #64748B;
  margin: 0;
}

/* Tier Card Price Column & Savings Tags */
.tier-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.tier-orig-price {
  font-size: 12px;
  color: #94A3B8;
  font-weight: 600;
  text-decoration: line-through;
}

.tier-saving-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 800;
  color: #15803D;
  background: #DCFCE7;
  border-radius: 6px;
  padding: 2px 6px;
}

/* ─── STEP 3: EXTRAS & ADDONS ─── */
.wizard-extras-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.wizard-extra-card {
  display: block;
  cursor: pointer;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  background: #FFFFFF;
  padding: 12px 14px;
  transition: all 0.2s ease;
  position: relative;
}

.wizard-extra-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.wizard-extra-card.selected {
  border-color: #2B6E3F;
  background: #F4FAF5;
  box-shadow: 0 4px 14px rgba(43, 110, 63, 0.12);
}

.wizard-extra-chk {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  accent-color: #2B6E3F;
  cursor: pointer;
}

.extra-card-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 28px;
}

.extra-thumb-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.extra-info {
  flex: 1;
}

.extra-info strong {
  display: block;
  font-size: 13px;
  color: #0F172A;
  margin-bottom: 2px;
}

.extra-info p {
  font-size: 11.5px;
  color: #64748B;
  margin: 0 0 4px;
}

.extra-savings-badge {
  font-size: 10px;
  font-weight: 800;
  color: #15803D;
  background: #DCFCE7;
  padding: 2px 6px;
  border-radius: 4px;
}

.extra-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.extra-price-wrap del {
  font-size: 11px;
  color: #94A3B8;
}

.extra-price-wrap .extra-price {
  font-size: 14px;
  font-weight: 800;
  color: #2B6E3F;
}

/* Free Gift Card Note */
.wizard-gift-card {
  background: #FFFDF7;
  border: 1px dashed #E2D9C5;
  border-radius: 14px;
  padding: 14px;
}

.gift-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.gift-icon {
  font-size: 20px;
}

.gift-header-text {
  flex: 1;
}

.gift-header-text strong {
  display: block;
  font-size: 13px;
  color: #334155;
}

.gift-header-text p {
  font-size: 11.5px;
  color: #64748B;
  margin: 0;
}

.gift-free-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #B45309;
  background: #FEF3C7;
  padding: 3px 8px;
  border-radius: 6px;
}

.wizard-gift-textarea {
  width: 100%;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-family: inherit;
  resize: vertical;
  background: #FFFFFF;
  box-sizing: border-box;
}

.wizard-gift-textarea:focus {
  outline: none;
  border-color: #2B6E3F;
}

/* ─── STEP ACTIONS FOOTER & BUTTONS ─── */
.step-actions-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
}

.step-actions-split {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-step-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-step-next {
  width: 100%;
  background: linear-gradient(135deg, #2B6E3F 0%, #1E4F2C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(43, 110, 63, 0.25);
}

.btn-step-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(43, 110, 63, 0.35);
}

.step-actions-split .btn-step-next {
  flex: 1;
}

.btn-step-back {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
  padding: 13px 18px;
  flex-shrink: 0;
}

.btn-step-back:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.btn-step-complete {
  flex: 1;
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}

.btn-step-complete:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.btn-step-complete.success-anim {
  background: linear-gradient(135deg, #15803D 0%, #166534 100%) !important;
  transform: scale(1.02);
  box-shadow: 0 4px 18px rgba(22, 101, 52, 0.45);
}

.wizard-step-tab.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.wizard-step-tab.disabled:hover {
  background: none;
  color: #64748B;
}

.btn-step-next:disabled {
  background: #94A3B8 !important;
  color: #F1F5F9 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 0.65;
}

@keyframes shakeGated {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake-gated {
  animation: shakeGated 0.45s ease-in-out;
}

/* ======================================================
   SET SİHİRBAZI COMPREHENSIVE RESPONSIVE DESIGN (MOBILE & TABLET)
   ====================================================== */

/* Hide mobile-specific buttons on desktop */
.btn-step-preview-mob {
  display: none !important;
}
.wizard-preview-mob-action {
  display: none !important;
}

html, body.wizard-page {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

.wizard-main-wrapper {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
}

.wizard-customizer-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}

.customizer-grid {
  width: 100%;
  box-sizing: border-box;
}

.customizer-preview,
.custom-step-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

/* Tablet Breakpoint (<= 992px) */
@media (max-width: 992px) {
  .wizard-customizer-section {
    padding: 16px 16px 50px;
  }
  .customizer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .customizer-preview {
    position: static;
    top: auto;
  }
  .wizard-hero-section {
    padding: 10px 16px 24px;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .desktop-pill {
    display: none !important;
  }

  .wizard-hero-section {
    padding: 4px 10px 16px;
  }
  .wizard-hero-tag {
    font-size: 10px;
    letter-spacing: 1px;
    padding: 4px 12px;
    margin-bottom: 8px;
  }
  .wizard-hero-title {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 6px;
    padding: 0 2px;
  }
  .wizard-hero-sub {
    font-size: 12.5px;
    line-height: 1.45;
    padding: 0 2px;
  }

  .wizard-customizer-section {
    padding: 6px 10px 36px;
  }

  /* ORDER INVERSION: Steps come FIRST, Preview comes BELOW on mobile */
  .customizer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .customizer-controls {
    order: 1 !important;
  }

  .customizer-preview {
    order: 2 !important;
    padding: 12px 10px;
    border-radius: 16px;
    position: relative;
    overflow: visible;
    margin-top: 4px;
  }

  /* On mobile: Hide the complete button in Step 3 pane (only shown below set content) */
  #wizardStepPane3 #wizardCompleteBtn {
    display: none !important;
  }

  /* Mobile "Seti Önizle" jump button in Step 3 */
  .btn-step-preview-mob {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #1A3C28 0%, #2B6E3F 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(43, 110, 63, 0.25);
    font-family: inherit;
  }
  .btn-step-preview-mob:hover,
  .btn-step-preview-mob:active {
    background: linear-gradient(135deg, #143020 0%, #225732 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(43, 110, 63, 0.35);
  }
  .btn-step-preview-mob .btn-arrow-down {
    font-size: 14px;
    transition: transform 0.2s ease;
  }
  .btn-step-preview-mob:hover .btn-arrow-down {
    transform: translateY(2px);
  }

  /* Mobile "Seti Sepete Ekle" button strictly below Set Content & Savings */
  .wizard-preview-mob-action {
    display: block !important;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #E2E8F0;
  }

  .btn-preview-cart-mob {
    width: 100%;
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 800;
    border-radius: 10px;
    background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
  }
  .btn-preview-cart-mob:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
  }
  .btn-preview-cart-mob.success-anim {
    background: linear-gradient(135deg, #15803D 0%, #166534 100%) !important;
    transform: scale(1.02);
    box-shadow: 0 4px 18px rgba(22, 101, 52, 0.45);
  }

  /* Hide "My Matcha Kit" sticker on mobile */
  .my-matcha-kit-badge-wrap {
    display: none !important;
  }

  .wizard-showcase-stage {
    padding: 2px 2px 6px;
  }

  .wizard-bubble-container {
    margin-bottom: 4px;
  }
  .wizard-items-bubble {
    padding: 4px 8px;
    gap: 5px;
    border-radius: 12px;
    max-width: 100%;
  }
  .wizard-mini-thumb {
    width: 36px;
    height: 36px;
    border-radius: 7px;
  }
  .wizard-empty-bubble-hint {
    font-size: 11px;
    padding: 4px 8px;
  }
  .wizard-bubble-pointer {
    border-left-width: 7px;
    border-right-width: 7px;
    border-top-width: 8px;
  }

  .wizard-box-wrap {
    max-width: 195px;
  }
  .wizard-real-box-img {
    max-height: 115px;
  }
  .wizard-box-label .box-tag {
    font-size: 9.5px;
    padding: 2px 7px;
  }

  .preview-summary-box {
    padding: 10px;
    border-radius: 12px;
  }
  .sku-badge {
    font-size: 12.5px;
    margin-bottom: 6px;
  }

  .wizard-included-items-card {
    padding: 8px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
  }
  .included-card-header strong {
    font-size: 11.5px;
  }
  .included-sub-tag {
    font-size: 9.5px;
  }
  .included-item-row {
    font-size: 11px;
    padding: 1px 0;
  }
  .included-item-empty {
    font-size: 10.5px;
    padding: 4px 2px;
  }

  .price-breakdown-card {
    padding: 8px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
  }
  .price-comp-label {
    font-size: 10.5px;
  }
  .price-comp-orig {
    font-size: 12px;
  }
  .price-label {
    font-size: 11px;
  }
  .price-val {
    font-size: 18px;
  }
  .wizard-savings-pill {
    padding: 4px 7px;
    font-size: 10px;
    border-radius: 7px;
    gap: 4px;
  }

  .wizard-trust-pills {
    font-size: 9.5px;
    gap: 2px;
    padding-top: 6px;
    margin-top: 8px;
  }

  /* Right Control Panes */
  .custom-step-card {
    padding: 12px 10px;
    border-radius: 14px;
  }
  .step-tag {
    font-size: 9.5px;
    letter-spacing: 0.8px;
  }
  .step-pane-header h4 {
    font-size: 14px;
    margin: 2px 0 3px;
  }
  .step-pane-header p {
    font-size: 11px;
    line-height: 1.35;
  }

  /* Step 1 */
  .bowl-category-toggle {
    gap: 6px;
    margin-bottom: 8px;
  }
  .bowl-type-btn {
    padding: 8px 6px;
    border-radius: 8px;
  }
  .bowl-type-btn strong {
    font-size: 11.5px;
  }
  .bowl-type-btn span {
    font-size: 9.5px;
  }
  .color-options-grid {
    gap: 5px;
    margin-top: 6px;
  }
  .color-swatch-btn {
    padding: 6px 9px;
    font-size: 11px;
    gap: 4px;
  }
  .swatch-color {
    width: 11px;
    height: 11px;
  }

  /* Step 2 */
  .tier-options-list {
    gap: 6px;
  }
  .tier-card {
    padding: 9px 10px;
    border-radius: 10px;
  }
  .tier-main strong {
    font-size: 12.5px;
  }
  .tier-main p {
    font-size: 10px;
    line-height: 1.25;
  }
  .tier-orig-price {
    font-size: 10.5px;
  }
  .tier-price {
    font-size: 13.5px;
  }
  .tier-saving-tag {
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 4px;
  }
  .tier-badge-pop {
    top: -6px;
    right: 8px;
    font-size: 8.5px;
    padding: 1px 5px;
  }

  /* Step 3 */
  .wizard-extras-list {
    gap: 6px;
    margin-bottom: 10px;
  }
  .wizard-extra-card {
    padding: 8px 10px;
    border-radius: 10px;
  }
  .wizard-extra-chk {
    top: 8px;
    right: 8px;
    width: 15px;
    height: 15px;
  }
  .extra-card-body {
    gap: 7px;
    padding-right: 18px;
  }
  .extra-thumb-img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }
  .extra-info strong {
    font-size: 11px;
    margin-bottom: 1px;
  }
  .extra-info p {
    font-size: 9.5px;
    margin-bottom: 1px;
  }
  .extra-savings-badge {
    font-size: 8.5px;
    padding: 1px 3px;
  }
  .extra-price-wrap del {
    font-size: 9.5px;
  }
  .extra-price-wrap .extra-price {
    font-size: 12px;
  }

  .wizard-gift-card {
    padding: 8px 10px;
    border-radius: 10px;
  }
  .gift-card-header {
    gap: 6px;
    margin-bottom: 4px;
  }
  .gift-icon {
    font-size: 15px;
  }
  .gift-header-text strong {
    font-size: 11px;
  }
  .gift-header-text p {
    font-size: 9.5px;
  }
  .gift-free-badge {
    font-size: 9px;
    padding: 1px 5px;
  }
  .wizard-gift-textarea {
    font-size: 11px;
    padding: 5px 7px;
    border-radius: 6px;
  }

  /* Navigation & Action Buttons */
  .wizard-steps-nav {
    padding: 4px 6px;
    border-radius: 10px;
    margin-bottom: 10px;
    gap: 2px;
  }
  .wizard-step-tab {
    padding: 5px 2px;
    gap: 3px;
  }
  .wizard-step-tab .step-tab-num {
    width: 18px;
    height: 18px;
    font-size: 9.5px;
  }
  .wizard-step-tab .step-tab-label {
    font-size: 10px;
  }
  .step-tab-connector {
    width: 4px;
  }

  .step-actions-footer {
    margin-top: 12px;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .step-actions-split {
    display: flex;
    flex-direction: column-reverse;
    gap: 6px;
  }
  .btn-step-nav {
    width: 100%;
    padding: 10px 12px;
    font-size: 12.5px;
    border-radius: 8px;
  }
  .btn-step-back {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Promises Section */
  .wizard-promises-section {
    padding: 24px 10px;
    margin-top: 20px;
  }
  .promises-container {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .promise-card {
    padding: 12px 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 10px;
  }
  .promise-icon {
    font-size: 22px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .promise-card h3 {
    font-size: 12.5px;
    margin-bottom: 1px;
  }
  .promise-card p {
    font-size: 10.5px;
    line-height: 1.4;
  }
}

/* ======================================================
   HOMEPAGE INTERACTIVE MATCHIVA SET PROMO BANNER
   ====================================================== */
.wizard-promo-section {
  padding: 60px 24px;
  background: linear-gradient(180deg, #FAFAF7 0%, #F3EFE6 50%, #FAF8F2 100%);
  position: relative;
  overflow: hidden;
}

.wizard-promo-container {
  max-width: 1200px;
  margin: 0 auto;
}

.wizard-promo-card {
  background: linear-gradient(135deg, #112619 0%, #1A3C28 45%, #244D33 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(17, 38, 25, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  position: relative;
  overflow: hidden;
}

.wizard-promo-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.18) 0%, rgba(17, 38, 25, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Left Column */
.promo-content-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.promo-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #86EFAC;
  align-self: flex-start;
}

.promo-heading {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0;
}

.promo-heading .highlight-serif {
  font-family: 'Shippori Mincho', serif;
  font-style: italic;
  font-weight: 500;
  color: #FDE047;
}

.promo-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #E2E8F0;
  margin: 0;
  max-width: 520px;
}

.promo-desc strong {
  color: #FEF08A;
}

/* 3 Steps Mini Timeline */
.promo-steps-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  margin-top: 4px;
}

.promo-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.step-mini-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2B6E3F;
  border: 1px solid #86EFAC;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-mini-info {
  display: flex;
  flex-direction: column;
}

.step-mini-info strong {
  font-size: 12px;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.2;
}

.step-mini-info span {
  font-size: 10px;
  color: #94A3B8;
}

.promo-step-connector {
  width: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* Action CTA & Guarantees */
.promo-action-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.btn-promo-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  align-self: flex-start;
}

.btn-promo-start:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
}

.btn-promo-start svg {
  transition: transform 0.25s ease;
}

.btn-promo-start:hover svg {
  transform: translateX(4px);
}

.promo-guarantee-note {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  color: #CBD5E1;
}

/* Right Interactive Column */
.promo-interactive-col {
  position: relative;
  z-index: 2;
}

.promo-stage-wrapper {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-chips-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.chips-label {
  font-size: 12px;
  font-weight: 700;
  color: #E2E8F0;
}

.promo-chips-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.promo-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #F1F5F9;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.promo-chip:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.promo-chip.active {
  background: #22C55E;
  border-color: #4ADE80;
  color: #064E3B;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

/* Box Showcase Area */
.promo-box-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 10px 0 6px;
}

.promo-bubble-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -10px;
  z-index: 3;
}

.promo-bubble-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 2px solid #FEF08A;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-bubble-card.pulse-anim {
  animation: promoPulse 0.35s ease-out;
}

@keyframes promoPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.promo-bubble-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.promo-bubble-thumb img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: opacity 0.15s ease;
}

.promo-bubble-arrow {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #FFFFFF;
  margin-top: -1px;
}

.promo-box-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promo-box-img {
  max-width: 220px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

.promo-box-center:hover .promo-box-img {
  transform: translateY(-4px) scale(1.02);
}

.promo-box-tag {
  font-size: 11px;
  font-weight: 800;
  color: #064E3B;
  background: #FEF08A;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: -6px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Summary Card */
.promo-summary-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.promo-summary-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.promo-summary-left strong {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
}

.promo-summary-items {
  font-size: 11px;
  color: #64748B;
}

.promo-summary-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.promo-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.promo-price-row del {
  font-size: 11.5px;
  color: #94A3B8;
  font-weight: 600;
}

.promo-final-price {
  font-size: 16px;
  font-weight: 800;
  color: #15803D;
}

.promo-saving-badge {
  font-size: 9.5px;
  font-weight: 800;
  color: #15803D;
  background: #DCFCE7;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Tablet & Mobile Breakpoints for Promo Banner */
@media (max-width: 992px) {
  .wizard-promo-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .wizard-promo-section {
    padding: 36px 12px;
  }
  .wizard-promo-card {
    padding: 24px 16px;
    border-radius: 20px;
    gap: 24px;
  }
  .promo-heading {
    font-size: 22px;
  }
  .promo-desc {
    font-size: 13px;
  }
  .promo-steps-mini {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }
  .promo-step-connector {
    display: none;
  }
  .btn-promo-start {
    width: 100%;
    font-size: 14px;
    padding: 13px 18px;
  }
  .promo-box-img {
    max-width: 175px;
  }
  .promo-bubble-thumb {
    width: 32px;
    height: 32px;
  }
  .promo-summary-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .promo-summary-right {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #E2E8F0;
    padding-top: 6px;
  }
}

/* ======================================================
   LEGAL CENTER & CONTRACTS PAGE (sozlesmeler.html)
   ====================================================== */
.legal-hero-section {
  padding: 60px 24px 40px 24px;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  text-align: center;
  border-bottom: 1px solid #E2E8F0;
}

.legal-hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2B6E3F;
  background: #DCFCE7;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.legal-title {
  font-size: 34px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px 0;
  line-height: 1.25;
}

.legal-subtitle {
  font-size: 15px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.legal-main-container {
  max-width: 1200px;
  margin: 40px auto 80px auto;
  padding: 0 24px;
}

.legal-layout-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sticky Sidebar */
.legal-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-nav-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.legal-sidebar-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748B;
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #F1F5F9;
}

.legal-tab-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.legal-tab-btn:hover {
  background: #F8FAFC;
  color: #0F172A;
  border-color: #E2E8F0;
}

.legal-tab-btn.active {
  background: #F0FDF4;
  color: #15803D;
  border-color: #86EFAC;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.12);
}

.legal-tab-btn .tab-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.legal-help-card {
  background: linear-gradient(135deg, #1E3A25 0%, #112619 100%);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 20px;
}

.legal-help-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #FEF08A;
}

.legal-help-card p {
  font-size: 12px;
  color: #94A3B8;
  margin: 0 0 14px 0;
  line-height: 1.5;
}

.legal-contact-link {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
  transition: background 0.2s ease;
}

.legal-contact-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Legal Document Content */
.legal-content-area {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
  min-height: 500px;
}

.legal-document {
  display: none;
  animation: legalFadeIn 0.3s ease;
}

.legal-document.active {
  display: block;
}

@keyframes legalFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.doc-header {
  padding-bottom: 20px;
  border-bottom: 2px solid #F1F5F9;
  margin-bottom: 24px;
}

.doc-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
}

.doc-date {
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
}

.doc-body {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
}

.doc-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin: 28px 0 10px 0;
  padding-left: 10px;
  border-left: 3px solid #2B6E3F;
}

.doc-body p {
  margin: 0 0 14px 0;
}

.doc-body ul, .doc-body ol {
  margin: 0 0 16px 20px;
  padding: 0;
}

.doc-body li {
  margin-bottom: 6px;
}

.doc-info-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 14px;
  padding: 16px 20px;
  margin: 18px 0;
}

.doc-info-box p {
  margin: 0 0 6px 0;
  font-size: 13.5px;
}
.doc-info-box p:last-child {
  margin-bottom: 0;
}

.doc-warning-box {
  background: #FEF9C3;
  border: 1.5px solid #FDE047;
  border-radius: 14px;
  padding: 16px 20px;
  margin: 18px 0;
}

.doc-warning-box p {
  margin: 0;
  font-size: 13.5px;
  color: #854D0E;
  line-height: 1.55;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13.5px;
}

.doc-table td {
  padding: 10px 14px;
  border: 1px solid #E2E8F0;
}

.doc-table tr:nth-child(even) td {
  background: #F8FAFC;
}

.kunye-table td:first-child {
  width: 220px;
  font-weight: 700;
  color: #0F172A;
  background: #F8FAFC;
}

@media (max-width: 900px) {
  .legal-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .legal-sidebar {
    position: static;
  }
  .legal-content-area {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .legal-title {
    font-size: 26px;
  }
}

/* ======================================================
   LEGAL CONTRACT MODAL IN CHECKOUT (sepet.html)
   ====================================================== */
.legal-checkout-agree-box {
  margin: 16px 0;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.legal-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12.5px;
  color: #334155;
  line-height: 1.45;
}

.legal-checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #2B6E3F;
  cursor: pointer;
  flex-shrink: 0;
}

.legal-agree-text a {
  color: #2B6E3F;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-agree-text a:hover {
  color: #1E3A25;
}

/* Modal Window */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.legal-modal-overlay.open {
  display: flex !important;
}

.legal-modal-card {
  background: #FFFFFF !important;
  border-radius: 20px;
  width: 100%;
  max-width: 750px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 1000000 !important;
  opacity: 1 !important;
  border: 1px solid #E2E8F0;
}

.legal-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F8FAFC !important;
}

.legal-modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A !important;
  margin: 0;
}

.legal-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.legal-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.legal-modal-content {
  padding: 24px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.7;
  color: #334155 !important;
  background: #FFFFFF !important;
}

.legal-modal-content h3 {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A !important;
  margin: 18px 0 6px 0;
}

.legal-modal-content p {
  color: #334155 !important;
  margin: 0 0 12px 0;
}

.legal-modal-footer {
  padding: 14px 24px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: flex-end;
  background: #F8FAFC !important;
}

/* ======================================================
   COMPREHENSIVE MOBILE RESPONSIVE DESIGN SYSTEM (<=768px)
   ====================================================== */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* ── 0. FORM INPUTS: min 16px to stop iOS/Android auto-zoom-on-focus ── */
  input,
  textarea,
  select,
  .form-control,
  .auth-input,
  .form-input,
  .form-textarea,
  .login-input,
  .m-search-input,
  .search-input,
  .coupon-input-box input,
  .wizard-gift-textarea {
    font-size: 16px !important;
  }

  /* ── 1. GLOBAL LAYOUT & SECTIONS ── */
  section {
    padding: 45px 16px !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .page-header {
    padding: 100px 14px 20px !important;
  }
  .section-header {
    margin-bottom: 24px !important;
    text-align: center !important;
  }
  .section-title {
    font-size: 20px !important;
    line-height: 1.25 !important;
    padding: 0 4px !important;
    word-break: break-word !important;
  }
  .section-sub {
    font-size: 13px !important;
    margin-top: 4px !important;
    padding: 0 6px !important;
  }

  /* Catalog filter bar — wraps to fit screen width, no side-scroll */
  .catalog-filter-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 8px !important;
    padding: 4px 12px 10px !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .cat-filter-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    font-size: 12.5px !important;
  }

  /* ── 2. NAVBAR & ANNOUNCEMENT BAR ── */
  .top-announcement-bar {
    font-size: 11px !important;
    padding: 6px 10px !important;
    letter-spacing: 0 !important;
  }
  .nav-inner {
    padding: 10px 14px !important;
    gap: 8px !important;
  }
  .logo-img {
    height: 28px !important;
    max-height: 28px !important;
  }
  .nav-actions {
    gap: 8px !important;
  }
  .nav-auth-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .btn-pill.desktop-pill {
    padding: 7px 14px !important;
    font-size: 12px !important;
  }

  /* ── 3. HERO SECTION ── */
  .hero-section {
    padding-top: 110px !important;
    padding-bottom: 40px !important;
    overflow-x: hidden !important;
  }
  .hero-container {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }
  .hero-badge {
    margin: 0 auto 16px auto !important;
    font-size: 12px !important;
    padding: 5px 12px !important;
  }
  .hero-heading {
    font-size: 25px !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
    word-break: break-word !important;
    padding: 0 6px !important;
  }
  .hero-description {
    font-size: 13.5px !important;
    margin: 0 auto 22px auto !important;
    max-width: 100% !important;
    padding: 0 6px !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    align-items: stretch !important;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }
  .hero-photo-card {
    padding: 12px !important;
    border-radius: 18px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  .hero-main-photo {
    max-height: 290px !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  .photo-floating-tag {
    font-size: 11px !important;
    padding: 5px 12px !important;
    bottom: 12px !important;
  }

  /* ── 4. PRODUCT CARDS & SHOWCASE ── */
  .products-grid,
  .featured-grid,
  .collection-grid,
  .products-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding-bottom: max(60px, env(safe-area-inset-bottom, 30px)) !important;
  }
  .product-card {
    border-radius: 20px !important;
    padding: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .product-card-img-wrap,
  .product-img-wrap {
    aspect-ratio: 1 / 1 !important;
    max-height: 280px !important;
    width: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .product-card-img,
  .product-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .product-card-desc,
  .p-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #64748B !important;
    margin-bottom: 12px !important;
    min-height: auto !important;
  }

  /* ── 5. PRODUCT DETAIL PAGE (urun-detay.html) ── */
  .detail-container,
  .product-detail-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 16px 12px !important;
  }
  .detail-gallery-main {
    max-height: 320px !important;
    border-radius: 16px !important;
  }
  .detail-thumbs-strip {
    gap: 8px !important;
  }
  .detail-thumb {
    width: 54px !important;
    height: 54px !important;
  }
  .sticky-bottom-cart-bar {
    padding: 10px 16px env(safe-area-inset-bottom, 12px) !important;
  }

  /* ── 6. SET WIZARD (set-sihirbazi.html) ── */
  .wizard-grid,
  .set-wizard-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .wizard-step-tabs {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    padding-bottom: 6px !important;
    justify-content: flex-start !important;
  }
  .wizard-step-tab {
    flex-shrink: 0 !important;
    padding: 8px 14px !important;
    font-size: 12.5px !important;
  }
  .wizard-preview-sticky {
    position: static !important;
    width: 100% !important;
  }

  /* ── 7. CART PAGE (sepet.html) ── */
  .cart-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .cart-item-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 14px !important;
  }
  .cart-item-left {
    width: 100% !important;
    gap: 12px !important;
  }
  .cart-item-right {
    width: 100% !important;
    justify-content: space-between !important;
    border-top: 1px dashed #E2E8F0 !important;
    padding-top: 10px !important;
  }

  /* ── 8. CUSTOMER PORTAL (hesabim.html) ── */
  /* NOTE: no `display` override here — script.js toggles this element's
     display between 'none' (guest) and 'grid' (logged in) via inline
     style, and an `!important` display here would always win over that
     and show the portal even for logged-out visitors. */
  .account-portal-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 20px 12px 60px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  .account-sidebar {
    width: 100% !important;
    border-radius: 20px !important;
    padding: 20px 16px !important;
    box-sizing: border-box !important;
  }
  .account-nav-tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 8px !important;
    padding-bottom: 8px !important;
    width: 100% !important;
  }
  .acc-tab-btn {
    flex-shrink: 0 !important;
    width: auto !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
    border: 1px solid #E2E8F0 !important;
  }
  .acc-tab-btn.active {
    background: var(--color-dark-emerald) !important;
    color: #ffffff !important;
    border-color: var(--color-dark-emerald) !important;
  }
  .account-content-card {
    width: 100% !important;
    border-radius: 20px !important;
    padding: 20px 14px !important;
    min-height: auto !important;
    box-sizing: border-box !important;
  }
  .acc-section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding-bottom: 14px !important;
  }
  .acc-section-header .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Portal Orders List Row Mobile */
  .portal-order-list-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 14px !important;
    width: 100% !important;
    border-radius: 14px !important;
  }
  .portal-order-row-left {
    width: 100% !important;
    min-width: 100% !important;
  }
  .portal-order-row-right {
    width: 100% !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px dashed #E2E8F0 !important;
    padding-top: 10px !important;
    margin-top: 2px !important;
  }
  .portal-order-row-price-status {
    align-items: flex-start !important;
  }
  .portal-order-detail-btn {
    padding: 8px 16px !important;
    font-size: 12.5px !important;
  }

  /* ── 9. ALL MODALS MOBILE PERFECTION ── */
  .modal-overlay {
    padding: 12px !important;
    align-items: flex-end !important;
  }
  .modal {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 88vh !important;
    border-radius: 20px 20px 0 0 !important;
    margin: 0 !important;
  }
  .modal-head {
    padding: 16px 18px !important;
  }
  .modal-head h3 {
    font-size: 15.5px !important;
  }
  .modal-body {
    padding: 16px 14px !important;
    max-height: 68vh !important;
  }
  .modal-foot {
    padding: 14px 16px !important;
    flex-direction: column-reverse !important;
    gap: 8px !important;
  }
  .modal-foot button {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Order Detail Modal Grid */
  .order-detail-card-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Stepper in Order Detail */
  .order-stepper-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px !important;
  }
  .order-stepper {
    min-width: 320px !important;
  }

  /* Invoice Paper in Modal */
  .invoice-paper {
    padding: 14px 12px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }
  .invoice-header-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ======================================================
   PRODUCT GRID — force a consistent 2-per-row layout
   on phones/tablets only (overrides earlier mobile
   auto-fill/1-column rules above). Desktop is untouched.
   ====================================================== */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ======================================================
   COOKIE CONSENT BANNER
   ====================================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--color-dark-emerald);
  color: #ffffff;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px)) 24px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-consent-banner.visible {
  transform: translateY(0);
}
.cookie-consent-text {
  flex: 1 1 480px;
  font-size: 13px;
  line-height: 1.6;
  color: #E2E8F0;
}
.cookie-consent-text a {
  color: var(--color-gold-accent);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 6px;
  white-space: nowrap;
}
.cookie-consent-actions {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
}
.cookie-consent-btn {
  flex-shrink: 0;
  background: var(--color-gold-accent);
  color: #1A3C28;
  border: none;
  font-weight: 800;
  font-size: 13.5px;
  padding: 12px 28px;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.cookie-consent-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(196, 201, 74, 0.4);
}
.cookie-consent-btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.cookie-consent-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)) 16px;
  }
  .cookie-consent-text {
    flex: 0 1 auto;
    font-size: 12.5px;
  }
  .cookie-consent-actions {
    width: 100%;
  }
  .cookie-consent-btn {
    flex: 1 1 0;
    text-align: center;
    padding: 12px 16px;
  }
}

/* ======================================================
   CART PAGE — collapsible "guest order lookup" widget
   ====================================================== */
.order-lookup-wrap {
  margin-bottom: 24px;
}
.order-lookup-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 14px 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-dark-emerald);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.order-lookup-toggle:hover {
  border-color: var(--color-green-primary);
  background: var(--color-green-light);
}
.order-lookup-chevron {
  transition: transform 0.25s ease;
  font-size: 14px;
  flex-shrink: 0;
  margin-left: 12px;
}
.order-lookup-toggle.open .order-lookup-chevron {
  transform: rotate(180deg);
}
.order-lookup-panel {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 20px;
  margin-top: -1px;
}
.order-lookup-panel .form-row.gap-2 {
  align-items: flex-end;
}

@media (max-width: 768px) {
  .order-lookup-toggle {
    text-align: left;
    font-size: 12.5px;
    padding: 12px 16px;
  }
  .order-lookup-panel {
    padding: 16px;
  }
}

/* Order-lookup widget reused inside the mobile account panel */
.mob-panel-order-lookup {
  padding: 12px 24px 0;
  margin-bottom: 0;
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
}
.mob-panel-order-lookup .order-lookup-toggle {
  font-size: 13px;
  padding: 12px 16px;
}

/* ─── BUNDLE WIZARD: UNAVAILABLE (out-of-stock / unpublished) STATES ─── */
.tier-card.unavailable { opacity: 0.55; cursor: not-allowed; filter: grayscale(0.35); }
.tier-card.unavailable:hover { transform: none; box-shadow: none; }
.tier-unavailable-tag { background: #FEE2E2 !important; color: #B91C1C !important; }
.wizard-extra-card.unavailable { opacity: 0.55; cursor: not-allowed; }
.wizard-extra-card.unavailable:hover { transform: none; }
.extra-unavailable-badge { background: #FEE2E2 !important; color: #B91C1C !important; }
.bowl-type-btn.unavailable { opacity: 0.5; cursor: not-allowed; }
.bowl-type-btn:disabled { pointer-events: none; }

/* ─── BUNDLE WIZARD: PATTERN (bowl option) UNAVAILABLE STATE ─── */
.color-swatch-btn.unavailable { opacity: 0.45; cursor: not-allowed; filter: grayscale(0.5); }
.color-swatch-btn.unavailable:hover { transform: none; }
.color-swatch-btn:disabled { pointer-events: none; }

/* ─── UNREAD SELLER-REPLY BADGES (account menus + mobile account icon) ─── */
.menu-unread-badge { display: none; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 6px; margin-left: auto; border-radius: 9px; background: #DC2626; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }
.mob-acct-dot.has-count { width: auto; min-width: 16px; height: 16px; top: 0; right: 0; padding: 0 4px; border-radius: 8px; background: #DC2626; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; display: flex; align-items: center; justify-content: center; }

/* ─── PORTAL SORU & CEVAPLARIM: compact cards + chat panel (mirrors admin) ─── */
.portal-qa-card { background: #fff; border: 1.5px solid var(--color-border); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.portal-qa-card:hover { border-color: #2B6E3F; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.portal-qa-card-top { display: flex; align-items: center; gap: 8px; }
.portal-qa-card-icon { font-size: 16px; flex-shrink: 0; }
.portal-qa-card-title { font-weight: 800; font-size: 14px; color: #0F172A; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portal-qa-card-date { font-size: 11.5px; color: #94A3B8; white-space: nowrap; flex-shrink: 0; }
.portal-qa-card-badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.portal-qa-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.portal-qa-badge.pending { background: #FEF3C7; color: #B45309; }
.portal-qa-badge.answered { background: #ECFDF5; color: #047857; }
.portal-qa-badge.new { background: #FEE2E2; color: #B91C1C; }
.portal-qa-card-type { font-size: 11px; color: #94A3B8; font-weight: 600; }
.portal-qa-card-last { font-size: 13px; color: #475569; margin: 8px 0 0; line-height: 1.4; }
.portal-qa-card-last strong { color: #334155; }
/* The chat panel is a full-screen surface on phones — it must sit above the
   cookie banner (z-index 999998), which otherwise covers the compose box. */
.modal-overlay.portal-qa-overlay { z-index: 999999; }
.portal-qa-modal { max-width: 600px !important; height: min(82vh, 720px); display: flex; flex-direction: column; }
.portal-qa-head { flex-shrink: 0; gap: 10px; }
.portal-qa-subtitle { font-size: 11.5px; font-weight: 600; color: #64748B; margin-top: 2px; }
.portal-qa-link-bar { display: flex; justify-content: space-between; align-items: center; width: 100%; background: #EFF6FF; color: #1D4ED8; border: none; border-bottom: 1px solid #BFDBFE; padding: 10px 20px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; flex-shrink: 0; text-align: left; }
.portal-qa-link-bar:hover { background: #DBEAFE; }
.portal-qa-chat-body { background: #E9E4DA; padding: 20px; flex: 1; min-height: 0; overflow-y: auto; }
.portal-qa-notice-wrap { text-align: center; margin-top: 6px; }
.portal-qa-notice { display: inline-block; font-size: 12px; color: #92400E; background: #FEF3C7; border-radius: 20px; padding: 6px 12px; }
.portal-qa-foot { flex-shrink: 0; border-top: 1px solid var(--color-border); background: #F8FAFC; padding: 12px 16px; }
.portal-qa-compose { display: flex; gap: 8px; align-items: flex-end; }
.portal-qa-compose textarea { flex: 1; resize: none; border: 1.5px solid var(--color-border); border-radius: 12px; padding: 11px 12px; font-family: inherit; font-size: 14px; min-height: 44px; max-height: 120px; background: #fff; }
.portal-qa-compose button { background: #2B6E3F; color: #fff; border: none; border-radius: 12px; padding: 0 18px; height: 44px; font-weight: 800; cursor: pointer; font-family: inherit; flex-shrink: 0; }
.portal-qa-foot-hint { font-size: 12px; color: #64748B; margin: 0; text-align: center; }
@media (max-width: 768px) {
  .modal-overlay.portal-qa-overlay { padding: 0 !important; align-items: stretch !important; }
  .modal-overlay.portal-qa-overlay .portal-qa-modal { height: 100% !important; max-height: 100% !important; border-radius: 0 !important; animation: none; }
  .modal-overlay.portal-qa-overlay .modal-head { padding: 14px 16px !important; }
}
