/* Store product + listing pages (/gift/<id>, /gifts). Uses the site's own variables and .btn classes. */
.gx{padding-top:14px;padding-bottom:40px}
.gx-crumbs{font-size:13px;color:#6b6578;margin:4px 0 14px}.gx-crumbs a{color:inherit;text-decoration:none}.gx-crumbs a:hover{color:var(--brand-ink,#c2410c)}
.gx-adm{background:#fff4e5;border:1px solid #f5c26b;border-radius:var(--r-sm,10px);padding:10px 14px;margin-bottom:12px;font-size:14px}.gx-adm-ok{background:#eefaf3;border-color:#9fd8b8}
/* product top */
.gx-top{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:36px;align-items:start}
.gx-media{position:sticky;top:84px}
.gx-main{position:relative;aspect-ratio:1/1;background:var(--soft,#f6f4fb);border-radius:var(--r,14px);overflow:hidden}
.gx-main img,.gx-main video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .25s;pointer-events:none}
.gx-main .on{opacity:1;pointer-events:auto}
.gx-nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:#fffe;box-shadow:var(--shadow);font-size:24px;line-height:1;cursor:pointer;z-index:2}
.gx-prev{left:10px}.gx-next{right:10px}
.gx-thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto;scrollbar-width:none}
.gx-thumbs button{flex:0 0 68px;height:68px;border:2px solid transparent;border-radius:var(--r-sm,10px);padding:0;overflow:hidden;background:var(--soft,#f6f4fb);cursor:pointer}
.gx-thumbs button.on{border-color:var(--brand,#fb641b)}.gx-thumbs img{width:100%;height:100%;object-fit:cover}
.gx-tv{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:20px;color:var(--ink,#17151f)}.gx-tv small{font-size:11px}
.gx-kicker{margin:0;color:var(--brand-ink,#c2410c);font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.gx-info h1{font-size:clamp(22px,2.6vw,30px);line-height:1.2;margin:6px 0 8px}
.gx-tag{color:#4b4658;margin:0 0 14px;line-height:1.55}
.gx-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:12px 0 16px;border-bottom:1px solid var(--line,#ebe7f0);margin-bottom:16px}
.gx-price b{font-size:28px}.gx-price s{color:#8a8496}.gx-price em{font-style:normal;color:var(--ok,#1a9e5c);font-weight:700}
.gx-price small{flex-basis:100%;color:#6b6578;font-size:12.5px}
.gx-opt{border:0;padding:0;margin:0 0 16px}.gx-opt legend{font-weight:600;margin-bottom:8px}
.gx-opt>div{display:flex;flex-wrap:wrap;gap:8px}
.gx-pill input{position:absolute;opacity:0}.gx-pill span{display:inline-flex;flex-direction:column;align-items:center;padding:9px 14px;border:1.5px solid var(--line,#ebe7f0);border-radius:var(--r-sm,10px);cursor:pointer;font-size:14px;min-width:64px;background:#fff}
.gx-pill span small{color:#6b6578;font-size:12px}.gx-pill input:checked+span{border-color:var(--brand,#fb641b);background:#fff6f1;box-shadow:0 0 0 1px var(--brand,#fb641b)}
.gx-pill input:focus-visible+span{outline:2px solid var(--brand,#fb641b);outline-offset:2px}
.gx-step{margin:0 0 16px}.gx-step h2{font-size:16px;margin:0 0 6px;display:flex;align-items:center;gap:8px}
.gx-step h2 i{font-style:normal;width:24px;height:24px;border-radius:50%;background:var(--ink,#17151f);color:#fff;font-size:13px;display:inline-flex;align-items:center;justify-content:center}
.gx-hint{font-size:13px;color:#6b6578;margin:0 0 10px}
.gx-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px}
.gx-slot{position:relative;aspect-ratio:1/1;border:2px dashed #cfc8db;border-radius:var(--r-sm,10px);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;background:#fff;text-align:center}
.gx-slot input{position:absolute;inset:0;opacity:0;cursor:pointer}.gx-sp{font-size:26px;color:var(--brand,#fb641b)}.gx-slot small{font-size:11.5px;color:#6b6578;padding:0 4px}
.gx-slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.gx-slot.has{border-style:solid;border-color:var(--ok,#1a9e5c)}
.gx-slot.has small{position:absolute;bottom:0;left:0;right:0;background:#000a;color:#fff;padding:3px}
.gx-field{display:block;margin-bottom:10px}.gx-field span{display:block;font-size:13.5px;font-weight:600;margin-bottom:4px}
.gx-field input,.gx-note textarea{width:100%;box-sizing:border-box;border:1.5px solid var(--line,#ebe7f0);border-radius:var(--r-sm,10px);padding:11px 12px;font:inherit;font-size:16px}
.gx-field input:focus,.gx-note textarea:focus{outline:none;border-color:var(--brand,#fb641b)}
.gx-note{margin:0 0 14px}.gx-note summary{cursor:pointer;font-size:14px;color:#4b4658;margin-bottom:8px}
.gx-err{background:#fdecec;color:#a11;border-radius:var(--r-sm,10px);padding:9px 12px;font-size:14px}
.gx-buy{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap}.gx-buy .btn{flex:1 1 140px;min-height:50px;font-size:16px}
.gx-qty{display:flex;align-items:center;gap:6px;font-size:14px}.gx-qty select{height:50px;border:1.5px solid var(--line,#ebe7f0);border-radius:var(--r-sm,10px);padding:0 8px;font:inherit}
.gx-trust{list-style:none;padding:0;margin:18px 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gx-trust li{background:var(--cream,#fbf8f3);border-radius:var(--r-sm,10px);padding:10px 12px;display:flex;flex-direction:column;font-size:13.5px}.gx-trust span{color:#6b6578;font-size:12.5px}
.gx-hl{background:var(--soft,#f6f4fb);border-radius:var(--r,14px);padding:14px 18px}.gx-hl h2{font-size:16px;margin:0 0 8px}
.gx-hl ul{margin:0;padding-left:20px;line-height:1.6}.gx-hl li::marker{color:var(--brand,#fb641b)}
/* long sections */
.gx-sec{max-width:820px;margin:40px auto 0}.gx-sec section{padding:22px 0;border-top:1px solid var(--line,#ebe7f0)}
.gx-sec h2{font-size:20px;margin:0 0 12px}.gx-sec p,.gx-sec li{line-height:1.7;color:#35303f}
.gx-how{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;counter-reset:s}
.gx-how li{counter-increment:s;background:var(--cream,#fbf8f3);border-radius:var(--r,14px);padding:14px;display:flex;flex-direction:column}
.gx-how li::before{content:counter(s);width:26px;height:26px;border-radius:50%;background:var(--brand,#fb641b);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;margin-bottom:6px}
.gx-how span{font-size:14px;color:#6b6578}
.gx-specs{width:100%;border-collapse:collapse;font-size:14.5px}.gx-specs th,.gx-specs td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line,#ebe7f0);vertical-align:top}
.gx-specs th{width:38%;color:#6b6578;font-weight:500;background:#faf9fc}
.gx-faq details{border:1px solid var(--line,#ebe7f0);border-radius:var(--r-sm,10px);padding:12px 14px;margin-bottom:8px}
.gx-faq summary{cursor:pointer;font-weight:600}.gx-faq p{margin:8px 0 0}
.gx-rel{margin-top:30px}.gx-rel h2{font-size:22px}.gx-rel>p{text-align:center;margin-top:18px}
/* cards */
.gx-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
.gx-row{grid-auto-flow:column;grid-auto-columns:minmax(200px,1fr);grid-template-columns:none;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px}
.gx-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line,#ebe7f0);border-radius:var(--r,14px);overflow:hidden;text-decoration:none;color:inherit;transition:box-shadow .2s,transform .2s}
.gx-cards>.gx-card{content-visibility:auto;contain-intrinsic-size:auto 340px}
.gx-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.gx-ci{position:relative;display:block;width:100%;aspect-ratio:1/1;overflow:hidden;background:var(--soft,#f6f4fb)}.gx-ci img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.gx-ci em{position:absolute;top:10px;left:10px;background:var(--ok,#1a9e5c);color:#fff;font-style:normal;font-size:12px;font-weight:700;padding:3px 8px;border-radius:20px}
.gx-cb{display:flex;flex-direction:column;gap:4px;padding:12px 14px 14px}.gx-cb small{color:var(--brand-ink,#c2410c);font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;font-weight:600}
.gx-cb b{font-size:15px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gx-cp strong{font-size:17px}.gx-cp s{color:#8a8496;font-size:13px}.gx-cp i{font-style:normal;font-size:12px;color:#6b6578}
.gx-cm{font-size:12px;color:#6b6578}
/* list page */
.gx-lh{text-align:center;max-width:720px;margin:0 auto 20px}.gx-lh h1{font-size:clamp(26px,3.4vw,38px);margin:6px 0}.gx-lh p{color:#4b4658}
.gx-search{display:flex;gap:8px;max-width:520px;margin:14px auto 0}.gx-search input{flex:1;border:1.5px solid var(--line,#ebe7f0);border-radius:var(--r-sm,10px);padding:11px 14px;font:inherit;font-size:16px}
.gx-chips{display:flex;gap:8px;overflow-x:auto;padding:4px 0 10px;scrollbar-width:none}
.gx-chips a{flex:0 0 auto;padding:8px 14px;border:1.5px solid var(--line,#ebe7f0);border-radius:30px;text-decoration:none;color:inherit;font-size:14px;background:#fff}
.gx-chips a small{color:#8a8496}.gx-chips a.on{background:var(--ink,#17151f);color:#fff;border-color:var(--ink,#17151f)}.gx-chips a.on small{color:#ccc}
.gx-sort{display:flex;justify-content:space-between;font-size:13.5px;color:#6b6578;margin:6px 0 14px}.gx-sort a{color:inherit}.gx-sort a.on{color:var(--ink,#17151f);font-weight:700;text-decoration:none}
.gx-empty{text-align:center;padding:40px 0}
/* sticky bar + added dialog */
.gx-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid var(--line,#ebe7f0);padding:10px 16px calc(10px + env(safe-area-inset-bottom));display:none;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 -6px 20px rgba(30,20,60,.08)}
.gx-bar span{display:flex;flex-direction:column}.gx-bar small{font-size:12px;color:#6b6578}.gx-bar .btn{min-width:150px;min-height:46px}
.gx-added{position:fixed;inset:0;background:#0006;z-index:60;display:flex;align-items:flex-end;justify-content:center}.gx-added[hidden]{display:none}
.gx-added-box{background:#fff;border-radius:18px 18px 0 0;padding:20px;width:100%;max-width:480px;display:flex;flex-direction:column;gap:8px}
.gx-added-box div{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.gx-added-box .btn{flex:1 1 120px}
@media (min-width:700px){.gx-added{align-items:center}.gx-added-box{border-radius:18px}}
@media (max-width:860px){
  .gx-top{grid-template-columns:1fr;gap:18px}.gx-media{position:static}
  .gx-bar.show{display:flex}.gx-how{grid-template-columns:1fr}.gx-trust{grid-template-columns:1fr 1fr}
  .gx-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gx-row{grid-template-columns:none;grid-auto-columns:46%}
  .gx-cb{padding:10px}.gx-cb b{font-size:14px}.gx-nav{display:none}
}
/* pg-* product page (same design as /product) */
.gx-p .pg-stage [hidden],#gxAdded[hidden],.gx-p .pg-err[hidden],.gx-p [hidden].off,.gx-p s[hidden]{display:none!important}
.pg-media-note{font-size:12.5px;color:#6b6578;margin:10px 2px 0}
.gx-p .pg-stage .gx-nav{z-index:3}
.gx-p .gx-crumbs{margin-top:8px}
@media (max-width:900px){.gx-p{padding-bottom:84px}}
@media (max-width:900px){.gx-p .pg-media-note{padding:0 16px}}
.pg-thumbs .gx-vthumb{position:relative}.pg-thumbs .gx-vthumb::after{content:'\25B6';position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:20px;background:#0006}
#stageImg{transition:opacity .2s}
.gx-imgchips{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}.gx-imgchips button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px!important}.gx-imgchips button img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;display:block}.gx-imgchips button b{font-size:12.5px}
.gx-badge{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;background:#fff1e6;color:#b4471a;font-size:11px;letter-spacing:.04em;vertical-align:middle}.gx-badge.gx-oos{background:#fde8e8;color:#b42318}.gx-giftopt{margin-bottom:14px}.gx-ck{display:flex;gap:10px;align-items:center;font-weight:600;margin:6px 0 10px;cursor:pointer}.gx-ck input{width:18px;height:18px}.gx-pnote{background:#fff8e6;border-radius:10px;padding:10px 12px;font-size:13.5px;margin:10px 0}
