/* ============================================================
   ENGRAVING BY SILVA — engraving.css
   Standalone identity for the engraving brand that lives inside
   the EBS Brevard site. Monochrome, lots of air, strong type.
   Does NOT load shop.css on purpose.
   ------------------------------------------------------------
   1. Tokens / base     5. Designs gallery     9. Order page
   2. Buttons / forms   6. Pricing            10. Admin
   3. Header / footer   7. Order flow         11. Utilities / motion
   4. Hero / card       8. FAQ / share
   ============================================================ */

/* ============ 1. TOKENS / BASE ============ */
:root{
  /* DARK THEME. Roles:
     --paper page bg · --surface cards/inputs · --gray-1 subtle bg · --gray-2/--line borders · --line-2 stronger borders
     --ink primary text (also the "accent" fill for buttons/dots) · --gray-7 muted text · --gray-5 hints
     --gray-3 light text on black · --white pure white */
  --black:   #0A0A0B;
  --paper:   #0A0A0B;
  --surface: #141416;
  --gray-1:  #18181B;
  --gray-2:  #26262B;
  --line:    #26262B;
  --line-2:  #3A3A41;
  --ink:     #F2F2F4;
  --ink-2:   #E2E2E6;
  --gray-7:  #B4B4BC;
  --gray-5:  #86868F;
  --gray-3:  #C9C9CE;
  --white:   #FFFFFF;
  --ok:      #1F8A4C;
  --ok-soft: #E4F5EA;
  --warn:    #B45309;
  --warn-soft:#FDF3E3;
  --err:     #C62828;
  --err-soft:#FDEBEB;

  --font-head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, Consolas, monospace;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(10,10,11,.06);
  --shadow:    0 14px 40px rgba(10,10,11,.10);
  --shadow-lg: 0 40px 90px rgba(10,10,11,.28);
  --shell: 1120px;
  --pad: clamp(18px, 4.5vw, 40px);
  --header-h: 66px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 12px); -webkit-text-size-adjust:100%; }
