/* ========================================
   VELORA — Redesigned UI (Modern Luxury)
   Manrope + Inter · Sage accent · Soft stone
======================================== */

:root {
  --bg: #F3F5F4;
  --bg-white: #FFFFFF;
  --primary: #141916;
  --secondary: #5C6B63;
  --muted: #8A9A91;
  --border: #D8E0DB;
  --accent: #3D6B5A;
  --accent-hover: #2F5446;
  --accent-soft: rgba(61, 107, 90, 0.12);
  --success: #2F9E6B;
  --danger: #E04F4F;
  --warning: #D4A017;
  --info: #3B82A0;
  --radius-btn: 10px;
  --radius-card: 20px;
  --radius-input: 12px;
  --shadow-card: 0 8px 28px rgba(20, 25, 22, 0.07);
  --shadow-soft: 0 2px 12px rgba(20, 25, 22, 0.04);
  --shadow-hover: 0 18px 44px rgba(20, 25, 22, 0.12);
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --announce-h: 42px;
  --mesh: radial-gradient(ellipse 80% 60% at 10% 0%, rgba(61,107,90,0.09), transparent 55%),
          radial-gradient(ellipse 60% 50% at 90% 20%, rgba(20,25,22,0.04), transparent 50%);
}

[data-theme="dark"] {
  --bg: #0C1210;
  --bg-white: #16201B;
  --primary: #F2F7F4;
  --secondary: #9AADA3;
  --muted: #6B7F74;
  --border: #2A3A32;
  --accent: #6BB894;
  --accent-hover: #8AD0AC;
  --accent-soft: rgba(107, 184, 148, 0.15);
  --shadow-card: 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 18px 44px rgba(0, 0, 0, 0.45);
  --mesh: radial-gradient(ellipse 80% 60% at 10% 0%, rgba(107,184,148,0.12), transparent 55%);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  background-image: var(--mesh);
  background-attachment: fixed;
  color: var(--primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.text-muted-custom { color: var(--secondary) !important; }
.bg-soft { background: var(--bg); }
.section-pad { padding: 88px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.035em;
}
.section-sub {
  color: var(--secondary);
  max-width: 520px;
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: var(--radius-btn);
  padding: 13px 28px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.btn-primary-custom:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 107, 90, 0.25);
}

.btn-secondary-custom {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 13px 28px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  background: var(--bg-white);
}
.btn-secondary-custom:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.btn-pill { border-radius: 999px; padding: 14px 36px; }
.btn-sm-custom { padding: 8px 18px; font-size: 0.85rem; border-radius: 8px; }
.btn-block { width: 100%; }

/* ---------- Forms ---------- */
.form-control-custom,
.form-select-custom {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-input);
  padding: 13px 16px;
  font-size: 0.95rem;
  color: var(--primary);
  width: 100%;
  transition: var(--transition);
  font-family: var(--font);
}
.form-control-custom:focus,
.form-select-custom:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-label-custom {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
  font-family: var(--font-display);
}

/* ---------- Announcement ---------- */
.announce-bar {
  background: linear-gradient(90deg, #1A2E26 0%, #3D6B5A 50%, #1A2E26 100%);
  color: #fff;
  text-align: center;
  padding: 11px 16px;
  font-size: 0.84rem;
  position: relative;
  z-index: 1060;
  letter-spacing: 0.01em;
}
.announce-bar a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  text-underline-offset: 3px;
}
.announce-bar .close-announce {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0.7;
}
.announce-bar .close-announce:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: var(--transition);
}
[data-theme="dark"] .site-header {
  background: rgba(22, 32, 27, 0.88);
}
.site-header.scrolled {
  box-shadow: var(--shadow-soft);
}
.site-header .navbar { padding: 15px 0; }
.brand-logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--primary);
}
.brand-logo::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: super;
}
.nav-link-custom {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 0.92rem;
  color: var(--primary);
  padding: 8px 14px !important;
  position: relative;
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--accent);
}
.header-search {
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 11px 20px 11px 44px;
  width: 100%;
  max-width: 400px;
  font-size: 0.88rem;
  color: var(--primary);
  transition: var(--transition);
}
.header-search:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-white);
}
.header-search-wrap {
  position: relative;
  flex: 1;
  max-width: 400px;
}
.header-search-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.1rem;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
}
.header-icon-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.header-icon-btn .badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 40px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1040;
  border-radius: 0 0 24px 24px;
}
.nav-item-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.mega-menu a {
  display: block;
  padding: 6px 0;
  color: var(--secondary);
  font-size: 0.9rem;
}
.mega-menu a:hover { color: var(--primary); }
.mega-promo {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  height: 200px;
}
.mega-promo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mega-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(20, 25, 22, 0.78));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
}

