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

:root {
  --cream: #fdf6f2;
  --brown: #2d1008;
  --brown-light: #5c2a1a;
  --gold: #c9848a;
  --gold-light: #e8a0b4;
  --pink: #fce8ee;
  --pink-mid: #f4c5d0;
  --mint: #b8d4d0;
  --mint-light: #e0f0ee;
  --text: #2d1008;
  --text-muted: #7a4a52;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(45,16,8,.10);
  --radius: 14px;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--brown-light); transform: translateY(-1px); }
.btn-wa { background: var(--gold); color: var(--white); }
.btn-wa:hover { background: var(--brown-light); transform: translateY(-1px); }
.btn-mint { background: var(--mint); color: var(--brown); }
.btn-mint:hover { background: #8fbfba; transform: translateY(-1px); }
.btn-sm { padding: 8px 18px; font-size: .85rem; background: var(--gold); color: var(--white); }
.btn-sm:hover { background: var(--brown-light); }
.btn-full { width: 100%; justify-content: center; }

/* ─── HEADER ───────────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: var(--cream);
  box-shadow: 0 2px 16px rgba(45,16,8,.08);
  border-bottom: 1.5px solid var(--pink-mid);
}
#header.scrolled {
  box-shadow: 0 4px 24px rgba(45,16,8,.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  text-decoration: none;
}
.logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown);
}
.nav { display: flex; gap: 28px; }
.nav a {
  font-weight: 700;
  font-size: .9rem;
  color: var(--brown);
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: var(--transition);
}
.nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart-btn:hover { background: var(--brown-light); }
.cart-count {
  background: var(--brown);
  color: var(--white);
  border-radius: 50%;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--brown);
}

/* ─── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('https://cdn.shopify.com/s/files/1/1043/6830/8564/files/DC000667-038D-45E8-99BD-7A0770D70D9C.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61,28,2,.72) 0%, rgba(61,28,2,.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 140px 20px 60px;
  margin: 0 auto 0 8%;
}
.hero-sub {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .85rem;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-desc {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 440px;
}
.hero-content .btn { margin-right: 12px; margin-bottom: 12px; }

/* ─── INFO STRIP ───────────────────────────────────────────────── */
.info-strip {
  background: var(--brown);
  color: var(--white);
  padding: 14px 0;
  border-top: 3px solid var(--gold);
}
.info-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  justify-content: center;
  align-items: center;
}
.info-item {
  font-size: .88rem;
  opacity: .9;
}
.info-item a { color: var(--gold-light); }

