/* ============================================================
   VÍVACE STORE — Design System Premium
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --primary:       #0F0F0F;
  --secondary:     #C9A96E;
  --accent:        #E8D5B7;
  --bg:            #FAFAF8;
  --surface:       #FFFFFF;
  --surface-alt:   #F3F0EA;
  --text:          #1A1A1A;
  --text-muted:    #6B7280;
  --text-light:    #9CA3AF;
  --border:        #E5E7EB;
  --border-light:  #F3F4F6;
  --error:         #EF4444;
  --success:       #10B981;
  --warning:       #F59E0B;
  --info:          #3B82F6;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.16);

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full:9999px;

  --transition: .22s cubic-bezier(.4,0,.2,1);
  --transition-slow: .4s cubic-bezier(.4,0,.2,1);

  --font-h:  'Playfair Display', Georgia, serif;
  --font-b:  'DM Sans', system-ui, sans-serif;

  --header-h: 72px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-h); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }

/* ── Layout ───────────────────────────────────────────────── */
.container  { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.grid       { display: grid; }

/* ── HEADER ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(15,15,15,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 20px;
}
.site-logo {
  font-family: var(--font-h);
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.site-logo span { color: var(--secondary); }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a.active { color: #fff; background: rgba(255,255,255,.08); }

.site-nav a.nav-sale:hover { background: rgba(255,107,107,.12); }

/* Search */
.header-search { position: relative; flex: 1; max-width: 360px; }
.header-search input {
  width: 100%; height: 40px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  color: #fff;
  padding: 0 44px 0 18px;
  font-size: .88rem;
  transition: var(--transition);
  outline: none;
}
.header-search input::placeholder { color: rgba(255,255,255,.4); }
.header-search input:focus {
  background: rgba(255,255,255,.12);
  border-color: var(--secondary);
}
.search-btn {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.5); background: none; border: none; cursor: pointer;
  transition: var(--transition); line-height: 1;
}
.search-btn:hover { color: var(--secondary); }

/* Dropdown de busca */
.search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  overflow: hidden; display: none; z-index: 100;
}
.search-dropdown.show { display: block; }
.search-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
}
.search-item:hover { background: var(--surface-alt); }
.search-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
.search-item-name { font-size: .88rem; font-weight: 500; color: var(--text); }
.search-item-price { font-size: .8rem; color: var(--secondary); font-weight: 600; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-action-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  color: rgba(255,255,255,.8);
  background: none; border: none; cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.header-action-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.header-action-btn svg { width: 20px; height: 20px; }
.badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px;
  background: var(--secondary); color: #fff;
  font-size: .65rem; font-weight: 700;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Mobile nav */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  border-radius: var(--radius-sm);
  color: #fff;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid; grid-template-columns: 1.6fr 0.8fr;
  overflow: hidden;
  /* background-color: var(--primary); */
  background-image: linear-gradient(to right, rgba(15,15,15,0.8) 0%, rgba(15,15,15,0.4) 50%, transparent 100%), url('../images/banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 60px 80px 160px;
  position: relative; z-index: 2;
}
.hero-tag {
  display: inline-block;
  background: rgba(201,169,110,.15);
  color: var(--secondary);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201,169,110,.3);
  margin-bottom: 24px; width: fit-content;
}
.hero h1 {
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 em { color: var(--secondary); font-style: italic; }
.hero-desc {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 440px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  position: relative; overflow: hidden;
}
/* .hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15,15,15,.6) 0%, transparent 50%);
} */
.hero-float {
  position: absolute; bottom: 48px; left: 48px; z-index: 3;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  animation: floatUp .6s ease both;
}
.hero-float-label { font-size: .75rem; color: var(--text-muted); margin-bottom: 4px; }
.hero-float-value {
  font-size: 1.5rem; font-weight: 700;
  color: var(--primary); font-family: var(--font-h);
}
.hero-float-sub { font-size: .78rem; color: var(--success); font-weight: 500; margin-top: 2px; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: .9rem; font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--secondary); color: #fff;
  border-color: var(--secondary);
}
.btn-primary:hover {
  background: #b8945a; border-color: #b8945a;
  transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,169,110,.4);
}
.btn-outline {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-dark:hover {
  background: #2d2d2d; border-color: #2d2d2d;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-alt); }
.btn-sm { padding: 9px 18px; font-size: .82rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-whatsapp {
  background: #25D366; color: #fff; border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #128C7E; border-color: #128C7E;
  transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,211,102,.3);
}
.btn[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ── SECTION HEADERS ─────────────────────────────────────── */
.section-header {
  text-align: center; margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-muted); max-width: 540px; margin: 0 auto; font-size: .95rem; }
.section-header.left { text-align: left; }
.section-header.left p { margin: 0; }

/* ── PRODUCT CARDS ─────────────────────────────────────────  */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card-media {
  position: relative;
  aspect-ratio: 3/4; overflow: hidden;
  background: var(--surface-alt);
}
.product-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-card-media img { transform: scale(1.06); }

/* Badge na imagem */
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--error); color: #fff;
  font-size: .67rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-full);
}
.card-badge.new { background: var(--success); }
.card-badge.featured { background: var(--secondary); }