/* ---------- Hero ---------- */
.hero-section {
  background:
    linear-gradient(135deg, rgba(61,107,90,0.08) 0%, transparent 40%),
    linear-gradient(180deg, #E8EEEA 0%, #F3F5F4 100%);
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 118px);
  display: flex;
  align-items: center;
}
[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, #16201B 0%, #0C1210 100%);
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.hero-content h1::first-line {
  color: var(--accent);
}
.hero-content p {
  color: var(--secondary);
  font-size: 1.08rem;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stat {
  padding-right: 28px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child {
  border-right: none;
  padding-right: 0;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1.2;
  color: var(--accent);
}
.hero-stat .label {
  color: var(--secondary);
  font-size: 0.85rem;
}
.hero-image { position: relative; }
.hero-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 32px 8px 32px 8px;
  box-shadow: var(--shadow-hover);
}
.hero-deco {
  position: absolute;
  width: 72px;
  height: 72px;
  opacity: 0.35;
  color: var(--accent);
}
.hero-deco-1 { top: 8%; right: 2%; }
.hero-deco-2 { bottom: 16%; left: -4%; width: 48px; height: 48px; }

/* Brand Bar */
.brand-bar {
  background: var(--primary);
  padding: 40px 0;
  overflow: hidden;
}
.brand-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}
.brand-bar .brand-item {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.88;
}

/* ---------- Product Card ---------- */
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  padding: 10px;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.product-card-img {
  position: relative;
  background: #E4EBE6;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  margin: 0;
}
[data-theme="dark"] .product-card-img { background: #2A3A32; }
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.07); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--danger);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 8px;
  z-index: 2;
  font-family: var(--font-display);
}
.product-badge.new {
  background: var(--accent);
}
.product-actions-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 2;
}
.product-card:hover .product-actions-overlay {
  opacity: 1;
  transform: translateX(0);
}
.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  color: var(--primary);
  transition: var(--transition);
  font-size: 1rem;
}
.product-action-btn:hover,
.product-action-btn.active {
  background: var(--accent);
  color: #fff;
}
.product-card-body {
  padding: 14px 6px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-brand {
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  font-weight: 600;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-name:hover { color: var(--accent); }
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 0.85rem;
}
.product-rating .stars { color: #E5B93C; letter-spacing: 1px; }
.product-rating .count { color: var(--muted); }
.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.product-price .current {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
}
.product-price .original {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.92rem;
}
.product-price .discount {
  background: rgba(224, 79, 79, 0.1);
  color: var(--danger);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.btn-add-cart {
  margin-top: auto;
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 11px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(8px);
  font-family: var(--font-display);
}
.product-card:hover .btn-add-cart {
  opacity: 1;
  transform: translateY(0);
}
.btn-add-cart:hover { background: var(--accent); }

/* Category Card */
.category-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  box-shadow: var(--shadow-soft);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(20, 25, 22, 0.82));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}
.category-card-overlay h5 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 4px;
}
.category-card-overlay span {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Flash Sale */
.flash-sale-banner {
  background: linear-gradient(135deg, #1A2E26 0%, #3D6B5A 55%, #243D34 100%);
  border-radius: 24px;
  padding: 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.countdown-timer { display: flex; gap: 12px; }
.countdown-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  min-width: 72px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.countdown-box .val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.countdown-box .lbl {
  font-size: 0.68rem;
  opacity: 0.7;
  text-transform: uppercase;
  margin-top: 4px;
  letter-spacing: 0.06em;
}

/* Promo Banner */
.promo-banner {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  background: #E4EBE6;
  box-shadow: var(--shadow-card);
}
.promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-banner-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  max-width: 480px;
}

/* Reviews */
.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
  border-color: transparent;
}
.review-card .stars { color: #E5B93C; margin-bottom: 12px; }
.review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-top: 16px;
  font-family: var(--font-display);
}
.review-card .verified { color: var(--success); font-size: 1rem; }

/* Instagram */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}
.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.insta-item:hover img { transform: scale(1.1); }
.insta-item::after {
  content: '\ee25';
  font-family: 'remixicon';
  position: absolute;
  inset: 0;
  background: rgba(61, 107, 90, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}
.insta-item:hover::after { opacity: 1; }

/* Newsletter */
.newsletter-section {
  background: linear-gradient(135deg, #141916 0%, #1A2E26 50%, #3D6B5A 100%);
  color: #fff;
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 28px auto 0;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  border-radius: 999px;
  border: none;
  padding: 15px 24px;
  font-family: var(--font);
}
.newsletter-form button {
  border-radius: 999px;
  padding: 15px 32px;
  background: #fff;
  color: var(--primary);
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-display);
}
.newsletter-form button:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-white);
  padding-top: 80px;
  margin-top: 80px;
  position: relative;
  border-top: 1px solid var(--border);
}
.footer-newsletter-overlap {
  margin-top: -100px;
  margin-bottom: 60px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.footer-desc {
  color: var(--secondary);
  font-size: 0.9rem;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.footer-col h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.footer-col a {
  display: block;
  color: var(--secondary);
  font-size: 0.9rem;
  padding: 5px 0;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--secondary);
  font-size: 0.85rem;
}
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icons span {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-display);
}

