/* ════════════════════════════════════════════════
   JK's Night Owl Creations — Main Stylesheet
   Color System (60 / 30 / 10):
     60% – Deep Dusk Indigo  #1A1030
     30% – Warm Sunset Peach #E8855A
     10% – Golden Amber      #F5C842
   ════════════════════════════════════════════════ */

:root {
  --sixty:      #1A1030;
  --sixty-mid:  #26183F;
  --sixty-soft: #2E2050;
  --thirty:     #E8855A;
  --thirty-lt:  #F0A07A;
  --thirty-dk:  #C05F35;
  --ten:        #F5C842;
  --ten-lt:     #FFD96A;
  --text-light: #FDF0E8;
  --text-muted: #C4A99A;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--sixty);
  color: var(--text-light);
  overflow-x: hidden;
  padding-top: 65px;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sixty); }
::-webkit-scrollbar-thumb { background: var(--thirty); border-radius: 3px; }

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(26,16,48,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,133,90,0.15);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5%;
  height: 65px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ten);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--thirty-lt); font-style: italic; }

.nav-links {
  display: flex; gap: 1.4rem; list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text-light); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  min-height: 88vh;
  background:
    radial-gradient(ellipse at 85% 110%, rgba(232,133,90,0.22), transparent 55%),
    radial-gradient(ellipse at 20% -10%, rgba(245,200,66,0.08), transparent 50%),
    linear-gradient(165deg, #140B26 0%, #1E1238 55%, #2A1848 100%);
  display: flex; align-items: center;
  padding: 60px 5% 80px;
  border-bottom: 1px solid rgba(232,133,90,0.08);
}

.hero-content { max-width: 600px; }

.hero-eyebrow {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--thirty-lt); margin-bottom: 1.2rem;
  opacity: 0.85;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.3rem;
  letter-spacing: -0.01em;
}
.hero-title em { color: var(--thirty-lt); font-style: italic; font-weight: 500; }

.hero-sub {
  font-size: 1rem;
  color: rgba(253,240,232,0.75);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.2rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn-primary {
  background: var(--thirty);
  color: #fff;
  border: 1px solid var(--thirty);
  border-radius: 3px;
  padding: 0.78rem 1.8rem;
  font-family: 'Jost', sans-serif; font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--thirty-dk); border-color: var(--thirty-dk); }

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  padding: 0.78rem 1.8rem;
  font-family: 'Jost', sans-serif; font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ════════════════════════════════════════
   CATEGORY STRIP
════════════════════════════════════════ */
a:link{
  text-decoration: none;
}
a:visited{
  text-decoration: none;
}
a:active{
  text-decoration: none;
}
.categories {
  background: #120A24;
  padding: 1.2rem 5%;
  display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap;
  border-bottom: 1px solid rgba(232,133,90,0.08);
}

.cat-pill {
  background: transparent;
  border-radius: 20px;
  padding: 0.38rem 1rem;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(232,133,90,0.2);
  transition: background 0.2s, border-color 0.2s;
}
.cat-pill a { color: var(--text-muted); }
.cat-pill:hover {
  background: rgba(232,133,90,0.08);
  border-color: rgba(232,133,90,0.5);
}
.cat-pill:hover a { color: var(--text-light); }

/* ════════════════════════════════════════
   SECTIONS
════════════════════════════════════════ */
.section { padding: 80px 5%; }
.section-alt { background: var(--sixty-mid); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ten); display: block; margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700; color: #fff; line-height: 1.2;
  letter-spacing: -0.01em;
}
.section-title span { color: var(--thirty-lt); font-style: italic; font-weight: 500; }
.section-divider {
  width: 36px; height: 1px;
  background: rgba(232,133,90,0.5);
  margin: 1.1rem auto 0;
}

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

.product-card {
  background: #1A1030;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(232,133,90,0.08);
  transition: transform 0.25s, border-color 0.25s;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232,133,90,0.22);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;     /* keeps the New/Hot badge clipped to the image area */
  isolation: isolate;   /* creates a stacking context so badge can't drift over nav */
}

/* ── IMAGE PLACEHOLDER ───────────────────────────────────────────
   Subtle "photo coming soon" frame. Replaces emoji previews.
   Used everywhere a product doesn't yet have an image set in
   products.js. Comes in three sizes:
     .product-img-placeholder  — full product card / grid
     .pdp-placeholder          — product detail page (large)
     .ph-frame-sm              — cart line item thumbnail
   ──────────────────────────────────────────────────────────────── */
