/* ═══════════════════════════════════════════════════════════════
   PERFUMES EXPRESS — CSS Design System
   Preto & Dourado · Elegante · Responsivo
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom Properties (overwritten por config.js) ─────────── */
:root {
  --color-primary:       #C69F5F;
  --color-primary-light: #DFBE82;
  --color-primary-dark:  #9E7B3B;
  --color-bg:            #050507;
  --color-bg-card:       #0E0E12;
  --color-bg-card-hover: #16161B;
  --color-surface:       #16161B;
  --color-text:          #F5F0E8;
  --color-text-muted:    #9E9888;
  --color-border:        #231F18;
  --color-overlay:       rgba(5,5,7,0.85);
  --font-heading:        'Cormorant Garamond', 'Georgia', serif;
  --font-body:           'Inter', 'Segoe UI', sans-serif;
  --radius:              12px;
  --radius-sm:           8px;
  --shadow:              0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:           0 12px 48px rgba(0,0,0,.7);
  --transition:          .3s cubic-bezier(.4,0,.2,1);
  --max-width:           1280px;
}

/* ── 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-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-light); }

img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
.section-heading h2 {
  display: inline-block;
  position: relative;
  padding-bottom: .5rem;
}
.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}
.section-heading p {
  color: var(--color-text-muted);
  margin-top: .75rem;
  font-size: .95rem;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-section {
  padding: 5rem 0;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER / NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5,5,7,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(198,159,95,.12);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(5,5,7,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.6);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(198,159,95,.25));
  transition: transform var(--transition);
}
.nav-logo:hover .nav-logo-icon {
  transform: scale(1.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--color-text-muted);
  font-size: .9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    flex-direction: column;
    justify-content: center;
    background: var(--color-bg);
    border-left: 1px solid var(--color-border);
    transition: right var(--transition);
    gap: 1.5rem;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
  background-color: var(--color-bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 45%, rgba(198,159,95,.08) 0%, transparent 70%),
    radial-gradient(circle at 50% 85%, rgba(198,159,95,.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  max-width: 380px;
  width: 82%;
  animation: heroLogoFade 1s cubic-bezier(.16,1,.3,1) forwards;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  /* Smooth feathered perimeter to blend 100% seamlessly into #050507 background without visible box edges */
  mask-image: radial-gradient(circle at 50% 50%, black 58%, transparent 97%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 58%, transparent 97%);
  filter: drop-shadow(0 0 35px rgba(198,159,95,.2));
  user-select: none;
}

@keyframes heroLogoFade {
  from { opacity: 0; transform: scale(0.92) translateY(14px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-content h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary), var(--color-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp .8s ease-out;
}
.hero-content .hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--color-text-muted);
  margin-bottom: 2.25rem;
  animation: fadeInUp .8s ease-out .2s backwards;
  letter-spacing: .5px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp .8s ease-out .4s backwards;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-particles span {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(100vh) scale(0); }
  20%  { opacity: .5; }
  80%  { opacity: .3; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #0A0A0A;
  box-shadow: 0 4px 16px rgba(198,159,95,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(198,159,95,.4);
  color: #0A0A0A;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #0A0A0A;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.25);
}
.btn-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
  color: #fff;
}

.btn-sm {
  padding: .6rem 1.4rem;
  font-size: .8rem;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  border-color: rgba(198,159,95,.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--color-bg-card-hover);
}

.product-card__image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-surface);
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.product-card:hover .product-card__image img {
  transform: scale(1.05);
}
.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: .3rem .8rem;
  background: var(--color-primary);
  color: #0A0A0A;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 50px;
}
.product-card__category-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: .3rem .8rem;
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(8px);
  color: var(--color-text-muted);
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 50px;
  border: 1px solid rgba(198,159,95,.15);
}

