/* Product-page design system, mirrored from the DilSeCraft gift pages we scraped
 * so our /try/<slug> pages read the same. Variables renamed only where they
 * collided with ours. */
:root{
  --g-ink:#2E2729; --g-muted:#76696C; --g-line:#EADFD4;
  --g-paper:#F8F2E9; --g-cream:#FFFDF8; --g-blush:#F4DCDA;
  --g-rose:#C98287; --g-rose-d:#B26A70;
  --g-serif:"Cormorant Garamond",Georgia,serif;
  --g-sans:"DM Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
/* Gift details page + full-screen builder ("studio") + "Make it yours" checkout popup. Loaded only on gift pages that have a builder (views/layouts/gifts.php). */ :root{--g-ink:#2E2729;--g-muted:#76696C;--g-line:#EADFD4;--g-cream:#FFFDF8;--g-paper:#F8F2E9;--g-rose:#C98287;--g-rose-d:#B26A70;--g-blush:#F4DCDA; --g-serif:"Cormorant Garamond",Georgia,serif;--g-sans:"DM Sans",system-ui,sans-serif}
.gd-wrap{max-width:1180px;margin:0 auto;padding:22px clamp(16px,4vw,40px) 40px}
.gd-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(22px,4vw,56px);align-items:center;padding:clamp(8px,2vw,24px) 0 clamp(26px,4vw,48px)}
.gd-hero > *{min-width:0}
.gd-media{position:relative}
.gd-card{margin:0;border-radius:28px;overflow:hidden;background:var(--g-paper);box-shadow:0 2px 6px rgba(46,39,41,.05),0 26px 60px rgba(46,39,41,.13);aspect-ratio:16/9}
.gd-card img{display:block;width:100%;height:100%;object-fit:cover}
.gd-demo{position:absolute;left:18px;bottom:-18px;display:inline-flex;align-items:center;gap:10px;padding:8px 16px 8px 8px;border-radius:999px;background:#fff;color:var(--g-ink); text-decoration:none;box-shadow:0 12px 28px rgba(46,39,41,.16);border:1px solid var(--g-line);transition:transform .2s}
.gd-demo:hover{transform:translateY(-2px)}
.gd-demo-ic{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--g-ink);color:#fff;font-size:18px}
.gd-demo b{display:block;font-size:14px;line-height:1.2}
.gd-demo small{display:block;font-size:12px;color:var(--g-muted)}
.gd-eyebrow{margin:0 0 10px;font-size:13px;color:var(--g-muted)}
.gd-eyebrow span{display:inline-block;padding:4px 10px;border-radius:999px;background:var(--g-blush);color:#8E4D55;font-weight:700;font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.gd-title{margin:0;font-family:var(--g-serif);font-weight:600;font-size:clamp(2.2rem,4.6vw,3.6rem);line-height:1.02;letter-spacing:-.01em;color:var(--g-ink);text-wrap:balance}
.gd-line{margin:14px 0 0;font-size:clamp(1rem,1.5vw,1.12rem);line-height:1.6;color:#5C5053;max-width:32em}
.gd-rating{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-size:14px;color:var(--g-muted);text-decoration:none}
.gd-rating b{color:var(--g-ink)}
.gd-stars{position:relative;display:inline-block;font-size:15px;letter-spacing:2px;color:#E6DDD2;line-height:1}
.gd-stars::before{content:"★★★★★";position:absolute;left:0;top:0;width:calc(var(--r,5) / 5 * 100%);overflow:hidden;color:#E4A93A;white-space:nowrap}
.gd-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px;margin-top:20px}
.gd-now{font-family:var(--g-serif);font-weight:700;font-size:2.4rem;line-height:1;color:var(--g-ink)}
.gd-was{color:var(--g-muted);font-size:1.05rem}
.gd-off{padding:3px 9px;border-radius:999px;background:#E9F3E6;color:#3F7A47;font-size:12px;font-weight:700}
.gd-price small{flex-basis:100%;color:var(--g-muted);font-size:13px}
.gd-ctas{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.gd-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:15px 26px;font:700 16px/1 var(--g-sans); cursor:pointer;text-decoration:none;transition:transform .18s,box-shadow .2s,background .2s;touch-action:manipulation;white-space:nowrap}
.gd-btn--main{background:var(--g-ink);color:#FFF8F1;box-shadow:0 12px 26px rgba(46,39,41,.22)}
.gd-btn--main:hover{transform:translateY(-1px);box-shadow:0 16px 32px rgba(46,39,41,.28)}
.gd-btn--ghost{background:#fff;color:var(--g-ink);box-shadow:inset 0 0 0 1.5px var(--g-line)}
.gd-btn--ghost:hover{box-shadow:inset 0 0 0 1.5px var(--g-rose)}
.gd-facts{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;margin:22px 0 0;padding:0;font-size:13.5px;color:#5C5053}
.gd-facts li{display:flex;align-items:center;gap:8px}
.gd-facts .bi{color:var(--g-rose-d);font-size:15px}
.gd-block{padding:clamp(22px,3vw,36px) 0}
.gd-head{margin-bottom:18px}
.gd-kicker{display:block;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--g-rose-d)}
.gd-head h2{margin:6px 0 0;font-family:var(--g-serif);font-weight:600;font-size:clamp(1.7rem,3vw,2.3rem);line-height:1.1;color:var(--g-ink)}
.gd-journey{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;counter-reset:none}
.gd-step{position:relative;display:flex;flex-direction:column;gap:6px;padding:18px 16px 18px;border-radius:20px;background:var(--g-cream);border:1px solid var(--g-line)}
.gd-step-n{position:absolute;top:14px;right:16px;font-family:var(--g-serif);font-size:1.6rem;font-weight:700;color:#E9DCCD;line-height:1}
.gd-step-ic{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--g-blush);color:#8E4D55;font-size:19px;margin-bottom:4px}
.gd-step b{font-size:15px}
.gd-step > span:last-child{font-size:13.5px;color:var(--g-muted);line-height:1.45}
.gd-split{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:clamp(10px,2vw,20px) 0}
.gd-split > *{min-width:0}
.gd-block--card{padding:24px;border-radius:24px;background:#fff;border:1px solid var(--g-line)}
.gd-make{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.gd-make li{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:var(--g-paper);font-size:14px;font-weight:500}
.gd-make .bi{color:var(--g-rose-d)}
.gd-note{margin:16px 0 0;font-size:13.5px;color:var(--g-muted)}
.gd-extras{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.gd-extras li{display:flex;align-items:center;gap:12px}
.gd-x-ic{flex:0 0 38px;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--g-paper);color:var(--g-ink);font-size:17px}
.gd-x-t{flex:1;min-width:0}
.gd-x-t b{display:block;font-size:14.5px}
.gd-x-t small{display:block;font-size:12.5px;color:var(--g-muted);line-height:1.35}
.gd-x-p{flex:0 0 auto;font-size:12.5px;font-weight:700;color:var(--g-rose-d);padding:4px 10px;border-radius:999px;background:#FBF0EF}
.gd-how{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gd-how li{display:flex;flex-direction:column;gap:6px;padding:20px;border-radius:20px;background:var(--g-paper)}
.gd-how-n{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--g-ink);color:#fff;font-weight:700;font-size:14px}
.gd-how b{font-size:16px;margin-top:4px}
.gd-how span:last-child{font-size:13.5px;color:var(--g-muted);line-height:1.5}
.gd-reviews{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.gd-review{margin:0;padding:20px;border-radius:20px;background:#fff;border:1px solid var(--g-line)}
.gd-review blockquote{margin:10px 0;font-size:14.5px;line-height:1.55}
.gd-review figcaption{font-size:13px;color:var(--g-muted);font-weight:600}
.gd-final{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:clamp(14px,2vw,24px);padding:22px 24px;border-radius:24px;background:var(--g-ink);color:#FFF8F1}
.gd-final b{display:block;font-family:var(--g-serif);font-size:1.6rem}
.gd-final span{font-size:14px;opacity:.8}
.gd-final .gd-btn--main{background:#FFF8F1;color:var(--g-ink)}
.gd-sticky{display:none}
@media (max-width: 900px){
.gd-wrap{padding-top:10px}
.gd-hero{grid-template-columns:minmax(0,1fr);gap:30px}
.gd-info{order:2}
.gd-media{order:1}
.gd-card{border-radius:20px}
.gd-ctas .gd-btn{flex:1}
.gd-split,.gd-how{grid-template-columns:minmax(0,1fr)}
.gd-journey{grid-template-columns:minmax(0,1fr);gap:0;position:relative}
.gd-step{flex-direction:row;flex-wrap:wrap;align-items:center;border:0;border-radius:0;background:none;padding:10px 0 10px 56px;min-height:58px}
.gd-step::before{content:"";position:absolute;left:21px;top:0;bottom:0;width:2px;background:var(--g-line)}
.gd-step:first-child::before{top:50%}
.gd-step:last-child::before{bottom:50%}
.gd-step-ic{position:absolute;left:0;top:50%;transform:translateY(-50%);margin:0;z-index:1;box-shadow:0 0 0 4px #FFFDF8}
.gd-step-n{display:none}
.gd-step b{flex-basis:100%}
.gd-final{flex-direction:column;align-items:stretch;text-align:center}
html.gd-show-sticky .gd-sticky{display:flex}
.gd-sticky{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:90;align-items:center;justify-content:space-between;gap:10px; padding:8px 8px 8px 18px;border-radius:999px;background:rgba(255,253,248,.96);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px); box-shadow:0 12px 34px rgba(46,39,41,.2);border:1px solid var(--g-line);font-family:var(--g-sans)}
.gd-sticky-p b{font-size:18px;color:var(--g-ink)}
.gd-sticky-p del{font-size:13px;color:var(--g-muted)}
.gd-sticky .gd-btn{padding:13px 20px;font-size:15px}
}
.gd-expired{display:flex;align-items:center;gap:10px;margin:6px 0 0;padding:12px 16px;border-radius:16px;background:#FFF4E5;border:1px solid #F3D9B1;color:#7A4E14;font-size:14px}