.product-img-placeholder {
  width: 100%; aspect-ratio: 1;
  background:
    linear-gradient(135deg, #1E1238 0%, #241848 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.7rem;
  position: relative;
}

.ph-frame {
  width: 38%; aspect-ratio: 1;
  border: 1px solid rgba(232,133,90,0.32);
  border-radius: 2px;
  position: relative;
  opacity: 0.85;
}
.ph-frame::before,
.ph-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent calc(50% - 0.5px), rgba(232,133,90,0.32) 50%, transparent calc(50% + 0.5px));
}
.ph-frame::after {
  background: linear-gradient(45deg, transparent calc(50% - 0.5px), rgba(232,133,90,0.32) 50%, transparent calc(50% + 0.5px));
}

.ph-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Admin table tiny preview */
.ph-frame-xs {
  display: inline-block;
  width: 44px; height: 44px;
  border: 1px solid rgba(232,133,90,0.28);
  border-radius: 4px;
  background: linear-gradient(135deg, #1E1238 0%, #241848 100%);
  position: relative;
  vertical-align: middle;
}
.ph-frame-xs::before,
.ph-frame-xs::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent calc(50% - 0.5px), rgba(232,133,90,0.28) 50%, transparent calc(50% + 0.5px));
}
.ph-frame-xs::after {
  background: linear-gradient(45deg, transparent calc(50% - 0.5px), rgba(232,133,90,0.28) 50%, transparent calc(50% + 0.5px));
}

/* Cart line-item small placeholder (no label, just a frame) */
.ph-frame-sm {
  display: inline-block;
  width: 72px; height: 72px;
  border: 1px solid rgba(232,133,90,0.28);
  border-radius: 2px;
  background: linear-gradient(135deg, #1E1238 0%, #241848 100%);
  position: relative;
  vertical-align: middle;
}
.ph-frame-sm::before,
.ph-frame-sm::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent calc(50% - 0.5px), rgba(232,133,90,0.28) 50%, transparent calc(50% + 0.5px));
}
.ph-frame-sm::after {
  background: linear-gradient(45deg, transparent calc(50% - 0.5px), rgba(232,133,90,0.28) 50%, transparent calc(50% + 0.5px));
}

/* PDP large placeholder shares the .product-img-placeholder look */
.pdp-placeholder {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, #1E1238 0%, #241848 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.9rem;
  border-radius: 6px;
}
.pdp-placeholder .ph-frame { width: 30%; }
.pdp-placeholder .ph-label { font-size: 0.7rem; }

/* To swap in a real image, set the `image` field for the product
   in products.js — the site will load <img> automatically and fall
   back to the placeholder if the file is missing. */
.product-img-real {
  width: 100%; aspect-ratio: 1;
  object-fit: cover; display: block;
}

.product-badge {
  position: absolute; top: 12px; left: 12px;
  z-index: 2;                /* sit above placeholder & image, below nav */
  pointer-events: none;      /* don't block clicks on the card link */
  max-width: calc(100% - 24px);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 2px;
  backdrop-filter: blur(8px);
}
.badge-new {
  background: rgba(245,200,66,0.14);
  color: var(--ten);
  border: 1px solid rgba(245,200,66,0.35);
}
.badge-hot {
  background: rgba(232,133,90,0.14);
  color: var(--thirty-lt);
  border: 1px solid rgba(232,133,90,0.4);
}

.product-info { padding: 1.1rem 1.2rem 1.4rem; }
.product-cat {
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.45rem;
  opacity: 0.8;
}
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 500;
  color: #fff; margin-bottom: 0.75rem; line-height: 1.35;
  letter-spacing: 0.005em;
}
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.product-price { font-size: 1rem; font-weight: 600; color: #fff; letter-spacing: 0.01em; }
.product-price .was {
  font-size: 0.78rem; color: var(--text-muted);
  text-decoration: line-through; margin-right: 0.4rem; font-weight: 400;
}
.btn-add {
  background: transparent;
  color: var(--thirty-lt); border: 1px solid rgba(232,133,90,0.4); border-radius: 3px;
  padding: 0.38rem 0.9rem;
  font-family: 'Jost', sans-serif; font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-add:hover {
  background: var(--thirty);
  color: #fff;
  border-color: var(--thirty);
}

/* ════════════════════════════════════════
   CUSTOM ORDER BANNER
════════════════════════════════════════ */
.feature-banner {
  background:
    radial-gradient(ellipse at 50% 150%, rgba(232,133,90,0.18), transparent 60%),
    linear-gradient(180deg, #140B26 0%, #1A1030 100%);
  padding: 80px 5%;
  text-align: center;
  border-top: 1px solid rgba(232,133,90,0.08);
}
.feature-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700; color: #fff; margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.feature-banner h2 em { color: var(--thirty-lt); font-style: italic; font-weight: 500; }
.feature-banner p {
  font-size: 0.95rem; color: var(--text-muted);
  max-width: 520px; margin: 0 auto 2rem; line-height: 1.7;
}

/* ════════════════════════════════════════
   PERKS
════════════════════════════════════════ */
.perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  padding: 70px 5%;
  background: #120A24;
  border-top: 1px solid rgba(232,133,90,0.06);
  border-bottom: 1px solid rgba(232,133,90,0.06);
}
.perk {
  text-align: center;
  padding: 0.5rem 1.4rem;
  border-right: 1px solid rgba(232,133,90,0.08);
  position: relative;
}
.perk:last-child { border-right: 0; }
/* Thin amber accent line above each perk, replaces the emoji icon */
.perk::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--thirty);
  opacity: 0.55;
  margin: 0 auto 1.1rem;
}
.perk-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; font-weight: 600;
  color: #fff; margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.perk-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.65; }

