/* ============================================
   MINIMALIST E-COMMERCE
   Clean · Airy · Modern · Lexend
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --bg-muted: #f1f1f1;
  --border: #eaeaea;
  --border-hover: #ccc;

  --text: #111;
  --text-secondary: #555;
  --text-muted: #888;
  --text-faint: #aaa;

  --accent: #f44a7e;
  --accent-hover: #e45a80;
  --accent-fg: #fff;

  --danger: #e53e3e;
  --success: #38a169;

  --font: 'Lexend', ui-sans-serif, system-ui, -apple-system, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

  --ease: cubic-bezier(.22, 1, .36, 1);

  --header-h: 58px;
  --max-w: 1240px;
  --gap: 16px;
  --radius: 10px;
  --radius-sm: 6px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.025em;
}

/* ========== HEADER ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  transition: box-shadow .3s;
}
.header.scrolled {
  box-shadow: 0 1px 0 var(--border);
}

/* Header Top Row */
.header-top { padding: 10px 0; }
.header-top-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

/* Logo */
.header-logo { flex: 0 0 auto; min-width: 0; }
.header-logo a { display: flex; align-items: center; gap: 2px; }
.header-logo img { height: 36px; width: auto; max-width: 160px; object-fit: contain; }
.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.04em;
  white-space: nowrap;
}
.logo-text span { font-weight: 400; color: var(--text-muted); }

/* Header Search Bar */
.header-search {
  flex: 1;
  min-width: 0;
  max-width: 560px;
  margin: 0 auto;
  display: none;
  position: relative;
}
.header-search-form {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.header-search-form:focus-within {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(0,0,0,.04);
}
.header-search-input {
  flex: 1;
  border: none; outline: none; background: none;
  padding: 9px 0 9px 18px;
  font-size: .88rem; font-weight: 400;
  color: var(--text);
  font-family: var(--font);
  min-width: 0;
}
.header-search-input::placeholder { color: var(--text-faint); }
.header-search-btn {
  width: 40px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color .15s;
  flex-shrink: 0;
  cursor: pointer;
}
.header-search-btn:hover { color: var(--text); }
.header-search-btn svg { width: 17px; height: 17px; }

/* Search Results Dropdown */
.search-results-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
}
.search-results-dropdown.active { display: block; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--text);
  transition: background .15s;
  border-bottom: 1px solid var(--border-light, #f0f0f0);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-soft); }
.search-result-img {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-soft);
}
.search-result-img-placeholder {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--bg-soft);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
}
.search-result-img-placeholder svg { width: 20px; height: 20px; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-title {
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-price {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.search-result-price .old-price {
  text-decoration: line-through;
  color: var(--text-faint);
  margin-left: 6px;
  font-size: .78rem;
}
.search-results-empty {
  padding: 20px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: .88rem;
}
.search-results-footer {
  padding: 10px 16px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.search-results-footer a {
  font-size: .84rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.search-results-footer a:hover { text-decoration: underline; }

/* Mobile search icon (shown when search bar is hidden) */
.header-search-mobile {
  display: flex;
}

/* Mobile Search Dropdown */
.header-search-dropdown {
  display: none;
  padding: 0 0 10px;
  border-top: 1px solid var(--border);
}
.header-search-dropdown.active { display: block; }

/* Header Nav Row */
.header-nav {
  display: none;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Desktop Nav */
.nav-desktop { display: flex; }
.nav-desktop ul { display: flex; gap: 4px; align-items: center; }
.nav-desktop ul > li { flex: 0 0 auto; }
.nav-desktop a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s, background .2s;
  letter-spacing: .01em;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: var(--radius-sm);
}
.nav-desktop a:hover { color: var(--text); background: var(--bg-muted); }
.nav-desktop a.active { color: var(--accent); background: rgba(var(--accent-rgb, 0,0,0),.06); }
.nav-desktop a::after { display: none; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; }

/* Lang Switcher */
.lang-switcher { position: relative; }
.lang-switcher-btn {
  font-size: .78rem; font-weight: 500;
  color: var(--text-muted);
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 3px;
  transition: all .2s;
}
.lang-switcher-btn:hover { border-color: var(--text); color: var(--text); }
.lang-switcher-btn svg { width: 10px; height: 10px; transition: transform .2s; }
.lang-switcher.open .lang-switcher-btn svg { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 4px); right: 0;
  min-width: 100px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: all .2s var(--ease);
  overflow: hidden; z-index: 50;
}
.lang-switcher.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a {
  display: block; padding: 7px 12px;
  font-size: .8rem; font-weight: 400; color: var(--text-muted);
  transition: all .15s;
}
.lang-dropdown a:hover { background: var(--bg-soft); color: var(--text); }
.lang-dropdown a.active { font-weight: 500; color: var(--text); }

/* Header Icon Buttons */
.header-icon-btn {
  position: relative;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all .2s;
  background: none;
  cursor: pointer;
}
.header-icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.header-icon-btn svg { width: 17px; height: 17px; }
.header-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 17px; height: 17px;
  display: flex; align-items: center; justify-content: center;
  background: var(--danger); color: #fff;
  font-size: .6rem; font-weight: 600;
  border-radius: 100px; padding: 0 4px;
  line-height: 1;
}

/* Cart Drawer */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.2);
  z-index: 1098;
  opacity: 0; visibility: hidden;
  transition: all .3s;
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: min(380px, 90vw); height: 100dvh;
  background: var(--bg);
  z-index: 1099;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,.06);
}
.cart-drawer.active { transform: translateX(0); }
.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 { font-size: 1rem; font-weight: 500; }
.cart-drawer-close {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: color .15s;
}
.cart-drawer-close:hover { color: var(--text); }
.cart-drawer-close svg { width: 18px; height: 18px; }
.cart-drawer-body {
  flex: 1; overflow-y: auto; padding: 16px 20px;
}
.cart-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

/* Cart Item */
.cart-item {
  display: flex; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-muted);
}
.cart-item-image {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden; background: var(--bg-soft);
  flex-shrink: 0;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 {
  font-size: .84rem; font-weight: 500; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 2px;
}
.cart-item-info .cart-item-price { font-size: .82rem; font-weight: 600; color: var(--text); }
.cart-item-remove {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); transition: color .15s;
  flex-shrink: 0; align-self: center;
}
.cart-item-remove:hover { color: var(--danger); }
.cart-item-remove svg { width: 14px; height: 14px; }

/* Product Card Action Buttons */
.product-card-actions {
  position: absolute; top: 10px; right: 10px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 3;
  opacity: 1;
  transform: translateX(0);
}
.product-action-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all .2s;
  cursor: pointer;
}
.product-action-btn:hover { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.product-action-btn.active { background: var(--danger); color: #fff; border-color: var(--danger); }
.product-action-btn.active:hover { background: #c53030; border-color: #c53030; }
.product-action-btn svg { width: 15px; height: 15px; }
.product-action-btn.active svg { fill: currentColor; }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; padding: 0;
  cursor: pointer; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .35s var(--ease); transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.2);
  z-index: 998; opacity: 0; visibility: hidden; transition: all .3s;
}
.nav-mobile-overlay.active { opacity: 1; visibility: visible; }
.nav-mobile {
  position: fixed; top: 0; right: 0;
  width: min(300px, 80vw); height: 100dvh;
  background: var(--bg); z-index: 999;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  padding: 72px 24px 32px;
  overflow-y: auto;
}
.nav-mobile.active { transform: translateX(0); }
.nav-mobile ul { display: flex; flex-direction: column; }
.nav-mobile > ul > li { border-bottom: 1px solid var(--bg-muted); }
.nav-mobile a {
  display: block; padding: 12px 0;
  font-size: 1.08rem; font-weight: 500; color: var(--text);
  transition: color .15s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--accent); }