.product-card__info {
  padding: 1.25rem;
}
.product-card__brand {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  margin-bottom: .3rem;
}
.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: .6rem;
  line-height: 1.3;
}
.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}
.product-card__size {
  font-size: .8rem;
  color: var(--color-text-muted);
}
.product-card__family {
  margin-top: .6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.product-card__family span {
  font-size: .65rem;
  padding: .2rem .55rem;
  background: rgba(198,159,95,.08);
  border: 1px solid rgba(198,159,95,.15);
  border-radius: 50px;
  color: var(--color-text-muted);
}

/* Placeholder image */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-surface), var(--color-bg-card));
  color: var(--color-primary);
  opacity: .35;
}
.placeholder-img svg {
  width: 64px;
  height: 64px;
}

/* ═══════════════════════════════════════════════════════════════
   SEARCH & FILTERS
   ═══════════════════════════════════════════════════════════════ */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.search-box {
  flex: 1;
  min-width: 260px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: .85rem 1.2rem .85rem 3rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  color: var(--color-text);
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-box input::placeholder { color: var(--color-text-muted); }
.search-box input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(198,159,95,.15);
}
.search-box .search-icon {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

.filter-group {
  position: relative;
}
.filter-select {
  appearance: none;
  -webkit-appearance: none;
  padding: .85rem 2.5rem .85rem 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  color: var(--color-text);
  font-size: .85rem;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
  min-width: 160px;
}
.filter-select:focus { border-color: var(--color-primary); }
.filter-group::after {
  content: '▾';
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
  font-size: .8rem;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .8rem;
  background: rgba(198,159,95,.12);
  border: 1px solid rgba(198,159,95,.25);
  border-radius: 50px;
  font-size: .8rem;
  color: var(--color-primary-light);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tag:hover {
  background: rgba(198,159,95,.25);
}
.filter-tag .remove { font-size: 1rem; line-height: 1; }

.results-count {
  font-size: .9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-text-muted);
}
.no-results svg {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  opacity: .3;
}
.no-results h3 {
  color: var(--color-text);
  margin-bottom: .5rem;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT DETAIL
   ═══════════════════════════════════════════════════════════════ */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-top: 2rem;
}

@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Gallery */
.gallery {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-main {
  aspect-ratio: 3/4;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s ease;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10,10,10,.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(198,159,95,.2);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 5;
}
.gallery-nav:hover {
  background: var(--color-primary);
  color: #0A0A0A;
}
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }

.gallery-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
}
.gallery-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  opacity: .5;
  flex-shrink: 0;
}
.gallery-thumbs img.active,
.gallery-thumbs img:hover {
  border-color: var(--color-primary);
  opacity: 1;
}

/* Detail info */
.detail-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.detail-brand {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
}
.detail-name {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
}
.detail-category {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .9rem;
  background: rgba(198,159,95,.1);
  border: 1px solid rgba(198,159,95,.2);
  border-radius: 50px;
  font-size: .8rem;
  color: var(--color-primary-light);
  width: fit-content;
}
.detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}
.detail-price-note {
  font-size: .85rem;
  color: var(--color-text-muted);
  font-style: italic;
}
.detail-size {
  font-size: .95rem;
  color: var(--color-text-muted);
}
.detail-size span {
  color: var(--color-text);
  font-weight: 600;
}
.detail-description {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.detail-section-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--color-border);
  margin-top: .5rem;
}

