body.storefront .product-video-section { margin-block: 40px; }
body.storefront .product-video-section h3 { margin-bottom: 20px; font-size: 24px; }
.product-video-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.product-video-card { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: #182336; text-align: left; font: inherit; cursor: pointer; box-shadow: none; }
.product-video-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; background: #eaf2ff; }
.product-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-video-play { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #0057d9; color: white; }
.product-video-play svg { width: 28px; height: 28px; }
.product-video-copy { display: grid; gap: 8px; padding-top: 16px; }
.product-video-copy small { font-size: 13px; color: #0057d9; }
.product-video-copy strong { font-size: 18px; line-height: 1.5; }
.product-video-copy > span { font-size: 14px; color: #5d6880; line-height: 1.7; }
.product-video-dialog { width: min(900px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 0; border-radius: 16px; background: white; color: #182336; overscroll-behavior: contain; }
.product-video-dialog::backdrop { background: rgb(16 28 48 / .65); }
.product-video-head { display: flex; align-items: center; gap: 20px; justify-content: space-between; margin-bottom: 20px; }
.product-video-head h2 { margin: 0; font: 600 20px/1.5 YSTBody,sans-serif; }
.product-video-head button { flex: none; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 10px; font: 600 15px/1.4 YSTBody,sans-serif; background: #eaf2ff; color: #0057d9; cursor: pointer; }
.product-video-player { aspect-ratio: 16/9; background: #101c30; border-radius: 10px; overflow: hidden; }
.product-video-player :is(iframe,video) { width: 100%; height: 100%; border: 0; }
.product-video-description,.product-video-status { font: 400 15px/1.7 YSTBody,sans-serif; }
.product-video-status { color: #5d6880; }
.policy-pending { padding: 16px 20px; background: #fff5cf; color: #694400; border-radius: 12px; }
body.legal-document { background: white; }
body.legal-document main { max-width: 960px; }
body.legal-document section { background: transparent; border-top: 1px solid #e2e8f0; border-radius: 0; padding: 28px 0; }
body.legal-document dl > div { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #edf1f6; line-height: 1.7; }
body.legal-document dt { font-size: 14px; }
.document-brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; font-weight: 600; }
.document-brand img { width: 40px; height: 40px; }
header > a:not(:first-child) { font-size: 16px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px; }
.legal-links a { min-height: 44px; display: inline-flex; align-items: center; }
body.storefront .site-footer > .legal-links { width: min(1280px,calc(100% - 64px)); margin-inline: auto; }
body.storefront #checkout .checkout-legal { margin: 0; padding: 0; border: 0; font-size: 14px; line-height: 1.6; }
body.storefront #checkout .checkout-legal > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; color: var(--yst-blue); cursor: pointer; list-style: none; }
body.storefront #checkout .checkout-legal > summary::after { content: ''; width: 7px; height: 7px; margin-inline: 12px 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
body.storefront #checkout .checkout-legal[open] > summary::after { transform: rotate(225deg); }
body.storefront #checkout .checkout-legal > summary::-webkit-details-marker { display: none; }
body.storefront #checkout .checkout-policy-content { padding: 0 0 12px; }
body.storefront #checkout .checkout-policy-content nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
body.storefront #checkout .checkout-policy-content a { display: inline-flex; align-items: center; min-height: 44px; color: var(--yst-blue); text-underline-offset: .2em; }
body.storefront #checkout .checkout-policy-content p { margin: 8px 0 0; color: var(--yst-muted); }
body.storefront .product-purchase-conditions { font-size: 14px; color: var(--yst-muted); line-height: 1.7; }
@media(hover:hover) and (pointer:fine) { .product-video-card:hover .product-video-play { background: #0048b5; }.product-video-card:hover strong { color: #0057d9; } }
@media(max-width:600px) { .product-video-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }.product-video-dialog { padding: 16px; }.product-video-head h2 { font-size: 18px; } }
@media(max-width:600px) { body.legal-document dl > div { grid-template-columns: minmax(0,1fr); gap: 4px; } }

/* Required information first; optional helpers and policies stay one tap away. */
body.storefront #checkout .checkout-payment-panel{grid-column:1;grid-row:2;min-width:0;padding:24px;border:1px solid var(--yst-line);border-radius:16px;background:#fff}
body.storefront #checkout .checkout-wide-field{grid-column:1/-1}
body.storefront #checkout .checkout-order-note{margin-top:18px}
body.storefront #checkout .checkout-autofill{margin:0 0 16px}
body.storefront #checkout .checkout-autofill>summary{display:flex;align-items:center;min-height:44px;font-size:14px;color:var(--yst-blue);cursor:pointer}
body.storefront #checkout .checkout-autofill>summary::before{content:'+';width:20px;font-size:18px}
body.storefront #checkout .checkout-autofill[open]>summary::before{content:'−'}
body.storefront #checkout .checkout-autofill>summary::-webkit-details-marker{display:none}
body.storefront #checkout .checkout-autofill[open] textarea{margin-top:8px}
body.storefront #checkout .checkout-summary-intro p{display:none}
body.storefront #checkout .checkout-price-card{padding-top:16px;border-top:1px solid var(--yst-line);border-radius:0}
body.storefront #checkout .checkout-price-card .checkout-summary-card-head{display:none}
body.storefront #checkout .checkout-cart-line{padding:12px 0}
body.storefront #checkout .checkout-cart-line:last-child{border-bottom:0}
body.storefront #checkout .checkout-support-card a{display:inline-flex;align-items:center;min-height:44px;color:var(--yst-blue);font-size:16px;font-weight:600;text-decoration:none}
body.storefront #checkout .checkout-payment-panel .checkout-confirm-button{margin-top:20px;min-height:48px;font-size:16px}
body.storefront #checkout .checkout-payment-panel :is(#paymentAccountRow,[hidden]){display:none!important}
body.storefront #checkout .checkout-payment-panel:not([data-payment-state=quoted]):not([data-payment-state=paid]) :is(.checkout-qr-media,.checkout-bank-label,.checkout-account-name,.checkout-qr-reference,.checkout-payment-warning){display:none}
body.storefront #checkout .checkout-payment-panel:not([data-payment-state=quoted]):not([data-payment-state=paid]) .checkout-qr-box{display:block;margin:0;padding:20px;border:0}
body.storefront #checkout .checkout-payment-panel:not([data-payment-state=quoted]):not([data-payment-state=paid]) #retryPaymentButton{width:100%;background:var(--yst-blue);border-color:var(--yst-blue);color:white;font-weight:600}
body.storefront #checkout #retryPaymentButton:disabled{background:var(--yst-muted);border-color:var(--yst-muted);cursor:wait}
body.storefront #checkout .checkout-qr-copy>.checkout-qr-reference{background:none;border:0;border-radius:0;padding:4px 0}
body.storefront #checkout .checkout-qr-reference :is(small,b){display:block}
body.storefront #checkout .checkout-payment-warning{background:none;border:0;border-radius:0;padding:0}
body.storefront #checkout .checkout-payment-panel[data-payment-state=paid] .checkout-qr-media{display:none}
body.storefront #checkout .checkout-payment-panel[data-payment-state=paid] .checkout-qr-box{display:block}
body.storefront #checkout .checkout-payment-panel[data-payment-state=paid] :is(.checkout-payment-warning,.checkout-bank-label,.checkout-account-name,.checkout-qr-reference,#checkoutPaymentAmountLabel,#paymentQrAmount){display:none}
body.storefront #checkout .checkout-payment-success{grid-column:1/-1;margin:0;padding:12px 0;background:none;border:0}
body.storefront #checkout :is(button,a,input,textarea,summary):focus-visible{outline:2px solid var(--yst-blue);outline-offset:3px}
body.storefront[data-active-tab=checkout] #video-guides{display:none}
@media(max-width:1000px){body.storefront #checkout .checkout-payment-panel{padding:20px}}
@media(max-width:760px){
 body.storefront #checkout :is(.checkout-form-panel,.checkout-payment-panel,.checkout-summary-panel){padding:20px}
 body.storefront #checkout .checkout-dialog{gap:20px}
 body.storefront #checkout .checkout-form-grid{grid-template-columns:minmax(0,1fr)}
 body.storefront #checkout .checkout-sound-card summary strong{font-size:15px}
 body.storefront #checkout .checkout-payment-panel:not([data-payment-state=quoted]):not([data-payment-state=paid]) .checkout-qr-box{padding:16px}
}

body.storefront #checkout .checkout-extra{margin-top:16px}
body.storefront #checkout .checkout-extra>summary{display:flex;align-items:center;min-height:44px;color:var(--yst-blue);font-size:14px;cursor:pointer;list-style:none}
body.storefront #checkout .checkout-extra>summary::-webkit-details-marker{display:none}
body.storefront #checkout :is(.checkout-extra,.checkout-autofill)>summary::before{content:'';width:7px;height:7px;margin-right:12px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}
body.storefront #checkout :is(.checkout-extra,.checkout-autofill)[open]>summary::before{transform:rotate(45deg)}
body.storefront #checkout .checkout-extra[open]>.checkout-field{margin-top:12px}
body.storefront #checkout .checkout-field.checkout-order-note textarea{height:72px;min-height:72px}
body.storefront #checkout .checkout-summary-panel :is(.checkout-summary-card,.checkout-support-card){border-radius:0}
body.storefront #checkout .checkout-summary-content{gap:12px}
body.storefront #checkout .checkout-cart-line .cart-configuration{margin-bottom:0}
body.storefront #checkout .checkout-qr-media{align-self:start;background:none}
body.storefront #checkout .checkout-qr-frame{height:auto;min-height:0}
body.storefront #checkout #soundCustomerDetails>summary{min-height:44px;margin:0;padding:8px 0;color:var(--yst-blue);font-size:14px}
body.storefront #checkout .checkout-payment-choice{transform:none}
body.storefront #checkout .checkout-payment-choice input{position:static;opacity:1;pointer-events:auto;flex:0 0 18px;width:18px;min-width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:var(--yst-blue)}
body.storefront #checkout .checkout-payment-choice :is(.checkout-payment-icon,.checkout-payment-check){display:none}
body.storefront #checkout .checkout-payment-choice:has(input:focus-visible){outline:2px solid var(--yst-blue);outline-offset:3px}
body.storefront #checkout .checkout-payment-panel[data-payment-state=paid] :is(.checkout-qr-copy,#soundOrderLockNotice){display:none}
body.storefront #checkout .checkout-payment-success>strong{font:600 20px/1.4 YSTBody,sans-serif}
body.storefront #checkout .checkout-payment-success>p{font:400 14px/1.6 YSTBody,sans-serif}
body.storefront[data-active-tab=checkout] .smart-cart-toast{pointer-events:none}
body.storefront #checkout .checkout-cart-line{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px 14px;align-items:start}
body.storefront #checkout .checkout-product-media{width:72px;margin:0;overflow:hidden;border-radius:10px;background:#fff}
body.storefront #checkout .checkout-product-media img{display:block;width:72px;height:72px;object-fit:contain}
body.storefront #checkout .checkout-product-media figcaption{padding:4px;font-size:11px;line-height:1.4;color:var(--yst-muted);text-align:center}
body.storefront #checkout .checkout-product-media>span{display:grid;place-items:center;min-height:72px;padding:6px;color:var(--yst-muted);font-size:12px;line-height:1.5;text-align:center}
body.storefront #checkout .checkout-product-copy{min-width:0}
body.storefront #checkout .checkout-product-copy strong{font-size:16px;font-weight:600;line-height:1.5}
body.storefront #checkout .checkout-product-copy p{margin:6px 0 0;color:var(--yst-muted);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
body.storefront #checkout .checkout-cart-line>.cart-configuration{grid-column:1/-1;margin:0}
body.storefront #checkout .checkout-shipping-note{margin:12px 0 0;color:var(--yst-muted);font-size:13px;line-height:1.6}
body.storefront #checkout .checkout-shipping-note[hidden]{display:none}
@media(max-width:380px){body.storefront #checkout .checkout-cart-line{grid-template-columns:60px minmax(0,1fr);gap:10px}body.storefront #checkout .checkout-product-media{width:60px}body.storefront #checkout .checkout-product-media img{width:60px;height:60px}}

body.storefront #checkout .checkout-confirm-help{margin:10px 0 0;color:var(--yst-muted);font-size:13px;line-height:1.6}
body.storefront #checkout .checkout-confirm-help[hidden]{display:none}
body.storefront[data-active-tab=checkout] :is(.store-back-top,.smart-cart-toast[data-state=success]){display:none}
body.storefront #checkout .checkout-payment-panel[data-payment-state=draft] .checkout-payment-status::before{display:none}
body.storefront #checkout .checkout-payment-consent{margin:18px 0;padding:16px;background:#f3f7ff;border-radius:12px}
body.storefront #checkout .checkout-payment-consent[hidden]{display:none}
body.storefront #checkout .checkout-terms-label{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.65;color:#17345d;cursor:pointer}
body.storefront #checkout .checkout-terms-label input{flex:0 0 22px;width:22px;min-width:22px;height:22px;min-height:22px;margin:2px 0 0;padding:0;accent-color:var(--yst-blue)}
body.storefront #checkout .checkout-terms-label:has(input:focus-visible){outline:2px solid var(--yst-blue);outline-offset:5px}
body.storefront #checkout .checkout-terms-label a{color:#164f9c;text-decoration:underline;text-underline-offset:3px}
body.storefront #checkout .checkout-terms-help{margin:12px 0;color:#465b78;font-size:13px;line-height:1.65}
body.storefront #checkout #createPaymentButton{width:100%;min-height:44px;white-space:normal;line-height:1.5}