/* Mobile category row with toggle */
.mob-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mob-cat-row a { flex: 1; border-bottom: none; }
.mob-toggle {
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--text-muted);
  transition: transform .25s, color .15s;
  flex-shrink: 0;
}
.mob-toggle svg { width: 16px; height: 16px; display: block; }
.mob-has-children.open .mob-toggle { transform: rotate(180deg); color: var(--accent); }

/* Subcategories accordion */
.nav-mobile .mob-subcats {
  display: none;
  flex-direction: column;
  padding: 0 0 8px 12px;
  border-left: 2px solid var(--accent);
  margin: 0 0 8px;
}
.mob-has-children.open .mob-subcats { display: flex; }
.mob-subcats li a {
  font-size: .92rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 7px 0;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mob-subcats li a:hover { color: var(--accent); }
.mob-sub-count {
  font-size: .72rem;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 1px 6px;
  border-radius: 20px;
}
.mobile-lang { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }
.mobile-lang-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-bottom: 10px; font-weight: 500; }
.mobile-lang a {
  display: inline-block; padding: 5px 12px; margin-right: 6px;
  font-size: .8rem; font-weight: 500;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: all .2s;
}
.mobile-lang a.active, .mobile-lang a:hover { border-color: var(--text); color: var(--text); }

/* ========== HERO ========== */
.hero-slider {
  position: relative; width: 100%;
  height: 100vh; height: 100dvh;
  min-height: 540px;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s var(--ease);
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  transition: transform 12s cubic-bezier(.16,1,.3,1);
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    165deg,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.15) 45%,
    rgba(0,0,0,.4) 100%
  );
}
.hero-slide .container {
  position: relative; z-index: 2;
  height: 100%; display: flex;
  align-items: center;
}
.hero-slide-content {
  max-width: 560px;
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s var(--ease) .3s, transform .8s var(--ease) .3s;
}
.hero-slide.active .hero-slide-content { opacity: 1; transform: translateY(0); }

/* Hero label */
.hero-label-line {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  opacity: 0; transform: translateX(-12px);
  transition: all .6s var(--ease) .5s;
}
.hero-slide.active .hero-label-line { opacity: 1; transform: translateX(0); }
.hero-label-dot {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: heroPulse 2s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero-label-text {
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.8);
}

.hero-slide-content h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 600;
  letter-spacing: -.035em;
}
.hero-slide-content p {
  font-size: clamp(.92rem, 1.8vw, 1.08rem);
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
  max-width: 420px;
  line-height: 1.65;
  font-weight: 300;
}
.hero-slide-bg:empty {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Slider navigation bar */
.slider-nav {
  position: absolute; bottom: 32px;
  left: 50%; transform: translateX(-50%);
  z-index: 10;
  display: flex; align-items: center; gap: 20px;
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 8px 20px;
}
.slider-counter {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 500;
  color: #fff; font-variant-numeric: tabular-nums;
}
.slider-counter-current { font-size: .92rem; }
.slider-counter-sep {
  width: 16px; height: 1px;
  background: rgba(255,255,255,.35);
}
.slider-counter-total { color: rgba(255,255,255,.45); }

.slider-dots {
  display: flex; gap: 5px;
  position: static; transform: none;
}
.slider-dot {
  width: 20px; height: 3px;
  background: rgba(255,255,255,.25);
  border-radius: 3px; cursor: pointer;
  transition: all .4s var(--ease);
}
.slider-dot.active { width: 36px; background: #fff; }

.slider-arrows {
  display: flex; gap: 2px;
  position: static;
}
.slider-arrow {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  border-radius: 50%; color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  transition: all .2s;
}
.slider-arrow:hover { background: rgba(255,255,255,.18); color: #fff; }
.slider-arrow svg { width: 14px; height: 14px; }

/* Decorative side line */
.hero-slider::before {
  content: '';
  position: absolute; left: 24px; top: 50%;
  width: 1px; height: 80px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.2), transparent);
  z-index: 5;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: .9rem; font-weight: 500;
  padding: 10px 22px; border-radius: var(--radius-sm);
  transition: all .2s var(--ease);
  white-space: nowrap; border: 1px solid transparent;
  letter-spacing: 0;
}
.btn-primary {
  background: var(--accent); color: var(--accent-fg); border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover); border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(244, 74, 126, 0.25);
}
.btn-outline {
  background: transparent; border-color: var(--border); color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--text); color: var(--text); }
.btn-dark {
  background: var(--bg-soft); border-color: var(--border); color: var(--text-secondary);
}
.btn-dark:hover { border-color: var(--text); color: var(--text); }
.btn-whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
.btn-whatsapp:hover {
  background: #1ebe5d; transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,211,102,.2);
}
.btn-whatsapp svg { width: 16px; height: 16px; }
.btn-lg { padding: 12px 28px; font-size: .94rem; }
.btn-sm { padding: 7px 14px; font-size: .84rem; }
.w-full { width: 100%; }

/* Hero specific button overrides */
.hero-buttons .btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
  border-radius: 100px; padding: 13px 30px;
}
.hero-buttons .btn-primary:hover {
  background: var(--accent-hover); border-color: var(--accent-hover);
  box-shadow: 0 4px 24px rgba(244, 74, 126, 0.4);
  transform: translateY(-1px);
}
.hero-buttons .btn-outline {
  border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.85);
  border-radius: 100px; padding: 13px 30px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.06);
}
.hero-buttons .btn-outline:hover {
  border-color: rgba(255,255,255,.7); color: #fff;
  background: rgba(255,255,255,.12);
}

/* ========== SECTIONS ========== */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
}
.section-header h2::after {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--text); margin: 16px auto 0;
}
.section-label {
  display: block; font-size: .76rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-muted); margin-bottom: 6px;
}

/* ========== PRODUCT CARDS ========== */
.products-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap);
}
.product-card {
  background: var(--bg); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.product-card > a:first-child { flex-shrink: 0; }
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.07);
}
.product-card-image {
  position: relative; aspect-ratio: 1/1;
  overflow: hidden; background: var(--bg-soft);
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-muted);
}
.product-image-placeholder svg { width: 32px; height: 32px; color: var(--border-hover); }
.category-badge {
  display: none;
  position: absolute; top: 10px; left: 10px;
  font-size: .68rem; font-weight: 400;
  padding: 4px 10px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  color: var(--text-secondary); border-radius: 100px;
  z-index: 2;
}
.product-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.55);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.product-card:hover .product-overlay { opacity: 1; pointer-events: auto; }
.product-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 {
  font-size: .95rem; font-weight: 500; color: var(--text);
  margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 1;
  -webkit-box-orient: vertical; overflow: hidden;
  letter-spacing: -.01em;
}
.product-price {
  font-size: .94rem; font-weight: 600; color: var(--text);
  margin-bottom: 2px;
}
.product-short-desc {
  font-size: .84rem; color: var(--text-faint);
  display: -webkit-box; -webkit-line-clamp: 1;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 10px;
}

