/* ==========================================================
   Forever Paws — Styles
   ========================================================== */
:root {
  --cream: #fbf7f1;
  --oat: #f3ece1;
  --sand: #e8dccb;
  --ink: #2b2622;
  --ink-soft: #5d544c;
  --muted: #8a8077;
  --sage: #7c8b6f;
  --sage-dark: #5f6d54;
  --sage-light: #e6eadf;
  --terra: #c47a5a;
  --terra-dark: #a9603f;
  --gold: #b8935a;
  --white: #ffffff;
  --line: #e7ded2;
  --star: #e0a53c;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(60, 40, 20, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(60, 40, 20, 0.28);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Dancing Script", "Brush Script MT", cursive;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 92%); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 600; color: var(--sage-dark); margin-bottom: .9rem; display: inline-block; }
.italic { font-style: italic; color: var(--terra); }
.center { text-align: center; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 1rem 1.8rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .98rem; transition: all .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--terra); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.15rem 2.2rem; font-size: 1.05rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--sage-dark); color: #f4f1ea; font-size: .85rem; text-align: center;
  padding: .6rem 1rem; letter-spacing: .02em;
}
.announce strong { color: #fff; }
.announce .sep { opacity: .5; margin: 0 .8rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 241, .9);
  backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 2rem; }
.logo { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.logo svg { width: 30px; height: 30px; color: var(--terra); }
.nav { display: flex; gap: 2rem; font-size: .95rem; font-weight: 500; }
.nav a { position: relative; color: var(--ink-soft); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0; background: var(--terra); transition: width .25s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: none; background: transparent; display: grid; place-items: center;
  position: relative; color: var(--ink); transition: background .2s;
}
.icon-btn:hover { background: var(--oat); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; background: var(--terra); color: #fff; font-size: .68rem; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px;
  transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.6,1);
}
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 50% { transform: scale(1.4); } }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 3rem 0 5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 4rem; align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero-sub { font-size: 1.18rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.proof { display: flex; align-items: center; gap: 1rem; }
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--cream); margin-left: -10px; display: grid; place-items: center;
  font-size: 1.1rem; background: var(--sand);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: var(--sage-light); }
.avatars span:nth-child(3) { background: #f2dccf; }
.avatars span:nth-child(4) { background: var(--oat); }
.proof-text { font-size: .9rem; color: var(--ink-soft); line-height: 1.4; }
.proof-text strong { color: var(--ink); }
.stars { color: var(--star); letter-spacing: 1px; font-size: .95rem; }
.hero-visual { position: relative; }
.hero-img {
  border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg);
  background: var(--sand);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: var(--white); border-radius: 16px; padding: .9rem 1.1rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .8rem; font-size: .85rem; animation: float 6s ease-in-out infinite;
}
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sage-light); font-size: 1.2rem; }
.float-card strong { display: block; font-size: .92rem; }
.float-card small { color: var(--muted); }
.fc-1 { left: -40px; bottom: 70px; }
.fc-2 { right: -20px; top: 60px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Trust bar ---------- */
.trust { border-block: 1px solid var(--line); background: var(--oat); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 1.6rem 0; gap: 1rem; }
.trust-item { display: flex; align-items: center; gap: .8rem; justify-content: center; font-size: .92rem; }
.trust-item svg { width: 28px; height: 28px; color: var(--sage-dark); flex-shrink: 0; }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span { color: var(--muted); font-size: .82rem; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5/4; display: flex; align-items: flex-end;
  color: #fff; background: var(--sand);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(30, 22, 15, .72)); }
.cat-card:hover img { transform: scale(1.06); }
.cat-body { position: relative; z-index: 2; padding: 2.2rem; }
.cat-body h3 { font-size: 2rem; margin-bottom: .3rem; }
.cat-body p { opacity: .9; margin-bottom: 1rem; }
.cat-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; border-bottom: 1.5px solid #fff; padding-bottom: 2px; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.p-card { display: flex; flex-direction: column; background: transparent; position: relative; }
.p-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--oat); margin-bottom: 1rem; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.p-card:hover .p-media img { transform: scale(1.06); }
.p-badge {
  position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--ink); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; padding: .38rem .7rem; border-radius: 999px; z-index: 2;
}
.p-sale { position: absolute; top: 14px; right: 14px; background: var(--terra); color: #fff; font-size: .72rem; font-weight: 700; padding: .38rem .6rem; border-radius: 999px; z-index: 2; }
.p-quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px; opacity: 0; transform: translateY(10px); transition: all .3s ease; z-index: 2;
  padding: .85rem; font-size: .9rem;
}
.p-card:hover .p-quick { opacity: 1; transform: translateY(0); }
.p-rating { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); margin-bottom: .3rem; }
.p-name { font-family: var(--serif); font-size: 1.12rem; font-weight: 500; margin-bottom: .3rem; line-height: 1.3; }
.p-price { display: flex; align-items: baseline; gap: .6rem; font-weight: 600; }
.p-price s { color: var(--muted); font-weight: 400; font-size: .9rem; }