@media (max-width: 750px) {
  .perk { border-right: 0; border-bottom: 1px solid rgba(232,133,90,0.08); padding: 1.2rem; }
  .perk:last-child { border-bottom: 0; }
}

/* ════════════════════════════════════════
   NEWSLETTER
════════════════════════════════════════ */
.newsletter {
  background: var(--sixty);
  padding: 60px 5%;
  text-align: center;
}
.newsletter h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 600;
  color: #fff; margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.newsletter p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1.5rem; }
.nl-form { display: flex; gap: 0.65rem; justify-content: center; flex-wrap: wrap; }
.nl-input {
  background: rgba(26,16,48,0.6);
  border: 1.5px solid rgba(232,133,90,0.2);
  border-radius: 6px;
  padding: 0.75rem 1.4rem;
  color: var(--text-light); font-family: 'Jost', sans-serif; font-size: 0.88rem;
  width: 260px; outline: none;
  transition: border-color 0.2s;
}
.nl-input::placeholder { color: var(--text-muted); }
.nl-input:focus { border-color: var(--ten); }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: #100920;
  padding: 50px 5% 28px;
  border-top: 1px solid rgba(232,133,90,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .nav-logo { display: block; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; }
.footer-col h4 {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ten); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.85rem; transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--thirty-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.3rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.76rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 1.2rem; }
.footer-socials a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--thirty-lt); }

/* ════════════════════════════════════════
   PAGE HEADER (category pages)
════════════════════════════════════════ */
.page-header {
  padding: 56px 5% 48px;
  background:
    radial-gradient(ellipse at 80% 120%, rgba(232,133,90,0.15), transparent 55%),
    linear-gradient(165deg, #140B26 0%, #1E1238 100%);
  text-align: center;
  border-bottom: 1px solid rgba(232,133,90,0.08);
}
.page-header-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.page-header-title span { color: var(--thirty-lt); font-style: italic; font-weight: 500; }
.page-header-sub {
  font-size: 1rem;
  color: rgba(253,240,232,0.72);
  max-width: 480px;
  margin: 0 auto 1.2rem;
  line-height: 1.7;
}

/* ── PRODUCT DESCRIPTION (on category pages) ── */
.product-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ════════════════════════════════════════
   NAV TOOLS (search + cart) — compact icon style
════════════════════════════════════════ */
nav { gap: 1.2rem; }
.nav-links { flex: 0 1 auto; }

.nav-tools {
  display: flex; align-items: center; gap: 0.5rem;
  margin-left: auto;
}

/* Collapsible search: icon-only by default, expands when opened */
.nav-search {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(232,133,90,0.2);
  border-radius: 22px;
  overflow: hidden;
  transition: width 0.3s ease, background 0.2s, border-color 0.2s;
  width: 38px;          /* icon-only by default */
}
.nav-search:focus-within,
.nav-search.is-open {
  width: 220px;
  background: rgba(255,255,255,0.09);
  border-color: var(--ten);
}
.nav-search input {
  background: transparent;
  border: 0; outline: none;
  color: var(--text-light);
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  padding: 0.45rem 0.4rem 0.45rem 0.9rem;
  width: 100%;
  min-width: 0;
}
.nav-search input::placeholder { color: var(--text-muted); }
.nav-search button {
  background: transparent;
  border: 0; cursor: pointer;
  color: var(--ten);
  padding: 0.3rem 0.55rem;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.nav-search button:hover { color: var(--ten-lt); }

/* Minimal icon-style cart button */
.nav-cart {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: var(--text-light);
  background: transparent;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.05rem;
  transition: background 0.2s, color 0.2s;
}
.nav-cart:hover { background: rgba(255,255,255,0.08); color: var(--ten); }
.nav-cart-icon { line-height: 1; }
.nav-cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--ten);
  color: var(--sixty);
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  min-width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  border: 2px solid var(--sixty);
  box-sizing: content-box;
}
.nav-cart-count.is-zero { display: none; }