/* ========== CATEGORY CARDS ========== */
.categories-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap);
}
.category-card {
  position: relative; aspect-ratio: 3/2;
  border-radius: var(--radius); overflow: hidden; display: block;
  background: var(--bg-soft);
}
.category-card-bg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.category-card:hover .category-card-bg { transform: scale(1.05); }
.category-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-muted);
}
.category-card-placeholder svg { width: 28px; height: 28px; color: var(--border-hover); }
.category-card-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.3);
  transition: background .25s; text-align: center; padding: 16px;
}
.category-card:hover .category-card-overlay { background: rgba(0,0,0,.45); }
.category-card-overlay h3 {
  font-size: 1.15rem; color: #fff; font-weight: 600;
  margin-bottom: 2px; letter-spacing: -.01em;
}
.category-card-overlay .count {
  font-size: .72rem; color: rgba(255,255,255,.65); font-weight: 300;
}

/* Categories Page Grid */
.categories-page-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap);
}
.category-page-card {
  position: relative; aspect-ratio: 4/3;
  border-radius: var(--radius); overflow: hidden; display: block;
  background: var(--bg-soft);
}
.category-page-card-bg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.category-page-card:hover .category-page-card-bg { transform: scale(1.05); }
.category-page-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-muted);
}
.category-page-card-placeholder svg { width: 32px; height: 32px; color: var(--border-hover); }
.category-page-card-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.3);
  transition: background .25s; padding: 16px; text-align: center;
}
.category-page-card:hover .category-page-card-overlay { background: rgba(0,0,0,.45); }
.category-page-card-overlay h3 { font-size: 1.3rem; color: #fff; font-weight: 600; margin-bottom: 2px; }
.category-page-card:hover .category-page-card-overlay h3 { transform: translateY(-1px); }
.category-page-card-overlay .count { font-size: .78rem; color: rgba(255,255,255,.65); }

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 120px 0 12px;
  background: var(--bg);
}
.page-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 500; margin-bottom: 8px;
}
.page-header--centered h1 { text-align: center; }
.page-header--centered .breadcrumb { justify-content: flex-start; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .86rem; color: var(--text-faint);
}
.breadcrumb a { color: var(--text-muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .separator { color: var(--border-hover); font-size: .76rem; }
.breadcrumb .current {
  color: var(--text-secondary);
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
}

/* ========== PRODUCTS PAGE ========== */
.products-page { padding: 16px 0 40px; overflow-x: hidden; }
.products-filter {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.filter-tag {
  padding: 6px 14px; font-size: .84rem; font-weight: 400;
  color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 100px;
  transition: all .15s;
}
.filter-tag:hover, .filter-tag.active {
  color: var(--accent); border-color: var(--accent); background: rgba(244, 74, 126, 0.08);
}

/* ========== PRODUCT DETAIL ========== */
.product-detail { padding: calc(var(--header-h) + 20px) 0 60px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.product-detail-image {
  aspect-ratio: 1/1; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-soft);
}
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-image .product-image-placeholder { border-radius: var(--radius); }
.product-detail-category {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .82rem; font-weight: 400; color: var(--text-muted);
  padding: 4px 12px; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 100px;
}
.product-detail-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.product-detail-info h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500; margin-bottom: 10px;
}
.product-detail-price {
  font-size: 1.5rem; font-weight: 600; color: var(--text);
  margin-bottom: 20px;
}
.product-detail-description { color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; }
.product-detail-description p { margin-bottom: 10px; }

/* Field wrapper: label + control */
.pd-field { margin-bottom: 20px; }
.pd-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Product card color swatches (in card body) */
.product-card-colors {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-bottom: 8px;
}
.product-card-colors .color-btn {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ddd;
  cursor: pointer;
  padding: 0;
  transition: box-shadow .15s, transform .15s;
  flex-shrink: 0;
}
.product-card-colors .color-btn:hover { transform: scale(1.15); box-shadow: 0 0 0 2px var(--accent); }
.product-card-colors .color-btn.active { box-shadow: 0 0 0 2px var(--accent); }

/* Color selector */
.color-selector-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.color-selector-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-size: .88rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.color-selector-btn:hover { border-color: var(--text-muted); }
.color-selector-btn.selected { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.color-swatch {
  display: inline-block;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  flex-shrink: 0;
}

/* Quantity selector */
.qty-selector {
  display: inline-flex;
  align-items: center;
  height: 46px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}
.qty-btn {
  width: 46px; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  transition: background .15s, color .15s;
  flex-shrink: 0;
  user-select: none;
}
.qty-btn:hover { background: var(--bg-soft); color: var(--accent); }
.qty-input {
  width: 52px; height: 100%;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Action buttons */
/* Quantity + primary cart button in one row */
.pd-buy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: nowrap;
}
.pd-cart-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: opacity .2s, transform .15s;
}
.pd-cart-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.pd-cart-btn:hover { opacity: .88; transform: translateY(-1px); }

/* Secondary actions row (Wolt, WhatsApp) */
.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.pd-action-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  text-decoration: none;
  border: none;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}
.pd-action-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.pd-action-btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-wolt { background: #009de0; color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }

/* Mobile */
@media (max-width: 600px) {
  .pd-buy-row { flex-wrap: wrap; }
  .pd-buy-row .qty-selector { flex-shrink: 0; }
  .pd-cart-btn { flex: 1 1 100%; }
  .pd-action-btn { flex: 1 1 calc(50% - 4px); }
}

/* Back link */
.pd-back-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .84rem;
  color: var(--text-muted);
  transition: color .15s;
  margin-top: 4px;
}
.pd-back-link svg { width: 15px; height: 15px; }
.pd-back-link:hover { color: var(--text); }

/* Gallery action icons (fav + cart on image) */
.gallery-action-icons {
  position: absolute;
  bottom: 14px; right: 14px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 3;
}
.gallery-icon-btn {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,.06);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .2s var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.gallery-icon-btn:hover {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  color: var(--text);
}
.gallery-icon-btn svg { width: 18px; height: 18px; }
.gallery-icon-btn.favorite-btn.active {
  background: var(--danger); color: #fff;
  border-color: var(--danger);
}
.gallery-icon-btn.favorite-btn.active svg { fill: currentColor; }
.gallery-icon-btn.cart-btn.added {
  background: var(--accent); color: var(--accent-fg);
  border-color: var(--accent);
}
.mt-3 { margin-top: 16px; }

/* ========== ABOUT ========== */
.about-preview {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
}
.about-preview-image {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
}
.about-preview-image img { width: 100%; height: 100%; object-fit: cover; }
.about-preview-content h2 { font-size: 1.5rem; font-weight: 500; margin-bottom: 12px; }
.about-preview-content p { color: var(--text-secondary); margin-bottom: 20px; line-height: 1.8; }

.about-page { padding: 32px 0 80px; }
.about-content { max-width: 720px; margin: 0 auto; }
.about-content-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; aspect-ratio: 16/9; }
.about-content-image img { width: 100%; height: 100%; object-fit: cover; }
.about-content-text { color: var(--text-secondary); line-height: 1.85; }
.about-content-text p { margin-bottom: 14px; }

