/* Storefront extensions inherit Kvio's semantic palette and shared controls. */
.sf-header-inner{gap:18px}.sf-nav{gap:18px;align-items:center}.sf-nav a{white-space:nowrap}.sf-header .sf-brand{min-width:0}.sf-header .sf-shop-name{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sf-menu-toggle{display:none!important}.sf-product-info h3 a:hover,.sf-gift-card h4 a:hover{color:var(--action)}
.sf-menu-dialog{width:min(420px,calc(100% - 24px));margin:12px 12px auto auto}.sf-menu-dialog nav{display:flex;flex-direction:column;padding:12px 24px 24px}.sf-menu-dialog nav>a,.sf-menu-dialog nav>button{display:flex;align-items:center;text-align:left;min-height:52px;padding:12px 0;border:0;border-bottom:1px solid var(--border);border-radius:0;background:none;color:var(--text);font-size:16px}.sf-menu-dialog nav>[data-customer-login]{color:var(--action);margin-top:10px}.sf-menu-dialog .sf-dialog-head h2{overflow-wrap:anywhere}
#product-dialog{width:min(1040px,calc(100% - 32px))}#product-dialog[open]{display:flex;flex-direction:column;overflow:hidden}#product-dialog .sf-dialog-head{padding:22px 28px;align-items:flex-start}#product-dialog .sf-dialog-head h2{font-size:clamp(22px,2.3vw,28px);line-height:1.25;overflow-wrap:anywhere}#product-dialog .sf-dialog-head p{margin:6px 0 0;color:var(--muted);font-size:14px}#product-dialog .sf-dialog-head>.icon-btn{flex:none;margin:-6px -10px 0 0}
#product-dialog .sf-product-detail{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);align-items:start}#product-dialog .sf-product-gallery{min-width:0;background:var(--canvas);padding:24px}#product-dialog .sf-detail-content{padding:30px;min-width:0}#product-dialog .sf-detail-story{font-size:17px;line-height:1.65;margin:0 0 22px;white-space:pre-line;overflow-wrap:anywhere}#product-dialog .sf-detail-content>p{line-height:1.6}#product-dialog .sf-packaging legend{font-size:16px;margin-bottom:14px}#product-dialog .sf-packaging{margin:24px 0}#product-dialog .sf-packaging label{padding:12px;min-height:54px;font-size:14px}#product-dialog .sf-packaging label>span{overflow-wrap:anywhere}
.sf-gallery-main{display:block;position:relative;width:100%;aspect-ratio:1;height:auto;min-height:0;border:0;border-radius:10px;background:var(--surface);overflow:hidden;padding:0;cursor:zoom-in}.sf-gallery-main img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.sf-gallery-main:disabled{cursor:default}.sf-gallery-main .sf-photo-fallback{padding:20px;color:var(--muted)}.sf-gallery-zoom{position:absolute;z-index:1;bottom:12px;left:12px;right:12px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;min-height:44px;background:var(--surface);border-radius:8px;font-size:13px;color:var(--text);box-shadow:0 3px 12px #28314318}.sf-gallery-zoom .icon{width:18px}.sf-gallery-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:12px 2px 2px;scrollbar-width:thin;scrollbar-color:var(--control-border) transparent}.sf-gallery-thumbnails button{flex:none;width:66px;height:72px;padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.sf-gallery-thumbnails button[aria-pressed=true]{border:2px solid var(--action);padding:2px}.sf-gallery-thumbnails img{width:100%;height:100%;object-fit:cover;border-radius:4px}
.sf-product-receipt{display:flex;align-items:flex-start;gap:10px;margin:28px 0 20px;padding-top:20px;border-top:1px solid var(--border);color:var(--muted)}.sf-product-receipt .icon{flex:none;width:20px;margin-top:2px}.sf-product-receipt p{font-size:14px;line-height:1.6;margin:0}.sf-share-product{display:inline-flex;align-items:center;gap:8px;min-height:44px}.sf-share-product .icon{width:18px}.sf-product-purchase{padding:18px 28px}.sf-product-purchase>div>span{display:block;color:var(--muted);font-size:13px;margin-bottom:4px}.sf-product-purchase .btn{min-width:220px}.sf-product-fallback{padding-block:28px}.sf-product-fallback>div{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:24px}.sf-product-fallback .sf-photo{height:400px}.sf-product-fallback h1{font-size:32px}.sf-product-fallback p{margin:20px 0}
#storefront-addons{display:block}#storefront-addons>.sf-addon-category{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:32px 0}#storefront-addons>.sf-addon-category>h4{grid-column:1/-1;font-size:20px;margin:0}.sf-gift-card{min-width:0;display:flex;flex-direction:column;gap:16px}.sf-gift-photo{display:block;overflow:hidden;border-radius:10px;background:var(--canvas)}.sf-gift-photo>.sf-photo{height:280px}.sf-gift-card h4,.sf-gift-card h3{font-size:18px;margin:0 0 8px}.sf-gift-card p{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 14px;overflow-wrap:anywhere}.sf-gift-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.sf-gift-bottom strong{font-size:18px}.sf-addon-row>a{display:block;flex:0 0 72px;width:72px;min-width:0}.sf-cart-extras .sf-addon-row>a{width:48px;flex-basis:48px}.sf-addon-row strong a{color:inherit}.sf-addon-row>a .sf-addon-photo{width:100%}
.sf-photo-dialog{width:calc(100% - 32px);max-width:1440px;height:calc(100dvh - 32px);max-height:calc(var(--usable-height,100dvh) - 16px);padding:0;background:var(--canvas)}.sf-photo-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.sf-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;background:var(--surface);flex:none}.sf-viewer-head h2{font-size:18px;line-height:1.4;overflow-wrap:anywhere}.sf-viewer-head h2 span{font-size:13px;font-weight:400;color:var(--muted);margin-left:16px;white-space:nowrap}.sf-viewer-head>.icon-btn{flex:none}.sf-viewer-stage{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.sf-viewer-image{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:12px;border:0;background:transparent;cursor:zoom-in}.sf-viewer-image>img{display:block;width:100%;height:100%;object-fit:contain}.sf-viewer-image.is-zoomed{width:max-content;height:max-content;min-width:100%;min-height:100%;cursor:zoom-out}.sf-viewer-image.is-zoomed>img{width:auto;height:auto;max-width:none}.sf-viewer-controls{flex:none;display:flex;align-items:center;justify-content:center;gap:20px;padding:10px 20px;background:var(--surface)}.sf-viewer-controls>span{font-size:13px;color:var(--muted)}.sf-viewer-controls>.btn{width:48px;height:44px;padding:10px;flex:none}.sf-viewer-controls [data-viewer-prev] .icon{transform:rotate(180deg)}.sf-viewer-error{margin:24px}
.sf-auth-dialog{width:min(460px,calc(100% - 24px));background:linear-gradient(160deg,var(--rose-subtle),var(--surface) 45%)}.sf-auth-close{position:absolute;right:12px;top:12px;z-index:2}.sf-auth-body{padding:38px 34px 32px}.sf-auth-body>.kvio-logo{width:max-content;margin-bottom:28px}.sf-auth-body h2{font-size:28px;line-height:1.2;letter-spacing:-.025em;max-width:320px;margin:0 0 14px}.sf-auth-intro{font-size:15px;line-height:1.6;color:var(--muted);margin:0 0 24px}.sf-auth-providers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sf-auth-providers .btn{display:flex;gap:10px;justify-content:center;min-height:48px;background:var(--surface);padding:10px}.sf-auth-providers img,.sf-auth-providers svg,.sf-auth-telegram img,.sf-auth-telegram svg{width:22px;height:22px;flex:none}.sf-auth-divider{display:flex;align-items:center;gap:12px;margin:22px 0;color:var(--muted);font-size:13px}.sf-auth-divider:before,.sf-auth-divider:after{content:'';height:1px;background:var(--border);flex:1}.sf-auth-body form>.btn{width:100%;min-height:50px;justify-content:center;gap:10px}.sf-auth-body .field>input{font-size:16px;min-height:50px}.sf-auth-error{color:var(--error-text);font-size:14px;line-height:1.5;margin:14px 0}.sf-auth-error:empty{display:none}.sf-auth-body form>.btn{margin-top:16px}.sf-auth-timing{font-size:14px;color:var(--muted);margin:22px 0 12px}.sf-auth-alternatives{display:flex;gap:10px}.sf-auth-alternatives .btn{gap:8px}.sf-auth-restart{display:flex;align-items:center;gap:8px;min-height:44px;margin-top:16px}.sf-auth-telegram{display:flex;gap:10px;align-items:center;justify-content:center;margin-bottom:20px}#sf-auth-code{font-size:24px;letter-spacing:.18em;font-variant-numeric:tabular-nums}
.sf-contacts:has(.sf-map-wide){padding-bottom:0}.sf-map-wide{margin-top:48px;border-radius:0;width:100%;min-height:420px}.sf-map-wide .sf-map-canvas{height:480px;height:clamp(360px,52vw,540px)}.sf-map-wide .sf-map-placeholder{min-height:420px;align-items:center;justify-content:center;text-align:center;padding:28px}.sf-map-marker{position:absolute;transform:translate(-50%,calc(-100% - 15px));max-width:240px;min-width:100px;padding:13px 19px;border-radius:12px;background:var(--surface,#fff);box-shadow:0 6px 24px #2831432b;color:var(--accent-text,#a62151);text-align:center;font-family:system-ui,sans-serif;font-size:16px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}.sf-map-marker:before{content:'';position:absolute;left:50%;bottom:-12px;transform:translateX(-50%);border:6px solid transparent;border-top-color:var(--surface,#fff);border-bottom:0;border-top-width:12px}.sf-map-marker:after{content:'';position:absolute;inset:5px 12px auto;height:2px;border-radius:2px;background:var(--brand,#d94478)}
@media(max-width:1100px){.sf-header .sf-nav{display:none}.sf-menu-toggle{display:inline-grid!important;order:4;flex:none;width:44px;height:44px}.sf-header-inner{flex-wrap:nowrap;min-height:76px;gap:12px}.sf-header .sf-brand{flex:1;gap:8px}.sf-header .sf-shop-name{max-width:180px;font-size:20px}.sf-header .sf-customer-login{order:2;margin-left:auto;flex:none}.sf-header .sf-cart-button{order:3;flex:none;border:0;padding:0}.sf-header .sf-cart-button>span:not(.sf-cart-count){display:none}.sf-header .sf-cart-button{position:relative;min-width:44px;justify-content:center}.sf-header .sf-cart-count{position:absolute;right:-4px;top:0;min-width:20px;height:20px;font-size:11px}.sf-header .sf-brand>svg{width:30px;height:30px;flex:none}#storefront-addons>.sf-addon-category{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#product-dialog{width:calc(100% - 16px)}#product-dialog .sf-dialog-head{padding:16px 20px}#product-dialog .sf-dialog-head h2{font-size:22px}#product-dialog .sf-product-detail{grid-template-columns:1fr}#product-dialog .sf-product-gallery{padding:16px 20px}#product-dialog .sf-gallery-main{aspect-ratio:4/3;max-height:380px}#product-dialog .sf-detail-content{padding:24px 20px}.sf-product-purchase{padding:14px 20px}.sf-product-purchase .btn{min-width:0;flex:1;max-width:240px}.sf-product-fallback>div{grid-template-columns:1fr}.sf-photo-dialog{width:calc(100% - 12px);height:calc(100dvh - 12px)}.sf-viewer-head{padding:12px 16px}.sf-viewer-head h2{font-size:16px}.sf-viewer-head h2 span{display:block;margin:4px 0 0}.sf-viewer-controls{padding:8px;gap:12px}.sf-viewer-controls>span{text-align:center;font-size:12px}.sf-map-wide{margin-top:32px;min-height:360px}.sf-map-wide .sf-map-placeholder{min-height:360px}.sf-map-marker{max-width:200px;font-size:14px;padding:12px 16px}}
@media(max-width:480px){.sf-header-inner{width:calc(100% - 24px);gap:8px;min-height:68px}.sf-header .sf-brand .sf-shop-name{max-width:115px;font-size:17px}.sf-header .sf-brand .sf-shop-logo{width:28px;height:28px}.sf-header .sf-customer-login{padding:9px 10px;font-size:13px}.sf-header .sf-brand>svg{width:26px;height:26px}.sf-header .sf-brand:has(.sf-shop-name)>svg{display:none}.sf-header .kvio-logo{transform-origin:left center;transform:scale(.82)}#storefront-addons>.sf-addon-category{grid-template-columns:minmax(0,1fr);gap:28px}.sf-gift-photo>.sf-photo{height:310px}.sf-auth-body{padding:34px 22px 26px}.sf-auth-body h2{font-size:26px}.sf-auth-providers{gap:8px}.sf-auth-providers .btn{font-size:14px}.sf-product-purchase{padding:12px 16px;gap:12px}.sf-product-purchase>.btn{font-size:14px}.sf-product-purchase .sf-detail-price{font-size:20px!important}.sf-product-purchase>div>span{font-size:12px}.sf-menu-dialog{margin:8px;width:calc(100% - 16px)}}
@media(max-width:350px){.sf-header .sf-brand .sf-shop-name{max-width:82px}.sf-header .sf-brand:has(.sf-shop-logo) .sf-shop-name{display:none}.sf-auth-body{padding-inline:18px}.sf-auth-providers .btn{gap:7px}.sf-product-purchase>.btn .icon{display:none}}
@media(max-height:500px){#product-dialog .sf-dialog-head{padding:12px 20px}#product-dialog .sf-dialog-head h2{font-size:20px}.sf-product-purchase{padding-block:10px}.sf-auth-body{padding-block:24px}.sf-auth-body>.kvio-logo{margin-bottom:18px}}
.sf-body .sf-product-image:focus-visible,.sf-body .sf-gift-photo:focus-visible,.sf-body .sf-gallery-main:focus-visible,.sf-body .sf-gallery-thumbnails button:focus-visible,.sf-body .sf-viewer-image:focus-visible{outline:2px solid var(--focus);outline-offset:3px}

.sf-hero h2#hero-title{font-size:32px;line-height:1.2;letter-spacing:-.03em;margin-bottom:22px}
@media(max-width:760px){.sf-hero h2#hero-title{font-size:30px;line-height:1.25;margin-bottom:16px}.sf-hero h2#hero-title br{display:none}}

/* Legal documents: a continuous reading surface without collapsed outer margins. */
html.sf-legal-page,.sf-legal-body{background:#fff;min-height:100%}.sf-legal-body{display:flow-root;margin:0}.sf-legal-header,.sf-legal-footer{width:100%;margin-inline:0}.sf-legal-header-inner,.sf-legal-footer-inner{width:min(760px,calc(100% - 40px));margin-inline:auto}.sf-legal-header nav,.sf-legal-footer nav{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 24px}.sf-legal-header{padding-block:16px;border-bottom:1px solid var(--border)}.sf-legal-header a,.sf-legal-footer a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--accent-text);overflow-wrap:anywhere}.sf-legal-header nav>span{font-size:13px;color:var(--muted)}.sf-legal-body .sf-legal-document{width:min(760px,calc(100% - 40px));margin:0 auto;padding-block:28px 32px;font-size:16px;line-height:1.8}.sf-legal-document h1{font-size:clamp(28px,4vw,36px);line-height:1.2;letter-spacing:-.025em;margin:0 0 24px}.sf-legal-document h2{font-size:21px;line-height:1.4;margin:28px 0 10px}.sf-legal-document ul{padding-left:20px;margin:0}.sf-legal-document li a{display:inline-block;min-height:44px;padding-block:6px;overflow-wrap:anywhere}.sf-legal-footer{padding-block:16px 24px;border-top:1px solid var(--border);font-size:14px}.sf-legal-body a:focus-visible{outline:2px solid var(--accent-text);outline-offset:4px;border-radius:3px}@media(max-width:600px){.sf-legal-header nav>span{display:none}.sf-legal-header{padding-block:8px}.sf-legal-body .sf-legal-document{padding-block:24px}.sf-legal-document h2{font-size:20px}.sf-legal-footer nav{align-items:flex-start;flex-direction:column;gap:0}.sf-legal-footer{padding-block:12px 20px}}

.sf-gallery-main .sf-photo-fallback[hidden]{display:none}.sf-auth-body .sf-auth-intro{margin:0 0 20px}.sf-auth-body .sf-auth-timing{margin:18px 0 10px}@media(min-width:761px){#product-dialog .sf-gallery-main{height:min(480px,calc(100dvh - 340px));min-height:220px;aspect-ratio:auto}}

/* Full shop identity and compact, accessible account/photo actions. */
.sf-header .sf-brand{flex:1;min-width:0}.sf-header .sf-brand .sf-shop-name{display:block;max-width:none;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.3;font-size:18px}.sf-header .sf-customer-login{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;padding:10px;border:0;background:transparent}.sf-header .sf-customer-login .icon{width:24px;height:24px}.sf-header-inner{padding-block:12px}.sf-gallery-zoom{right:auto;width:44px;height:44px;border-radius:50%;padding:12px}.sf-gallery-zoom .icon{width:20px;height:20px}.sf-legal-header .icon,.sf-legal-footer .icon{flex:none;width:18px;height:18px}
.sf-price-pair{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.35;font-variant-numeric:tabular-nums}.sf-price-pair del{font-size:14px;font-weight:400;color:var(--muted);white-space:nowrap;text-decoration-thickness:1px}.sf-price-pair strong{font-size:inherit;font-weight:600;color:var(--text);white-space:nowrap}.sf-product-bottom>.sf-price-pair,.sf-gift-bottom>.sf-price-pair{font-size:20px}.sf-product-purchase #detail-price{line-height:1.35}.sf-hero-caption .sf-price-pair{display:flex;flex-direction:row;gap:8px;align-items:center;margin-top:6px}.sf-hero-caption .sf-price-pair strong,.sf-hero-caption .sf-price-pair del{font-size:13px}.sf-product-purchase>div>span:has(+.sf-detail-price del){display:none}
@media(max-width:1100px){.sf-header .sf-brand .sf-shop-name{font-size:18px}.sf-header-inner{gap:8px}}
@media(max-width:480px){.sf-header .sf-brand .sf-shop-name{font-size:16px}.sf-header-inner{gap:4px;padding-block:10px}.sf-header .sf-brand:has(.sf-shop-logo) .sf-shop-name{display:block}.sf-header .sf-brand:has(.sf-shop-logo){gap:6px}.sf-header .sf-shop-logo{flex:none}}

#product-dialog .sf-packaging label>.sf-price-pair{margin-left:auto;flex:none;align-items:flex-end;font-size:15px}#product-dialog .sf-packaging .sf-price-pair del{font-size:12px}

@media(max-width:600px){.sf-cart-extras .sf-addon-row>a,.sf-upsells .sf-addon-row>a{width:64px;grid-row:1 / span 2}}

/* Payment acceptance and the readable store contract share both storefront modes. */
.sf-payment-acceptance{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;padding-block:12px 20px;color:var(--muted);font-size:13px}
.sf-payment-label{font-weight:600}
.sf-payment-marks{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;list-style:none;padding:0;margin:0}
.sf-payment-marks li{display:flex;align-items:center;justify-content:center;min-height:40px}
.sf-payment-marks img{display:block;object-fit:contain;flex:none;max-width:none}
.sf-payment-acceptance small{flex-basis:100%;font-size:12px;line-height:1.6}
.sf-legal-document .sf-legal-version{font-size:14px;color:var(--muted);margin-top:24px}
.sf-seller-details{margin:0 0 20px;overflow-wrap:anywhere}
.sf-seller-details>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px 20px;padding-block:5px}
.sf-seller-details dt{color:var(--muted);font-size:14px}.sf-seller-details dd{margin:0;font-weight:600}
.sf-legal-document .sf-legal-incomplete{font-size:14px;background:var(--surface);padding:16px;border:1px solid var(--border);border-radius:12px}
.sf-offer-contents{display:flex;flex-wrap:wrap;gap:0 20px;margin-block:20px 28px;padding-block:8px;border-block:1px solid var(--border);font-size:14px}
.sf-offer-contents a{display:inline-flex;align-items:center;min-height:44px}
.sf-legal-document h2{scroll-margin-top:24px;overflow-wrap:anywhere}.sf-legal-document p{margin:0 0 16px;overflow-wrap:anywhere}
.sf-legal-footer .sf-payment-acceptance{padding-top:20px}.sf-legal-footer .sf-payment-marks{padding:0}
@media(max-width:480px){.sf-seller-details>div{grid-template-columns:1fr;gap:0}.sf-payment-acceptance{column-gap:16px}.sf-payment-marks{column-gap:16px}}
@media print{.sf-legal-header,.sf-legal-footer,.sf-offer-contents{display:none}.sf-legal-body .sf-legal-document{width:auto;max-width:none;padding:0;font-size:11pt;line-height:1.5}.sf-legal-document h2{break-after:avoid}.sf-seller-details{break-inside:avoid}}

/* A location is a purchase context, kept visible before checkout. */
.sf-pickup-location{min-width:0}.sf-pickup-location .field{margin:0}.sf-pickup-location .control{max-width:100%}.sf-location-message{margin:12px 0 0;font-size:14px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}.sf-pickup-location[hidden],.sf-location-message[hidden]{display:none}