/* ---------- How it works ---------- */
.how { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.step { text-align: center; padding: 2.4rem 1.8rem; border-radius: var(--radius); background: var(--cream); position: relative; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--sage-light); color: var(--sage-dark);
  display: grid; place-items: center; margin: 0 auto 1.3rem; font-family: var(--serif); font-size: 1.6rem;
}
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- Story / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow-lg); background: var(--sand); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .9rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--sage); color: #fff;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700; margin-top: 1px;
}
.stats { display: flex; gap: 2.5rem; margin-top: 1rem; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--terra); line-height: 1; }
.stat span { font-size: .85rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { background: var(--oat); }
.rev-summary { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: -1.5rem; margin-bottom: 3rem; color: var(--ink-soft); }
.rev-summary .stars { font-size: 1.2rem; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rev-card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: 0 4px 20px -14px rgba(0,0,0,.2); display: flex; flex-direction: column; }
.rev-card p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; flex: 1; margin: 1rem 0 1.5rem; }
.rev-meta { display: flex; align-items: center; gap: .8rem; font-size: .88rem; }
.rev-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sage-light); display: grid; place-items: center; font-weight: 700; color: var(--sage-dark); }
.rev-meta small { display: block; color: var(--muted); }
.verified { color: var(--sage-dark); font-size: .78rem; font-weight: 600; display: inline-flex; align-items: center; gap: .25rem; }

