/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FAFAF8;
  --bg2: #F0EDE8;
  --black: #1A1A1A;
  --grey: #6B6B6B;
  --grey-light: #E8E4DE;
  --gold: #C9A84C;
  --gold-dark: #A8872E;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--black); line-height: 1.6; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 700;
  color: var(--black); text-decoration: none;
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--gold); }

.site-nav { display: flex; gap: 32px; align-items: center; }
.site-nav a {
  text-decoration: none; color: var(--grey);
  font-size: 0.9rem; font-weight: 500;
  transition: color var(--transition);
}
.site-nav a:hover, .site-nav a.active { color: var(--black); }

.cart-link {
  position: relative; text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  background: var(--black); color: var(--white) !important;
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 600;
  transition: background var(--transition);
}
.cart-link:hover { background: var(--gold) !important; color: var(--white) !important; }
#cart-badge {
  display: none; position: absolute; top: -6px; right: -6px;
  background: var(--gold); color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  align-items: center; justify-content: center;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #2D2620 100%);
  color: var(--white);
  padding: 100px 24px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 680px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  background: var(--gold); color: var(--white);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.75);
  max-width: 500px; margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--white);
  padding: 14px 32px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--white);
  padding: 14px 32px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: border-color var(--transition);
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--white); }

/* ── SECTIONS ── */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; margin-bottom: 12px;
}
.section-header p { color: var(--grey); font-size: 1rem; max-width: 480px; margin: 0 auto; }

/* ── STATS STRIP ── */
.stats-strip { background: var(--black); color: var(--white); padding: 40px 24px; }
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--gold);
  display: block;
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ── PRODUCT GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.product-visual {
  height: 240px; position: relative;
  overflow: hidden; background: var(--bg2);
}
/* Single image */
.product-visual > img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-visual > img { transform: scale(1.05); }

/* Gallery */
.gallery-track { position: relative; width: 100%; height: 100%; }
.gallery-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.gallery-img.active { opacity: 1; pointer-events: auto; }
.product-card:hover .gallery-img.active { transform: scale(1.04); transition: opacity 0.35s ease, transform 0.4s ease; }

/* Prev / Next arrows */
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45); color: #fff;
  border: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
  z-index: 10;
}
.gallery-btn.prev { left: 8px; }
.gallery-btn.next { right: 8px; }
.product-card:hover .gallery-btn { opacity: 1; }
.gallery-btn:hover { background: rgba(0,0,0,0.7); }

/* Dot indicators */
.gallery-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 10;
}
.gallery-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none; cursor: pointer; padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.gallery-dot.active { background: #fff; transform: scale(1.3); }
.gallery-dot:hover { background: rgba(255,255,255,0.85); }
.cart-item-visual-wrap {
  width: 80px; height: 80px; flex-shrink: 0;
  border-radius: 10px; overflow: hidden;
}
.cart-item-visual-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-category-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.55); color: var(--white);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
  backdrop-filter: blur(4px);
}

.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.product-dims { font-size: 0.8rem; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 8px; }
.product-desc { font-size: 0.875rem; color: var(--grey); line-height: 1.55; flex: 1; margin-bottom: 16px; }

.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.product-price { font-size: 1.1rem; font-weight: 700; }
.product-price small { font-size: 0.7rem; color: var(--grey); font-weight: 400; }