/* ========== CTA ========== */
.cta-section {
  padding: 60px 0; text-align: center;
  background: var(--bg-soft);
}
.cta-section h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; margin-bottom: 8px; }
.cta-section p {
  color: var(--text-muted); margin-bottom: 24px;
  max-width: 420px; margin-left: auto; margin-right: auto;
}
.cta-buttons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ========== CONTACT ========== */
.contact-page { padding: 32px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.contact-info-cards { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 20px; }
.contact-info-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .15s;
}
.contact-info-card:hover { border-color: var(--border-hover); }
.contact-info-card .icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); flex-shrink: 0;
}
.contact-info-card .icon svg { width: 15px; height: 15px; color: var(--text-secondary); }
.contact-info-card h4 {
  font-size: .72rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-faint); margin-bottom: 1px;
}
.contact-info-card p, .contact-info-card a { font-size: .86rem; color: var(--text); }
.contact-info-card a:hover { color: var(--text-muted); }
.contact-map {
  border-radius: var(--radius); overflow: hidden;
  height: 400px; border: 1px solid var(--border);
}
.contact-map iframe { width: 100%; height: 100%; filter: grayscale(.3) contrast(1.05); }
.contact-form-wrapper {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
}
.contact-form-wrapper h2 { font-size: 1.1rem; font-weight: 500; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: .78rem; font-weight: 400;
  color: var(--text-secondary); margin-bottom: 4px;
}
.form-control {
  width: 100%; padding: 10px 12px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: .88rem; transition: border-color .15s; outline: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(244, 74, 126, 0.1); }
.form-control::placeholder { color: var(--text-faint); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-error { font-size: .76rem; color: var(--danger); margin-top: 2px; min-height: 16px; }

/* Alert */
.alert { padding: 10px 12px; border-radius: var(--radius-sm); font-size: .86rem; margin-bottom: 12px; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: var(--success); }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: var(--danger); }
.hidden { display: none !important; }
.spinner {
  width: 14px; height: 14px;
  border: 2px solid transparent; border-top-color: currentColor;
  border-radius: 50%; animation: spin .5s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== FOOTER ========== */
.footer {
  background: #fafafa;
  color: var(--text-secondary);
  padding: 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
/* Footer CTA band */
.footer-cta {
  background: linear-gradient(135deg, #f0f4ff 0%, #fdf0f7 50%, #fff7ed 100%);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.footer-cta-inner {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 20px;
}
.footer-cta-text h3 {
  font-size: 1.1rem; font-weight: 500;
  color: var(--text); margin-bottom: 6px;
}
.footer-cta-text p {
  font-size: .86rem; color: var(--text-muted);
  max-width: 360px; line-height: 1.6;
}
.footer-cta-buttons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.footer-cta-btn {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text); border-radius: 100px;
  padding: 10px 24px; font-size: .84rem;
  transition: all .25s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.footer-cta-btn:hover {
  border-color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.footer-cta-btn--wa {
  background: #25d366; border-color: #25d366; color: #fff;
}
.footer-cta-btn--wa:hover {
  background: #1ebe5d; border-color: #1ebe5d; color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.2);
}
@media (min-width: 768px) {
  .footer-cta-inner {
    flex-direction: row; justify-content: space-between;
    text-align: left;
  }
}
.footer-main { padding: 48px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px; padding-bottom: 40px;
}
.footer-logo { margin-bottom: 12px; }
.footer-logo img { height: 26px; }
.footer-col p {
  font-size: .84rem; color: var(--text-muted);
  line-height: 1.7; max-width: 280px;
}
.footer-col h3 {
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text); margin-bottom: 16px;
  position: relative; padding-bottom: 10px;
}
.footer-col h3::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--text), transparent);
  border-radius: 2px;
}
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted); font-size: .88rem;
  transition: all .25s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,.03);
}
.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 74, 126, 0.15);
}
.footer-social a img { width: 14px; height: 14px; filter: brightness(0) invert(.5); transition: filter .15s; }
.footer-social a:hover img { filter: brightness(0); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .9rem; color: var(--text-muted);
  transition: all .2s; display: inline-flex; align-items: center; gap: 0;
}
.footer-links a::before {
  content: '';
  width: 0; height: 1px;
  background: var(--text);
  margin-right: 0;
  transition: all .25s var(--ease);
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-links a:hover::before {
  width: 12px; margin-right: 8px;
}
.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; font-size: .9rem; color: var(--text-muted);
}
.footer-contact-item svg {
  width: 16px; height: 16px;
  color: var(--text-faint); flex-shrink: 0;
}
.footer-contact-item a {
  color: var(--text-muted); transition: color .2s;
}
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: var(--text-faint); }

/* ========== WHATSAPP ========== */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; border-radius: 50%; color: #fff;
  z-index: 900;
  box-shadow: 0 4px 14px rgba(37,211,102,.25);
  transition: all .2s;
}
.whatsapp-float:hover { transform: scale(1.06); box-shadow: 0 6px 20px rgba(37,211,102,.35); }
.whatsapp-float svg { width: 24px; height: 24px; }
.whatsapp-float::before {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%; border: 2px solid rgba(37,211,102,.2);
  animation: wa-pulse 2.5s infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }

/* ========== EMPTY ========== */
.empty-state { text-align: center; padding: 80px 16px; color: var(--text-muted); }
.empty-state svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--border-hover); }
.empty-state h3 { font-size: 1rem; color: var(--text-secondary); font-weight: 500; }

/* ========== PAGINATION ========== */
.pagination-wrapper { display: flex; justify-content: center; padding-top: 40px; }
.pagination-wrapper nav { display: flex; }
.pagination-wrapper nav > div:first-child { display: none; }
.pagination-wrapper nav > div:last-child { display: flex; }
.pagination-wrapper nav > div:last-child > div:first-child { display: none; }
.pagination-wrapper nav > div:last-child > div:last-child { display: flex; gap: 4px; }
.pagination-wrapper nav ul { display: flex; flex-direction: row; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 4px; }
.pagination-wrapper nav ul li { display: flex; }
.pagination-wrapper nav a,
.pagination-wrapper nav span {
  display: flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 8px;
  font-size: .82rem; font-weight: 500;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-muted); transition: all .15s;
}
.pagination-wrapper nav a:hover { border-color: var(--accent); color: var(--accent); }
.pagination-wrapper nav span[aria-current="page"] span {
  background: var(--accent); border-color: var(--accent); color: var(--accent-fg);
}

/* ========== REVEAL ========== */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.products-grid .reveal:nth-child(1) { transition-delay: 0s; }
.products-grid .reveal:nth-child(2) { transition-delay: .05s; }
.products-grid .reveal:nth-child(3) { transition-delay: .1s; }
.products-grid .reveal:nth-child(4) { transition-delay: .15s; }

/* ========== HELPERS ========== */
.text-center { text-align: center; }
.mt-4 { margin-top: 28px; }
.section-light { background: var(--bg-soft); }

