/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ===== TOKENS ===== */
:root {
  --primary:      hsl(43,74%,49%);
  --primary-dk:   hsl(43,74%,38%);
  --bg:           hsl(42,20%,97%);
  --fg:           hsl(25,30%,15%);
  --secondary:    hsl(42,20%,94%);
  --muted:        hsl(25,15%,48%);
  --card:         #fff;
  --border:       hsl(42,15%,88%);
  --nav-h:        70px;
  --radius:       12px;
  --shadow:       0 4px 24px rgba(30,15,5,.10);
  --shadow-lg:    0 8px 40px rgba(30,15,5,.16);
  --trans:        .24s ease;
}

.serif { font-family: 'Playfair Display', serif; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--trans), box-shadow var(--trans), padding var(--trans);
  padding: 10px 0;
}
#navbar.solid {
  background: rgba(253,250,244,.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 12px rgba(30,15,5,.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: var(--nav-h);
}
.nav-logo { background: none; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; }
.nav-logo img { height: 50px; width: auto; object-fit: contain; transition: filter var(--trans); }
#navbar.transparent .nav-logo img { filter: brightness(10) contrast(.7); }
#navbar.solid .nav-logo img { filter: none; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links button {
  background: none; border: none; font-size: .8rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; transition: color var(--trans); padding: 0;
}
#navbar.transparent .nav-links button { color: rgba(255,255,255,.88); }
#navbar.transparent .nav-links button:hover { color: #fff; }
#navbar.solid .nav-links button { color: rgba(35,20,8,.76); }
#navbar.solid .nav-links button:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
#cart-btn {
  position: relative; background: none; border: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
#cart-btn:hover { background: rgba(255,255,255,.15); }
#navbar.solid #cart-btn:hover { background: var(--secondary); }
#cart-btn svg { width: 22px; height: 22px; }
#navbar.transparent #cart-btn svg { stroke: #fff; }
#navbar.solid #cart-btn svg { stroke: var(--fg); }

#cart-badge {
  position: absolute; top: 3px; right: 3px;
  background: var(--primary); color: #fff;
  font-size: .62rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
}
#cart-badge.show { display: flex; }

.hamburger { background: none; border: none; display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; transition: background var(--trans); }
#navbar.solid .hamburger span { background: var(--fg); }

#mobile-menu {
  display: none; position: fixed;
  top: calc(var(--nav-h)); left: 0; right: 0;
  background: var(--bg); border-top: 1px solid var(--border);
  box-shadow: var(--shadow); z-index: 99;
  padding: 12px 24px 24px; flex-direction: column; gap: 0;
}
#mobile-menu.open { display: flex; }
#mobile-menu button {
  background: none; border: 0 0 1px 0; border-bottom: 1px solid var(--border);
  padding: 14px 0; text-align: left; font-size: 1rem; font-weight: 500;
  color: var(--fg); width: 100%;
}
#mobile-menu button:hover { color: var(--primary); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ===== VIEW SYSTEM ===== */
.view { display: block; }
.view.hidden { display: none; }

/* ===== HERO ===== */
#view-home #hero {
  position: relative; height: 100vh; min-height: 540px;
  overflow: hidden; background: #000;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.38) 55%, rgba(0,0,0,.18));
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 24px;
  pointer-events: none;
}
.hero-content > * { pointer-events: auto; }
.hero-label {
  color: var(--primary); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; margin-bottom: 16px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  color: #fff; font-style: italic; line-height: 1.1; margin-bottom: 20px;
}
.hero-sub {
  color: rgba(255,255,255,.78); font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300; max-width: 540px; margin-bottom: 40px; line-height: 1.7;
}
.hero-btn {
  background: var(--primary); color: #fff; border: none;
  padding: 16px 40px; font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; border-radius: 6px;
  transition: background var(--trans), transform var(--trans);
}
.hero-btn:hover { background: var(--primary-dk); transform: translateY(-2px); }
.hero-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.38); border: none;
  transition: background var(--trans), transform var(--trans);
}
.hero-dot.active { background: var(--primary); transform: scale(1.3); }