/* ---------- Guarantee ---------- */
.guarantee {
  background: var(--sage-dark); color: #f4f1ea; border-radius: 28px; padding: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: center;
}
.guarantee h2 { color: #fff; margin-bottom: .4rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.guarantee p { margin: 0; opacity: .85; max-width: 560px; }
.seal {
  width: 120px; height: 120px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.5); display: grid; place-items: center;
  text-align: center; font-family: var(--serif); font-size: .95rem; line-height: 1.2;
}
.seal strong { font-size: 2rem; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.3rem 0; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--serif); font-size: 1.18rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--terra); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin: .9rem 0 0; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--terra); color: #fff; text-align: center; border-radius: 28px; padding: clamp(3rem, 6vw, 4.5rem) 2rem; position: relative; overflow: hidden; }
.newsletter h2 { color: #fff; }
.newsletter p { opacity: .9; max-width: 520px; margin: 0 auto 2rem; }
.nl-form { display: flex; max-width: 480px; margin: 0 auto; background: #fff; border-radius: 999px; padding: .35rem; }
.nl-form input { flex: 1; border: none; background: transparent; padding: 0 1.2rem; outline: none; color: var(--ink); min-width: 0; }
.newsletter small { display: block; margin-top: 1rem; opacity: .75; }
.paw-deco { position: absolute; opacity: .1; width: 180px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cfc6bc; padding: 5rem 0 2rem; margin-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer .logo { color: #fff; margin-bottom: 1rem; }
.footer h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: #fff; margin-bottom: 1.2rem; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; font-size: .93rem; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; flex-wrap: wrap; gap: 1rem; }
.pay-icons { display: flex; gap: .5rem; }
.pay-icons span { background: rgba(255,255,255,.1); border-radius: 6px; padding: .3rem .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(30, 22, 15, .45); opacity: 0; visibility: hidden; transition: all .35s; z-index: 90; backdrop-filter: blur(2px); }
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: var(--cream); z-index: 100;
  transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column;
  visibility: hidden; transition: transform .45s cubic-bezier(.2,.8,.2,1), visibility .45s;
}
.drawer.open { transform: translateX(0); visibility: visible; box-shadow: -20px 0 50px -20px rgba(0,0,0,.3); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.ship-progress { padding: 1.1rem 1.6rem; background: var(--oat); font-size: .88rem; }
.bar { height: 7px; background: var(--sand); border-radius: 999px; margin-top: .6rem; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--sage), var(--sage-dark)); border-radius: 999px; transition: width .6s ease; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.6rem; }
.cart-item { display: grid; grid-template-columns: 82px 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 82px; height: 82px; border-radius: 12px; object-fit: cover; background: var(--oat); }
.ci-name { font-family: var(--serif); font-size: 1rem; line-height: 1.3; margin-bottom: .2rem; }
.ci-opts { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.ci-opts em { color: var(--terra); font-style: normal; font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: .6rem; background: #fff; }
.qty button { width: 30px; height: 30px; border: none; background: none; font-size: 1rem; color: var(--ink-soft); }
.qty span { min-width: 22px; text-align: center; font-size: .88rem; font-weight: 600; }
.ci-right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.ci-price { font-weight: 600; }
.ci-remove { background: none; border: none; color: var(--muted); font-size: .78rem; text-decoration: underline; padding: 0; }
.upsell { margin-top: 1.4rem; padding: 1rem; background: var(--white); border: 1px dashed var(--sand); border-radius: 14px; display: flex; gap: .9rem; align-items: center; }
.upsell img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; }
.upsell-info { flex: 1; font-size: .85rem; line-height: 1.35; }
.upsell-info strong { display: block; font-family: var(--serif); font-weight: 500; font-size: .95rem; }
.upsell button { padding: .55rem 1rem; font-size: .82rem; }
.drawer-foot { padding: 1.4rem 1.6rem; border-top: 1px solid var(--line); background: var(--white); }
.drawer-foot .row { display: flex; justify-content: space-between; margin-bottom: .4rem; font-size: .95rem; }
.drawer-foot .total { font-size: 1.15rem; font-weight: 700; margin: .6rem 0 1rem; }
.drawer-foot small { display: block; text-align: center; color: var(--muted); margin-top: .8rem; font-size: .8rem; }
.empty { text-align: center; padding: 4rem 1rem; color: var(--ink-soft); }
.empty .big { font-size: 3rem; margin-bottom: 1rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: .9rem 1.4rem;
  border-radius: 999px; font-size: .92rem; z-index: 120; transition: transform .4s cubic-bezier(.3,1.4,.6,1); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .6rem;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Shop page ---------- */
.page-hero { padding: 4rem 0 2.5rem; text-align: center; }
.page-hero p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; font-size: 1.08rem; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.chips { display: flex; gap: .6rem; flex-wrap: wrap; }
.chip { padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .9rem; font-weight: 500; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.select { padding: .65rem 2.4rem .65rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232b2622' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 1rem center; appearance: none; font-size: .9rem; }
.result-count { color: var(--muted); font-size: .9rem; }

/* ---------- Product page ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); padding: 1.5rem 0; }
.breadcrumb a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: start; padding-bottom: 4rem; }
.gallery { position: sticky; top: 100px; display: grid; grid-template-columns: 80px 1fr; gap: 1rem; }
.thumbs { display: flex; flex-direction: column; gap: .8rem; }
.thumbs button { border: 2px solid transparent; border-radius: 12px; padding: 0; overflow: hidden; aspect-ratio: 1; background: var(--oat); transition: border-color .2s; }
.thumbs button.active { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--oat); }
.main-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.engrave-preview {
  position: absolute; bottom: auto; text-align: center; pointer-events: none; z-index: 4;
  opacity: 0; transition: opacity .25s ease;
}
.engrave-preview.on-pendant-canvas { display: none !important; }
.engrave-preview.on-item.has-text { opacity: 1; }
.engrave-text { font-size: clamp(.85rem, 1.5vw, 1.25rem); line-height: 1.15; word-break: break-word; }
.engrave-date { font-size: clamp(.58rem, .9vw, .74rem); margin-top: .1rem; font-weight: 500; letter-spacing: .04em; }

/* Surface-accurate engraving finishes */
.surface-etched-gold {
  color: #3d2810; mix-blend-mode: multiply;
  text-shadow: 0 1px 0 rgba(255, 240, 200, .75);
}
.surface-etched-gold .engrave-text { font-size: clamp(.72rem, 1.1vw, .95rem); }
.surface-etched-gold .engrave-date { font-size: clamp(.5rem, .75vw, .62rem); }

.surface-etched-steel {
  color: #262423; mix-blend-mode: multiply;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}
.surface-carved-stone {
  color: rgba(226, 230, 224, .88);
  text-shadow: 0 -1.5px 1px rgba(10, 14, 10, .92), 0 1px 2px rgba(0, 0, 0, .75);
}
.surface-carved-stone .engrave-text { font-size: clamp(1.05rem, 1.7vw, 1.4rem); }
.surface-carved-stone .engrave-date { color: rgba(210, 215, 208, .85); }

.surface-brass-plaque {
  background: linear-gradient(135deg, #f3dfad 0%, #d4af69 52%, #b88d44 100%);
  color: #2b1d0c; padding: .28rem .65rem; border-radius: 4px;
  border: 1px solid rgba(120, 85, 30, .55);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 250, 225, .75);
}
.surface-brass-plaque .engrave-text { font-size: clamp(.76rem, 1.15vw, .98rem); text-shadow: 0 1px 0 rgba(255, 245, 210, .6); }
.surface-brass-plaque .engrave-date { font-size: clamp(.52rem, .78vw, .66rem); color: #3d2a12; }

.surface-gold-foil {
  color: #d8b574;
  text-shadow: 0 1px 2px rgba(30, 35, 25, .55), 0 0 1px rgba(255, 235, 185, .5);
}

.font-script { font-family: var(--script); }
.font-serif { font-family: var(--serif); font-style: italic; }
.font-classic { font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .82em !important; font-weight: 600; }

.pdp-info .p-rating { font-size: .9rem; margin-bottom: .8rem; }
.pdp-info h1 { font-size: clamp(2rem, 3.2vw, 2.7rem); margin-bottom: .6rem; }
.pdp-short { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 1.2rem; }
.pdp-price { display: flex; align-items: center; gap: .9rem; font-size: 1.7rem; font-weight: 600; margin-bottom: 1.5rem; }
.pdp-price s { font-size: 1.1rem; color: var(--muted); font-weight: 400; }
.save-pill { background: #f6e3d9; color: var(--terra-dark); font-size: .8rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; }
.urgency { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; background: var(--sage-light); border-radius: 12px; font-size: .9rem; margin-bottom: 1.6rem; color: var(--sage-dark); }
.urgency .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage-dark); animation: pulse 1.6s infinite; flex-shrink: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95,109,84,.6); } 70% { box-shadow: 0 0 0 9px rgba(95,109,84,0); } 100% { box-shadow: 0 0 0 0 rgba(95,109,84,0); } }
.personalize { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.4rem; }
.personalize h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field:last-child { margin-bottom: 0; }
.field label, .field .label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.field label span, .field .label span { color: var(--muted); font-weight: 400; }
.input {
  width: 100%; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream);
  outline: none; transition: border-color .2s, background .2s; color: var(--ink);
}
.input:focus { border-color: var(--sage); background: #fff; }
.input.error { border-color: #c0573c; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.swatches { display: flex; gap: .55rem; flex-wrap: wrap; }
.swatch {
  padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--cream); font-size: .86rem; font-weight: 500;
  transition: all .2s;
}
.swatch:hover { border-color: var(--ink-soft); }
.swatch.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.upload {
  border: 1.5px dashed var(--sand); border-radius: var(--radius-sm); padding: 1.2rem; text-align: center; background: var(--cream);
  cursor: pointer; transition: border-color .2s; display: flex; align-items: center; gap: 1rem; justify-content: center; font-size: .9rem; color: var(--ink-soft);
}
.upload:hover { border-color: var(--sage); }
.upload img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.upload input { display: none; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: .8rem; margin-bottom: .8rem; }
.qty-lg { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty-lg button { width: 46px; height: 54px; border: none; background: none; font-size: 1.2rem; }
.qty-lg span { min-width: 26px; text-align: center; font-weight: 600; }
.delivery { display: flex; gap: .7rem; align-items: center; font-size: .9rem; color: var(--ink-soft); margin: 1.2rem 0; padding: 1rem; border-radius: 12px; background: var(--oat); }
.delivery strong { color: var(--ink); }
.mini-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.4rem 0; text-align: center; font-size: .78rem; color: var(--ink-soft); }
.mini-trust div { padding: .8rem .4rem; border: 1px solid var(--line); border-radius: 12px; }
.mini-trust .ic { font-size: 1.3rem; display: block; margin-bottom: .2rem; }
.accordion details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--terra); font-size: 1.3rem; line-height: 1; }
.accordion details[open] summary::after { content: "–"; }
.accordion ul { margin: .8rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); font-size: .93rem; }
.accordion p { margin: .8rem 0 0; color: var(--ink-soft); font-size: .93rem; }

.sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; background: var(--white); border-top: 1px solid var(--line); padding: .8rem 4%;
  display: none; align-items: center; gap: 1rem; z-index: 40; transform: translateY(100%); transition: transform .35s ease; box-shadow: 0 -10px 30px -20px rgba(0,0,0,.3);
}
.sticky-atc.show { transform: translateY(0); }
.sticky-atc img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.sticky-atc .info { flex: 1; min-width: 0; }
.sticky-atc .info strong { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; padding: 2rem 0 4rem; align-items: start; }
.co-section { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.4rem; }
.co-section h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.2rem; margin-bottom: 1.3rem; }
.co-section h3 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: .82rem; display: grid; place-items: center; }
.express { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.4rem; }
.express button { padding: .95rem; border-radius: 10px; border: none; font-weight: 700; }
.ex-apple { background: #000; color: #fff; }
.ex-paypal { background: #ffc439; color: #253b80; }
.divider { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .82rem; margin: 0 0 1.4rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.summary { position: sticky; top: 100px; background: var(--oat); border-radius: var(--radius); padding: 1.8rem; }
.summary .cart-item { grid-template-columns: 64px 1fr auto; border-color: var(--sand); }
.summary .cart-item img { width: 64px; height: 64px; }
.sum-row { display: flex; justify-content: space-between; font-size: .95rem; margin: .5rem 0; color: var(--ink-soft); }
.sum-total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 700; border-top: 1px solid var(--sand); padding-top: 1rem; margin-top: 1rem; }
.promo { display: flex; gap: .6rem; margin: 1.2rem 0; }
.promo .input { background: #fff; }
.promo button { padding: 0 1.2rem; border-radius: var(--radius-sm); }
.secure-note { display: flex; align-items: center; justify-content: center; gap: .5rem; color: var(--muted); font-size: .82rem; margin-top: 1rem; }
.success { text-align: center; max-width: 620px; margin: 0 auto; padding: 5rem 0; }
.success .check { width: 90px; height: 90px; border-radius: 50%; background: var(--sage-light); color: var(--sage-dark); display: grid; place-items: center; margin: 0 auto 1.8rem; font-size: 2.6rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Exit-intent / discount popup ---------- */
.modal { position: fixed; inset: 0; display: grid; place-items: center; z-index: 110; padding: 1rem; opacity: 0; visibility: hidden; transition: all .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-card { background: var(--cream); border-radius: 24px; max-width: 760px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; position: relative; transform: scale(.95); transition: transform .35s; box-shadow: var(--shadow-lg); }
.modal.open .modal-card { transform: scale(1); }
.modal-card > img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; background: var(--sand); }
.modal-body { padding: 2.6rem 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.modal-body h2 { font-size: 2rem; }
.modal-body p { color: var(--ink-soft); }
.modal-body .input { margin-bottom: .8rem; }
.modal-close { position: absolute; top: 12px; right: 12px; background: #fff; z-index: 2; }
.no-thanks { background: none; border: none; color: var(--muted); font-size: .85rem; text-decoration: underline; margin-top: .8rem; }

/* ---------- Live Photo-to-Laser Engraving Studio ---------- */
.studio-box { border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); overflow: hidden; }
.studio-drop { padding: 1.15rem; cursor: pointer; transition: background .2s, border-color .2s; }
.studio-drop:hover { background: var(--oat); }
.studio-drop input { display: none; }
.studio-drop-inner { display: flex; align-items: center; gap: .9rem; }
.studio-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; }
.studio-drop-inner strong { display: block; font-size: .92rem; color: var(--ink); }
.studio-drop-inner span { font-size: .8rem; color: var(--muted); }
.studio-sample-row { margin-top: .85rem; padding-top: .75rem; border-top: 1px dashed var(--sand); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .78rem; color: var(--ink-soft); }
.sample-btn { padding: .32rem .7rem; border-radius: 999px; border: 1px solid var(--sand); background: var(--white); font-size: .76rem; font-weight: 600; color: var(--ink); transition: all .2s; }
.sample-btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.studio-editor { padding: 1rem; }
.studio-top { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; align-items: center; }
.studio-canvas-wrap {
  position: relative; width: 150px; height: 150px; border-radius: 50%; overflow: hidden; cursor: grab;
  background: radial-gradient(circle at 32% 28%, #f8f6f2 0%, #dcd7cf 58%, #b9b2a8 100%);
  border: 3px solid #fff; box-shadow: inset 0 2px 8px rgba(0,0,0,.18), 0 6px 18px -6px rgba(40,30,20,.28);
  user-select: none; touch-action: none;
}
.studio-canvas-wrap:active { cursor: grabbing; }
.studio-canvas-wrap canvas { width: 100%; height: 100%; display: block; mix-blend-mode: multiply; }
.studio-drag-hint {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); background: rgba(43,38,34,.75); color: #fff;
  font-size: .62rem; padding: .18rem .5rem; border-radius: 999px; white-space: nowrap; pointer-events: none;
}
.studio-controls { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.studio-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.s-mode {
  padding: .42rem .4rem; border-radius: 8px; border: 1px solid var(--line); background: var(--white);
  font-size: .75rem; font-weight: 600; color: var(--ink-soft); transition: all .18s; white-space: nowrap;
}
.s-mode.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ai-bg {
  padding: .48rem .75rem; border-radius: 8px; border: 1px solid var(--sage); background: var(--sage-light);
  color: var(--sage-dark); font-size: .78rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: .4rem;
  transition: all .2s;
}
.btn-ai-bg:hover { background: var(--sage); color: #fff; }
.btn-ai-bg.done { background: var(--sage-dark); color: #fff; border-color: var(--sage-dark); }
.s-slider { display: flex; flex-direction: column; gap: .15rem; font-size: .75rem; color: var(--ink-soft); font-weight: 500; }
.s-slider span { display: flex; justify-content: space-between; }
.s-slider em { font-style: normal; font-weight: 600; color: var(--ink); }
.s-slider input[type="range"] { width: 100%; accent-color: var(--terra); height: 5px; cursor: pointer; margin: 0; }
.studio-BottomBar {
  margin-top: .85rem; padding-top: .65rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between;
  align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .76rem;
}
.studio-status { color: var(--sage-dark); font-weight: 600; }
.studio-actions { display: flex; gap: .75rem; }
.s-link { background: none; border: none; padding: 0; font-size: .76rem; font-weight: 600; color: var(--terra-dark); text-decoration: underline; }

/* Live metallic pendant overlay on the main product photo */
.pendant-live-overlay {
  position: absolute; aspect-ratio: 1; pointer-events: none; opacity: 0; transition: opacity .35s ease; z-index: 3;
  display: grid; place-items: center; overflow: hidden;
}
.pendant-live-overlay.visible { opacity: 1; }
.pendant-live-overlay.shape-circle {
  border-radius: 50%;
  box-shadow: inset 0 2px 7px rgba(0,0,0,.22), 0 1px 3px rgba(255,255,255,.55);
}
.pendant-live-overlay.shape-bar {
  aspect-ratio: 3.1 / 1; border-radius: 999px;
  box-shadow: inset 0 1px 4px rgba(0,0,0,.22);
}
.pendant-live-overlay.shape-rect {
  aspect-ratio: 4 / 3.2; border-radius: 6px;
}
.pendant-live-overlay.tint-silver {
  background: radial-gradient(circle at 32% 26%, #f9f7f3 0%, #dedad2 56%, #c3bdb2 100%);
}
.pendant-live-overlay.tint-gold {
  background: radial-gradient(circle at 32% 26%, #fbf0d4 0%, #e4c687 58%, #c7a15a 100%);
}
.pendant-live-overlay.tint-sepia {
  background: radial-gradient(circle at 35% 30%, #f7f1e6 0%, #e5dac7 75%, #cbbba3 100%);
}
.pendant-live-overlay.tint-glass {
  background: radial-gradient(circle at 35% 28%, rgba(255, 253, 248, .72) 0%, rgba(246, 236, 218, .55) 68%, rgba(226, 200, 165, .48) 100%);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, .75), 0 2px 10px rgba(80, 50, 20, .18);
  backdrop-filter: blur(1.5px);
}
.pendant-live-overlay.tint-led-glow {
  background: radial-gradient(circle at 50% 80%, rgba(255, 214, 130, .28) 0%, rgba(255, 235, 190, .08) 65%, transparent 100%);
  border: 1px solid rgba(255, 235, 190, .35);
  box-shadow: 0 0 24px rgba(255, 195, 95, .25), inset 0 0 16px rgba(255, 215, 130, .2);
}
.pendant-live-overlay.tint-led-glow canvas {
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 5px rgba(255, 205, 110, .85)) brightness(1.15);
}
.pendant-live-overlay canvas { width: 92%; height: 92%; object-fit: contain; mix-blend-mode: multiply; filter: contrast(1.08); }

/* Cart item engraving badge */
.ci-img-wrap { position: relative; width: 82px; height: 82px; }
.summary .ci-img-wrap { width: 64px; height: 64px; }
.ci-engrave-badge {
  position: absolute; right: -6px; bottom: -6px; width: 34px !important; height: 34px !important;
  border-radius: 50% !important; border: 2px solid #fff; background: #ece7df !important; box-shadow: 0 3px 8px rgba(0,0,0,.25);
}

/* ---------- Mockup & Proof Actions ---------- */
.mockup-action-bar { display: flex; gap: .6rem; margin-top: .75rem; }
.btn-mockup {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .7rem .9rem; border-radius: var(--radius-sm); background: var(--white);
  border: 1.5px solid var(--line); color: var(--ink); font-size: .84rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.btn-mockup:hover { border-color: var(--ink); background: var(--oat); }
.btn-mockup-alt { background: var(--cream); color: var(--ink-soft); }
.btn-mockup-alt:hover { background: var(--sand); }

/* ---------- Floating WhatsApp & Photo Check Widget ---------- */
.floating-help {
  position: fixed; bottom: 24px; right: 24px; z-index: 85;
}
.floating-help-btn {
  display: inline-flex; align-items: center; gap: .65rem; padding: .65rem 1.1rem;
  background: var(--white); color: var(--ink); border: 1.5px solid var(--line);
  border-radius: 999px; box-shadow: 0 8px 24px -6px rgba(0,0,0,.18);
  font-size: .84rem; font-weight: 500; cursor: pointer; transition: all .25s ease;
  text-decoration: none;
}
.floating-help-btn:hover {
  transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(0,0,0,.24); border-color: var(--sage);
}
.floating-help-btn .fh-icon {
  width: 28px; height: 28px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; font-size: .95rem; flex-shrink: 0;
}
.floating-help-btn strong { color: var(--sage-dark); font-weight: 700; }

/* ---------- Currency Picker in Top Bar ---------- */
.curr-picker {
  background: transparent; border: 1px solid rgba(255,255,255,.35); color: inherit;
  border-radius: 999px; padding: .18rem .55rem; font-size: .75rem; font-weight: 600;
  cursor: pointer; outline: none; margin-left: .6rem;
}
.curr-picker option { background: var(--ink); color: #fff; }

/* ---------- Interactive Gallery Spec & Gift-Box Slides ---------- */
.thumb-spec-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; font-size: .68rem; font-weight: 700; color: var(--ink); background: var(--cream) !important;
  text-align: center; line-height: 1.15; padding: .35rem !important;
}
.thumb-spec-btn span { font-size: 1.25rem; }
.gallery-slide-card {
  position: absolute; inset: 0; background: var(--cream); z-index: 6;
  padding: clamp(1.4rem, 3.5vw, 2.4rem); display: flex; flex-direction: column; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.gallery-slide-card.active { opacity: 1; pointer-events: auto; }
.spec-sheet-box {
  background: var(--white); border: 1.5px solid var(--line); border-radius: 18px;
  padding: clamp(1.2rem, 2.5vw, 1.8rem); box-shadow: 0 10px 30px -16px rgba(0,0,0,.15);
}
.spec-grid-list {
  display: grid; gap: .85rem; margin-top: 1rem;
}
.spec-row-item {
  display: grid; grid-template-columns: 110px 1fr; gap: .75rem; font-size: .86rem;
  padding-bottom: .75rem; border-bottom: 1px dashed var(--line); align-items: baseline;
}
.spec-row-item:last-child { border-bottom: none; padding-bottom: 0; }
.spec-row-item strong { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.spec-row-item span { color: var(--ink); font-weight: 500; }

.sympathy-card-preview {
  background: #fdfbf7; border: 1px solid #dfd7c8; border-radius: 14px;
  padding: 1.6rem 1.4rem; text-align: center; box-shadow: 0 12px 32px -14px rgba(35,25,15,.22);
  max-width: 380px; margin: .8rem auto 0; width: 100%; position: relative;
}
.sympathy-card-preview::before {
  content: ""; position: absolute; inset: 7px; border: 1px solid rgba(196, 164, 112, .45);
  border-radius: 10px; pointer-events: none;
}
.sympathy-card-preview h4 { font-family: var(--serif); font-size: 1.15rem; margin: .2rem 0 .5rem; color: var(--ink); }
.sympathy-card-preview p { font-family: var(--serif); font-style: italic; font-size: .92rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* ---------- Customer Photo Reviews Grid ---------- */
.photo-rev-section { padding: 4rem 0; background: var(--cream); }
.photo-rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.photo-rev-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 20px -12px rgba(0,0,0,.15); display: flex; flex-direction: column;
}
.photo-rev-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-rev-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.photo-rev-body .stars { color: var(--terra); font-size: .95rem; margin-bottom: .4rem; }
.photo-rev-body p { font-family: var(--serif); font-size: .98rem; line-height: 1.45; color: var(--ink); flex: 1; margin: .4rem 0 1rem; }
.photo-rev-meta strong { display: block; font-size: .88rem; }
.photo-rev-meta small { color: var(--muted); font-size: .78rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fc-1 { left: 10px; }
  .fc-2 { right: 10px; }
}
@media (max-width: 860px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .header:has(.nav.open) { z-index: 96; }
  .nav { position: fixed; top: 0; left: 0; height: 100%; width: 80%; max-width: 320px; background: var(--cream); flex-direction: column; padding: 6rem 2rem 2rem; gap: 1.6rem; font-size: 1.2rem; transform: translateX(-100%); transition: transform .4s ease; z-index: 95; }
  .nav.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .menu-toggle { display: grid; }
  .hero-grid, .split, .pdp, .checkout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding-top: 1.5rem; }
  .hero-visual { order: -1; }
  .hero-img { aspect-ratio: 1/1; border-radius: 160px 160px var(--radius) var(--radius); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { justify-content: flex-start; }
  .steps, .rev-grid, .photo-rev-grid { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 70px; }
  .sticky-atc { display: flex; }
  .summary { position: static; order: -1; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-card > img { min-height: 180px; max-height: 200px; }
  .announce .hide-sm { display: none; }
  .floating-help { bottom: 80px; right: 16px; }
}
@media (max-width: 600px) {
  .logo { font-size: 1.25rem; white-space: nowrap; }
  .logo svg { width: 24px; height: 24px; }
  .header-inner { gap: .5rem; }
  .p-badge { font-size: .6rem; padding: .3rem .5rem; top: 10px; left: 10px; max-width: calc(100% - 70px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .p-sale { font-size: .62rem; top: 10px; right: 10px; padding: .3rem .45rem; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .p-quick { display: none; }
  .p-name { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { gap: 1.5rem; }
  .row-2, .express, .studio-top { grid-template-columns: 1fr; justify-items: center; }
  .studio-controls { width: 100%; }
  .float-card { display: none; }
  .hero-ctas .btn { flex: 1; }
  .mockup-action-bar { flex-direction: column; }
  .floating-help-btn .fh-text { display: none; }
  .floating-help-btn { padding: .6rem; border-radius: 50%; }
}