.nav-menu-toggle {
  display: none;
  background: transparent; border: 0;
  color: var(--text-light);
  font-size: 1.5rem; cursor: pointer;
  padding: 0.2rem 0.5rem;
}

/* ════════════════════════════════════════
   TOAST
════════════════════════════════════════ */
.site-toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translate(-50%, 30px);
  background: var(--ten);
  color: var(--sixty);
  font-weight: 700; font-size: 0.88rem;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 1000;
}
.site-toast.show { opacity: 1; transform: translate(-50%, 0); }

.btn-add.is-added { background: #2fa36d; }

.product-name-link { text-decoration: none; color: inherit; }
.product-name-link:hover .product-name { color: var(--ten); }

.empty-msg {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
  font-size: 0.95rem;
}

/* ════════════════════════════════════════
   CART PAGE
════════════════════════════════════════ */
.cart-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 5%;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
}
.cart-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
}
.cart-wrap h1 span { color: var(--ten); font-style: italic; }

.cart-list { display: flex; flex-direction: column; gap: 1rem; }
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--sixty-soft);
  border: 1px solid rgba(232,133,90,0.12);
  border-radius: 10px;
  padding: 0.9rem;
}
.cart-item-img {
  width: 90px; height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sixty-mid), #3D2560);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
}
.cart-item-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.cart-item-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}
.cart-item-cat {
  font-size: 0.7rem; letter-spacing: 0.12em;
  color: var(--thirty-lt); text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.cart-item-controls {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.3rem;
}
.qty-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(232,133,90,0.25);
  color: var(--text-light);
  width: 28px; height: 28px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.qty-btn:hover { background: rgba(255,255,255,0.14); }
.qty-val { min-width: 28px; text-align: center; font-weight: 600; }
.cart-item-remove {
  background: transparent;
  border: 0; color: var(--text-muted);
  cursor: pointer; font-size: 0.78rem;
  margin-left: 0.5rem;
  text-decoration: underline;
}
.cart-item-remove:hover { color: var(--thirty-lt); }

.cart-item-price {
  font-size: 1.05rem; font-weight: 700; color: var(--ten);
  text-align: right;
  min-width: 80px;
}

.cart-empty {
  background: var(--sixty-soft);
  border: 1px dashed rgba(232,133,90,0.25);
  border-radius: 10px;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
}
.cart-empty h2 {
  font-family: 'Playfair Display', serif;
  color: #fff; margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.cart-summary {
  background: var(--sixty-soft);
  border: 1px solid rgba(232,133,90,0.12);
  border-radius: 12px;
  padding: 1.4rem;
  align-self: start;
  position: sticky;
  top: 85px;
}
.cart-summary h3 {
  font-family: 'Playfair Display', serif;
  color: var(--ten);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}
.summary-row.total {
  color: #fff; font-weight: 700; font-size: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.8rem; margin-top: 0.6rem;
}
.btn-checkout {
  width: 100%;
  margin-top: 1rem;
  padding: 0.85rem;
  background: var(--thirty);
  color: #fff;
  border: 0; border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-checkout:hover { background: var(--thirty-dk); }
.btn-checkout:disabled {
  background: rgba(255,255,255,0.1);
  color: var(--text-muted);
  cursor: not-allowed;
}
.stripe-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
  text-align: center;
  line-height: 1.5;
}
.stripe-note code {
  background: rgba(255,255,255,0.08);
  padding: 1px 4px; border-radius: 3px;
  font-size: 0.72rem;
}

/* ════════════════════════════════════════
   CHECKOUT (Stripe Payment Element)
════════════════════════════════════════ */
.checkout-loading {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 2rem 0;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#payment-element {
  background: var(--sixty-soft);
  border: 1px solid rgba(232,133,90,0.15);
  border-radius: 10px;
  padding: 1rem;
  min-height: 220px;
}

.checkout-message {
  margin-top: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.4);
  border-radius: 6px;
  color: #ffb7b7;
  font-size: 0.88rem;
}

.checkout-spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.summary-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0.8rem 0;
}

.checkout-success,
.checkout-error {
  background: var(--sixty-soft);
  border: 1px solid rgba(232,133,90,0.15);
  border-radius: 12px;
  padding: 2.5rem 1.8rem;
  text-align: center;
}
.checkout-success h2,
.checkout-error h2 {
  font-family: 'Playfair Display', serif;
  color: var(--ten);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}