/* ===== FEATURES ===== */
#features { padding: 80px 0; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; }
@media (max-width: 700px) { .features-grid { grid-template-columns: 1fr; gap: 32px; } }
.feature-item { text-align: center; }
.feature-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--primary);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-item h3 { font-family: 'Playfair Display',serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.feature-item p { color: var(--muted); line-height: 1.65; font-size: .95rem; }

/* ===== PRODUCTS SECTION ===== */
#products { padding: 96px 0; background: rgba(210,195,175,.12); }
.section-label {
  display: block; text-align: center; color: var(--primary);
  font-size: .75rem; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display',serif;
  font-size: clamp(2rem,4vw,2.8rem); font-weight: 700;
  text-align: center; margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--muted); font-size: 1rem;
  max-width: 540px; margin: 0 auto 56px; line-height: 1.65;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* ===== PRODUCT CARD ===== */
.pcard {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans);
}
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pcard-img {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--secondary);
}
.pcard-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.pcard:hover .pcard-img img { transform: scale(1.1); }
.pcard-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(253,250,244,.92); backdrop-filter: blur(4px);
  font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}
.pcard-qa {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(187,145,34,.96); color: #fff; border: none;
  padding: 14px; font-size: .82rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transform: translateY(100%); transition: transform .3s ease;
}
.pcard:hover .pcard-qa { transform: translateY(0); }
.pcard-body { padding: 22px; }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.pcard-name { font-family: 'Playfair Display',serif; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.pcard-price { font-weight: 700; color: var(--primary); white-space: nowrap; margin-left: 8px; font-size: 1rem; }
.pcard-desc {
  color: var(--muted); font-size: .88rem; line-height: 1.55; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-btns { display: flex; gap: 8px; }
.btn-outline {
  flex: 1; border: 1.5px solid var(--primary); color: var(--primary); background: none;
  padding: 9px; border-radius: 8px; font-size: .82rem; font-weight: 600;
  transition: background var(--trans), color var(--trans);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost {
  flex: 1; background: none; border: 1.5px solid var(--border); color: var(--fg);
  padding: 9px; border-radius: 8px; font-size: .82rem; font-weight: 500;
  transition: border-color var(--trans), background var(--trans);
}
.btn-ghost:hover { border-color: var(--fg); background: var(--secondary); }

/* ===== ABOUT ===== */
#about { padding: 96px 0; background: var(--fg); color: rgba(255,255,255,.88); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-text .section-label { text-align: left; }
.about-title { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 700; color: #fff; margin-bottom: 20px; }
.about-desc { color: rgba(255,255,255,.64); line-height: 1.75; font-size: .98rem; margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 36px; }
.stat-num { font-family: 'Playfair Display',serif; font-size: 2rem; font-weight: 700; color: var(--primary); display: block; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 4px; }
.about-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== CONTACT ===== */
#contact { padding: 96px 0; background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info .section-label { text-align: left; }
.contact-info h2 { font-family: 'Playfair Display',serif; font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.contact-detail { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .95rem; margin-top: 20px; }
.contact-detail svg { width: 20px; height: 20px; stroke: var(--primary); flex-shrink: 0; }
.contact-detail a { color: var(--muted); transition: color var(--trans); }
.contact-detail a:hover { color: var(--primary); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
input, textarea, select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 8px;
  background: var(--card); color: var(--fg);
  font-family: 'Inter',sans-serif; font-size: .93rem;
  transition: border-color var(--trans), box-shadow var(--trans); outline: none;
}
input:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(187,145,34,.12); }
textarea { resize: vertical; min-height: 110px; }
.btn-primary {
  background: var(--primary); color: #fff; border: none; border-radius: 8px;
  padding: 14px 32px; font-size: .85rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; transition: background var(--trans), transform var(--trans); width: 100%;
}
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-1px); }

/* ===== FOOTER ===== */
footer { background: var(--fg); color: rgba(255,255,255,.7); padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 60px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img {
  height: 56px; width: auto; object-fit: contain;
  filter: brightness(10) contrast(.7); margin-bottom: 16px;
}
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: none;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); transition: background var(--trans), color var(--trans);
}
.social-btn:hover { background: var(--primary); color: #fff; }
.social-btn svg { width: 18px; height: 18px; }
.footer-col h3 { font-family: 'Playfair Display',serif; font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-col li + li { margin-top: 12px; }
.footer-col a, .footer-col button {
  background: none; border: none; padding: 0; text-align: left;
  color: rgba(255,255,255,.58); font-size: .88rem; font-family: 'Inter',sans-serif;
  transition: color var(--trans);
}
.footer-col a:hover, .footer-col button:hover { color: var(--primary); }
.footer-contact-row { display: flex; align-items: flex-start; gap: 12px; font-size: .88rem; margin-bottom: 14px; }
.footer-contact-row svg { width: 17px; height: 17px; stroke: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-contact-row a { color: rgba(255,255,255,.58); transition: color var(--trans); }
.footer-contact-row a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.36);
}
.footer-bottom a { color: rgba(255,255,255,.36); transition: color var(--trans); }
.footer-bottom a:hover { color: var(--primary); }
.footer-bottom-links { display: flex; gap: 24px; }

/* ===== CART DRAWER ===== */
#cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity var(--trans);
}
#cart-overlay.open { opacity: 1; pointer-events: auto; }
#cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 100vw;
  background: var(--bg); z-index: 201;
  transform: translateX(110%); transition: transform .3s ease;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 40px rgba(30,15,5,.18);
}
#cart-drawer.open { transform: translateX(0); }
.cart-hdr {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.cart-hdr h2 { font-family: 'Playfair Display',serif; font-size: 1.4rem; font-weight: 700; }
.cart-close {
  background: none; border: none; font-size: 1.4rem; color: var(--muted); line-height: 1;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background var(--trans);
}
.cart-close:hover { background: var(--secondary); color: var(--fg); }
.cart-items { flex: 1; overflow-y: auto; padding: 0 24px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-empty svg { width: 48px; height: 48px; stroke: var(--border); margin: 0 auto 16px; display: block; }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--secondary); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: .92rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { color: var(--primary); font-size: .88rem; font-weight: 700; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 6px; border: 1.5px solid var(--border);
  background: none; font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: border-color var(--trans), color var(--trans);
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-num { font-size: .9rem; font-weight: 700; min-width: 20px; text-align: center; }
.remove-btn { background: none; border: none; color: var(--muted); font-size: .78rem; margin-left: auto; transition: color var(--trans); }
.remove-btn:hover { color: #c0392b; }
.cart-ftr { padding: 20px 24px; border-top: 1px solid var(--border); flex-shrink: 0; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-total-row strong { font-family: 'Playfair Display',serif; font-size: 1.2rem; }
.cart-total-price { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.btn-checkout {
  width: 100%; background: var(--primary); color: #fff; border: none; border-radius: 8px;
  padding: 16px; font-size: .9rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; transition: background var(--trans);
}
.btn-checkout:hover { background: var(--primary-dk); }

/* ===== CHECKOUT MODAL ===== */
#co-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity var(--trans);
}
#co-overlay.open { opacity: 1; pointer-events: auto; }
#co-modal {
  background: var(--bg); border-radius: 16px;
  width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(.95); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
#co-overlay.open #co-modal { transform: scale(1); opacity: 1; }
.co-hdr { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--border); }
.co-hdr h2 { font-family: 'Playfair Display',serif; font-size: 1.4rem; font-weight: 700; }
.co-close { background: none; border: none; font-size: 1.4rem; color: var(--muted); line-height: 1; }
.co-body { padding: 28px; }
.co-body label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.co-body input { margin-bottom: 16px; }
.co-summary { background: var(--secondary); border-radius: 10px; padding: 16px; margin-bottom: 20px; }
.co-row { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 6px; }
.co-row:last-child { margin: 0; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--border); }
.btn-pay {
  width: 100%; background: var(--primary); color: #fff; border: none; border-radius: 8px;
  padding: 16px; font-size: .92rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; transition: background var(--trans);
}
.btn-pay:hover:not(:disabled) { background: var(--primary-dk); }
.btn-pay:disabled { opacity: .6; cursor: not-allowed; }

/* ===== PRODUCT DETAIL ===== */
#view-product {
  padding-top: calc(var(--nav-h) + 32px);
  padding-bottom: 80px;
  min-height: 100vh;
}
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; color: var(--muted); font-size: .85rem;
  margin-bottom: 36px; transition: color var(--trans);
}
.back-btn:hover { color: var(--primary); }
.back-btn svg { width: 16px; height: 16px; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 820px) { .pd-grid { grid-template-columns: 1fr; gap: 32px; } }
.pd-main-img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius); background: var(--secondary); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb {
  width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
  border: 2.5px solid transparent; cursor: pointer; transition: border-color var(--trans);
}
.pd-thumb.active { border-color: var(--primary); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-badge {
  display: inline-block; background: var(--secondary); font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 12px;
}
.pd-name { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.pd-price { font-size: 1.8rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.pd-desc { color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.pd-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.pd-qty-row span { font-size: .85rem; font-weight: 600; }
.pd-qty-btn {
  width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid var(--border);
  background: none; font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  transition: border-color var(--trans);
}
.pd-qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.pd-qty-num { font-size: 1.1rem; font-weight: 700; min-width: 28px; text-align: center; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 24px; }
.btn-add {
  flex: 1; background: none; border: 1.5px solid var(--primary); color: var(--primary);
  border-radius: 8px; padding: 14px; font-size: .88rem; font-weight: 700;
  transition: background var(--trans), color var(--trans);
}
.btn-add:hover { background: var(--primary); color: #fff; }
.btn-buy {
  flex: 1; background: var(--primary); color: #fff; border: none; border-radius: 8px;
  padding: 14px; font-size: .88rem; font-weight: 700; transition: background var(--trans);
}
.btn-buy:hover { background: var(--primary-dk); }
.pd-rating { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; }
.stars { color: var(--primary); }

/* ===== POLICY PAGES ===== */
#view-shipping, #view-returns {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 80px;
  min-height: 100vh;
}
.pol-max { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.pol-hdr { text-align: center; margin-bottom: 52px; }
.pol-hdr p { color: var(--muted); max-width: 560px; margin: 12px auto 20px; line-height: 1.65; }
.pol-divider { width: 64px; height: 3px; background: var(--primary); margin: 0 auto; border-radius: 2px; }
.pol-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; margin-bottom: 48px; }
.pol-card { background: var(--secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.pol-card-icon { font-size: 1.6rem; margin-bottom: 12px; }
.pol-card h3 { font-family: 'Playfair Display',serif; font-weight: 700; margin-bottom: 6px; }
.pol-card p { font-size: .83rem; color: var(--muted); line-height: 1.5; }
.pol-sec { margin-bottom: 32px; }
.pol-sec h2 { font-family: 'Playfair Display',serif; font-size: 1.45rem; font-weight: 700; margin-bottom: 14px; }
.pol-box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; color: var(--muted); line-height: 1.75; font-size: .93rem;
}
.pol-box p + p { margin-top: 12px; }
.pol-box strong { color: var(--fg); }
.pol-box ul { padding-left: 20px; list-style: disc; }
.pol-box li + li { margin-top: 8px; }
.pol-box ol { padding-left: 0; list-style: none; }
.pol-box ol li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 30px; height: 30px; background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}
.pol-table table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.pol-table thead tr { background: rgba(187,145,34,.1); }
.pol-table th { text-align: left; padding: 14px 20px; font-weight: 600; color: var(--fg); }
.pol-table td { padding: 12px 20px; border-top: 1px solid var(--border); color: var(--muted); }
.pol-cta {
  background: rgba(187,145,34,.05); border: 1px solid rgba(187,145,34,.2);
  border-radius: var(--radius); padding: 24px; text-align: center; color: var(--muted); margin-top: 36px;
}
.pol-cta strong { display: block; color: var(--fg); font-size: 1rem; margin-bottom: 8px; }
.pol-cta a { color: var(--primary); font-weight: 600; }
.pol-cta a:hover { text-decoration: underline; }
.pol-cta small { display: block; margin-top: 10px; font-size: .78rem; }

/* ===== SUCCESS ===== */
#view-success {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 80px 24px; text-align: center;
}
.success-icon {
  width: 80px; height: 80px; border-radius: 50%; background: rgba(187,145,34,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; color: var(--primary);
}
.success-icon svg { width: 40px; height: 40px; }
#view-success h1 { font-family: 'Playfair Display',serif; font-size: 2.4rem; margin-bottom: 12px; }
#view-success p { color: var(--muted); margin-bottom: 32px; line-height: 1.65; max-width: 480px; }
.btn-continue {
  background: var(--primary); color: #fff; border: none; border-radius: 8px;
  padding: 14px 36px; font-size: .9rem; font-weight: 700; transition: background var(--trans);
}
.btn-continue:hover { background: var(--primary-dk); }

/* ===== TOAST ===== */
#toasts {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  background: var(--fg); color: #fff; border-radius: 10px;
  padding: 14px 20px; min-width: 240px; max-width: 320px;
  box-shadow: var(--shadow-lg); pointer-events: auto;
  animation: toastIn .3s ease forwards;
}
.toast.out { animation: toastOut .3s ease forwards; }
.toast-title { font-weight: 600; font-size: .9rem; margin-bottom: 3px; }
.toast-desc { font-size: .8rem; color: rgba(255,255,255,.68); }
.toast-bar { height: 3px; background: var(--primary); margin-top: 10px; border-radius: 2px; animation: toastBar 3s linear forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }
@keyframes toastBar { from { width: 100%; } to { width: 0; } }

/* ===== UTIL ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
/* ============= DROPDOWN NAVIGATION ============= */

/* Container for the dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Button Styling */
.dropbtn {
  background: none;
  border: none;
  color: white;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  transition: 0.3s;
}

/* Custom Design Button Highlight (Matching your screenshot) */
.highlight-btn {
  border: 1px solid #d4af37; /* Gold border */
  border-radius: 4px;
  color: #d4af37;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #1a1a1a; /* Dark luxury background */
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.5);
  z-index: 1000;
  top: 100%;
  left: 0;
  border-top: 2px solid #d4af37; /* Gold accent line */
}

/* Links inside the dropdown */
.dropdown-content a {
  color: #e0e0e0;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  border-bottom: 1px solid #333;
  transition: 0.2s;
}

/* Hover effect on links */
.dropdown-content a:hover {
  background-color: #262626;
  color: #d4af37;
  padding-left: 20px; /* Slight slide effect */
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Fade in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============= MOBILE MENU ADJUSTMENTS ============= */

.mobile-divider {
  padding: 15px 20px 5px 20px;
  font-size: 12px;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

#mobile-menu a {
  padding: 10px 30px;
  display: block;
  color: white;
  text-decoration: none;
  font-size: 15px;
}

/* ============= CHECKOUT FORM STYLING ============= */

#co-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  resize: vertical;
}

#co-form label {
  font-weight: 600;
  display: block;
  margin-top: 10px;
}