/* ---------- Breadcrumb / Page ---------- */
.page-breadcrumb {
  padding: 20px 0;
  font-size: 0.875rem;
  color: var(--secondary);
}
.page-breadcrumb a:hover { color: var(--accent); }
.page-breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.page-breadcrumb .current { color: var(--primary); font-weight: 600; }

.page-hero {
  background: transparent;
  border-bottom: none;
  padding: 28px 0 8px;
}
.page-hero h1 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 800;
}

/* ---------- Shop Filters ---------- */
.filter-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-soft);
}
.filter-group {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.filter-group:last-of-type { border-bottom: none; }
.filter-group h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.color-swatch.active,
.color-swatch:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent);
}
.size-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.size-pill {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.size-pill:hover,
.size-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--secondary);
  margin-top: 8px;
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Product Details ---------- */
.product-gallery-main {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #E4EBE6;
  aspect-ratio: 1;
  cursor: zoom-in;
}
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.product-thumb {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #E4EBE6;
  transition: var(--transition);
}
.product-thumb.active,
.product-thumb:hover { border-color: var(--accent); }
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qty-selector {
  display: inline-flex;
  align-items: center;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.qty-selector button {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--primary);
  font-family: var(--font);
}
.qty-selector span {
  min-width: 40px;
  text-align: center;
  font-weight: 700;
}
.product-tabs {
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  overflow-x: auto;
}
.product-tab {
  padding: 16px 0;
  font-weight: 600;
  color: var(--secondary);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.product-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- Cart ---------- */
.cart-table { width: 100%; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: 14px;
  overflow: hidden;
  background: #E4EBE6;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-summary {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-soft);
}
.order-summary h5 {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 24px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.summary-row.total {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
  font-weight: 800;
  font-size: 1.15rem;
}
.summary-row .discount-val { color: var(--danger); }
.promo-input-group {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.promo-input-group input {
  flex: 1;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  padding: 12px 20px;
  background: var(--bg);
  font-family: var(--font);
}

/* ---------- Drawers ---------- */
.cart-drawer-overlay,
.wishlist-drawer-overlay,
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 25, 22, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-drawer-overlay.open,
.wishlist-drawer-overlay.open,
.search-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer,
.wishlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-white);
  z-index: 1101;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  border-radius: 24px 0 0 24px;
}
.cart-drawer.open,
.wishlist-drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.drawer-header h5 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0;
}
.drawer-close {
  background: var(--bg);
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--primary);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.drawer-cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.drawer-cart-item img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: #E4EBE6;
}