/* ========== NEW / DISCOUNT BADGES ========== */
.product-card-image .badge-group {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 2;
}
.new-badge {
  font-size: .65rem; font-weight: 600;
  padding: 4px 10px;
  background: #2563eb; color: #fff;
  border-radius: 100px;
  text-transform: uppercase; letter-spacing: .04em;
  line-height: 1.2; white-space: nowrap;
}
.discount-badge {
  font-size: .65rem; font-weight: 600;
  padding: 3px 8px;
  background: #ef4444; color: #fff;
  border-radius: 100px;
  line-height: 1.2; white-space: nowrap;
}
.stock-badge {
  font-size: .65rem; font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  line-height: 1.2; white-space: nowrap;
}
.stock-badge.out {
  background: #6b7280; color: #fff;
}

.product-old-price {
  font-size: .78rem; font-weight: 400;
  color: var(--text-faint); text-decoration: line-through;
  margin-left: 6px;
}
.product-price--contact {
  font-size: .78rem !important; font-weight: 400 !important;
  color: var(--text-muted) !important;
}

/* Product detail discount */
.product-detail-old-price {
  font-size: .95rem; font-weight: 400;
  color: var(--text-faint); text-decoration: line-through;
  margin-left: 8px;
}
.product-detail-discount {
  display: inline-block;
  font-size: .72rem; font-weight: 600;
  padding: 2px 8px; margin-left: 6px;
  background: #fef2f2; color: #ef4444;
  border-radius: 100px;
}
.product-detail-new-badge {
  display: inline-block;
  font-size: .65rem; font-weight: 600;
  padding: 3px 10px;
  background: #2563eb; color: #fff;
  border-radius: 100px;
  text-transform: uppercase; letter-spacing: .04em;
  line-height: 1.2; white-space: nowrap;
}
.product-detail-stock-badge {
  display: inline-block;
  font-size: .65rem; font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  line-height: 1.2; white-space: nowrap;
}
.product-detail-stock-badge.in {
  background: #ecfdf5; color: #059669;
}
.product-detail-stock-badge.out {
  background: #f3f4f6; color: #6b7280;
}

/* ========== PRODUCT GALLERY ========== */
/* Product detail breadcrumb */
.pd-breadcrumb {
  margin-bottom: 20px;
}

