/* Adds shop-specific sections to the existing InnerPiece site styles. */
/* Keep one document scroller so mobile browser chrome cannot separate the header from the page. */
html.shop-root{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto;background:#1c4539!important}
body.shop-page{--shop-ink:#243f35;--shop-muted:#52655a;display:block;height:auto;min-height:100vh;overflow:visible;padding:0;color:var(--shop-ink);background:radial-gradient(ellipse at 100% 0,#e2eadc 0,transparent 650px),#f4f1e8;font-family:Raleway,sans-serif}
.shop-page .site-topbar{position:sticky;top:0;background:#1c4539;backdrop-filter:none;-webkit-backdrop-filter:none}
/* Extend the opaque header upward behind mobile browser controls, without adding page space. */
.shop-page .site-topbar::before{content:"";position:absolute;left:0;right:0;bottom:calc(100% - 1px);height:max(160px,env(safe-area-inset-top,0px));background:#1c4539;pointer-events:none}
.shop-page *{box-sizing:border-box}
.shop-main{width:min(1184px,100%);margin:auto;padding:44px 32px 0}
.shop-page h1,.shop-page h2,.shop-page h3{font-family:'Playfair Display',Georgia,serif;font-weight:500;color:var(--shop-ink);line-height:1.18;letter-spacing:-.025em}
.shop-page h1{font-size:clamp(2.8rem,4.7vw,4.3rem);margin:0 0 22px;letter-spacing:-.045em}
.shop-page h1 em{font-weight:500;color:#59744f}
.shop-page h2{font-size:clamp(1.9rem,3vw,2.6rem);margin:0 0 20px}
.shop-page h3{font-size:1.55rem;margin:0 0 12px}
.shop-page p{line-height:1.8}
.shop-page a{color:inherit}
.shop-page button{font-family:inherit}
.shop-page svg{width:22px;height:22px;flex:none;vertical-align:middle}
.shop-page .shop-active{box-shadow:inset 0 -1px #deead7;border-radius:0}
.shop-eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.14em;color:#536c53;margin:0 0 15px}
.shop-collection-title{text-align:center;margin:0 0 8px}
.shop-collection-title h1{font-size:clamp(2rem,3.5vw,3.25rem);margin:0 0 8px;letter-spacing:-.035em}
.shop-collection-title p{font-size:.84rem;font-weight:600;letter-spacing:.06em;line-height:1.5;margin:0;color:var(--shop-muted)}
.shop-hero .shop-hero-tagline{font-size:clamp(2.8rem,4.7vw,4.3rem);margin:0 0 22px;letter-spacing:-.045em}
.shop-hero-tagline em{font-weight:500;color:#59744f}
.shop-hero{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;padding:30px 0 70px}
.shop-intro{font-size:1.1rem;max-width:390px;margin:0 0 16px;color:var(--shop-muted)}
.shop-hero-detail{font-size:.95rem;color:var(--shop-muted);margin:0 0 26px}
.shop-button{display:inline-flex;justify-content:center;align-items:center;gap:22px;padding:15px 24px;min-height:50px;border-radius:30px;background:#305740;border:1px solid #305740;color:#fff!important;font-size:.92rem;line-height:1.4;font-weight:600;text-decoration:none;cursor:pointer}
.shop-button:hover{background:#234530}
.shop-button:disabled{background:#dde4d6;border-color:#c9d5c3;color:#52655a!important;cursor:default}
.shop-text-link{display:inline-flex;align-items:center;gap:12px;text-decoration:underline;text-underline-offset:5px;font-weight:600;font-size:.88rem;min-height:44px;color:#305740!important}
.deck-fan{position:relative;min-height:450px;margin:0;display:flex;align-items:center;justify-content:center}
.deck-fan img{position:absolute;width:43%;height:auto;border-radius:5%;box-shadow:0 16px 25px #243f3522}
.deck-fan .fan-left{transform:translate(-54%,-4%) rotate(-15deg);z-index:1}
.deck-fan .fan-right{transform:translate(57%,-4%) rotate(14deg);z-index:2}
.deck-fan .fan-front{width:49%;transform:translateY(8%);z-index:3}
.deck-fan figcaption{position:absolute;bottom:0;left:0;right:0;text-align:center;color:var(--shop-muted);font-size:.8rem}
.shop-catalog{padding:48px 0 0;border-top:1px solid #d7dfce}
.shop-section-heading{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;margin:0 0 30px}
.shop-section-heading h2{margin-bottom:0}
.shop-section-heading>p{max-width:300px;color:var(--shop-muted);font-size:.88rem;margin:0}
.deck-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.deck-card{border:1px solid #d9dfd0;border-radius:22px;overflow:hidden;background:#fffdf7;display:flex;flex-direction:column;box-shadow:0 4px 15px #293e2d09}
.deck-art{display:flex;justify-content:center;align-items:center;background:var(--deck-wash);padding:25px 36px;height:300px;border-bottom:1px solid #e2e5d9;overflow:hidden}
.deck-art img{height:100%;width:auto;max-width:100%;object-fit:contain;box-shadow:5px 8px 10px #243f3526;border-radius:5%;transform:rotate(-3deg);transition:transform 180ms}
.deck-card:hover .deck-art img{transform:rotate(0)}
.deck-card-copy{padding:25px;flex:1;display:flex;flex-direction:column}
.deck-meta{font-size:.65rem!important;text-transform:uppercase;letter-spacing:.07em;margin:0 0 10px!important;color:#536c53;font-weight:700}
.deck-card h3 a{text-decoration:none}
.deck-card h3 a:hover{text-decoration:underline;text-underline-offset:5px}
.deck-card-copy>p{font-size:.86rem;color:var(--shop-muted);margin:0 0 22px}
.deck-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:14px;border-top:1px solid #e3e6dc}
.deck-card-bottom strong{font-size:1.17rem;font-weight:600;white-space:nowrap}
.shop-currency-note{font-size:.78rem;color:var(--shop-muted);margin:16px 0 0}
.deck-card-bottom a{font-size:.8rem;gap:7px}
.shop-included{display:grid;grid-template-columns:1fr 1fr;gap:70px;margin:75px 0;padding:45px;background:#e9eddf;border-radius:24px;border:1px solid #d7dfce}
.shop-included>div>p:not(.shop-eyebrow){color:var(--shop-muted);font-size:.92rem;margin:0;max-width:400px}
.included-list{display:flex;flex-direction:column;justify-content:center;gap:24px}
.included-list article{display:flex;gap:20px}
.included-list h3{font-size:1.3rem;margin-bottom:10px}
.included-list p{font-size:.85rem;color:var(--shop-muted);margin:0}
.format-symbol{flex:0 0 40px;color:#55764d}
.format-symbol svg{width:40px;height:48px}
.format-note{border-top:1px solid #c8d3bd;padding-top:16px}
.shop-faq{max-width:800px;margin:0 auto 60px}
.shop-faq details{border-bottom:1px solid #d7dfce}
.shop-faq summary{padding:21px 32px 21px 0;cursor:pointer;font-size:.96rem;font-weight:600;line-height:1.6}
.shop-faq details p{color:var(--shop-muted);font-size:.9rem;padding:0 0 22px;margin:0;max-width:690px}
.shop-breadcrumb{display:flex;gap:12px;flex-wrap:wrap;font-size:.78rem;color:var(--shop-muted);margin:10px 0 32px}
.shop-breadcrumb a{text-underline-offset:4px}
.product-hero{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:start}
.product-visuals{min-width:0}
.product-gallery{min-width:0;scroll-margin-top:90px}
.product-cover{background:var(--deck-wash);border:1px solid #d9dfd0;border-radius:24px;padding:30px;margin:0;text-align:center}
.product-cover img{display:block;width:100%;max-width:335px;height:auto;margin:0 auto;border-radius:5%;box-shadow:8px 13px 20px #243f3522}
.gallery-slide[hidden]{display:none}
.gallery-enlarge{display:block;background:transparent;border:0;padding:0;width:100%;cursor:zoom-in}
.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
.gallery-arrow{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #cbd5c1;border-radius:50%;background:#fffdf7;color:#305740;cursor:pointer}
.gallery-arrow:hover{background:#e9eddf}
.gallery-previous svg{transform:rotate(180deg)}
.gallery-caption{font-size:.85rem;line-height:1.45!important;text-align:center;margin:0;font-weight:600}
.gallery-hint{display:block;font-size:.72rem;font-weight:400;color:var(--shop-muted)}
.gallery-thumbnails{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gallery-thumbnails button{display:flex;align-items:center;justify-content:center;gap:10px;padding:9px 6px;background:#fffdf7;border:1px solid #d7dfce;border-radius:12px;color:var(--shop-ink);font-size:.75rem;cursor:pointer;min-width:0}
.gallery-thumbnails img{display:block;width:auto;height:52px;border-radius:4px}
.gallery-thumbnails button[aria-pressed="true"]{background:#e6eddc;border-color:#587747;box-shadow:inset 0 0 0 1px #587747;font-weight:600}
.product-gallery button:focus-visible{outline:3px solid #587747;outline-offset:4px}
.product-gallery .sample-download{margin-top:6px;font-size:.78rem}
.product-copy{padding-top:10px}
.product-copy h1{font-size:clamp(2.6rem,4.2vw,3.7rem)}
.product-subtitle{font-size:1.2rem;line-height:1.5!important;color:#405a43;margin:0 0 20px}
.product-description{font-size:.94rem;color:var(--shop-muted);margin:0 0 22px}
.product-features{padding:0 0 0 18px;font-size:.88rem;color:var(--shop-muted);line-height:1.7;margin:0 0 26px}
.product-features li{padding:0 0 8px 3px}
.product-features li::marker{color:#82966f}
.product-purchase{border-top:1px solid #d7dfce;padding-top:20px;margin-top:14px}
.product-price{font-size:1.9rem;font-weight:600;line-height:1.3!important;margin:0 0 10px}
.product-price span{font-size:.75rem;font-weight:400;color:var(--shop-muted);display:inline-block}
.purchase-detail{font-size:.83rem;margin:0 0 18px;color:var(--shop-muted)}
.product-purchase .shop-button{width:100%;margin-bottom:8px}
.purchase-status{font-size:.78rem;color:var(--shop-muted);margin:3px 0}
.product-details{display:grid;grid-template-columns:1fr 1fr;gap:65px;border-top:1px solid #d7dfce;margin:55px 0;padding:34px 0 0}
.product-details h2{font-size:1.7rem}
.product-details p,.product-details li{font-size:.9rem;color:var(--shop-muted);line-height:1.8}
.product-details li{margin:0 0 9px;padding-left:4px}
.product-details ul{padding-left:18px}
.product-details p{margin:0 0 15px}
.product-details strong{font-weight:600;color:var(--shop-ink)}
.product-return{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:0 0 25px}
.product-return h2{font-size:2rem;max-width:500px}
.product-return p{font-size:.9rem;color:var(--shop-muted)}
.product-return>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:15px;flex-shrink:0}
.product-return strong{font-size:1.6rem;font-weight:600}
.shop-scope{font-size:.78rem;color:var(--shop-muted);margin:30px 0 10px}
.sample-dialog{border:1px solid #d9dfd0;border-radius:22px;background:#fbf8ef;width:min(700px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;margin:auto;color:#243f35;overflow-y:auto;box-shadow:0 24px 65px #142b3240}
.sample-dialog::backdrop{background:#1831269c;backdrop-filter:blur(3px)}
.sample-dialog-heading{position:sticky;top:0;z-index:2;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fbf8eff5;border-bottom:1px solid #d7dfce}
.sample-dialog-heading h2{font-size:1.25rem;margin:0}
.close-dialog{width:44px;height:44px;flex:none;border:none;border-radius:12px;background:#e3ebdc;font-size:1.7rem;color:#254632;cursor:pointer}
#sample-dialog-content{padding:20px}
#sample-dialog-content img{display:block;width:100%;height:auto;border-radius:4%}
.sample-transcript-view{padding:20px 5px 0}
.sample-transcript-view summary{cursor:pointer;font-size:.9rem;font-weight:600;padding:10px 0}
.sample-text{white-space:pre-wrap;font-size:1rem;line-height:1.75}
.shop-local-note{background:#e8e4d8;color:#4a5647;border:1px solid #d5d5c5;border-radius:12px;font-size:.77rem;line-height:1.7;padding:10px 15px;margin:0 0 22px}
.shop-local-note a{font-weight:600;text-underline-offset:3px;margin-left:10px}
.shop-local-note[hidden]{display:none}
.review-card{padding:24px;border:1px solid #d7dfce;background:#fffdf7;border-radius:22px;margin:20px 0}
.review-card h2{font-size:clamp(1rem,5vw,1.6rem);margin-bottom:8px}
.review-card>p{font-size:.9rem;line-height:1.6;margin:0}
.review-downloads{display:flex;gap:15px;flex-wrap:wrap;margin:20px 0 0}
.shop-page.shop-delivery-page{background:radial-gradient(ellipse at 100% 0,#edf0e3 0,transparent 650px),#f8f4eb}
.shop-page .delivery-title{font-size:clamp(1.65rem,7.7vw,3.4rem)}
.review-card.delivery-card{background:linear-gradient(155deg,var(--deck-wash) 0,#fffdf7 48%);box-shadow:0 8px 28px #4c472d08}
.delivery-card>p{color:var(--shop-muted)}
.delivery-notice{padding:14px 16px 8px;background:#e6eddf;border:1px solid #c4d0b9;border-radius:14px;margin:16px 0}
.delivery-notice h2{font:600 .95rem/1.4 Raleway,sans-serif;margin:0 0 4px}
.delivery-notice p{margin:0;line-height:1.5;font-size:.85rem}
.delivery-notice[data-email-status="failed"]{background:#f7e7d6;border-color:#d7c0a9}
.delivery-actions{display:flex;flex-wrap:wrap;align-items:center;column-gap:16px}
.delivery-resend,.delivery-help-open,.delivery-help-edit{background:none;border:0;padding:0;margin-top:0;min-height:44px;font-size:.85rem;cursor:pointer;text-align:left}
.delivery-resend:disabled{color:#52655a!important;cursor:default;text-decoration:none}
.delivery-notice .delivery-resend-status:empty{display:none}
.delivery-notice .delivery-resend-status{font-size:.83rem;margin:0 0 6px}
.shop-page .delivery-thanks{font-size:.9rem;line-height:1.6;color:var(--shop-muted);margin:22px 0 8px;max-width:540px}
.shop-page .delivery-title+.delivery-thanks{margin:0 0 22px;max-width:440px}
.shop-page .delivery-thanks svg{width:16px;height:16px;vertical-align:-2px}
.delivery-wish{display:block;margin-top:6px}
.delivery-help-dialog{color:var(--shop-ink);background:#fbf8ef;border:1px solid #d7dfce;border-radius:20px;padding:0;margin:auto;width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-shadow:0 24px 65px #142b3240}
.delivery-help-dialog::backdrop{background:#1831269c;backdrop-filter:blur(3px)}
.delivery-help-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #d7dfce}
.delivery-help-heading h2{font-size:1.5rem;margin:0}
.delivery-help-body{padding:18px}
.delivery-help-body>p,.delivery-help-result>p{font-size:.9rem;line-height:1.6;margin:0 0 18px}
.delivery-help-dialog label{display:block;font-weight:600;font-size:.9rem;margin:18px 0 8px}
.delivery-help-dialog input,.delivery-help-dialog textarea{display:block;width:100%;min-width:0;border:1px solid #b9c8af;background:#fffdf7;border-radius:10px;padding:12px;font:400 1rem/1.5 Raleway,sans-serif;color:var(--shop-ink)}
.delivery-help-dialog input[readonly]{background:#edf0e5;color:#52655a}
.delivery-help-dialog textarea{resize:vertical;min-height:112px;max-height:300px}
.delivery-help-dialog input:focus-visible,.delivery-help-dialog textarea:focus-visible{outline:2px solid #52724d;outline-offset:2px}
.delivery-help-dialog .delivery-field-hint{font-size:.8rem;line-height:1.5;color:var(--shop-muted);margin:6px 0 10px}
.delivery-help-dialog .delivery-help-recipient{font-size:.8rem;margin:14px 0 8px;overflow-wrap:anywhere}
.delivery-help-dialog .delivery-help-preview-note{font-size:.75rem;line-height:1.5;color:var(--shop-muted);margin:0 0 14px}
.delivery-help-dialog .shop-button{width:100%}
.delivery-help-dialog [hidden]{display:none!important}
.delivery-help-result h3{font-size:1.4rem}
.delivery-help-result dl{margin:16px 0;font-size:.85rem;line-height:1.5;overflow-wrap:anywhere}
.delivery-help-result dt{font-weight:600;margin-top:12px}
.delivery-help-result dd{margin:3px 0 0}
.delivery-help-result h4{font-size:.9rem;margin-top:18px}
.delivery-help-result .delivery-message-copy{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 12px;padding:12px;background:#edf0e5;border-radius:10px}
.shop-page .shop-footer-tagline{font-size:.95rem;font-weight:600;margin-bottom:14px}
.delivery-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0 0}
.delivery-option{min-width:0}
.delivery-option .shop-button{width:100%;font-size:.85rem;text-align:center;min-height:52px;padding:13px 15px}
.delivery-option p{font-size:.85rem;line-height:1.5;color:var(--shop-muted);margin:8px 0 0}
@media(max-width:850px){.delivery-options{grid-template-columns:1fr}.review-card{padding:20px}}
@media(max-width:1100px){.shop-page .topbar-link{padding:.4rem .5rem;font-size:.8rem}.shop-hero{gap:15px}.deck-fan{min-height:400px}.product-hero,.product-details{gap:35px}.shop-included{gap:35px}.deck-card-copy{padding:20px}.deck-art{height:265px;padding:24px}.deck-grid{gap:18px}}
@media(max-width:850px){.deck-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.deck-art{height:300px}.shop-hero .shop-hero-tagline{font-size:3rem}.deck-fan{min-height:360px}.shop-section-heading{align-items:flex-start}.shop-included{padding:30px}}
@media(max-width:768px){.shop-main{padding:30px 22px 0}.shop-hero{grid-template-columns:1fr;padding:10px 0 40px}.shop-hero .shop-hero-tagline{font-size:3rem}.shop-hero .shop-hero-tagline br:nth-of-type(2){display:none}.shop-intro{max-width:500px}.deck-fan{min-height:410px;max-width:470px;width:100%;margin:10px auto 0}.shop-hero-detail{margin-bottom:20px}.shop-section-heading{display:block}.shop-section-heading>p{max-width:500px;margin-top:18px}.shop-included{grid-template-columns:1fr;gap:30px;margin:50px 0}.shop-included h2 br{display:none}.product-hero{grid-template-columns:1fr;gap:30px}.product-cover{max-width:470px;width:100%;margin:auto;padding:25px}.product-cover img{max-width:290px}.product-copy h1{font-size:2.8rem}.product-details{grid-template-columns:1fr;gap:20px;margin:35px 0}.product-return{display:block}.product-return>div:last-child{margin-top:22px}.sample-dialog-heading{padding:10px 15px}}
@media(max-width:540px){.shop-main{padding-left:20px;padding-right:20px}.shop-hero .shop-hero-tagline{font-size:2.75rem}.deck-fan{min-height:350px}.deck-grid{grid-template-columns:1fr}.deck-art{height:340px;padding:28px}.deck-card-copy{padding:25px}.deck-card h3{font-size:1.7rem}.shop-included{padding:28px 23px}.included-list article{gap:14px}.product-copy h1{font-size:2.6rem}.product-price span{display:block;margin-top:7px}.product-return h2{font-size:1.8rem}.shop-button{width:100%}.review-downloads{flex-direction:column}.shop-page .home-footer nav{justify-content:flex-start}}
/* On phones, show the decks and the browse action before the introduction. */
@media(max-width:768px){
 .product-visuals{max-width:470px;width:100%;margin:auto}
 .shop-collection-title h1{font-size:clamp(1.75rem,7.6vw,2.35rem)}
 .shop-hero .shop-hero-tagline{font-size:clamp(1.75rem,7.5vw,2rem);line-height:1.22;margin-bottom:16px}
 .shop-hero{display:flex;flex-direction:column;align-items:stretch;gap:0}
 .shop-hero-copy{display:contents}
 .shop-hero>.deck-fan{order:-3;width:100%;max-width:440px;min-height:clamp(290px,86vw,410px);margin:0 auto 18px}
 .shop-hero-copy>.shop-button{order:-2;align-self:stretch;margin-bottom:32px}
}
@media(max-width:380px){.gallery-thumbnails button{flex-direction:column;gap:6px}}
@media(prefers-reduced-motion:reduce){.shop-page *, .shop-page *::before,.shop-page *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