.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  z-index: 1101;
  padding: 40px 20px;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  border-radius: 0 0 24px 24px;
}
.search-modal-overlay.open .search-modal { transform: translateY(0); }
.search-modal-input {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: block;
  font-size: 1.5rem;
  border: none;
  border-bottom: 2px solid var(--border);
  padding: 16px 48px 16px 0;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
}
.search-modal-input:focus {
  outline: none;
  border-color: var(--accent);
}

.quick-view-modal .modal-content {
  border-radius: var(--radius-card);
  border: none;
  overflow: hidden;
}
.quick-view-modal .modal-body { padding: 0; }

/* ---------- Auth ---------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  background-image: var(--mesh);
}
.auth-card {
  background: var(--bg-white);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  padding: 48px 40px;
  width: 100%;
  max-width: 460px;
  margin: 40px auto;
  border: 1px solid var(--border);
}
.auth-card h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.social-login-btns { display: flex; gap: 12px; }
.social-login-btns button {
  flex: 1;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition);
  color: var(--primary);
}
.social-login-btns button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

/* ---------- Account ---------- */
.account-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.account-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 4px;
  transition: var(--transition);
  font-family: var(--font-display);
}
.account-nav a:hover,
.account-nav a.active {
  background: var(--accent);
  color: #fff;
}
.account-nav a i { font-size: 1.15rem; }
.account-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.stat-mini {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.stat-mini .val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  display: block;
  color: var(--accent);
}
.stat-mini .lbl {
  font-size: 0.8rem;
  color: var(--secondary);
}

/* ---------- Checkout ---------- */
.checkout-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.checkout-step {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--secondary);
  min-width: 120px;
  font-family: var(--font-display);
}
.checkout-step.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.checkout-step.done {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}

/* ---------- Blog ---------- */
.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px; }
.blog-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.blog-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.blog-card p {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--accent); }
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  color: var(--primary);
}
.faq-answer {
  padding: 0 24px 20px;
  color: var(--secondary);
  display: none;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

/* ---------- Compare ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
}
.compare-table th,
.compare-table td {
  padding: 16px;
  border: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}
.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  background: var(--bg);
}

/* ---------- 404 / Success ---------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 800;
  line-height: 1;
  opacity: 0.08;
  letter-spacing: -0.05em;
  color: var(--accent);
}
.success-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

.skeleton {
  background: linear-gradient(90deg, #e8ece9 25%, #d8e0db 50%, #e8ece9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg, #2A3A32 25%, #3A4A42 50%, #2A3A32 75%);
  background-size: 200% 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-container-custom {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast-custom {
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--primary); }

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--primary);
  transition: var(--transition);
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.badge-status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-display);
}
.badge-status.pending { background: rgba(212,160,23,0.12); color: var(--warning); }
.badge-status.processing { background: rgba(59,130,160,0.12); color: var(--info); }
.badge-status.shipped { background: var(--accent-soft); color: var(--accent); }
.badge-status.delivered { background: rgba(47,158,107,0.12); color: var(--success); }
.badge-status.cancelled { background: rgba(224,79,79,0.12); color: var(--danger); }

.gap-16 { gap: 16px; }
.rounded-card { border-radius: var(--radius-card); }
.shadow-card { box-shadow: var(--shadow-card); }
.bg-white-custom { background: var(--bg-white); }
.text-accent { color: var(--accent); }
.border-custom { border: 1px solid var(--border); }
.hover-lift { transition: var(--transition); }
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.swiper-pagination-bullet-active { background: var(--accent) !important; }
.products-swiper .swiper-slide { height: auto; }

@media (max-width: 991.98px) {
  .hero-content h1 { font-size: 2.5rem; }
  .hero-stats { gap: 20px; }
  .hero-stat { padding-right: 20px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 12px;
  }
  .section-pad { padding: 60px 0; }
  .btn-add-cart {
    opacity: 1;
    transform: none;
  }
  .product-actions-overlay {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .hero-section { min-height: auto; padding: 40px 0; }
  .newsletter-section { padding: 40px 20px; }
  .auth-card { padding: 32px 24px; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-bar-inner { gap: 24px; }
  .brand-bar .brand-item { font-size: 1.1rem; }
  .flash-sale-banner { padding: 28px; }
}
