/* /siya-3d/ product page (Siya figure). Uses book.css for the buy block. */
.s3d-hero{margin:0}
.s3d-hero img{width:100%;height:auto;border-radius:16px;display:block;background:#202020;aspect-ratio:1/1;object-fit:cover}
.s3d-hero figcaption,.s3d-grid figcaption{margin-top:.5rem;font-size:.9rem;color:#4a5365;line-height:1.4}
.s3d-buy__title{margin:0 0 .3rem}
.s3d-buy__sub{margin:0 0 .4rem}
.s3d-licence{margin:.8rem 0 .3rem;font-size:.95rem;color:#14213d;background:#fff4f8;border-radius:12px;padding:.55rem .8rem}
.s3d-safety{margin:.3rem 0;font-weight:700;color:#14213d}
.s3d-sec{padding-top:1.25rem;padding-bottom:1.25rem}
.s3d-note{max-width:40rem;margin:.2rem 0 .8rem;color:#4a5365}
.s3d-grid{list-style:none;margin:0;padding:0;display:grid;gap:1rem;grid-template-columns:1fr}
.s3d-grid li{margin:0}
.s3d-grid figure{margin:0;background:#fff;border-radius:16px;box-shadow:0 10px 24px -18px rgba(20,33,61,.35);overflow:hidden}
.s3d-grid img{width:100%;height:auto;display:block;aspect-ratio:1/1;object-fit:cover;background:#202020}
.s3d-grid figcaption{margin:0;padding:.6rem .8rem .85rem;font-weight:700;color:#14213d}
.s3d-cols{display:grid;gap:1.5rem;grid-template-columns:1fr}
.s3d-cols ul{padding-left:1.1rem}
.s3d-cols li{margin:.3rem 0}
@media (min-width:600px){.s3d-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:900px){.s3d-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.s3d-cols{grid-template-columns:1fr 1fr;gap:2rem}}
body.bk-thanks .s3d-more,html.bk-thanks .s3d-more{display:none !important}
body.bk-thanks .s3d-licence,body.bk-thanks .s3d-safety,body.bk-thanks .s3d-buy__sub,body.bk-thanks .s3d-buy__title,body.bk-thanks .bk__made{display:none !important}
@media (max-width:759px){.bk__fold .s3d-hero{order:-2}}
.s3d-commercial{margin:.2rem 0 .5rem;font-size:.95rem}
.bk label.bk__agree{display:flex;gap:.6rem;align-items:center;font-weight:800;margin-top:.8rem;cursor:pointer;min-height:44px;padding:.25rem 0}
.bk .bk__agree-box{width:1.5rem;height:1.5rem;min-width:1.5rem;min-height:1.5rem;accent-color:#d22e66;flex:0 0 1.5rem}
.s3d-commercial a,.s3d-licence a,.s3d-safety a,.s3d-note a,.bk__est a,.bk__made a{display:inline-flex;align-items:center;min-height:44px}
body.bk-thanks .s3d-commercial{display:none !important}

.s3d-good{padding-left:1.1rem;max-width:56rem}.s3d-good li{margin:.4rem 0}
.bk__licensed p{margin:.15rem 0;overflow-wrap:anywhere}
body.bk-thanks .s3d-hero{display:none}

.s3d-intro{margin:.6rem 0 0;max-width:44rem;color:#14213d;font-size:1.05rem;line-height:1.55}
body.bk-thanks .s3d-intro{display:none !important}

/* More Siya 3D products below the figure: images on one side, buy block on the other (uses book.css .bk__fold) */
.s3d-prod{border-top:1px solid #e3e7ef;padding-top:2rem}
.s3d-prod__imgs{list-style:none;margin:0;padding:0;display:grid;gap:.8rem;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
.s3d-prod__imgs figure{margin:0;background:#fff;border-radius:16px;box-shadow:0 10px 24px -18px rgba(20,33,61,.35);overflow:hidden}
.s3d-prod__imgs img{width:100%;height:auto;display:block;aspect-ratio:1/1;object-fit:cover;background:#202020}
.s3d-prod__imgs figcaption{margin:0;padding:.45rem .7rem .6rem;font-size:.9rem;color:#4a5365}
.s3d-jump{margin:.5rem 0 0;font-weight:700;color:#14213d}
.s3d-prod .s3d-buy__title{font-size:1.6rem}
body.bk-thanks .s3d-jump,html.bk-thanks .s3d-jump{display:none !important}
@media (min-width:760px){.s3d-prod__imgs{grid-template-columns:1fr;gap:1rem}}
@media (max-width:759px){.s3d-prod .s3d-prod__imgs{order:-1}}


/* Pass 5: keep hash targets in view and stop later products from jumping after JS builds the form */
.s3d-flow{min-height:0}
.s3d-flow:has(button, input, select, textarea, .btn){min-height:22rem}
#ornament,#charm,#cake-topper,#figure,#siya-3d-figure,.s3d-prod,.s3d-hero{scroll-margin-top:7rem}

/* Keep the noscript email and the period on one line at 360/390. */
.s3d-ns-mail{white-space:nowrap}