/* Gallery: thumbs left, main image right */
.product-gallery {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
}
.product-gallery-thumbs {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-content: flex-start;
  gap: 8px;
  flex-shrink: 0;
  width: 72px;
  max-height: calc(100vh - 240px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.product-gallery-main {
  position: relative;
  flex: 1;
  min-width: 0;
  aspect-ratio: 1/1;
  max-height: calc(100vh - 220px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.product-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .3s;
}
.gallery-thumb {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: .55;
  transition: all .2s;
  cursor: pointer;
  padding: 0;
  background: var(--bg-soft);
}
.gallery-thumb:hover { opacity: .8; }
.gallery-thumb.active { border-color: var(--accent); opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Mobile: thumbs on top, horizontal */
@media (max-width: 767px) {
  .product-gallery { flex-direction: column; }
  .product-gallery-thumbs {
    flex-direction: row;
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: visible;
  }
  .gallery-thumb { width: 60px; height: 60px; }
  .product-gallery-main { max-height: 70vw; width: 100%; }
}

/* Slider nav mobile */
@media (max-width: 479px) {
  .slider-nav { padding: 6px 14px; gap: 12px; }
  .slider-counter { display: none; }
  .slider-arrows { display: none; }
  .hero-slider::before { display: none; }
}

/* ========== RESPONSIVE (Mobile First) ========== */

/* --- Extra small (default: <480px) --- */
/* Header compact on mobile */
.header-top-inner { gap: 8px; }
.header-actions { gap: 4px; }
.header-icon-btn { width: 32px; height: 32px; }
.header-icon-btn svg { width: 16px; height: 16px; }
.lang-switcher { display: none; }
.header-logo img { height: 30px; max-width: 130px; }
.hamburger { width: 36px; height: 36px; }
/* Products toolbar */
.products-filter { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.products-filter::-webkit-scrollbar { display: none; }
.filter-tag { flex-shrink: 0; }
.products-sort { align-self: flex-start; }
/* Contact map smaller on mobile */
.contact-map { height: 250px; }
/* Footer cols full width */
.footer-col p { max-width: 100%; }
/* Hero slider shorter on mobile */
.hero-slider { min-height: 480px; height: 85dvh; }
/* Product detail actions stack */
.product-detail-actions .btn { flex: 1; min-width: 0; }
/* Cart page: price under product */
.cart-col-price { font-size: .84rem; }
/* Checkout summary under form on mobile */
.checkout-summary-col { order: -1; }

/* --- Small (480px+) --- */
@media (min-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-cards { grid-template-columns: repeat(2, 1fr); }
  .products-toolbar { flex-direction: column; align-items: stretch; }
  .products-filter { flex-wrap: wrap; overflow-x: visible; }
  .contact-map { height: 300px; }
  .hero-slider { min-height: 520px; }
}

/* --- Medium (768px+) --- */
@media (min-width: 768px) {
  :root { --gap: 20px; --header-h: 100px; }
  body { font-size: 16px; }
  .container { padding: 0 32px; }
  .header-top-inner { gap: 16px; }
  .header-actions { gap: 8px; }
  .header-icon-btn { width: 38px; height: 38px; }
  .header-icon-btn svg { width: 17px; height: 17px; }
  .lang-switcher { display: block; }
  .lang-switcher-btn { padding: 5px 8px; font-size: .78rem; }
  .header-search { display: block; }
  .header-search-mobile { display: none; }
  .header-nav { display: block; }
  .section { padding: 60px 0; }
  .hero-slider { min-height: 600px; height: 100dvh; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-page-grid { grid-template-columns: repeat(3, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .about-preview { grid-template-columns: 1fr 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-wrapper { padding: 28px; }
  .contact-map { height: 400px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { padding: 60px 0; }
  .page-header { padding: 120px 0 12px; }
  .checkout-summary-col { order: 0; }
  .product-detail-actions .btn { flex: none; }
}

/* --- Large (992px+) --- */
@media (min-width: 992px) {
  :root { --gap: 22px; }
  .hamburger { display: none; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

/* --- Extra Large (1200px+) --- */
@media (min-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-slide-content { max-width: 560px; }
  .hero-slide-content h1 { font-size: 3.2rem; }
  .section { padding: 72px 0; }
  .product-detail-grid { gap: 60px; }
}

/* ========== CART PAGE ========== */
.cart-page { padding: 32px 0 80px; }
.cart-table { width: 100%; }
.cart-table-header {
  display: none;
  padding: 12px 0;
  border-bottom: 2px solid var(--border);
  font-size: .72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted);
}
.cart-table-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--bg-muted);
}
.cart-col-product {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 14px;
}
.cart-col-price {
  font-size: .92rem; font-weight: 600; color: var(--text);
  white-space: nowrap;
}
.cart-col-action { flex-shrink: 0; }
.cart-item-thumb {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden; background: var(--bg-soft);
  flex-shrink: 0;
}
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-thumb-placeholder {
  width: 100%; height: 100%; background: var(--bg-muted);
}
.cart-item-details { min-width: 0; }
.cart-item-title {
  font-size: .9rem; font-weight: 500; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}
.cart-item-title:hover { color: var(--text-muted); }
.cart-remove-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); border-radius: 50%;
  transition: all .15s;
}
.cart-remove-btn:hover { color: var(--danger); background: #fef2f2; }
.cart-remove-btn svg { width: 16px; height: 16px; }

.cart-page-footer { padding-top: 24px; }
.cart-page-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center;
}

/* Cart Share */
.cart-share-wrap { position: relative; }
.cart-share-dropdown {
  position: absolute; bottom: calc(100% + 8px); left: 0;
  min-width: 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden;
  transform: translateY(4px);
  transition: all .2s var(--ease);
  overflow: hidden; z-index: 50;
  padding: 6px 0;
}
.cart-share-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0); }
.cart-share-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-size: .86rem; color: var(--text-secondary);
  transition: all .15s;
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: var(--font);
}
.cart-share-link:hover { background: var(--bg-soft); color: var(--text); }
.cart-share-link i { font-size: 1.1rem; width: 20px; text-align: center; }
.cart-share-link .fab.fa-whatsapp { color: #25d366; }
.cart-share-link .fab.fa-facebook { color: #1877f2; }
.cart-share-link .fab.fa-telegram { color: #0088cc; }
.cart-share-link .fab.fa-x-twitter { color: var(--text); }

@media (min-width: 768px) {
  .cart-table-header { display: flex; gap: 12px; }
  .cart-item-thumb { width: 80px; height: 80px; }
}

/* ========== FAVORITES PAGE ========== */
.favorites-page { padding: 32px 0 80px; }
.fav-page-actions-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 24px;
}
.fav-count-label { font-size: .88rem; color: var(--text-muted); font-weight: 500; }
.fav-page-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.fav-card {
  background: var(--bg);
  border: 1px solid var(--border-light, #f0f0f0);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.fav-card:hover {
  border-color: var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.fav-card-img {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
}
.fav-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.fav-card:hover .fav-card-img img { transform: scale(1.03); }
.fav-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
}
.fav-card-img-placeholder svg { width: 32px; height: 32px; }
.fav-card-body { padding: 14px 16px 0; }
.fav-card-title {
  font-size: .92rem; font-weight: 500; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}
.fav-card-title:hover { color: var(--text-muted); }
.fav-card-price {
  font-size: .94rem; font-weight: 600;
  color: var(--text); margin-top: 6px;
}
.fav-card-actions {
  display: flex; gap: 8px;
  padding: 12px 16px 16px;
}


/* Infinite Scroll Loader */
.infinite-scroll-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* ========== PRODUCTS TOOLBAR (sort) ========== */
.products-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.products-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.products-sort select {
  font-family: var(--font);
  font-size: .82rem; font-weight: 400;
  padding: 7px 32px 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center no-repeat;
  appearance: none; -webkit-appearance: none;
  color: var(--text-secondary);
  cursor: pointer; transition: border-color .15s;
  max-width: 100%;
}
.products-sort select:hover { border-color: var(--text); }

/* ========== CHECKOUT PAGE ========== */
.checkout-page { padding: 32px 0 80px; }
.checkout-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .checkout-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; }
}
.checkout-section-title {
  font-size: .92rem; font-weight: 500;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.checkout-items { display: flex; flex-direction: column; gap: 12px; }
.checkout-item {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bg-muted);
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item-img {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden; background: var(--bg-soft);
  flex-shrink: 0;
}
.checkout-item-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-title {
  font-size: .86rem; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.checkout-item-price { font-size: .84rem; color: var(--text-muted); margin-top: 2px; }
.checkout-total {
  display: flex; justify-content: space-between;
  align-items: center; padding-top: 16px; margin-top: 8px;
  border-top: 2px solid var(--text);
  font-size: 1rem;
}
.checkout-total strong { font-size: 1.1rem; }

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed; bottom: 80px; right: 20px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  z-index: 899;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .3s var(--ease);
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover {
  border-color: var(--text);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.back-to-top svg { width: 16px; height: 16px; }

/* ========== SKELETON LOADING ========== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-soft) 25%, var(--bg-muted) 50%, var(--bg-soft) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  border-radius: var(--radius);
  overflow: hidden;
}
.skeleton-card-img {
  aspect-ratio: 4/3;
  background: linear-gradient(90deg, var(--bg-soft) 25%, var(--bg-muted) 50%, var(--bg-soft) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}
.skeleton-card-body { padding: 14px; }
.skeleton-line {
  height: 12px; border-radius: 6px; margin-bottom: 8px;
  background: linear-gradient(90deg, var(--bg-soft) 25%, var(--bg-muted) 50%, var(--bg-soft) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}
.skeleton-line:last-child { margin-bottom: 0; }
.skeleton-line--short { width: 60%; }
.skeleton-line--xs { width: 35%; height: 10px; }

/* ========== FAQ ========== */
.faq-page { padding: 32px 0 80px; }
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 0;
  font-family: var(--font);
  font-size: .92rem; font-weight: 500;
  color: var(--text);
  background: none; border: none; cursor: pointer;
  transition: color .15s;
}
.faq-question:hover { color: var(--text-muted); }
.faq-question svg {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--text-faint);
  transition: transform .3s var(--ease);
}
.faq-item.active .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease), padding .35s;
}
.faq-item.active .faq-answer {
  max-height: 500px; padding-bottom: 18px;
}
.faq-answer p {
  font-size: .86rem; color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== TERMS/PRIVACY ========== */
.legal-page { padding: 32px 0 80px; }
.legal-content {
  max-width: 740px; margin: 0 auto;
  font-size: .9rem; color: var(--text-secondary);
  line-height: 1.8;
}
.legal-content h2 { font-size: 1.1rem; font-weight: 500; margin: 28px 0 12px; color: var(--text); }
.legal-content h3 { font-size: .96rem; font-weight: 500; margin: 20px 0 8px; color: var(--text); }
.legal-content p { margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content li { margin-bottom: 6px; }

/* ========== 404 ========== */
.error-page {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 48px 16px;
}
.error-page-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700; letter-spacing: -.04em;
  color: var(--bg-muted);
  line-height: 1;
}
.error-page h2 {
  font-size: 1.2rem; font-weight: 500;
  margin: 8px 0 12px;
}
.error-page p {
  font-size: .88rem; color: var(--text-muted);
  max-width: 360px; margin: 0 auto 24px;
  line-height: 1.6;
}

/* ========== RECENTLY VIEWED ========== */
#recentlyViewed {
  padding: 40px 0;
  display: none;
}
#recentlyViewed.show {
  display: block;
}
#recentlyViewed .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

@media (max-width: 768px) {
  #recentlyViewed .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ========== PRODUCT CARD ADD TO CART BUTTON ========== */
.btn-add-to-cart {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 16px;
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.btn-add-to-cart svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}
.btn-add-to-cart:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.btn-add-to-cart:active {
  transform: translateY(0);
}
@media (max-width: 767px) {
  .btn-add-to-cart span { display: none; }
  .btn-add-to-cart { padding: 10px; gap: 0; }
  .btn-add-to-cart svg { width: 20px; height: 20px; }
}

/* ===== ADD TO CART ANIMATION ===== */
.fly-dot {
  position: fixed;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: left .7s cubic-bezier(.25,1,.4,1), top .7s cubic-bezier(.25,1,.4,1), width .7s, height .7s, opacity .5s .2s;
  box-shadow: 0 2px 8px rgba(244,74,126,.4);
}
.fly-dot.fly-end { width: 4px; height: 4px; opacity: 0; }

@keyframes cartBounce {
  0%   { transform: scale(1); }
  25%  { transform: scale(1.4) rotate(-8deg); }
  55%  { transform: scale(.88) rotate(4deg); }
  80%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}
@keyframes badgePop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.6); }
  70%  { transform: scale(.85); }
  100% { transform: scale(1); }
}
#cart-toggle.cart-bounce { animation: cartBounce .5s ease forwards; }
#cart-count.badge-pop    { animation: badgePop .45s ease forwards; }

.btn-add-to-cart.btn-added {
  background: #22c55e !important;
  transform: none !important;
}
.btn-add-to-cart.in-cart {
  background: var(--accent-hover);
}

/* Toast */
.cart-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: rgba(26,26,26,.92);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: .82rem;
  font-family: var(--font);
  font-weight: 500;
  z-index: 9998;
  opacity: 0;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .3s;
  white-space: nowrap;
  pointer-events: none;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
/* ================================= */

.btn-out-of-stock {
  background: var(--bg-muted);
  color: var(--text-muted);
  cursor: not-allowed;
}
.btn-out-of-stock:hover {
  background: var(--bg-muted);
  transform: none;
  box-shadow: none;
}

/* ========== BLOG CARD ========== */
.blog-meta svg {
  vertical-align: middle;
}
.btn-read-more:hover {
  gap: 10px;
}
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}
.blog-content h2, .blog-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text);
}
.blog-content p {
  margin-bottom: 16px;
}
.blog-content ul, .blog-content ol {
  margin: 16px 0;
  padding-left: 24px;
  list-style: disc;
}
.blog-content ol {
  list-style: decimal;
}
.blog-content a {
  color: var(--accent);
  text-decoration: underline;
}
.blog-content a:hover {
  color: var(--accent-hover);
}