/* ─── SECTIONS ─────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--mint-light); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--brown);
  margin-bottom: 12px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ─── FILTER ───────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 50px;
  padding: 8px 22px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ─── PRODUCTS GRID ────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 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);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.product-card:hover {
  border-color: var(--pink-mid);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(201,132,138,.18);
}
.product-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.badge {
  position: absolute;
  top: 12px; left: 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-ok { background: var(--mint-light); color: #1a5c54; }
.badge-out { background: var(--pink); color: #8b2a3a; }
.product-body { padding: 18px 20px 20px; }
.product-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 8px;
}
.product-desc {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-price {
  font-weight: 700;
  color: var(--gold);
  font-size: .95rem;
}
.card-cta {
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .02em;
  transition: color var(--transition);
}
.product-card:hover .card-cta { color: var(--brown-light); }

/* ─── ABOUT ────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.about-list {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-list li { font-size: .95rem; color: var(--text); }
.about-img img {
  border-radius: var(--radius);
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ─── CONTACT ──────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info p { color: var(--text-muted); margin-bottom: 24px; }
.contact-items { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; color: var(--brown); }
.contact-item a { color: var(--gold); }

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--brown);
  margin-bottom: 24px;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: .85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid #e8d9cd;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition);
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--gold); outline: none; }
.form-row textarea { resize: vertical; }
.form-note { font-size: .8rem; color: var(--text-muted); margin-top: 10px; }

/* ─── FOOTER ───────────────────────────────────────────────────── */
.footer { background: var(--brown); color: rgba(255,255,255,.85); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand .logo { display: inline-flex; margin-bottom: 12px; }
.logo-img-footer { height: 90px; border-radius: 10px; }
.footer-brand p { font-size: .9rem; opacity: .8; line-height: 1.6; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4, .footer-contact h4 { color: var(--gold-light); margin-bottom: 8px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-links a, .footer-contact a { font-size: .9rem; opacity: .8; transition: opacity var(--transition); }
.footer-links a:hover, .footer-contact a:hover { opacity: 1; color: var(--gold-light); }
.footer-contact p { font-size: .9rem; opacity: .7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  text-align: center;
  font-size: .82rem;
  opacity: .6;
}

/* ─── CART SIDEBAR ─────────────────────────────────────────────── */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 200;
}
.cart-overlay.open { display: block; }
.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 380px;
  max-width: 100vw;
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid #f0e8e0;
}
.cart-header h3 { font-family: 'Playfair Display', serif; color: var(--brown); font-size: 1.2rem; }
.cart-close {
  background: none; border: none;
  font-size: 1.3rem; cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { color: var(--text-muted); text-align: center; margin-top: 40px; font-size: .95rem; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #f0e8e0;
  gap: 12px;
}
.ci-info { display: flex; flex-direction: column; gap: 3px; font-size: .88rem; }
.ci-info strong { color: var(--brown); }
.ci-info span { color: var(--text-muted); }
.ci-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ci-controls button {
  background: var(--cream);
  border: 1px solid #e8d9cd;
  border-radius: 6px;
  width: 28px; height: 28px;
  cursor: pointer;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.ci-controls button:hover { background: var(--gold); color: var(--white); }
.ci-controls span { font-weight: 700; min-width: 20px; text-align: center; }
.ci-remove { color: #c0392b !important; }
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid #f0e8e0;
}
.cart-total { font-size: 1rem; margin-bottom: 14px; }
.cart-total strong { color: var(--gold); font-size: 1.15rem; }
.cart-note { font-size: .78rem; color: var(--text-muted); margin-top: 10px; text-align: center; }

/* ─── MODAL ────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 300;
}
.modal-overlay.open { display: block; }
.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.97);
  width: min(900px, 95vw);
  max-height: 90vh;
  background: var(--white);
  border-radius: var(--radius);
  z-index: 301;
  display: none;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.modal.open { display: grid; opacity: 1; transform: translate(-50%,-50%) scale(1); }
.modal-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  background: var(--cream);
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  cursor: pointer;
  font-size: 1rem;
  z-index: 2;
}
.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  clear: both;
}
.modal-gallery { padding: 24px; background: var(--pink); border-radius: var(--radius) 0 0 var(--radius); }
.modal-main-img { width: 100%; height: 320px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.modal-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: .6; transition: opacity var(--transition); border: 2px solid transparent; }
.modal-thumb.active, .modal-thumb:hover { opacity: 1; border-color: var(--gold); }
.modal-details { padding: 32px 28px; }
.modal-details h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--brown); margin-bottom: 12px; }
.modal-note { background: #fff3cd; border-left: 3px solid var(--gold); padding: 10px 14px; font-size: .88rem; border-radius: 4px; margin-bottom: 14px; }
.modal-desc { color: var(--text-muted); font-size: .92rem; margin-bottom: 20px; line-height: 1.7; }
.variants-wrap strong { font-size: .88rem; color: var(--text-muted); display: block; margin-bottom: 10px; }
.variants { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.variant-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
  border: 1.5px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.variant-label:hover { background: var(--pink); border-color: var(--pink-mid); }
.variant-label input:checked ~ * { color: var(--brown); }
.variant-label input { accent-color: var(--gold); }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    box-shadow: var(--shadow);
    z-index: 99;
  }
  .nav.open { display: flex; }
  .hamburger { display: block; }
  .hero-content { margin: 0 auto; text-align: center; padding: 120px 20px 60px; }
  .hero-desc { margin: 0 auto 32px; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img { order: -1; }
  .about-img img { height: 260px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-gallery { border-radius: var(--radius) var(--radius) 0 0; }
  .modal-main-img { height: 220px; }
  .info-strip-inner { gap: 6px 20px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
}