/* Hover actions */
.card-actions {
  position: absolute; bottom: 12px; left: 12px; right: 12px; z-index: 2;
  display: flex; gap: 8px;
  opacity: 0; transform: translateY(8px);
  transition: var(--transition);
}
.product-card:hover .card-actions { opacity: 1; transform: translateY(0); }
.card-action-btn, .card-cart-btn {
  height: 40px; border-radius: var(--radius-full);
  border: none; cursor: pointer;
  font-size: .82rem; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.card-action-btn {
  width: 40px; background: rgba(255,255,255,.95);
  color: var(--text);
  justify-content: center;
  backdrop-filter: blur(10px);
}
.card-action-btn:hover { background: #fff; transform: scale(1.05); }
.card-action-btn.favorited { color: #e11d48; }
.card-cart-btn {
  flex: 1; background: var(--primary); color: #fff;
  padding: 0 16px; justify-content: center;
}
.card-cart-btn:hover { background: #333; }

/* Card body */
.product-card-body { padding: 16px 18px 18px; }
.product-category {
  font-size: .72rem; color: var(--text-muted);
  font-weight: 500; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-h);
  font-size: 1rem; font-weight: 500;
  color: var(--text); line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.product-price {
  font-size: 1.1rem; font-weight: 700; color: var(--text);
}
.product-original-price {
  font-size: .85rem; color: var(--text-light);
  text-decoration: line-through;
}
.product-discount {
  font-size: .72rem; font-weight: 700;
  background: rgba(239,68,68,.1); color: var(--error);
  padding: 2px 6px; border-radius: var(--radius-sm);
  margin-left: auto;
}

/* Tamanhos no card */
.card-sizes {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.size-chip {
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .7rem; font-weight: 500; color: var(--text-muted);
  cursor: default;
  transition: var(--transition);
}
.size-chip.out { opacity: .4; text-decoration: line-through; }

/* Cores no card */
.card-colors {
  display: flex; gap: 5px; margin-top: 8px;
}
.color-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
  cursor: pointer;
  transition: var(--transition);
}
.color-dot:hover, .color-dot.active { box-shadow: 0 0 0 2px var(--primary); }

/* ── CATEGORY GRID ────────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.category-card {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 9/12;
  background: var(--primary); cursor: pointer;
  transition: var(--transition);
}
.category-card:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.category-card img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .65; transition: var(--transition-slow);
}
.category-card:hover img { opacity: .75; transform: scale(1.05); }
.category-card-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%);
}
.category-card-icon { font-size: 1.6rem; margin-bottom: 8px; }
.category-card-name {
  color: #fff; font-family: var(--font-h);
  font-size: 1.1rem; font-weight: 500;
  line-height: 1.2; margin-bottom: 4px;
}
.category-card-count {
  color: rgba(255,255,255,.6); font-size: .78rem;
}

/* ── BANNER PROMO ─────────────────────────────────────────── */
.banner-promo {
  background: var(--primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 320px;
}
.banner-promo-content {
  padding: 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.banner-promo-tag {
  display: inline-block;
  background: var(--secondary); color: #fff;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--radius-full);
  margin-bottom: 20px; width: fit-content;
}
.banner-promo h2 { color: #fff; margin-bottom: 12px; }
.banner-promo p { color: rgba(255,255,255,.65); margin-bottom: 28px; }
.banner-promo-image {
  background: linear-gradient(135deg, #1A1A2E, #0F0F0F);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.banner-promo-image img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }

/* ── FILTER SIDEBAR ───────────────────────────────────────── */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px; align-items: start;
}
.filter-sidebar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--header-h) + 16px);
}
.filter-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.filter-header h3 { font-size: 1rem; font-weight: 600; color: var(--text); }
.filter-clear {
  font-size: .78rem; color: var(--secondary);
  background: none; border: none; cursor: pointer;
  font-weight: 500; transition: var(--transition);
}
.filter-clear:hover { color: #b8945a; }
.filter-group { margin-bottom: 28px; }
.filter-group-title {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
.filter-group-title svg { transition: var(--transition); }
.filter-group.collapsed .filter-group-title svg { transform: rotate(-90deg); }
.filter-group.collapsed .filter-group-body { display: none; }

/* Tamanhos */
.sizes-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
  gap: 6px;
}
.size-btn {
  height: 36px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text);
  font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.size-btn:hover { border-color: var(--primary); color: var(--primary); }
.size-btn.active {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
}
.size-btn.unavailable { opacity: .3; cursor: not-allowed; }

/* Cores filtro */
.colors-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.color-filter-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1.5px var(--border);
  cursor: pointer; transition: var(--transition);
  position: relative;
}
.color-filter-btn:hover { transform: scale(1.15); box-shadow: 0 0 0 2px var(--primary); }
.color-filter-btn.active { box-shadow: 0 0 0 2.5px var(--primary); }
.color-filter-btn.active::after {
  content: '✓'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; color: #fff; font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

/* Price range */
.price-range-wrap { padding: 4px 0; }
.price-range-inputs { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.price-range-inputs input {
  flex: 1; height: 36px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 0 10px;
  font-size: .82rem; outline: none; transition: var(--transition);
}
.price-range-inputs input:focus { border-color: var(--secondary); }
.price-range-sep { color: var(--text-muted); font-size: .85rem; }
input[type=range] {
  width: 100%; accent-color: var(--secondary);
  cursor: pointer;
}

/* Gender filters */
.gender-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.genre-btn {
  padding: 7px 16px; border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text);
  font-size: .82rem; font-weight: 500;
  cursor: pointer; transition: var(--transition);
}
.genre-btn:hover { border-color: var(--primary); }
.genre-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Sort bar */
.catalog-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.catalog-topbar-left { display: flex; align-items: center; gap: 12px; }
.catalog-count { font-size: .88rem; color: var(--text-muted); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filter-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 500; color: var(--text);
  padding: 4px 10px;
}
.active-filter-tag button {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); line-height: 1;
  font-size: .9rem; transition: var(--transition);
}
.active-filter-tag button:hover { color: var(--error); }
.sort-select {
  height: 38px; padding: 0 36px 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .85rem; background: var(--surface);
  cursor: pointer; outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: calc(100% - 12px) center;
}

/* ── PRODUCT PAGE ─────────────────────────────────────────── */
.product-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}

/* Gallery */
.product-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery-main {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3/4; background: var(--surface-alt);
  margin-bottom: 12px; cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-main:hover img { transform: scale(1.04); }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb {
  width: 68px; height: 68px;
  border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
}
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product info */
.product-info {}
.product-cat-link {
  font-size: .78rem; color: var(--secondary);
  font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
}
.product-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.product-price-big {
  font-size: 1.8rem; font-weight: 700; color: var(--text);
  margin-bottom: 4px;
}
.product-original-big {
  font-size: 1rem; color: var(--text-muted);
  text-decoration: line-through; margin-right: 12px;
}
.product-discount-big {
  background: rgba(239,68,68,.1); color: var(--error);
  font-size: .78rem; font-weight: 700;
  padding: 3px 10px; border-radius: var(--radius-full);
}
.product-short-desc {
  color: var(--text-muted); font-size: .92rem; line-height: 1.7;
  margin: 20px 0;
  padding: 20px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
}
.product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.stars { display: flex; gap: 2px; }
.star { color: #F59E0B; font-size: .85rem; }
.star.empty { color: var(--border); }
.rating-count { font-size: .82rem; color: var(--text-muted); }

/* Size selector */
.selector-label {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.sizes-selector { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.size-select-btn {
  min-width: 48px; height: 44px; padding: 0 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text);
  font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.size-select-btn:hover { border-color: var(--primary); }
.size-select-btn.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.size-select-btn.out-of-stock {
  background: var(--surface-alt); color: var(--text-light);
  border-color: var(--border-light); cursor: not-allowed;
}
.size-select-btn.out-of-stock::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 4px, rgba(0,0,0,.06) 4px, rgba(0,0,0,.06) 5px);
  border-radius: var(--radius-sm);
}

/* Color selector */
.colors-selector { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.color-select-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1.5px var(--border);
  cursor: pointer; transition: var(--transition);
}
.color-select-btn:hover { transform: scale(1.1); }
.color-select-btn.selected { box-shadow: 0 0 0 3px var(--primary); }
.color-name { font-size: .82rem; color: var(--text-muted); margin-top: 6px; }

/* Qty + Add Cart */
.add-to-cart-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 16px; }
.qty-control {
  display: flex; align-items: center;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
}
.qty-btn {
  width: 44px; height: 52px; background: none; border: none;
  font-size: 1.2rem; cursor: pointer; color: var(--text);
  transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--surface-alt); }
.qty-input {
  width: 50px; text-align: center;
  border: none; outline: none;
  font-size: 1rem; font-weight: 600;
}
.btn-add-cart {
  flex: 1; height: 52px;
  background: var(--primary); color: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  font-size: .92rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-add-cart:hover { background: #333; border-color: #333; transform: translateY(-1px); }
.btn-favorite {
  width: 52px; height: 52px;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-muted);
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.btn-favorite:hover, .btn-favorite.active { border-color: #e11d48; color: #e11d48; background: rgba(225,29,72,.06); }

/* ── CART PAGE ────────────────────────────────────────────── */
.cart-layout {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 40px; align-items: start;
}
.cart-items {}
.cart-item {
  display: grid; grid-template-columns: 96px 1fr auto;
  gap: 20px; align-items: center;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.cart-item-image {
  width: 96px; height: 120px;
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--surface-alt);
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-family: var(--font-h); font-size: 1rem; font-weight: 500; margin-bottom: 6px; }
.cart-item-attrs { display: flex; gap: 12px; flex-wrap: wrap; }
.cart-item-attr {
  font-size: .78rem; color: var(--text-muted);
  background: var(--surface-alt);
  padding: 2px 10px; border-radius: var(--radius-full);
}
.cart-item-price { font-weight: 700; font-size: .95rem; color: var(--secondary); margin-top: 8px; }
.cart-item-right { text-align: right; }
.cart-item-total { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.cart-item-remove {
  background: none; border: none; cursor: pointer;
  color: var(--text-light); font-size: .82rem;
  transition: var(--transition); display: flex; align-items: center; gap: 4px;
}
.cart-item-remove:hover { color: var(--error); }

/* Cart summary */
.cart-summary {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--header-h) + 16px);
}
.cart-summary h3 { font-size: 1.1rem; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  font-size: .9rem;
}
.summary-row.total {
  font-size: 1.1rem; font-weight: 700;
  border-top: 2px solid var(--border); margin-top: 8px; padding-top: 16px;
}
.summary-free-shipping {
  background: rgba(16,185,129,.1); color: var(--success);
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 500;
  margin: 12px 0;
  display: flex; align-items: center; gap: 8px;
}

/* Checkout form */
.checkout-form { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 24px; }
.form-group { margin-bottom: 14px; }
.form-label {
  display: block; font-size: .78rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .06em;
}
.form-control {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem; outline: none;
  transition: var(--transition);
}
.form-control:focus { border-color: var(--secondary); }
textarea.form-control { height: 80px; padding: 12px 14px; resize: vertical; }

/* ── FAVORITES ────────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 80px 24px;
}
.empty-state-icon { font-size: 4rem; margin-bottom: 16px; opacity: .4; }
.empty-state h3 { color: var(--text-muted); margin-bottom: 12px; }
.empty-state p { color: var(--text-light); font-size: .9rem; margin-bottom: 24px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--primary); color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .site-logo { font-size: 1.5rem; margin-bottom: 16px; }
.footer-desc { font-size: .88rem; line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); transition: var(--transition);
}
.social-btn:hover { background: var(--secondary); color: #fff; }
.footer-title {
  color: #fff; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem; color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; flex-wrap: wrap; gap: 12px;
}
.footer-payment { display: flex; gap: 8px; align-items: center; }
.payment-icon {
  background: rgba(255,255,255,.1);
  border-radius: 4px; padding: 4px 8px;
  font-size: .7rem; font-weight: 700; color: #fff;
}

/* ── PAGINATION ───────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap;
}
.page-btn {
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text);
  font-size: .85rem; font-weight: 500;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn[disabled] { opacity: .4; cursor: not-allowed; }

/* ── TOAST & NOTIFICATIONS ────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 10px;
}
.toast {
  min-width: 280px; padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--primary); color: #fff;
  font-size: .88rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  animation: slideInRight .3s ease;
}
.toast.success { background: var(--success); }
.toast.error   { background: var(--error); }
.toast.warning { background: var(--warning); color: var(--text); }

/* WhatsApp float button */
.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 999;
  width: 56px; height: 56px;
  background: #25D366; color: #fff;
  border-radius: 50%; box-shadow: 0 4px 20px rgba(37,211,102,.5);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  animation: pulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.6); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--text-muted);
  margin-bottom: 32px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb-sep { color: var(--border); }

/* ── ALERTS ───────────────────────────────────────────────── */
.alert {
  padding: 14px 18px; border-radius: var(--radius);
  font-size: .88rem; display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: rgba(16,185,129,.1); color: #065f46; border: 1px solid rgba(16,185,129,.3); }
.alert-error   { background: rgba(239,68,68,.1); color: #991b1b; border: 1px solid rgba(239,68,68,.3); }
.alert-warning { background: rgba(245,158,11,.1); color: #92400e; border: 1px solid rgba(245,158,11,.3); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes floatUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,.8); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeIn .4s ease both; }
.animate-in-delay-1 { animation-delay: .1s; }
.animate-in-delay-2 { animation-delay: .2s; }
.animate-in-delay-3 { animation-delay: .3s; }

/* ── SKELETON LOADER ──────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── MOBILE NAV OVERLAY ──────────────────────────────────── */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.7);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav {
  position: fixed; top: 0; left: 0; bottom: 0; width: 300px; z-index: 1000;
  background: var(--primary);
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  padding: 50px 32px 32px;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,.08); border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  color: #fff; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.mobile-nav-close:hover { background: rgba(255,255,255,.16); }
.mobile-nav .site-logo { color: #fff; margin-bottom: 32px; font-size: 1.4rem; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-links a {
  display: block; color: rgba(255,255,255,.75);
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 500;
  transition: var(--transition);
}
.mobile-nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.mobile-nav-links a.active { color: var(--secondary); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: 500px; }
  .hero-image { height: 350px; }
  .hero-content { padding: 64px 40px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .header-search { display: none; }
  .hero-image { height: 300px; }
  .hero { background-image: linear-gradient(to bottom, rgba(15,15,15,0.7) 0%, transparent 100%), url('../images/banner2.png'); }
  .banner-promo { grid-template-columns: 1fr; }
  .banner-promo-image { height: 200px; }
  .banner-promo-content { padding: 40px 24px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-ctas { flex-direction: column; }
  .add-to-cart-row { flex-direction: column; }
  .btn-favorite { width: 100%; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item-right { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }

.site-footer{
  align-items: center;
  display: flex;
  text-align: center;
}
.footer-social{
  display: flex;
  justify-content: center;
}


}