/* ========== SHOWCASE SUBCATEGORIES ========== */
.showcase-category-card:hover img {
  transform: scale(1.06);
}
.showcase-category-card:hover h3 {
  color: var(--accent);
}
@media (max-width: 1024px) {
  .showcase-categories-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 640px) {
  .showcase-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* ========== PRODUCTS LAYOUT WITH SIDEBAR ========== */
.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-top: 24px;
}
.products-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-categories {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-category-group {
  display: flex;
  flex-direction: column;
}
.sidebar-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.sidebar-category-item:hover {
  background: var(--bg-soft);
  color: var(--accent);
}
.sidebar-category-item.active {
  background: rgba(244, 74, 126, 0.08);
  color: var(--accent);
  font-weight: 500;
}
.sidebar-category-item .count {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.sidebar-subcategories {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  margin-top: 4px;
}
.sidebar-subcategory-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.sidebar-subcategory-item:hover {
  background: var(--bg-soft);
  color: var(--accent);
}
.sidebar-subcategory-item.active {
  background: rgba(244, 74, 126, 0.08);
  color: var(--accent);
  font-weight: 500;
}
.sidebar-subcategory-item .count {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.price-inputs {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.price-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price-input-group label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.price-input-group input {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.price-input-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244, 74, 126, 0.1);
}
.products-main {
  min-width: 0;
}
.products-count {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Filter toggle button — hidden on desktop */
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: 500;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.filter-toggle-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.filter-toggle-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-toggle-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.products-toolbar-left { display: flex; align-items: center; gap: 12px; }
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 199;
}
.filter-overlay.active { display: block; }

/* Responsive */
@media (max-width: 1024px) {
  .products-layout { grid-template-columns: 1fr; }
  .products-main { order: 1; }
  .filter-toggle-btn { display: flex; }

  .products-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100dvh;
    overflow-y: auto;
    background: var(--bg);
    z-index: 200;
    padding: 20px 16px;
    box-shadow: 4px 0 24px rgba(0,0,0,.12);
    transition: left .3s ease;
    order: 2;
  }
  .products-sidebar.open { left: 0; }
  .products-sidebar::-webkit-scrollbar { width: 4px; }
  .products-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
}
@media (max-width: 640px) {
  .products-sidebar { width: 280px; }
  .sidebar-section { padding: 16px; }
  .sidebar-title { font-size: 0.9rem; margin-bottom: 12px; }
}

/* ========== STORES PAGE ========== */
.stores-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.store-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.3s;
}
.store-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.store-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}
.store-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.store-detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.store-detail a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.store-detail a:hover {
  color: var(--accent);
}
.store-card-map {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
}
.store-card-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 1024px) {
  .store-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .store-card-map {
    height: 250px;
  }
}
@media (max-width: 640px) {
  .store-card {
    padding: 20px;
  }
  .store-name {
    font-size: 1.25rem;
  }
  .store-card-map {
    height: 200px;
  }
}

/* === SHOWCASE CATEGORY CARDS === */
.showcase-category-card:hover img {
  transform: scale(1.05);
}
.showcase-category-card:hover h3 {
  color: var(--accent);
}

@media (max-width: 768px) {
  .showcase-categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  .showcase-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* === BANNERS === */
.big-banner {
  max-height: 400px;
  overflow: hidden;
}
.big-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.double-banner img {
  transition: transform 0.5s var(--ease);
}
.big-banner:hover img,
.double-banner:hover img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .big-banner {
    max-height: 250px;
  }
  .double-banners-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==========================================
   PRODUCT COLOR & QUANTITY SELECTORS
   ========================================== */

/* Product card color selector */
.product-colors-selector {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.color-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
  transition: all 0.2s ease;
}

.color-btn:hover {
  transform: scale(1.1);
}

.color-btn.active {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.3);
}

/* Product detail color selector */
.color-selector-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.color-selector-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-selector-btn:hover {
  border-color: #999;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.color-selector-btn.selected {
  border-color: #000;
  background: #f8f9fa;
}

.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #ccc;
}

/* Quantity selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-selector button,
.quantity-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-selector button:hover,
.quantity-btn:hover {
  background: #f0f0f0;
  border-color: #999;
}

.quantity-selector input {
  width: 60px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  height: 40px;
  font-size: 16px;
  font-weight: 500;
}

/* Cart quantity controls */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-control .qty-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.quantity-control .qty-btn:hover {
  background: #f0f0f0;
  border-color: #999;
}

.qty-value {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

/* Sidebar color filter */
.sidebar-colors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.color-dot-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: #555;
  background: #f0f0f0;
  border: 2px solid transparent;
  transition: all 0.15s;
  line-height: 1;
}
.color-dot-all:hover { background: #e0e0e0; color: #333; }
.color-dot-all.active { border-color: var(--accent); color: var(--accent); background: #fff; }

.color-dot {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px #ddd;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
}
.color-dot:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--accent);
}
.color-dot.active {
  box-shadow: 0 0 0 2px var(--accent);
  transform: scale(1.1);
}
.color-dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Tooltip */
.color-dot[data-tooltip] {
  position: relative;
}
.color-dot[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 0.72rem;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 10;
}
.color-dot[data-tooltip]:hover::before {
  opacity: 1;
}