.detail-notes {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.detail-notes span {
  padding: .4rem .9rem;
  background: rgba(198,159,95,.06);
  border: 1px solid rgba(198,159,95,.15);
  border-radius: 50px;
  font-size: .8rem;
  color: var(--color-text-muted);
}

.detail-families {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.detail-families span {
  padding: .4rem .9rem;
  background: rgba(198,159,95,.1);
  border: 1px solid rgba(198,159,95,.2);
  border-radius: 50px;
  font-size: .8rem;
  color: var(--color-primary-light);
}

.detail-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT / FORMS
   ═══════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--color-text-muted);
  margin-bottom: .5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .85rem 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: .95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(198,159,95,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}
.checkbox-group label {
  font-size: .85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.contact-info-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 2rem;
}
.contact-info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(198,159,95,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}
.contact-info-item p {
  font-size: .95rem;
  color: var(--color-text-muted);
}

.form-status {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 1.5rem;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(37,211,102,.1);
  border: 1px solid rgba(37,211,102,.3);
  color: #25D366;
}
.form-status.error {
  display: block;
  background: rgba(220,53,69,.1);
  border: 1px solid rgba(220,53,69,.3);
  color: #dc3545;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════ */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.about-content strong {
  color: var(--color-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: rgba(198,159,95,.3);
  transform: translateY(-4px);
}
.feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(198,159,95,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-primary);
}
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.feature-card p {
  font-size: .9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   PRIVACY PAGE
   ═══════════════════════════════════════════════════════════════ */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}
.privacy-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
.privacy-content p,
.privacy-content li {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.privacy-content ul {
  padding-left: 1.5rem;
  list-style: disc;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: .75rem;
}
.footer-brand p {
  font-size: .9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.footer-links h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  color: var(--color-text-muted);
  font-size: .9rem;
  padding: .3rem 0;
  transition: color var(--transition), padding var(--transition);
}
.footer-links a:hover {
  color: var(--color-primary);
  padding-left: .3rem;
}
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .8rem;
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   LOADING
   ═══════════════════════════════════════════════════════════════ */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  gap: 1rem;
}
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-spinner p {
  color: var(--color-text-muted);
  font-size: .9rem;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered card animation */
.products-grid .product-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp .5s ease-out forwards;
}
.products-grid .product-card:nth-child(1) { animation-delay: 0s; }
.products-grid .product-card:nth-child(2) { animation-delay: .05s; }
.products-grid .product-card:nth-child(3) { animation-delay: .1s; }
.products-grid .product-card:nth-child(4) { animation-delay: .15s; }
.products-grid .product-card:nth-child(5) { animation-delay: .2s; }
.products-grid .product-card:nth-child(6) { animation-delay: .25s; }
.products-grid .product-card:nth-child(7) { animation-delay: .3s; }
.products-grid .product-card:nth-child(8) { animation-delay: .35s; }

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--color-text-muted);
  padding: 1rem 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { color: var(--color-border); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 999;
  cursor: pointer;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--color-primary-light);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HEADER (inner pages)
   ═══════════════════════════════════════════════════════════════ */
.page-header {
  padding: 8rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(198,159,95,.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header p {
  position: relative;
  color: var(--color-text-muted);
  margin-top: .75rem;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════════════════════════
   SKELETON LOADING (while CSV loads)
   ═══════════════════════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, var(--color-surface) 25%, var(--color-bg-card-hover) 50%, var(--color-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}
.skeleton-card .skeleton-img {
  aspect-ratio: 3/4;
}
.skeleton-card .skeleton-text {
  padding: 1.25rem;
}
.skeleton-card .skeleton-line {
  height: 14px;
  margin-bottom: .75rem;
  border-radius: 4px;
}
.skeleton-card .skeleton-line:last-child { width: 60%; margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
  }
  .product-card__info { padding: .85rem; }
  .product-card__name { font-size: 1rem; }
  .product-card__brand { font-size: .65rem; }
  .product-card__price { font-size: .95rem; }
  .product-card__family { display: none; }
  .product-card__badge { font-size: .6rem; padding: .2rem .6rem; }
  .product-card__category-badge { display: none; }

  .catalog-toolbar { gap: .75rem; }
  .search-box { min-width: 100%; }
  .filter-select { min-width: 0; flex: 1; font-size: .8rem; padding: .7rem 2rem .7rem 1rem; }

  .detail-actions { flex-direction: column; }
  .detail-actions .btn { width: 100%; justify-content: center; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Gallery swipe indicator */
.gallery-swipe-hint {
  display: none;
  text-align: center;
  font-size: .75rem;
  color: var(--color-text-muted);
  margin-top: .5rem;
}
@media (max-width: 768px) {
  .gallery-swipe-hint { display: block; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE OVERLAY
   ═══════════════════════════════════════════════════════════════ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}