body{
  margin:0; color:var(--ink);
  /* STAGE: below the hero the concrete wall (assets/images/stage-wall.jpg, edges faded) repeats
     down the page like descending lit levels. Sections are translucent so it shows through. */
  background:var(--paper) url(/shop/engraving/assets/images/stage-wall.jpg) center var(--hero-h, 0px) / 100% auto repeat-y;   /* --hero-h is set by eng-common.js so the first wall level starts exactly under the hero floor */
  font-family:var(--font-body); font-size:17px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img,svg,video{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3,h4{ font-family:var(--font-head); line-height:1.08; letter-spacing:-.02em; margin:0 0 .5em; font-weight:700; }
h1{ font-size:clamp(2.4rem, 7vw, 4.6rem); letter-spacing:-.035em; }
h2{ font-size:clamp(1.8rem, 4.2vw, 2.7rem); }
h3{ font-size:1.25rem; letter-spacing:-.01em; }
p{ margin:0 0 1em; }
.wrap{ width:min(100% - var(--pad)*2, var(--shell)); margin-inline:auto; }
.wrap.narrow{ max-width:760px; }
.section{ padding:clamp(56px, 9vw, 110px) 0; }
.section.tight{ padding:clamp(36px, 6vw, 70px) 0; }
.section.dark{ background:rgba(15,15,18,.72); color:var(--white); border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06); }
.section.dark .muted{ color:var(--gray-3); }
.center{ text-align:center; }
.kicker{
  display:inline-block; font-family:var(--font-mono); font-size:.72rem; letter-spacing:.18em;
  text-transform:uppercase; color:var(--gray-5); margin:0 0 14px;
}
.section.dark .kicker{ color:var(--gray-3); }
.muted{ color:var(--gray-7); }
.lead{ font-size:1.15rem; color:var(--gray-7); max-width:62ch; }
.center .lead{ margin-inline:auto; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.mono{ font-family:var(--font-mono); }
hr.rule{ border:0; border-top:1px solid var(--gray-2); margin:0; }

/* ============ 2. BUTTONS / FORMS ============ */
.btn{
  --bg:var(--ink); --fg:var(--paper); --bd:var(--ink);
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:52px; padding:0 24px; border-radius:999px; border:1.5px solid var(--bd);
  background:var(--bg); color:var(--fg); font:600 1rem/1 var(--font-body);
  text-decoration:none; cursor:pointer; white-space:nowrap;
  transition:transform .15s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover{ transform:translateY(-1px); box-shadow:var(--shadow-sm); }
.btn:active{ transform:translateY(0); }
.btn:disabled,.btn[aria-disabled="true"]{ opacity:.45; cursor:not-allowed; transform:none; box-shadow:none; }
.btn[hidden]{ display:none !important; }
.btn-ghost{ --bg:transparent; --fg:var(--ink); --bd:var(--line-2); }
.btn-ghost:hover{ --bd:var(--ink); }
.btn-white{ --bg:#FFFFFF; --fg:#0A0A0B; --bd:#FFFFFF; }
.btn-outline-white{ --bg:transparent; --fg:var(--white); --bd:rgba(255,255,255,.45); }
.btn-outline-white:hover{ --bd:var(--white); }
.btn-sm{ min-height:42px; padding:0 18px; font-size:.92rem; }
.btn-lg{ min-height:60px; padding:0 32px; font-size:1.08rem; }
.btn-block{ width:100%; }
.btn svg{ width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.btn.loading{ pointer-events:none; opacity:.75; }
.btn.loading::after{
  content:""; width:16px; height:16px; border-radius:50%;
  border:2px solid currentColor; border-right-color:transparent; animation:spin .7s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

.field{ display:block; margin-bottom:18px; }
.field > span{ display:block; font-size:.86rem; font-weight:600; color:var(--ink-2); margin-bottom:7px; }
.field .hint{ display:block; font-size:.82rem; color:var(--gray-5); margin-top:6px; }
.field.req > span::after{ content:" *"; color:var(--err); }
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=url],select,textarea{
  width:100%; font:inherit; font-size:1rem; color:var(--ink); background:var(--surface);
  border:1.5px solid var(--line-2); border-radius:var(--r-sm); padding:13px 14px;
  transition:border-color .15s, box-shadow .15s; -webkit-appearance:none; appearance:none;
}
select{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E4E4E7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:40px; }
textarea{ min-height:120px; resize:vertical; }
input:focus,select:focus,textarea:focus{ outline:none; border-color:var(--ink); box-shadow:0 0 0 3px rgba(10,10,11,.10); }
input[aria-invalid="true"],textarea[aria-invalid="true"],select[aria-invalid="true"]{ border-color:var(--err); }
.field .err{ display:none; font-size:.82rem; color:var(--err); margin-top:6px; }
.field.has-err .err{ display:block; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
.grid-3{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:0 16px; }
@media (max-width:560px){ .grid-2,.grid-3{ grid-template-columns:1fr; } }

.check{
  display:flex; gap:14px; align-items:flex-start; padding:16px; border:1.5px solid var(--gray-2);
  border-radius:var(--r-sm); background:var(--surface); cursor:pointer; margin-bottom:10px; transition:border-color .15s;
}
.check:hover{ border-color:var(--line-2); }
.check input{ flex:0 0 auto; width:22px; height:22px; margin:2px 0 0; accent-color:var(--ink); cursor:pointer; }
.check span{ font-size:.97rem; line-height:1.5; }
.check.has-err{ border-color:var(--err); background:rgba(198,40,40,.14); }

.file-drop{
  display:block; position:relative; border:1.5px dashed var(--line-2); border-radius:var(--r); background:var(--surface);
  padding:26px 18px; text-align:center; transition:border-color .15s, background .15s; cursor:pointer;
}
.file-drop:hover,.file-drop.drag{ border-color:var(--ink); background:var(--gray-1); }
.file-drop input{ position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; }
.file-drop .icon{ width:34px; height:34px; margin:0 auto 10px; stroke:var(--ink); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.file-drop strong{ display:block; font-size:.98rem; }
.file-drop small{ color:var(--gray-5); }
.file-drop.has-file{ border-style:solid; border-color:var(--ok); background:rgba(31,138,76,.14); }
.file-drop .file-name{ display:none; font-family:var(--font-mono); font-size:.85rem; margin-top:8px; word-break:break-all; }
.file-drop.has-file .file-name{ display:block; }
.file-preview{ display:none; margin:12px auto 0; max-height:160px; border-radius:var(--r-sm); border:1px solid var(--gray-2); }
.file-preview.show{ display:block; }

.notice{ border-radius:var(--r-sm); padding:14px 16px; font-size:.95rem; margin:0 0 18px; border:1px solid transparent; }
.notice.info{ background:var(--gray-1); border-color:var(--gray-2); }
.notice.ok{ background:rgba(31,138,76,.16); border-color:rgba(31,138,76,.45); color:#A7E3BE; }
.notice.warn{ background:rgba(180,83,9,.16); border-color:rgba(180,83,9,.5); color:#F5C98A; }
.notice.err{ background:rgba(198,40,40,.16); border-color:rgba(198,40,40,.5); color:#F3A6A6; }
.notice p:last-child{ margin:0; }

/* ============ 3. HEADER / FOOTER ============ */
.eng-header{
  position:sticky; top:0; z-index:50; height:var(--header-h);
  background:rgba(10,10,11,.72); backdrop-filter:saturate(160%) blur(14px); -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.eng-header.on-dark{ background:rgba(10,10,11,.7); color:var(--white); border-bottom-color:rgba(255,255,255,.08); }
.header-row{ height:100%; display:flex; align-items:center; gap:18px; }
.brand{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; font-family:var(--font-head); font-weight:700; letter-spacing:-.02em; font-size:1.05rem; white-space:nowrap; }
.brand .mark{ width:32px; height:32px; border-radius:9px; background:var(--ink); color:var(--paper); display:grid; place-items:center; font-family:var(--font-head); font-size:.85rem; font-weight:700; letter-spacing:0; }
.on-dark .brand .mark{ background:var(--white); color:var(--ink); }
.brand em{ font-style:normal; color:var(--gray-5); font-weight:500; }
.head-nav{ display:flex; gap:26px; margin-left:auto; align-items:center; }
.head-nav a{ text-decoration:none; font-size:.93rem; font-weight:500; color:var(--gray-7); }
.on-dark .head-nav a{ color:var(--gray-3); }
.head-nav a:hover{ color:var(--ink); }
.on-dark .head-nav a:hover{ color:var(--white); }
.head-cta{ margin-left:auto; }
.head-nav + .head-cta{ margin-left:0; }
.menu-btn{ display:none; margin-left:auto; background:none; border:0; padding:8px; cursor:pointer; color:inherit; }
.menu-btn svg{ width:26px; height:26px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; }
/* categories dropdown */
.cat-menu{ position:relative; }
.cat-menu > button{ background:none; border:0; font:inherit; font-size:.93rem; font-weight:500; color:var(--gray-7); cursor:pointer; display:inline-flex; align-items:center; gap:6px; padding:0; }
.on-dark .cat-menu > button{ color:var(--gray-3); }
.cat-menu > button svg{ width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2.4; }
.cat-menu ul{ position:absolute; top:calc(100% + 14px); left:-12px; min-width:260px; margin:0; padding:8px; list-style:none; background:var(--surface); color:var(--ink); border:1px solid var(--gray-2); border-radius:var(--r); box-shadow:var(--shadow); display:none; }
.cat-menu.open ul{ display:block; }
.cat-menu li a{ display:flex; justify-content:space-between; align-items:center; gap:10px; padding:10px 12px; border-radius:10px; text-decoration:none; font-size:.93rem; }
.cat-menu li a:hover{ background:var(--gray-1); }
.cat-menu li a.soon{ color:var(--gray-5); pointer-events:none; }
.tag{ font-family:var(--font-mono); font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; padding:3px 8px; border-radius:999px; background:var(--gray-1); color:var(--gray-7); border:1px solid var(--gray-2); }
.tag.live{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
@media (max-width:820px){
  .head-nav{ display:none; position:absolute; top:var(--header-h); left:0; right:0; flex-direction:column; align-items:stretch; gap:0; background:var(--surface); color:var(--ink); border-bottom:1px solid var(--gray-2); padding:8px 0 12px; box-shadow:var(--shadow); }
  .head-nav.open{ display:flex; }
  .head-nav a, .cat-menu > button{ padding:12px var(--pad); font-size:1rem; color:var(--ink) !important; }
  .cat-menu ul{ position:static; box-shadow:none; border:0; padding:0 var(--pad) 6px; display:block; }
  .cat-menu > button{ display:none; }
  .menu-btn{ display:block; }
  .head-cta{ margin-left:auto; }
  .head-cta .btn{ min-height:40px; padding:0 14px; font-size:.86rem; }
}

.eng-footer{ background:rgba(6,6,7,.88); color:var(--gray-3); padding:56px 0 36px; font-size:.9rem; border-top:1px solid rgba(255,255,255,.06); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:34px; margin-bottom:34px; }
.eng-footer h4{ color:var(--white); font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; font-family:var(--font-mono); font-weight:600; margin-bottom:14px; }
.eng-footer a{ color:var(--gray-3); text-decoration:none; }
.eng-footer a:hover{ color:var(--white); }
.eng-footer ul{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.eng-footer .disclaimer{ border-top:1px solid rgba(255,255,255,.1); padding-top:22px; font-size:.8rem; color:var(--gray-5); line-height:1.6; }
.eng-footer .disclaimer a{ color:var(--gray-3); text-decoration:underline; }
@media (max-width:720px){ .footer-grid{ grid-template-columns:1fr; gap:26px; } }

/* ============ 4. HERO / KEY CARD ============ */
.hero{ background:#0A0A0B url(/shop/engraving/assets/images/hero-backdrop.jpg) center bottom / cover no-repeat;   /* bottom-anchored so the floor lines always meet the wall seams below */ color:var(--white); overflow:hidden; position:relative; }
/* SEAM BLUR: the hero's floor softens toward its bottom edge, and the section under it
   (.after-hero) blurs the wall's top edge, so the two backgrounds dissolve into each other. */
.hero::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:150px; background:linear-gradient(to bottom, rgba(10,10,11,0), rgba(10,10,11,.35));
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,0), #000 75%); mask-image:linear-gradient(to bottom, rgba(0,0,0,0), #000 75%); pointer-events:none; }
.order-hero::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:120px; backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,0), #000 75%); mask-image:linear-gradient(to bottom, rgba(0,0,0,0), #000 75%); pointer-events:none; }
.order-hero > .wrap{ position:relative; z-index:1; }
.after-hero{ position:relative; }
.after-hero::before{ content:""; position:absolute; left:0; right:0; top:0; height:150px; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  -webkit-mask-image:linear-gradient(to bottom, #000 20%, rgba(0,0,0,0)); mask-image:linear-gradient(to bottom, #000 20%, rgba(0,0,0,0)); pointer-events:none; }
.after-hero > .wrap{ position:relative; z-index:1; }
.hero > .wrap{ position:relative; z-index:1; }
.hero .wrap{ display:grid; grid-template-columns:1.05fr 1fr; align-items:center; gap:40px; padding:clamp(56px,8vw,110px) 0 clamp(28px,4vw,48px); }
.hero .kicker{ color:var(--gray-3); }
.hero h1{ margin-bottom:22px; }
.hero .lead{ color:var(--gray-3); font-size:1.15rem; margin-bottom:30px; }
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:26px; }
.hero-proof{ display:flex; flex-wrap:wrap; gap:8px 22px; color:var(--gray-3); font-size:.88rem; }
.hero-proof span{ display:inline-flex; align-items:center; gap:8px; }
.hero-proof svg{ width:16px; height:16px; stroke:var(--white); fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.hero-visual{ position:relative; min-height:320px; display:grid; place-items:center; perspective:1400px; }
.hero-visual::before{ content:""; position:absolute; inset:10% 5%; background:radial-gradient(closest-side, rgba(255,255,255,.14), transparent 70%); filter:blur(24px); pointer-events:none; }
.hero-card{ width:min(100%, 520px); transform:rotateX(14deg) rotateY(-16deg) rotate(4deg); transition:transform .6s cubic-bezier(.2,.8,.2,1); filter:drop-shadow(0 50px 60px rgba(0,0,0,.6)); }
.hero-visual:hover .hero-card{ transform:rotateX(6deg) rotateY(-8deg) rotate(2deg); }
.hero-card svg{ width:100%; height:auto; }
.hero-3d{ position:relative; width:100%; aspect-ratio:4/3; max-height:460px; display:grid; place-items:center; }
.hero-3d .hero-card{ width:min(88%, 500px); }
.hero-3d.is-3d .hero-card{ display:none; }
.hero-3d .card3d-canvas{ position:absolute; inset:0; width:100% !important; height:100% !important; display:block; }
/* BACKDROP: generated concrete stage with corner spotlights (assets/images/hero-backdrop.jpg).
   To use your own photo, replace the two JPGs (1800x1100 desktop, 900x982 mobile) and keep the names. */
@media (max-width:860px){ .hero{ background-image:url(/shop/engraving/assets/images/hero-backdrop-m.jpg); background-position:center bottom; } body{ background-size:200% auto; } }
.hero.hero-min .hero-hint{ color:var(--gray-3); opacity:.75; }
.hero-hint-link{ text-decoration:none; border-bottom:1px solid rgba(255,255,255,.35); padding-bottom:2px; transition:opacity .15s; }
.hero.hero-min .hero-hint-link:hover{ opacity:1; border-bottom-color:var(--white); }
.hero.hero-min .btn-white{ box-shadow:0 18px 50px rgba(0,0,0,.55); }
.hero.hero-min .wrap{ display:flex; flex-direction:column; align-items:center; gap:22px; padding:clamp(36px,5vw,64px) 0 clamp(48px,7vw,88px); }
.hero-min .hero-3d{ width:min(100%, 760px); aspect-ratio:16/10; max-height:540px; }
.hero-min .hero-3d.showcase{ width:100%; aspect-ratio:21/9; max-height:520px; }
.hero-3d .hero-fallback{ width:min(70%, 560px); border-radius:4%/6.5%; box-shadow:0 30px 60px rgba(0,0,0,.6); filter:invert(1) brightness(.86); }
.hero-3d.is-3d .hero-fallback{ display:none; }
.hero-product h1{ text-align:center; max-width:14ch; margin:0; font-size:clamp(2.2rem, 6vw, 4rem); }
.hero-product .lead{ text-align:center; margin:0; max-width:62ch; }
.hero-product .lead b{ color:var(--white); font-weight:700; }
.hero-product h1 + .btn{ margin-top:4px; }
/* solid silver words in the headline */
.silver{ color:#C0C0C8; text-shadow:0 2px 0 rgba(0,0,0,.35); }
.hero-min .hero-3d.product{ width:min(100%, 640px); aspect-ratio:3/2; max-height:400px; margin-bottom:-34px; }
.hero-product .hero-proof{ justify-content:center; }
/* small → larger, building up to the CTA */
.hero-crescendo{ display:grid; justify-items:center; gap:4px; text-align:center; margin-top:0; }
.hero-crescendo .c1{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gray-5); }
.hero-crescendo .c2{ font-family:var(--font-head); font-size:clamp(1.15rem, 2.4vw, 1.5rem); font-weight:700; letter-spacing:-.01em; color:var(--white); }
.hero-crescendo .c3{ font-family:var(--font-head); font-size:clamp(1.7rem, 4vw, 2.5rem); font-weight:700; letter-spacing:-.02em; color:var(--white); line-height:1.05; }
.hero-crescendo + .btn{ margin-top:4px; }
@media (max-width:640px){ .hero-min .hero-3d.product{ aspect-ratio:4/3; max-height:300px; } }
.hero-brand{ margin:0 0 -6px; font-family:var(--font-head); font-weight:700; letter-spacing:-.01em; font-size:1rem; color:var(--gray-3); text-align:center; }
.hero-brand em{ font-style:normal; font-weight:500; color:var(--gray-5); }
.hero-brand.stacked{ display:grid; gap:4px; margin-bottom:2px; }
.hero-brand-sub{ font-family:var(--font-mono); font-weight:500; font-size:.68rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gray-5); }
.hero.hero-min .wrap{ padding-top:clamp(28px,4vw,48px); }
.hero-title{ font-family:'Cormorant Garamond', Georgia, 'Times New Roman', serif; font-weight:500; font-size:clamp(1.9rem, 4.6vw, 3.3rem); letter-spacing:.01em; color:var(--white); margin:0; text-align:center; text-shadow:0 8px 30px rgba(0,0,0,.6); }
.hero-caption{ margin:-6px 0 0; text-align:center; color:var(--gray-3); font-size:.95rem; line-height:1.4; }
.hero-caption b{ display:block; color:var(--white); font-family:var(--font-head); font-size:1.15rem; letter-spacing:-.01em; }
/* arrows + dots under the showcase */
.show-nav{ display:flex; align-items:center; justify-content:center; gap:14px; margin:-10px 0 -4px; }
.nav-arrow{ width:40px; height:40px; border-radius:50%; border:1.5px solid rgba(255,255,255,.5); background:rgba(255,255,255,.06); color:var(--white); cursor:pointer; display:grid; place-items:center; padding:0; transition:background .15s, border-color .15s, transform .15s; }
.nav-arrow:hover{ background:rgba(255,255,255,.16); border-color:var(--white); transform:translateY(-1px); }
.nav-arrow svg{ width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.dots{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; max-width:280px; }
.dots button{ width:8px; height:8px; border-radius:50%; border:0; padding:0; background:rgba(255,255,255,.32); cursor:pointer; transition:transform .2s, background .2s; }
.dots button:hover{ background:rgba(255,255,255,.7); }
.dots button.on{ background:var(--white); transform:scale(1.5); }
.hero-controls{ display:flex; gap:12px; flex-wrap:wrap; justify-content:center; align-items:center; }
.hero-controls .btn-outline-white{ --bd:rgba(255,255,255,.55); }
.btn-outline-white:hover{ --bg:rgba(255,255,255,.08); }
.hint-narrow{ display:none; }
@media (max-width:640px){ .hint-wide{ display:none; } .hint-narrow{ display:inline; } .hero-min .hero-3d.showcase{ aspect-ratio:4/3; max-height:330px; } }
.hero-hint{ font-family:var(--font-mono); font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gray-5); }
.as-h2{ font-size:clamp(1.8rem, 4.2vw, 2.7rem); letter-spacing:-.02em; }
@media (max-width:860px){ .hero-min .hero-3d{ aspect-ratio:5/4; max-height:380px; } .hero-min .hero-3d.showcase{ aspect-ratio:4/3; max-height:360px; } .hero.hero-min .wrap{ gap:16px; } .hero-controls{ flex-direction:column; } .hero-controls .btn{ width:min(100%, 320px); } }
.hero-bottom{ text-align:center; padding:0 var(--pad) clamp(44px,6vw,72px); }
.hero-bottom p{ margin:12px 0 0; font-size:.88rem; color:var(--gray-5); }
.hero-note{ position:absolute; bottom:-6px; right:0; font-family:var(--font-mono); font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gray-5); }
@media (max-width:860px){
  .hero .wrap{ grid-template-columns:1fr; gap:26px; padding-top:44px; }
  .hero-visual{ order:-1; min-height:0; }
  .hero-card{ width:min(100%, 380px); transform:rotateX(8deg) rotateY(-8deg) rotate(2deg); }
  .hero-3d{ aspect-ratio:5/4; max-height:340px; }
  .hero-note{ display:none; }
}

/* trust strip */
.strip{ background:rgba(20,20,22,.78); backdrop-filter:blur(4px); border-bottom:1px solid var(--gray-2); }
.strip .wrap{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; padding:22px 0; }
.strip div{ display:flex; gap:12px; align-items:center; font-size:.9rem; color:var(--gray-7); }
.strip strong{ display:block; color:var(--ink); font-size:.95rem; }
.strip svg{ flex:0 0 auto; width:26px; height:26px; stroke:var(--ink); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
@media (max-width:820px){ .strip .wrap{ grid-template-columns:1fr 1fr; } }
@media (max-width:460px){ .strip .wrap{ grid-template-columns:1fr; gap:12px; } }

/* how it works */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; counter-reset:step; }
.step{ background:var(--surface); border:1px solid var(--gray-2); border-radius:var(--r-lg); padding:26px 24px 24px; position:relative; }
.step::before{ counter-increment:step; content:"0" counter(step); font-family:var(--font-mono); font-size:.72rem; letter-spacing:.16em; color:var(--gray-5); display:block; margin-bottom:18px; }
.step h3{ font-size:1.12rem; margin-bottom:8px; }
.step p{ margin:0; color:var(--gray-7); font-size:.95rem; }
@media (max-width:900px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .steps{ grid-template-columns:1fr; } }

/* process (how it works) */
.process{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.pstep{ background:rgba(20,20,22,.92); border:1px solid var(--line); border-radius:var(--r-lg); padding:26px 24px 24px; display:flex; flex-direction:column; gap:6px; }
.pstep-icon{ width:52px; height:52px; border-radius:16px; background:var(--ink); color:var(--paper); display:grid; place-items:center; margin-bottom:12px; }
.pstep-icon svg{ width:26px; height:26px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.pstep-n{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gray-5); }
.pstep h3{ font-size:1.15rem; margin:0; }
.pstep p{ margin:0; color:var(--gray-7); font-size:.95rem; }
.turnaround{ display:inline-block; margin-top:10px; font-family:var(--font-mono); font-size:.72rem; letter-spacing:.06em; color:var(--ink); background:var(--gray-1); border:1px solid var(--line-2); border-radius:999px; padding:6px 12px; }
.trust-line{ text-align:center; font-family:'Cormorant Garamond', Georgia, serif; font-weight:500; font-size:clamp(1.6rem, 3.6vw, 2.5rem); letter-spacing:.01em; color:var(--white); margin:clamp(36px,5vw,56px) 0; }
.assure{ background:rgba(15,15,18,.9); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(24px,4vw,40px); display:grid; grid-template-columns:1fr 1.4fr; gap:28px 40px; align-items:start; }
.assure-head h3{ font-size:clamp(1.3rem,2.6vw,1.7rem); margin:0; }
.assure-list{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.assure-list li{ display:grid; grid-template-columns:40px 1fr; gap:14px; align-items:start; font-size:.95rem; color:var(--gray-7); line-height:1.55; }
.assure-list b{ color:var(--ink); display:block; }
.assure-icon{ width:40px; height:40px; border-radius:12px; border:1px solid var(--line-2); display:grid; place-items:center; color:var(--ink); }
.assure-icon svg{ width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.assure .btn{ grid-column:2; justify-self:start; }
@media (max-width:900px){ .process{ grid-template-columns:1fr 1fr; } .assure{ grid-template-columns:1fr; } .assure .btn{ grid-column:1; } }
@media (max-width:520px){ .process{ grid-template-columns:1fr; } }

/* ============ 5. DESIGNS GALLERY ============ */
.designs{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.design{ background:var(--surface); border:1.5px solid var(--gray-2); border-radius:var(--r-lg); padding:14px 14px 18px; text-align:left; cursor:pointer; transition:border-color .15s, transform .15s, box-shadow .15s; font:inherit; color:inherit; }
.design:hover{ border-color:var(--line-2); transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.design.selected{ border-color:var(--ink); box-shadow:0 0 0 3px rgba(10,10,11,.10); }
.design .thumb{ border-radius:12px; overflow:hidden; background:var(--black); margin-bottom:14px; }
.design .thumb svg{ width:100%; height:auto; display:block; }
.design .meta{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; padding:0 4px; }
.design .meta strong{ font-family:var(--font-head); font-size:1.05rem; letter-spacing:-.01em; }
.design .meta code{ font-family:var(--font-mono); font-size:.72rem; color:var(--gray-5); letter-spacing:.08em; }
.design .blurb{ margin:6px 4px 0; font-size:.88rem; color:var(--gray-7); }
.design .pick{ display:inline-flex; align-items:center; gap:6px; margin:12px 4px 0; font-size:.86rem; font-weight:600; }
.design .pick svg{ width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.design.selected .pick::before{ content:"Selected"; }
.design:not(.selected) .pick::before{ content:"Select this design"; }
@media (max-width:860px){ .designs{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .designs{ grid-template-columns:1fr; } }
.designs.compact{ grid-template-columns:repeat(3,1fr); gap:12px; }
.designs.compact .design{ padding:10px 10px 12px; border-radius:var(--r); }
.designs.compact .design .thumb{ margin-bottom:10px; }
.designs.compact .blurb{ display:none; }
.designs.compact .pick{ margin-top:8px; font-size:.8rem; }
@media (max-width:640px){ .designs.compact{ grid-template-columns:1fr 1fr; } }
@media (max-width:400px){ .designs.compact{ grid-template-columns:1fr; } }

/* ============ 6. PRICING ============ */
.prices{ display:grid; grid-template-columns:1fr 1fr; gap:18px; max-width:820px; margin:0 auto 18px; }
.price{ background:var(--surface); border:1.5px solid var(--gray-2); border-radius:var(--r-lg); padding:30px 28px 26px; position:relative; display:flex; flex-direction:column; }
.price.featured{ border-color:var(--ink); }
.price .badge{ position:absolute; top:-12px; left:24px; background:var(--ink); color:var(--paper); font-family:var(--font-mono); font-size:.64rem; letter-spacing:.16em; text-transform:uppercase; padding:5px 10px; border-radius:999px; }
.price h3{ font-size:1.3rem; margin-bottom:4px; }
.price .amt{ font-family:var(--font-head); font-size:3rem; font-weight:700; letter-spacing:-.04em; line-height:1; margin:10px 0 6px; }
.price .amt small{ font-size:1rem; font-weight:500; color:var(--gray-5); letter-spacing:0; margin-left:4px; }
.price .who{ color:var(--gray-7); font-size:.95rem; margin-bottom:16px; }
.price ul{ list-style:none; margin:0 0 22px; padding:0; display:grid; gap:9px; font-size:.95rem; }
.price li{ display:flex; gap:10px; align-items:flex-start; }
.price li::before{ content:""; flex:0 0 18px; height:18px; margin-top:3px; border-radius:50%; background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 8'/%3E%3C/svg%3E") center/11px no-repeat; }
.price .btn{ margin-top:auto; }
.price .total{ text-align:center; margin-top:14px; font-size:.86rem; color:var(--gray-7); }
.price .total b{ color:var(--ink); }
.ship-line{ max-width:820px; margin:0 auto; background:var(--surface); border:1px dashed var(--line-2); border-radius:var(--r); padding:16px 20px; display:flex; justify-content:space-between; gap:14px; align-items:center; font-size:.95rem; }
.ship-line strong{ font-family:var(--font-head); font-size:1.2rem; }
@media (max-width:620px){ .prices{ grid-template-columns:1fr; } .ship-line{ flex-direction:column; align-items:flex-start; } }

/* ============ 7. ORDER FLOW ============ */
.flow{ background:var(--surface); border:1px solid var(--gray-2); border-radius:var(--r-lg); box-shadow:var(--shadow-sm); max-width:760px; margin:0 auto; overflow:hidden; }
.flow-head{ padding:22px 26px 0; }
.progress{ display:flex; gap:6px; margin:16px 0 0; }
.progress i{ flex:1; height:4px; border-radius:99px; background:var(--gray-2); }
.progress i.done{ background:var(--ink); }
.progress i.now{ background:var(--ink); opacity:.6; }
.step-label{ display:flex; justify-content:space-between; align-items:baseline; font-size:.82rem; color:var(--gray-5); font-family:var(--font-mono); letter-spacing:.06em; }
.flow-body{ padding:26px; }
.fstep{ display:none; }
.fstep.active{ display:block; animation:fade .25s ease; }
@keyframes fade{ from{ opacity:0; transform:translateY(6px);} to{ opacity:1; transform:none;} }
.fstep h2{ font-size:1.6rem; margin-bottom:6px; }
.fstep > .lead{ font-size:1rem; margin-bottom:22px; }
.flow-foot{ padding:18px 26px 22px; border-top:1px solid var(--gray-2); display:flex; align-items:center; gap:12px; background:var(--gray-1); position:sticky; bottom:0; }
.flow-foot .tot{ margin-right:auto; line-height:1.2; }
.flow-foot .tot small{ display:block; font-size:.76rem; color:var(--gray-5); font-family:var(--font-mono); letter-spacing:.06em; text-transform:uppercase; }
.flow-foot .tot b{ font-family:var(--font-head); font-size:1.4rem; letter-spacing:-.02em; }
.flow-foot #btn-next{ white-space:normal; text-align:center; line-height:1.2; padding-block:10px; }
.flow-error{ margin:0 26px 16px; }
@media (max-width:560px){ .flow-body,.flow-head{ padding-inline:18px; } .flow-foot{ padding-inline:18px; } .flow-foot .btn{ padding-inline:18px; } }

/* option tiles (package / design type) */
.opts{ display:grid; gap:12px; margin-bottom:6px; }
.opts.two{ grid-template-columns:1fr 1fr; }
.opt{ position:relative; display:block; border:1.5px solid var(--gray-2); border-radius:var(--r); padding:18px 18px 16px; cursor:pointer; background:var(--surface); transition:border-color .15s, box-shadow .15s; }
.opt:hover{ border-color:var(--line-2); }
.opt input{ position:absolute; opacity:0; inset:0; width:100%; height:100%; margin:0; cursor:pointer; }
.opt.on{ border-color:var(--ink); box-shadow:0 0 0 3px rgba(10,10,11,.10); }
.opt .t{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; font-family:var(--font-head); font-weight:700; font-size:1.1rem; letter-spacing:-.01em; padding-right:26px; }
.opt .t b{ font-size:1.25rem; }
.opt .d{ font-size:.9rem; color:var(--gray-7); margin-top:4px; }
.opt .ico{ width:26px; height:26px; stroke:var(--ink); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; margin-bottom:10px; }
.opt::after{ content:""; position:absolute; top:16px; right:14px; width:20px; height:20px; border-radius:50%; border:1.5px solid var(--line-2); background:var(--surface); }
.opt.on::after{ border-color:var(--ink); background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 8'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width:520px){ .opts.two{ grid-template-columns:1fr; } }
.totals{ margin-top:18px; border:1px solid var(--gray-2); border-radius:var(--r); overflow:hidden; }
.totals div{ display:flex; justify-content:space-between; gap:12px; padding:12px 16px; font-size:.95rem; border-top:1px solid var(--gray-2); }
.totals div:first-child{ border-top:0; }
.totals div.sum{ background:var(--gray-1); font-weight:700; font-family:var(--font-head); font-size:1.1rem; }
.totals .muted{ font-size:.85rem; }

.sub-panel{ display:none; margin-top:18px; padding-top:18px; border-top:1px solid var(--gray-2); }
.sub-panel.active{ display:block; }
.preview-card{ background:var(--black); border-radius:var(--r); padding:22px; margin:0 0 18px; }
.preview-card svg{ width:min(100%, 380px); height:auto; margin:0 auto; }
.preview-card .cap{ text-align:center; color:var(--gray-5); font-family:var(--font-mono); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; margin:12px 0 0; }
.simplify-note{ font-size:.86rem; color:var(--gray-7); background:var(--gray-1); border-radius:var(--r-sm); padding:12px 14px; }
.addr-preview{ background:var(--gray-1); border-radius:var(--r-sm); padding:14px 16px; font-size:.97rem; line-height:1.55; margin:6px 0 16px; white-space:pre-line; }
.addr-preview.empty{ color:var(--gray-5); font-style:italic; }
.disclaimer-box{ font-size:.86rem; color:var(--gray-7); border:1px solid var(--gray-2); border-radius:var(--r-sm); padding:14px 16px; margin-top:16px; }

/* review */
.review{ display:grid; gap:14px; }
.rv{ border:1px solid var(--gray-2); border-radius:var(--r); padding:16px 18px; }
.rv .rv-h{ display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.rv .rv-h h3{ margin:0; font-size:.78rem; font-family:var(--font-mono); letter-spacing:.14em; text-transform:uppercase; color:var(--gray-5); font-weight:600; }
.rv .edit{ background:none; border:0; font:600 .85rem var(--font-body); color:var(--ink); text-decoration:underline; cursor:pointer; padding:0; }
.rv dl{ margin:0; display:grid; grid-template-columns:auto 1fr; gap:6px 16px; font-size:.95rem; }
.rv dt{ color:var(--gray-5); }
.rv dd{ margin:0; word-break:break-word; white-space:pre-line; }
.rv .lines div{ display:flex; justify-content:space-between; gap:12px; padding:6px 0; font-size:.97rem; }
.rv .lines .sum{ border-top:1px solid var(--gray-2); margin-top:6px; padding-top:12px; font-family:var(--font-head); font-weight:700; font-size:1.2rem; }
.pay-note{ font-size:.85rem; color:var(--gray-7); display:flex; gap:10px; align-items:flex-start; margin-top:14px; }
.pay-note svg{ flex:0 0 auto; width:18px; height:18px; stroke:var(--ink); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; margin-top:3px; }


/* ============ 7b. CREATE PAGE ============ */
body.create-page{ background-image:none; }
.create-bar{ position:static; }
.create-bar .back-link{ margin-left:auto; display:inline-flex; align-items:center; gap:6px; text-decoration:none; font-size:.93rem; font-weight:500; color:var(--gray-7); }
.create-bar .back-link svg{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.create-main{ padding:clamp(20px,4vw,44px) 0 clamp(40px,6vw,70px); }
.flow-create{ max-width:820px; }
.fstep-title{ font-size:clamp(1.7rem,4vw,2.3rem); margin-bottom:6px; }
.sub-h{ margin:26px 0 12px; font-size:1.1rem; padding-top:20px; border-top:1px solid var(--line); }
.ai-tag{ display:inline-block; margin-left:8px; padding:3px 8px; border-radius:999px; background:rgba(10,10,11,.12); color:var(--paper); font:600 .62rem/1 var(--font-mono); letter-spacing:.12em; text-transform:uppercase; }
.mockup-stage{ background:var(--black) url(/shop/engraving/assets/images/hero-backdrop.jpg) center 62% / cover no-repeat; border-radius:var(--r-lg); padding:clamp(22px,5vw,48px); display:grid; place-items:center; min-height:260px; margin:0 0 14px; }
.mockup-canvas{ width:min(100%, 520px); height:auto; border-radius:4%/6.5%; box-shadow:0 40px 70px rgba(0,0,0,.65); }
.mockup-loading{ color:var(--gray-3); font-family:var(--font-mono); font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; text-align:center; max-width:40ch; line-height:1.6; }
.mockup-caption{ text-align:center; color:var(--gray-7); font-size:.95rem; margin:0 0 10px; }
.mockup-caption b{ color:var(--ink); }
.create-foot{ text-align:center; font-size:.8rem; color:var(--gray-5); margin:26px auto 0; max-width:70ch; }
.create-foot a{ color:var(--gray-3); }
@media (max-width:560px){ .flow-foot #btn-next{ padding-inline:14px; } }


/* ============ 7c. CARD DESIGNER (editor) ============ */
.wrap.wide{ max-width:1180px; }
.flow-create{ max-width:none; }
.ed{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:18px; outline:none; margin-top:6px; }
.ed-main{ min-width:0; }
.ed-toolbar{ display:flex; gap:6px; align-items:center; margin-bottom:10px; flex-wrap:wrap; }
.tb{ width:38px; height:38px; border-radius:10px; border:1px solid var(--line-2); background:var(--surface); color:var(--ink); display:grid; place-items:center; cursor:pointer; font:600 .85rem var(--font-body); padding:0; transition:background .15s, border-color .15s; }
.tb:hover:not(:disabled){ background:var(--gray-1); border-color:var(--ink); }
.tb:disabled{ opacity:.35; cursor:default; }
.tb.on{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.tb.danger:hover:not(:disabled){ border-color:var(--err); color:#F3A6A6; }
.tb.text{ width:auto; padding:0 12px; }
.tb svg{ width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.tb-sep{ width:1px; height:24px; background:var(--line-2); margin:0 4px; }
.ed-stage{ position:relative; width:100%; aspect-ratio:1013/638; background:#000 url(/shop/engraving/assets/images/hero-backdrop.jpg) center 62% / cover no-repeat; border-radius:var(--r-lg); overflow:hidden; display:grid; place-items:center; padding:clamp(10px,3%,28px); }
.ed-stage .canvas-container{ box-shadow:0 30px 60px rgba(0,0,0,.65); border-radius:4%/6.5%; }
.ed-stage canvas{ display:block; }
.ed-empty{ position:absolute; inset:0; display:grid; align-content:end; justify-content:center; text-align:center; pointer-events:none; color:var(--gray-3); gap:4px; padding:20px 20px 9%; }
.ed-empty b{ color:var(--white); font-family:var(--font-head); font-size:1.1rem; }
.ed-empty span{ font-size:.85rem; color:var(--gray-3); }
.ed-hint{ margin:10px 0 0; font-family:var(--font-mono); font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gray-5); text-align:center; }
.ed-side{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:12px; align-self:start; position:sticky; top:12px; }
.ed-tabs{ display:grid; grid-template-columns:repeat(4,1fr); gap:4px; background:var(--gray-1); border-radius:12px; padding:4px; margin-bottom:12px; }
.ed-tabs button{ border:0; background:transparent; color:var(--gray-7); font:600 .72rem var(--font-body); letter-spacing:-.01em; padding:9px 2px; border-radius:9px; cursor:pointer; }
.ed-tabs button.on{ background:var(--ink); color:var(--paper); }
.ed-panel{ display:none; }
.ed-panel.on{ display:block; }
.ed-add{ display:block; width:100%; text-align:center; padding:14px 12px; margin-bottom:8px; border:1px solid var(--line-2); border-radius:12px; background:var(--gray-1); color:var(--ink); cursor:pointer; font-size:1rem; transition:border-color .15s; }
.ed-add:hover{ border-color:var(--ink); }
.ed-note{ font-size:.8rem; color:var(--gray-5); margin:10px 0 0; line-height:1.5; }
.ed-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.ed-grid.templates{ grid-template-columns:repeat(2,1fr); }
.ed-tile{ border:1px solid var(--line-2); border-radius:12px; background:var(--gray-1); color:var(--gray-7); cursor:pointer; padding:8px 6px; display:grid; gap:6px; justify-items:center; font:500 .72rem var(--font-body); transition:border-color .15s; }
.ed-tile:hover{ border-color:var(--ink); color:var(--ink); }
.ed-glyph svg{ width:34px; height:34px; stroke:var(--ink); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.ed-thumb{ width:100%; border-radius:8px; overflow:hidden; background:var(--black); }
.ed-thumb svg{ width:100%; height:auto; display:block; }
.file-drop.compact{ padding:18px 14px; }
.file-drop.compact .icon{ width:28px; height:28px; }
.ed-props{ margin-top:14px; padding-top:12px; border-top:1px solid var(--line); }
.ed-props-h{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; font-family:var(--font-mono); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gray-5); }
.ed-props .field{ margin-bottom:10px; }
.ed-props .field > span{ font-size:.78rem; }
.ed-props input[type=number], .ed-props select{ padding:9px 10px; font-size:.9rem; }
.ed-btnrow{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.ed-btnrow .tb{ width:36px; height:36px; }
.check.compact{ padding:10px 12px; margin-bottom:8px; }
.check.compact span{ font-size:.84rem; }
.check.compact input{ width:18px; height:18px; }
input[type=range]{ width:100%; accent-color:var(--ink); }
.ed-idea{ margin-top:18px; border:1px solid var(--line); border-radius:var(--r); background:var(--gray-1); }
.ed-idea summary{ cursor:pointer; padding:14px 16px; font-size:.95rem; list-style:none; color:var(--gray-7); }
.ed-idea summary::-webkit-details-marker{ display:none; }
.ed-idea summary b{ color:var(--ink); }
.ed-idea .field{ padding:0 16px 16px; margin:0; }
.ed-extra{ margin-top:18px; }
.mockup-3d{ width:min(100%,640px); margin:0 auto 14px; aspect-ratio:3/2; max-height:420px; background:#000 url(/shop/engraving/assets/images/hero-backdrop.jpg) center 62% / cover no-repeat; border-radius:var(--r-lg); position:relative; display:grid; place-items:center; overflow:hidden; }
.mockup-3d .hero-fallback.plain{ filter:none; width:min(78%,520px); }
.mockup-3d.is-3d .hero-fallback{ display:none; }
body.create-page{ overflow-x:hidden; }
.ed, .ed-side, .ed-main, .flow-create .flow-body, .flow-create .fstep{ min-width:0; }
.ed-tabs button{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:900px){ .ed{ grid-template-columns:1fr; } .ed-side{ position:static; } .ed-grid{ grid-template-columns:repeat(4,1fr); } .ed-grid.templates{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:520px){ .ed-grid{ grid-template-columns:repeat(3,1fr); } .ed-grid.templates{ grid-template-columns:repeat(2,1fr); } .tb{ width:34px; height:34px; } }


/* package step: the customer's card as a product shot — standing on a light studio surface,
   turned ~24° so the edge shows, soft contact shadow. Two cards = one tucked behind. */
.opt.pkg{ padding-bottom:18px; }
.pkg-show{ position:relative; margin-top:16px; height:196px; border-radius:14px; overflow:hidden;
  background:radial-gradient(120% 95% at 50% 28%, #F1F1F3 0%, #DCDCE0 55%, #C7C7CC 100%);
  perspective:900px; perspective-origin:50% 38%; }
.pkg-show::before{ content:""; position:absolute; left:0; right:0; bottom:0; height:38%; background:linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.08)); }
.pkg-card3d{ position:absolute; left:50%; bottom:26px; width:min(66%, 250px); aspect-ratio:1013/638; transform-style:preserve-3d;
  transform:translateX(-50%) rotateY(-24deg); transition:transform .35s ease; }
.pkg-card3d .pkg-card{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:4%/6.5%; background:#0f0f11;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.06); backface-visibility:hidden; }
.pkg-card.inv{ filter:invert(1) brightness(.86); }
.pkg-card3d .side{ position:absolute; inset:0; border-radius:4%/6.5%; background:#1c1c1f; transform:translateZ(-5px); box-shadow:0 0 0 1px #2a2a2e; }
.pkg-card3d::after{ content:""; position:absolute; left:2%; right:2%; bottom:-14px; height:20px; border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(0,0,0,.55), rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 72%); transform:translateZ(-10px) rotateX(70deg) scaleY(2.2); filter:blur(3px); }
.pkg-show.two{ height:204px; }
.pkg-show.two .pkg-card3d{ width:min(58%, 222px); }
.pkg-show.two .pkg-card3d.back{ transform:translateX(-68%) translateZ(-70px) rotateY(-24deg); }
.pkg-show.two .pkg-card3d.front{ transform:translateX(-36%) rotateY(-24deg); }
.opt.pkg.on .pkg-card3d{ transform:translateX(-50%) rotateY(-20deg) translateY(-4px); }
.opt.pkg.on .pkg-show.two .pkg-card3d.back{ transform:translateX(-68%) translateZ(-70px) rotateY(-20deg) translateY(-4px); }
.opt.pkg.on .pkg-show.two .pkg-card3d.front{ transform:translateX(-36%) rotateY(-20deg) translateY(-4px); }
.opt.pkg .t{ padding-right:26px; }

/* ============ 8. FAQ / SHARE ============ */
.faq{ max-width:760px; margin:0 auto; border-top:1px solid var(--gray-2); }
.faq details{ border-bottom:1px solid var(--gray-2); }
.faq summary{ list-style:none; cursor:pointer; padding:20px 44px 20px 0; font-family:var(--font-head); font-weight:700; font-size:1.08rem; position:relative; letter-spacing:-.01em; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:""; position:absolute; right:6px; top:50%; width:12px; height:12px; border-right:2px solid var(--ink); border-bottom:2px solid var(--ink); transform:translateY(-70%) rotate(45deg); transition:transform .2s; }
.faq details[open] summary::after{ transform:translateY(-30%) rotate(225deg); }
.faq .a{ padding:0 0 20px; color:var(--gray-7); max-width:64ch; }
.faq .a p:last-child{ margin:0; }

.share{ background:rgba(10,10,11,.8); color:var(--white); }
.share .wrap{ display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:start; }
.share h2{ margin-bottom:10px; }
.share p{ color:var(--gray-3); }
.share .handle{ font-family:var(--font-mono); background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius:999px; padding:8px 14px; display:inline-flex; align-items:center; gap:8px; font-size:.9rem; color:var(--white); text-decoration:none; }
.share .handle svg{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; }
.share .referral{ border:1px dashed rgba(255,255,255,.25); border-radius:var(--r-lg); padding:26px; }
/* referral slot: when a discount launches, add class "has-code" to .referral and fill .code-slot */
.share .referral .code-slot{ display:none; margin-top:14px; font-family:var(--font-mono); background:#FFFFFF; color:#0A0A0B; border-radius:12px; padding:14px 16px; }
.share .referral.has-code .code-slot{ display:block; }
@media (max-width:760px){ .share .wrap{ grid-template-columns:1fr; } }

/* categories hub */
.cats{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.cat{ display:block; text-decoration:none; background:var(--surface); border:1.5px solid var(--gray-2); border-radius:var(--r-lg); padding:24px; min-height:190px; position:relative; transition:border-color .15s, transform .15s; }
.cat:hover{ border-color:var(--ink); transform:translateY(-2px); }
.cat.soon{ pointer-events:none; color:var(--gray-5); background:var(--gray-1); }
.cat .tag{ position:absolute; top:18px; right:18px; }
.cat h3{ margin:36px 0 6px; font-size:1.25rem; }
.cat p{ margin:0; font-size:.92rem; color:var(--gray-7); }
.cat .ico{ width:34px; height:34px; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; position:absolute; top:22px; left:22px; }
.cat.soon .ico{ opacity:.5; }
@media (max-width:820px){ .cats{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .cats{ grid-template-columns:1fr; } .cat{ min-height:0; } }

/* ============ 9. ORDER STATUS PAGE ============ */
.order-hero{ background:#0A0A0B url(/shop/engraving/assets/images/hero-backdrop.jpg) center bottom / cover no-repeat; color:var(--white); position:relative; padding:clamp(48px,7vw,84px) 0 clamp(40px,6vw,64px); text-align:center; }
.order-hero .kicker{ color:var(--gray-3); }
.order-hero h1{ font-size:clamp(2rem,6vw,3.4rem); margin-bottom:14px; }
.order-no{ display:inline-block; font-family:var(--font-mono); font-size:clamp(1.4rem,4.5vw,2rem); letter-spacing:.06em; background:#FFFFFF; color:#0A0A0B; padding:12px 26px; border-radius:14px; margin:6px 0 16px; }
.order-hero p{ color:var(--gray-3); max-width:56ch; margin-inline:auto; }
.panel{ background:rgba(20,20,22,.94); border:1px solid var(--gray-2); border-radius:var(--r-lg); padding:26px; margin-bottom:18px; }
.panel h2{ font-size:1.35rem; margin-bottom:12px; }
.panel h3{ font-size:1rem; }
.mail-steps{ display:grid; gap:14px; counter-reset:m; margin:14px 0 18px; }
.mail-step{ display:grid; grid-template-columns:44px 1fr; gap:14px; align-items:start; }
.mail-step::before{ counter-increment:m; content:counter(m); width:44px; height:44px; border-radius:50%; background:var(--ink); color:var(--paper); display:grid; place-items:center; font-family:var(--font-head); font-weight:700; }
.mail-step h3{ margin:8px 0 4px; }
.mail-step p, .mail-step ul{ margin:0; color:var(--gray-7); font-size:.95rem; }
.mail-step ul{ padding-left:18px; }
.address{ font-family:var(--font-mono); font-size:.98rem; line-height:1.6; background:var(--gray-1); border-radius:var(--r-sm); padding:16px 18px; white-space:pre-line; margin:8px 0 0; border:1px solid var(--gray-2); }
.address.pending{ color:#F5C98A; background:rgba(180,83,9,.16); border-color:rgba(180,83,9,.5); }
.timeline{ list-style:none; margin:0; padding:0; display:grid; gap:0; }
.timeline li{ display:grid; grid-template-columns:22px 1fr; gap:14px; padding:10px 0; position:relative; color:var(--gray-5); font-size:.95rem; }
.timeline li::before{ content:""; width:14px; height:14px; border-radius:50%; border:2px solid var(--line-2); background:var(--surface); margin:5px 4px; z-index:1; }
.timeline li::after{ content:""; position:absolute; left:10px; top:28px; bottom:-10px; width:2px; background:var(--gray-2); }
.timeline li:last-child::after{ display:none; }
.timeline li.done{ color:var(--ink); }
.timeline li.done::before{ background:var(--ink); border-color:var(--ink); }
.timeline li.now{ color:var(--ink); font-weight:600; }
.timeline li.now::before{ border-color:var(--ink); box-shadow:0 0 0 4px rgba(10,10,11,.12); }
.timeline li small{ display:block; font-weight:400; color:var(--gray-5); font-size:.82rem; }
.status-pill{ display:inline-block; font-family:var(--font-mono); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; padding:6px 12px; border-radius:999px; background:var(--gray-1); border:1px solid var(--gray-2); }
.status-pill.hot{ background:rgba(180,83,9,.18); border-color:rgba(180,83,9,.5); color:#F5C98A; }
.status-pill.ok{ background:rgba(31,138,76,.18); border-color:rgba(31,138,76,.45); color:#A7E3BE; }
.proof-img{ border-radius:var(--r); border:1px solid var(--gray-2); max-height:420px; margin:12px auto; }
.inline-form{ display:flex; gap:10px; align-items:flex-start; }
.inline-form .field{ flex:1; margin:0; }
@media (max-width:520px){ .inline-form{ flex-direction:column; } .inline-form .btn{ width:100%; } }
.lookup{ max-width:480px; margin:0 auto; }
.kv{ display:grid; grid-template-columns:auto 1fr; gap:8px 18px; font-size:.95rem; margin:0; }
.kv dt{ color:var(--gray-5); }
.kv dd{ margin:0; word-break:break-word; white-space:pre-line; }

/* ============ 10. ADMIN ============ */
body.admin{ background:var(--gray-1); background-image:none; }
.adm-bar{ background:var(--black); color:var(--white); padding:14px 0; }
.adm-bar .wrap{ display:flex; align-items:center; gap:16px; }
.adm-bar .brand{ color:var(--white); }
.adm-bar .right{ margin-left:auto; display:flex; gap:10px; align-items:center; }
.adm-login{ max-width:400px; margin:60px auto; }
.adm-tools{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:22px 0 14px; }
.adm-tools input[type=text]{ max-width:280px; }
.adm-tools select{ max-width:240px; }
.adm-stats{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.adm-stats button{ font:600 .8rem var(--font-body); padding:8px 12px; border-radius:999px; border:1px solid var(--line-2); background:var(--surface); cursor:pointer; }
.adm-stats button.on{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.adm-stats button b{ font-family:var(--font-mono); margin-left:6px; }
.tbl-wrap{ overflow-x:auto; background:var(--surface); border:1px solid var(--gray-2); border-radius:var(--r); }
table.orders{ width:100%; border-collapse:collapse; font-size:.9rem; min-width:1000px; }
table.orders th, table.orders td{ padding:12px 14px; text-align:left; border-bottom:1px solid var(--gray-2); vertical-align:top; white-space:nowrap; }
table.orders th{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.12em; text-transform:uppercase; color:var(--gray-5); font-weight:600; background:var(--gray-1); position:sticky; top:0; }
table.orders tr:hover td{ background:rgba(255,255,255,.035); }
table.orders tr.sel td{ background:var(--gray-1); }
table.orders td.no{ font-family:var(--font-mono); font-weight:600; }
table.orders td button{ font:600 .82rem var(--font-body); background:none; border:1px solid var(--line-2); border-radius:999px; padding:6px 12px; cursor:pointer; }
.flags{ display:inline-flex; gap:4px; }
.flags i{ width:20px; height:20px; border-radius:5px; border:1.5px solid var(--line-2); display:inline-grid; place-items:center; font-style:normal; font-size:.6rem; font-family:var(--font-mono); color:var(--gray-5); }
.flags i.y{ background:var(--ink); border-color:var(--ink); color:var(--paper); }
.drawer{ position:fixed; inset:0; z-index:90; display:none; }
.drawer.open{ display:block; }
.drawer .bg{ position:absolute; inset:0; background:rgba(0,0,0,.65); }
.drawer .pane{ position:absolute; top:0; right:0; bottom:0; width:min(100%, 660px); background:var(--paper); overflow-y:auto; padding:22px 24px 40px; box-shadow:var(--shadow-lg); animation:slide .25s ease; }
@keyframes slide{ from{ transform:translateX(30px); opacity:0;} to{ transform:none; opacity:1;} }
.drawer .close{ position:absolute; top:14px; right:16px; background:none; border:0; font-size:1.6rem; cursor:pointer; line-height:1; padding:6px; }
.drawer h2{ font-size:1.5rem; margin:8px 0 2px; font-family:var(--font-mono); letter-spacing:.04em; }
.drawer .sub{ color:var(--gray-5); font-size:.9rem; margin-bottom:18px; }
.drawer .panel{ padding:18px 20px; }
.drawer .panel h3{ font-family:var(--font-mono); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gray-5); margin-bottom:12px; }
.chk-row{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.chk-row label{ display:flex; gap:10px; align-items:center; font-size:.92rem; padding:10px 12px; border:1px solid var(--gray-2); border-radius:10px; background:var(--surface); cursor:pointer; }
.chk-row input{ width:18px; height:18px; accent-color:var(--ink); }
.events{ list-style:none; margin:0; padding:0; font-size:.85rem; display:grid; gap:6px; }
.events li{ display:grid; grid-template-columns:150px 1fr; gap:10px; color:var(--gray-7); }
.events li time{ font-family:var(--font-mono); font-size:.76rem; color:var(--gray-5); }
.toast{ position:fixed; left:50%; bottom:22px; transform:translateX(-50%); background:var(--ink); color:var(--paper); padding:12px 18px; border-radius:999px; font-size:.9rem; z-index:100; box-shadow:var(--shadow); opacity:0; pointer-events:none; transition:opacity .2s; }
.toast.show{ opacity:1; }

/* ============ 10b. LOADING COVER ============ */
html.is-loading{ overflow:hidden; }
.loader{ position:fixed; inset:0; z-index:200; background:#0A0A0B; display:grid; place-items:center; transition:opacity .8s ease, visibility .8s; }
.loader.done{ opacity:0; visibility:hidden; pointer-events:none; }
.loader-svg{ width:min(82vw, 640px); height:auto; overflow:visible; }
.loader-word{ font-family:var(--font-head); font-weight:700; font-size:84px; letter-spacing:.22em; }
.loader-ghost{ fill:none; stroke:rgba(255,255,255,.10); stroke-width:1; }
.loader-engraved{ fill:#E4E4E7; stroke:#fff; stroke-width:.6; }
.loader-scan{ stroke:rgba(255,255,255,.18); stroke-width:1; stroke-dasharray:2 6; opacity:0; }
.loader-beam{ stroke:#fff; stroke-width:1.4; stroke-linecap:round; opacity:0; }
.loader-beam-soft{ stroke:#fff; stroke-width:5; opacity:.5; }
.loader-head{ fill:#fff; opacity:0; filter:drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px rgba(255,255,255,.8)); }
.loader-spark{ stroke:#fff; stroke-width:1.2; stroke-linecap:round; opacity:0; }
.loader.engraved .loader-engraved{ animation:loaderPulse 1.4s ease-in-out infinite; }
@keyframes loaderPulse{ 0%,100%{ opacity:1; } 50%{ opacity:.78; } }
.loader-brand{ position:absolute; bottom:28px; left:0; right:0; text-align:center; margin:0; font-family:var(--font-head); font-weight:700; color:var(--gray-3); font-size:.95rem; letter-spacing:-.01em; }
.loader-brand em{ font-style:normal; color:var(--gray-5); font-weight:500; }
@media (max-width:600px){ .loader-word{ font-size:74px; letter-spacing:.16em; } }

/* ============ 11. UTILITIES / MOTION ============ */
.reveal{ opacity:0; transform:translateY(14px); transition:opacity .55s ease, transform .55s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; transition:none; } .hero-card{ transition:none; } html{ scroll-behavior:auto; } }
.hidden{ display:none !important; }
.mt-0{ margin-top:0 !important; } .mb-0{ margin-bottom:0 !important; }
.stack{ display:grid; gap:10px; }
.row{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.spacer{ flex:1; }