.checkout-error h2 { color: #ffb7b7; }
.checkout-success p,
.checkout-error p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ════════════════════════════════════════
   PRODUCT DETAIL PAGE
════════════════════════════════════════ */
.pdp {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.pdp-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--sixty-mid), #3D2560);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 8rem;
  overflow: hidden;
  border: 1px solid rgba(232,133,90,0.15);
}
.pdp-img img { width: 100%; height: 100%; object-fit: cover; }

.pdp-cat {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--thirty-lt);
  margin-bottom: 0.6rem;
}
.pdp-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.pdp-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ten);
  margin-bottom: 1.3rem;
}
.pdp-price .was {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 0.5rem;
  font-weight: 400;
}
.pdp-desc {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 2rem;
}
.pdp-actions {
  display: flex; gap: 0.7rem; align-items: center;
  flex-wrap: wrap;
}
.pdp-qty {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(232,133,90,0.2);
  border-radius: 8px;
  overflow: hidden;
}
.pdp-qty button {
  background: transparent; border: 0;
  color: var(--text-light);
  width: 38px; height: 42px;
  cursor: pointer; font-size: 1.1rem;
}
.pdp-qty button:hover { background: rgba(255,255,255,0.08); }
.pdp-qty input {
  width: 44px;
  background: transparent; border: 0;
  color: #fff; text-align: center;
  font-size: 0.95rem; font-weight: 600;
  outline: none;
}
.pdp-back {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.pdp-back:hover { color: var(--thirty-lt); }
.pdp-meta {
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.pdp-meta strong { color: var(--text-light); font-weight: 600; }

/* Related products */
.related {
  padding: 0 5% 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.related h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.3rem;
}

/* ════════════════════════════════════════
   FORMS (contact / checkout)
════════════════════════════════════════ */
.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 5%;
}
.form-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 900;
  color: #fff;
  margin-bottom: 0.6rem;
}
.form-wrap h1 span { color: var(--ten); font-style: italic; }
.form-wrap > p { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.7; }

.form-card {
  background: var(--sixty-soft);
  border: 1px solid rgba(232,133,90,0.12);
  border-radius: 12px;
  padding: 1.8rem;
}
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ten);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: rgba(26,16,48,0.6);
  border: 1.5px solid rgba(232,133,90,0.2);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  color: var(--text-light);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--ten); }
.form-row .row-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form-success {
  background: rgba(47, 163, 109, 0.15);
  border: 1px solid #2fa36d;
  color: #b9eccc;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.6;
}

/* ════════════════════════════════════════
   ADMIN HELPER
════════════════════════════════════════ */
.admin-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 5%;
}
.admin-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.admin-wrap > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.admin-wrap > p code {
  background: rgba(255,255,255,0.1);
  padding: 2px 6px; border-radius: 3px;
  font-size: 0.85em;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--sixty-soft);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.85rem;
}
.admin-table th, .admin-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.admin-table th {
  background: var(--sixty-mid);
  color: var(--ten);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.admin-table td code {
  background: rgba(255,255,255,0.08);
  padding: 1px 5px; border-radius: 3px;
  font-size: 0.82em;
  color: var(--thirty-lt);
}
.admin-emoji { font-size: 1.4rem; }

/* ════════════════════════════════════════
   SEARCH RESULTS
════════════════════════════════════════ */
.search-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 5%;
}
.search-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.search-wrap h1 em { color: var(--ten); font-style: italic; }
.search-wrap > p { color: var(--text-muted); margin-bottom: 2rem; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
  .cart-wrap { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .pdp { grid-template-columns: 1fr; gap: 2rem; }
  .pdp-img { font-size: 6rem; }
}

/* Collapse nav links on medium screens too (category pages have 9 links) */
@media (max-width: 1100px) {
  .nav-menu-toggle { display: block; order: -1; }
  .nav-links {
    display: none;
    position: absolute;
    top: 65px; left: 0; right: 0;
    background: rgba(26,16,48,0.98);
    flex-direction: column;
    padding: 1rem 5%;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(232,133,90,0.2);
  }
  nav.nav-open .nav-links { display: flex; }
  .nav-links li { padding: 0.4rem 0; }
  .nav-links a { font-size: 0.95rem; }
}

@media (max-width: 750px) {
  .nav-search.is-open { width: 170px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item-price { grid-column: 1 / -1; text-align: left; }
  .form-row .row-pair { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nav-search.is-open { width: 140px; }
}