.add-to-cart-btn {
  background: var(--black); color: var(--white);
  border: none; cursor: pointer;
  padding: 10px 18px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600;
  transition: background var(--transition);
  white-space: nowrap;
}
.add-to-cart-btn:hover { background: var(--gold); }
.add-to-cart-btn.added { background: #16a34a; }

/* ── CATEGORIES PAGE ── */
.products-page-header {
  background: linear-gradient(135deg, var(--black) 0%, #2D2620 100%);
  color: var(--white); padding: 60px 24px 40px;
  text-align: center;
}
.products-page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px;
}
.products-page-header p { color: rgba(255,255,255,0.65); font-size: 1rem; }

.products-toolbar {
  max-width: 1200px; margin: 0 auto;
  padding: 32px 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
#search-input {
  padding: 10px 16px; border: 2px solid var(--grey-light);
  border-radius: 8px; font-size: 0.9rem; outline: none;
  width: 240px; transition: border-color var(--transition);
  font-family: var(--font-body);
}
#search-input:focus { border-color: var(--gold); }
#product-count { font-size: 0.85rem; color: var(--grey); }

.category-tabs {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 24px 0;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.tab-btn {
  padding: 8px 18px; border-radius: 100px;
  border: 2px solid var(--grey-light);
  background: transparent; cursor: pointer;
  font-size: 0.875rem; font-weight: 500; font-family: var(--font-body);
  color: var(--grey); transition: all var(--transition);
}
.tab-btn:hover { border-color: var(--black); color: var(--black); }
.tab-btn.active { background: var(--black); border-color: var(--black); color: var(--white); }

.no-results { grid-column: 1/-1; text-align: center; color: var(--grey); padding: 60px 0; font-size: 1rem; }

/* ── CART PAGE ── */
.cart-page { max-width: 1000px; margin: 0 auto; padding: 48px 24px; }
.cart-page h1 {
  font-family: var(--font-heading); font-size: 2rem; margin-bottom: 32px;
}
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
@media (max-width: 720px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-item {
  display: flex; align-items: center; gap: 20px;
  background: var(--white); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.cart-item-visual {
  width: 72px; height: 72px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cart-item-visual .box-svg { width: 44px; height: 44px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h3 { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 4px; }
.cart-item-dims { font-size: 0.78rem; color: var(--gold); font-weight: 600; }
.cart-item-cat { font-size: 0.78rem; color: var(--grey); }
.cart-item-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 30px; height: 30px; border-radius: 6px;
  border: 1.5px solid var(--grey-light); background: var(--bg);
  cursor: pointer; font-size: 1rem; font-weight: 600; line-height: 1;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--grey-light); }
.qty-val { font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-price { font-weight: 700; font-size: 1rem; }
.remove-btn {
  background: none; border: none; cursor: pointer;
  font-size: 0.78rem; color: #EF4444; font-family: var(--font-body);
}
.remove-btn:hover { text-decoration: underline; }

.cart-summary {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  position: sticky; top: 88px;
}
.cart-summary h2 { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; }
.summary-row.total { border-top: 2px solid var(--grey-light); padding-top: 14px; margin-top: 4px; font-weight: 700; font-size: 1.05rem; }
.summary-note { font-size: 0.78rem; color: var(--grey); margin-bottom: 20px; }
.checkout-btn {
  width: 100%; padding: 14px; border-radius: 8px;
  background: var(--gold); color: var(--white); border: none;
  font-size: 1rem; font-weight: 700; cursor: pointer; font-family: var(--font-body);
  transition: background var(--transition);
}
.checkout-btn:hover { background: var(--gold-dark); }
.clear-cart-link {
  display: block; text-align: center; margin-top: 12px;
  font-size: 0.8rem; color: var(--grey); cursor: pointer;
  background: none; border: none; font-family: var(--font-body); width: 100%;
}
.clear-cart-link:hover { color: #EF4444; }

.cart-empty {
  display: none; text-align: center; padding: 80px 24px;
}
.cart-empty h2 { font-family: var(--font-heading); font-size: 1.75rem; margin-bottom: 12px; }
.cart-empty p { color: var(--grey); margin-bottom: 28px; }

/* ── FEATURES STRIP ── */
.features-strip {
  background: var(--bg2);
  padding: 56px 24px;
}
.features-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px;
}
.feature-item { text-align: center; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--gold); margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.feature-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature-item p { font-size: 0.875rem; color: var(--grey); }

/* ── FOOTER ── */
.site-footer {
  background: var(--black); color: rgba(255,255,255,0.55);
  padding: 48px 24px;
  text-align: center;
  font-size: 0.85rem;
}
.site-footer .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 700; color: var(--white);
  margin-bottom: 12px; display: block;
}
.site-footer .footer-logo span { color: var(--gold); }
.footer-links { display: flex; justify-content: center; gap: 24px; margin: 16px 0; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }

/* ── TOAST ── */
#cart-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--black); color: var(--white);
  padding: 12px 20px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 600;
  transform: translateY(80px); opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  border-left: 3px solid var(--gold);
}
#cart-toast.show { transform: translateY(0); opacity: 1; }

/* ── CATEGORY SHOWCASE GRID ── */
.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--cat-bg, var(--black));
  color: #fff; border-radius: var(--radius);
  padding: 28px 20px; text-decoration: none;
  display: block; transition: transform var(--transition), opacity var(--transition);
}
.cat-card:hover { transform: translateY(-3px); opacity: 0.9; }
.cat-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.cat-card h3 { font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 6px; }
.cat-card p { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

/* ── CONTACT STRIP ── */
.contact-strip { background: var(--black); color: var(--white); padding: 60px 24px; }
.contact-strip-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.contact-strip h2 {
  font-family: var(--font-heading); font-size: 1.75rem; margin-bottom: 10px;
}
.contact-strip p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none; text-align: center;
  transition: opacity var(--transition);
}
.contact-btn:hover { opacity: 0.85; }
.contact-btn.whatsapp { background: #25D366; color: #fff; }
.contact-info-list p {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

/* ── BRANDING PAGE ── */
.branding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.branding-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.branding-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.branding-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.branding-card h3 {
  font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 10px;
}
.branding-card p { color: var(--grey); font-size: 0.9rem; line-height: 1.6; }

/* ── HOW IT WORKS ── */
.how-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
  counter-reset: steps;
}
.how-step { text-align: center; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-family: var(--font-heading);
}
.how-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.how-step p { font-size: 0.875rem; color: var(--grey); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-nav .nav-links { display: none; }
  .hero { padding: 70px 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .products-toolbar { flex-direction: column; align-items: flex-start; }
  #search-input { width: 100%; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-controls { flex-direction: row; width: 100%; justify-content: space-between; }
}
@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .site-logo { font-size: 1.2rem; }
}