.count {
  color: #999;
  font-size: 0.85rem;
}

/* Gallery color indicator */
.color-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* Cart table columns for quantity and total */
.cart-col-quantity {
  flex: 0 0 120px;
  text-align: center;
}

.cart-col-total {
  flex: 0 0 100px;
  text-align: right;
}

.cart-total-row {
  padding: 20px;
  border-top: 2px solid #ddd;
  text-align: right;
  font-size: 1.2rem;
  background: #f9f9f9;
  margin-top: 10px;
  border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-colors-selector {
    gap: 4px;
  }

  .color-btn {
    width: 20px;
    height: 20px;
  }

  .color-selector-grid {
    gap: 8px;
  }

  .color-selector-btn {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .quantity-selector button,
  .quantity-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .quantity-selector input {
    width: 50px;
    height: 35px;
  }

  .cart-col-quantity,
  .cart-col-total {
    flex: 0 0 80px;
    font-size: 0.85rem;
  }
}

/* Showcase Categories */
.showcase-cats-section {
  padding: 60px 0;
}
.showcase-cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.showcase-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}
.showcase-cat-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  transition: box-shadow 0.3s var(--ease);
  max-height: 160px;
}
.showcase-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.showcase-cat-card:hover .showcase-cat-img {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.showcase-cat-card:hover .showcase-cat-img img {
  transform: scale(1.06);
}
.showcase-cat-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-muted);
  color: var(--border-hover);
}
.showcase-cat-placeholder svg {
  width: 28px;
  height: 28px;
}
.showcase-cat-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  transition: color 0.25s;
}
.showcase-cat-card:hover .showcase-cat-title {
  color: var(--accent);
}
@media (max-width: 900px) {
  .showcase-cats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .showcase-cats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .showcase-cats-section {
    padding: 24px 0 0;
  }
}

/* ===== MEGA MENU ===== */
.header-nav { position: relative; }

.nav-desktop ul li.has-mega { position: static; }

.mega-menu {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: #fff;
  border-top: 2px solid var(--accent);
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 999;
}

.nav-desktop ul li.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-desktop ul li.has-mega:hover > a svg {
  transform: rotate(180deg);
}

.mega-menu-inner {
  display: flex;
  gap: 0;
  padding: 28px 0;
}

/* Subcategories column */
.mega-subcats {
  min-width: 200px;
  max-width: 220px;
  padding-right: 28px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}

.mega-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.mega-subcats ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-subcats ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: background .15s, color .15s;
  text-decoration: none;
}

.mega-subcats ul li a:hover,
.mega-subcats ul li a.active {
  background: var(--bg-soft);
  color: var(--accent);
  font-weight: 500;
}

.mega-count {
  font-size: .75rem;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 1px 6px;
  border-radius: 20px;
}

.mega-view-all {
  display: inline-block;
  margin-top: 14px;
  font-size: .83rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: opacity .15s;
}
.mega-view-all:hover { opacity: .75; }

/* Products grid */
.mega-panels {
  flex: 1;
  padding-left: 28px;
  min-width: 0;
}
.mega-products-grid {
  display: none;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
  align-items: start;
}
.mega-products-grid.active {
  display: grid;
}
.mega-empty {
  font-size: .85rem;
  color: var(--text-muted);
  padding: 16px 0;
}

.mega-menu .mega-product-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;        /* .nav-desktop a-dan sızan align-items:center-i ləğv et */
  white-space: normal;         /* sızan white-space:nowrap-i ləğv et — ad bükülsün */
  gap: 6px;
  padding: 0;                  /* sızan padding:9px 14px-i ləğv et */
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
}
.mega-menu .mega-product-card:hover { background: transparent; }

.mega-product-img {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%; /* kvadrat nisbət — bütün brauzerlərdə bərabər ölçü */
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
  flex-shrink: 0;
}

.mega-product-img img,
.mega-product-img .mega-product-placeholder {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.mega-product-card:hover .mega-product-img img {
  transform: scale(1.07);
}

.mega-product-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-muted);
}

.mega-menu .mega-product-name {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  width: 100%;
  white-space: normal;         /* irslə gələn nowrap-i ləğv et ki, mətn 2 sətrə bölünsün */
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
}

.mega-product-card:hover .mega-product-name { color: var(--accent); }

.mega-product-price {
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
}

/* Featured Products / Blogs Swiper */
.featured-swiper-wrap {
  position: relative;
}
.featured-swiper,
.sale-swiper,
.blogs-swiper {
  overflow: hidden;
}
.featured-swiper .swiper-wrapper,
.sale-swiper .swiper-wrapper,
.rv-swiper .swiper-wrapper { align-items: stretch; }
.featured-swiper .swiper-slide,
.sale-swiper .swiper-slide,
.rv-swiper .swiper-slide { height: auto; }
.featured-swiper .product-card,
.sale-swiper .product-card,
.rv-swiper .product-card { height: 100%; }

.swiper-ctrl-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s, opacity .2s;
  color: var(--text-secondary);
}
.swiper-ctrl-side.featured-prev,
.swiper-ctrl-side.sale-prev,
.swiper-ctrl-side.blogs-prev { left: -22px; }
.swiper-ctrl-side.featured-next,
.swiper-ctrl-side.sale-next,
.swiper-ctrl-side.blogs-next { right: -22px; }
.swiper-ctrl-side svg { width: 18px; height: 18px; }
.swiper-ctrl-side:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(0,0,0,.13);
}
.swiper-ctrl-side.swiper-button-disabled,
.swiper-ctrl-side:disabled { opacity: .3; pointer-events: none; }

@media (max-width: 640px) {
  .swiper-ctrl-side { display: none; }
}

/* Split section header (label+title left, button right) — responsive */
.section-header-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 28px;
}
.section-header-split h2 { margin: 0; font-size: clamp(1.2rem, 2.5vw, 1.9rem); }
.section-header-split h2::after { display: none; }
@media (max-width: 600px) {
  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .section-header-split .btn { align-self: flex-start; }
}

/* ========== CORPORATE GIFT PAGE ========== */
.corporate-gift-section { padding: 48px 0 80px; }

.corporate-gift-body {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 60px;
  align-items: start;
  margin-bottom: 56px;
}

.corporate-gift-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.corporate-gift-desc h1,
.corporate-gift-desc h2,
.corporate-gift-desc h3 { color: var(--text); margin-bottom: 12px; }
.corporate-gift-desc p { margin-bottom: 16px; }
.corporate-gift-desc ul,
.corporate-gift-desc ol { padding-left: 20px; margin-bottom: 16px; }

.corporate-gift-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.corporate-gift-image img {
  width: 100%; height: auto; display: block;
}

.corporate-gift-cta {
  display: flex;
  justify-content: center;
}

.btn-gift-catalog {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: #e91e8c;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 8px 24px rgba(233,30,140,.35);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-gift-catalog svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-gift-catalog:hover {
  background: #c9167a;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(233,30,140,.45);
  color: #fff;
}

@media (max-width: 900px) {
  .corporate-gift-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .corporate-gift-image { max-width: 500px; }
}
@media (max-width: 600px) {
  .btn-gift-catalog { padding: 14px 28px; font-size: .92rem; }
}
