/* shop.bucklerfamily.estate — on top of the shared Starlink-style theme (theme.css, Barlow). Mobile first, 390px. */
.bc-back{position:fixed;left:10px;bottom:10px;z-index:60;background:rgba(0,0,0,.82);color:#e8e8e8;border:1px solid #444;padding:7px 11px;font-size:.72rem;letter-spacing:.04em;text-decoration:none;border-radius:2px}
.bc-back:hover{border-color:#c9a25a;color:#fff}
.sh-hero{min-height:0!important;padding:6.4rem 1.1rem 2.4rem!important;background:linear-gradient(180deg,rgba(0,0,0,.25),#000 92%),url(/shop/img/hero.webp?v=2) center/cover no-repeat}
.sh-hero h1{font-size:clamp(2.3rem,10vw,4.8rem);margin:.2rem 0 .8rem}
.sh-hero p{max-width:40rem}
.sh-k{font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:#c9a25a}
.sh-sec{max-width:1100px;margin:0 auto;padding:30px 18px 10px}
.sh-sec h2{font-size:1.35rem;text-transform:uppercase;letter-spacing:.06em;font-weight:500;margin:0 0 .3rem}
.sh-lead{color:#aaa;margin:0 0 1.1rem;font-size:.92rem}
/* Product imagery stays visible at a useful size on phones: one product per row. */
.sh-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
@media(min-width:760px){.sh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(min-width:1060px){.sh-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}}
.sh-card{border:1px solid #2a2a2a;background:#070707;display:flex;flex-direction:column}
.sh-img{aspect-ratio:1/1;background:transparent;overflow:hidden}.sh-img img{width:100%;height:100%;object-fit:contain;display:block}
.sh-body{padding:10px 10px 12px;display:flex;flex-direction:column;gap:.35rem;flex:1}
.sh-body h3{font-size:1.05rem;line-height:1.25;margin:0;font-weight:600;text-transform:uppercase;letter-spacing:.02em}
.sh-body p{margin:0;color:#bdbdbd;font-size:.78rem;line-height:1.4}
.sh-kind{font-size:.6rem!important;letter-spacing:.16em;text-transform:uppercase;color:#888!important}
.sh-buy{margin-top:auto;text-align:center;font-size:.72rem!important;padding:.6rem .4rem!important}
.sh-off{opacity:.55;cursor:default}
.sh-dgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(min-width:760px){.sh-dgrid{grid-template-columns:repeat(4,1fr)}}
.sh-d{margin:0;border:1px solid #222;background:#0e0e10}.sh-d img{width:100%;height:auto;display:block}
.sh-d figcaption{padding:7px 8px 9px;font-size:.74rem;color:#aaa;line-height:1.35}.sh-d strong{display:block;color:#eee;font-weight:500}
.sh-books{display:grid;gap:12px}@media(min-width:760px){.sh-books{grid-template-columns:1fr 1fr}}
.sh-book{display:block;border:1px solid #333;padding:14px;text-decoration:none;color:#eee}.sh-book span{display:block;color:#aaa;font-size:.84rem;margin-top:.25rem}
.sh-book:hover{border-color:#c9a25a}
.sh-steps{color:#cfcfcf;font-size:.9rem;line-height:1.5;padding-left:1.2rem}.sh-steps li{margin:.35rem 0}
.sh-fine{color:#888;font-size:.76rem;line-height:1.45;max-width:46rem}
.sh-page{max-width:760px;margin:0 auto;padding:6rem 18px 3rem;color:#d6d6d6;line-height:1.55}
.sh-page h1{font-size:1.8rem;text-transform:uppercase;font-weight:500}.sh-page h2{font-size:1rem;text-transform:uppercase;letter-spacing:.06em;margin-top:1.6rem}
.sh-page a,.sh-steps a{color:#e8d3a6}
.sh-note{border:1px solid #5a4a2a;background:#14110a;color:#e8d3a6;padding:9px 11px;font-size:.84rem;margin:0 0 14px}

/* Cedwyn Estate brand v3 (21 Oct 2026) */
.sh-hero{background:linear-gradient(180deg,rgba(0,0,0,.55),#000 94%),url(/shop/img/hero.webp?v=2) center 30%/cover no-repeat!important}
.sh-arms{display:block;width:120px;height:auto;margin:0 0 .6rem;filter:drop-shadow(0 2px 6px rgba(0,0,0,.6))}
@media(min-width:760px){.sh-arms{width:160px}}
.sh-hero h1{font-family:Cinzel,Georgia,serif!important;letter-spacing:.04em;font-weight:400}
.sh-draft{margin:0!important;font-size:.6rem!important;letter-spacing:.14em;text-transform:uppercase;color:#c9a25a!important}
@font-face{font-family:Cinzel;src:url(/shop/assets/fonts/cinzel.woff2) format('woff2');font-display:swap}

/* High-contrast keyboard focus for the dark Cedwyn Estate storefront. */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #e8d3a6;outline-offset:4px;border-radius:3px}


/* Product grid density control — follows the documentary's remembered card-size selector. */
.sh-products{padding-top:14px}
.sh-viewbar{max-width:1100px;margin:0 auto 12px;padding:0 18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:7px}
.sh-view-label{margin-right:4px;color:#999;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase}
.sh-view-b{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:6px 10px;border:1px solid #3a3a3a;border-radius:999px;background:#111;color:#c5c5c5;font:500 .76rem/1 Barlow,Arial,sans-serif;cursor:pointer}
.sh-view-b svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.sh-view-b[aria-pressed="true"]{background:#c9a25a;color:#090909;border-color:#c9a25a}
.sh-grid.sh-size-s{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sh-grid.sh-size-m{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sh-grid.sh-size-l{grid-template-columns:minmax(0,1fr);gap:16px}
.sh-size-s .sh-body{padding:7px 7px 9px;gap:.28rem}
.sh-size-s .sh-body h3{font-size:.82rem;line-height:1.2}
.sh-size-s .sh-body>p:not(.sh-kind){display:none}
.sh-size-s .sh-kind{font-size:.54rem!important}
.sh-size-s .sh-buy{font-size:.62rem!important;padding:.42rem .28rem!important}
.sh-size-l .sh-card{display:flex;flex-direction:column}
.sh-size-l .sh-body{padding:14px 16px 16px;gap:.5rem}
.sh-size-l .sh-body h3{font-size:1.2rem;line-height:1.3}
.sh-size-l .sh-body p{font-size:.9rem;line-height:1.5}
.sh-size-l .sh-kind{font-size:.65rem!important}
.sh-size-l .sh-buy{font-size:.78rem!important;padding:.75rem .6rem!important}
@media(min-width:760px){
  .sh-size-l .sh-card{display:grid;grid-template-columns:minmax(260px,40%) minmax(0,1fr);align-items:stretch}
  .sh-size-l .sh-img{height:100%;aspect-ratio:1/1}
  .sh-size-l .sh-body{padding:20px}
}
@media(max-width:440px){
  .sh-viewbar{justify-content:center;padding:0 10px}
  .sh-view-label{margin-right:2px}
  .sh-view-b{gap:5px;padding:6px 8px}
  .sh-view-b span{font-size:.7rem}
  .sh-grid.sh-size-s{gap:7px}
  .sh-size-s .sh-body h3{font-size:.72rem}
  .sh-size-s .sh-buy{font-size:.56rem!important}
}

/* 9 Nov 2026: a soft glow behind each cut-out product, so its edges sit cleanly on both the day and night themes. */
.sh-img{position:relative;isolation:isolate}
.sh-img::before{content:"";position:absolute;inset:5%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,243,220,.22),rgba(201,162,90,.10) 58%,rgba(201,162,90,0) 100%);z-index:-1;pointer-events:none}
.sh-img img{filter:drop-shadow(0 0 1px rgba(255,244,226,.45)) drop-shadow(0 0 12px rgba(255,234,196,.30)) drop-shadow(0 0 28px rgba(201,162,90,.18))}
html[data-ghf-mode="day"] .sh-img::before{background:radial-gradient(closest-side,rgba(201,162,90,.20),rgba(201,162,90,.07) 60%,rgba(201,162,90,0) 100%)}
/* Day theme inverts the page (ghf-inv) and re-inverts images, so keep that inversion first; the shadow colours read dark and warm after the page inversion. */
html.ghf-inv .sh-img img{filter:invert(1) hue-rotate(180deg) drop-shadow(0 0 1px rgba(255,244,226,.28)) drop-shadow(0 6px 14px rgba(255,236,200,.26))}
@media (prefers-reduced-transparency:reduce){.sh-img::before{display:none}}

