/* Customer storefront presentation. Existing controls and ordering handlers are retained. */
html.swift-design body #merchantStorePage{--sf-ink:#171918;--sf-accent:#ff7900;background:#fff!important;color:var(--sf-ink);padding:0 24px calc(172px + env(safe-area-inset-bottom))!important;isolation:isolate;overflow-x:hidden!important;scroll-padding-top:24px}
#merchantStorePage>*{box-sizing:border-box}
html.swift-design body #merchantStorePage .store-profile-cover{height:clamp(220px,30vw,360px)!important;margin:0 -24px!important;width:calc(100% + 48px)!important;border-radius:0 0 26px 26px!important;background:#f3f3f1!important;overflow:hidden}
html.swift-design body #merchantStorePage .store-profile-cover>img:not(.store-cover-product){width:100%;height:100%;object-fit:cover;object-position:center}
html.swift-design body #merchantStorePage .store-toolbar{position:absolute!important;inset:calc(16px + env(safe-area-inset-top)) 24px auto!important;display:flex;justify-content:space-between;z-index:4;margin:0!important;padding:0!important;background:transparent!important;border:0!important;pointer-events:none}
html.swift-design body #merchantStorePage .store-toolbar>button:first-child{pointer-events:auto;width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;font-size:0!important;border:1px solid #ffffff40!important;border-radius:50%!important;background:#111c!important;color:#fff!important;box-shadow:none!important}
#merchantStorePage .store-toolbar>button:first-child:after{content:'←';font:26px/1 system-ui}
html.swift-design body #merchantStorePage .store-toolbar .store-cart-link{pointer-events:auto;position:fixed!important;top:auto!important;left:50%!important;right:auto!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;transform:translateX(-50%);width:min(550px,calc(100vw - 32px))!important;min-height:58px!important;padding:16px 24px!important;border:0!important;border-radius:32px!important;background:#151716!important;color:#fff!important;box-shadow:0 6px 24px #0002!important;font-size:16px!important;font-weight:700!important;text-align:left;display:flex;align-items:center;justify-content:space-between}
#merchantStorePage .store-cart-link:after{content:'→';font-size:26px;line-height:1}
html.swift-design body #merchantStorePage .store-hero{padding:0 0 16px!important;margin:0!important;border-radius:0!important;background:#fff!important}
html.swift-design body #merchantStorePage .store-identity{position:static!important;display:grid!important;grid-template-columns:90px minmax(0,1fr);gap:10px 18px!important;padding-top:18px!important;align-items:center}
html.swift-design body #merchantStorePage .store-avatar{width:90px!important;height:90px!important;min-width:0!important;margin-top:-38px!important;border:5px solid #fff!important;background:#fff!important;box-shadow:0 4px 16px #0000000d!important}
html.swift-design body #merchantStorePage .store-identity h1{font-family:inherit;font-size:clamp(23px,3vw,34px)!important;font-weight:750!important;line-height:1.15!important;letter-spacing:-.8px!important;color:#171918!important;overflow-wrap:anywhere;margin:0 0 10px!important}
html.swift-design body #merchantStorePage .store-header-meta{gap:6px 12px!important;color:#727673!important;font-size:12px!important;line-height:1.5}
html.swift-design body #merchantStorePage .store-header-meta p{color:#727673!important}
html.swift-design body #merchantStorePage .store-header-actions{grid-column:1/-1;width:100%!important;padding:2px 0 0!important;justify-content:flex-end;gap:8px!important}
html.swift-design body #merchantStorePage .store-header-actions button,html.swift-design body #merchantStorePage .store-header-actions a{height:40px!important;min-height:40px!important;flex:0 1 auto!important;padding:0 14px!important;border:1px solid #e9e9e6!important;background:#fff!important;box-shadow:none!important;color:#252725!important;border-radius:12px!important;font-size:12px!important}
html.swift-design body #merchantStorePage .store-header-save>span{color:inherit!important;font-size:23px!important}
html.swift-design body #merchantStorePage .store-header-save[aria-pressed=true]>span{color:#d84343!important}
html.swift-design body #merchantStorePage .swift-store-highlights{margin:0 0 16px!important;gap:8px!important}
html.swift-design body #merchantStorePage .swift-store-tag{background:#d82929!important;border-color:#d82929!important;color:#fff!important;border-radius:6px!important;font-weight:650!important}
html.swift-design body #merchantStorePage #storePublicDetails{margin:0 0 20px!important;border:1px solid #ececea!important;border-radius:14px!important;background:#fff!important}
html.swift-design body #merchantStorePage .store-section-nav{display:flex;gap:28px;border-bottom:1px solid #ececea;margin:0 0 20px;padding:0;background:#fff}
html.swift-design body #merchantStorePage .store-section-nav button{position:relative;min-height:48px;margin:0;padding:12px 2px;border:0;border-radius:0;background:none;color:#777;font:600 14px inherit;box-shadow:none}
#merchantStorePage .store-section-nav button[aria-current=true]{color:#171918}
#merchantStorePage .store-section-nav button[aria-current=true]:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:3px;border-radius:3px;background:#ff7900}
html.swift-design body #merchantStorePage .store-search-row{display:flex;gap:10px!important;margin:0 0 16px!important;padding:0!important}
html.swift-design body #merchantStorePage .store-search-row input{flex:1;min-width:0;width:0;height:48px!important;margin:0!important;padding:12px 15px!important;border:1px solid #eaeae7!important;border-radius:14px!important;background:#f6f6f4!important;font-size:16px!important;color:#202320!important;box-shadow:none!important}
html.swift-design body #merchantStorePage .store-filter-button{height:48px!important;min-width:75px!important;margin:0!important;padding:10px 13px!important;border:1px solid #eaeae7!important;border-radius:14px!important;background:#fff!important;color:#222!important;box-shadow:none!important}
html.swift-design body #merchantStorePage .store-chips{display:flex;flex-wrap:nowrap!important;overflow-x:auto;gap:8px!important;margin:0 0 20px!important;padding:0 0 4px!important;scrollbar-width:none}
#merchantStorePage .store-chips::-webkit-scrollbar{display:none}
html.swift-design body #merchantStorePage .store-chips button{flex-shrink:0;min-height:40px;margin:0!important;padding:10px 17px!important;border:0!important;border-radius:24px!important;background:#f3f3f1!important;color:#535651!important;font-size:13px!important;box-shadow:none!important;white-space:nowrap}
html.swift-design body #merchantStorePage .store-chips button[aria-pressed=true]{background:#171918!important;color:#fff!important}
html.swift-design body #merchantStorePage .store-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;margin:0!important;padding:0!important}
html.swift-design body #merchantStorePage .store-product{display:flex!important;flex-direction:column;position:relative;min-width:0;padding:0 12px 12px!important;border:1px solid #eaeae7!important;border-radius:18px!important;overflow:hidden;background:#fff!important;box-shadow:none!important}
html.swift-design body #merchantStorePage .store-product>img{width:calc(100% + 24px)!important;max-width:none!important;height:auto!important;aspect-ratio:1.25;object-fit:contain!important;background:#fafaf8!important;border-radius:0!important;margin:0 -12px!important}
html.swift-design body #merchantStorePage .store-product h3{font-size:15px!important;line-height:1.35!important;letter-spacing:-.2px;color:#191b19!important;margin:14px 0 8px!important;font-weight:650!important}
html.swift-design body #merchantStorePage .store-price{display:block;font-size:15px!important;color:#171918!important;margin:auto 0 12px!important;padding-top:3px}
html.swift-design body #merchantStorePage .store-product .store-add{width:100%;min-height:42px!important;margin:0!important;padding:10px 12px!important;background:#171918!important;color:#fff!important;border:0!important;border-radius:23px!important;font-size:14px!important;box-shadow:none!important}
html.swift-design body #merchantStorePage .store-heart{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;top:9px!important;right:9px!important;padding:0!important;border:1px solid #ffffff80!important;background:#171918dc!important;color:#fff!important;border-radius:50%!important;box-shadow:none!important}
html.swift-design body #merchantStorePage .store-heart[aria-pressed=true]{color:#ffad93!important}
html.swift-design body #merchantStorePage .store-item-share{margin:8px 0 0!important;border-radius:18px!important;background:#171918!important;color:#fff!important}
#merchantStorePage .store-notice:empty{display:none}
#merchantStorePage .store-item-quantity:empty{display:none}
#merchantStorePage button:focus-visible,#merchantStorePage a:focus-visible{outline:2px solid #ff7900!important;outline-offset:3px}
@media(max-width:900px){html.swift-design body #merchantStorePage .store-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){html.swift-design body #merchantStorePage{padding-left:14px!important;padding-right:14px!important}html.swift-design body #merchantStorePage .store-profile-cover{margin:0 -14px!important;width:calc(100% + 28px)!important;height:230px!important}html.swift-design body #merchantStorePage .store-toolbar{left:16px!important;right:16px!important}html.swift-design body #merchantStorePage .store-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}html.swift-design body #merchantStorePage .store-identity{grid-template-columns:74px minmax(0,1fr);gap:12px!important}html.swift-design body #merchantStorePage .store-avatar{width:74px!important;height:74px!important;margin-top:-32px!important}html.swift-design body #merchantStorePage .store-identity h1{font-size:23px!important}html.swift-design body #merchantStorePage .store-header-prep{border:0;padding-left:0}html.swift-design body #merchantStorePage .store-header-actions{justify-content:flex-start}html.swift-design body #merchantStorePage .store-product h3{font-size:14px!important}html.swift-design body #merchantStorePage .store-profile-call{width:100%!important}html.swift-design body #merchantStorePage .store-profile-cover .store-cover-intro{max-width:50%;padding:22px!important}}
@media(prefers-reduced-motion:reduce){#merchantStorePage{scroll-behavior:auto!important}}
html.swift-design body #merchantStorePage.shop-active-page{padding-top:0!important;padding-bottom:calc(172px + env(safe-area-inset-bottom))!important}
html.swift-design body #merchantStorePage #storePublicDetails[hidden]{display:none!important}
html.swift-design body #merchantStorePage .store-section-nav button{font-family:inherit;font-size:14px;font-weight:650}
html.swift-design body #merchantStorePage .store-profile-cover>img:not(.store-cover-product){object-fit:contain!important;background:#f5f5f3}
html.swift-design body #merchantStorePage .store-toolbar .store-cart-link{bottom:calc(16px + env(safe-area-inset-bottom))!important}
html.swift-design body #merchantStorePage .store-header-actions .store-header-save,html.swift-design body #merchantStorePage .store-header-actions .store-profile-share{position:absolute!important;top:calc(16px + env(safe-area-inset-top))!important;width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;border-radius:50%!important;border-color:#ffffff40!important;background:#111c!important;color:#fff!important;font-size:0!important;z-index:5}
html.swift-design body #merchantStorePage .store-header-actions .store-header-save{right:72px!important}
html.swift-design body #merchantStorePage .store-header-actions .store-profile-share{right:20px!important}
#merchantStorePage .store-profile-share>span{display:none}
html.swift-design body #merchantStorePage .store-header-actions .store-header-save>span{font-size:25px!important}
html.swift-design body #merchantStorePage .store-header-actions .store-profile-share svg{width:19px;height:19px}
/* Restore the original store-cover dimensions and fill behavior only. */
html.swift-design body #merchantStorePage .store-profile-cover{height:clamp(130px,15vw,210px)!important;width:100%!important;margin:0!important;border-radius:18px 18px 0 0!important}
html.swift-design body #merchantStorePage .store-profile-cover>img:not(.store-cover-product){object-fit:cover!important;object-position:center!important}
@media(max-width:540px){html.swift-design body #merchantStorePage .store-profile-cover{height:125px!important;border-radius:14px 14px 0 0!important}}
/* A solid safe area separates store artwork and controls from phone cutouts. */
html.swift-design body #merchantStorePage.shop-active-page{--store-safe-top:max(24px,calc(env(safe-area-inset-top,0px) + 12px));padding-top:var(--store-safe-top)!important;mask-image:none!important;-webkit-mask-image:none!important;scroll-padding-top:16px}
html.swift-design body #merchantStorePage .store-toolbar{top:calc(var(--store-safe-top) + 12px)!important;left:36px!important;right:36px!important}
html.swift-design body #merchantStorePage .store-header-actions .store-header-save,html.swift-design body #merchantStorePage .store-header-actions .store-profile-share{top:calc(var(--store-safe-top) + 12px)!important}
html.swift-design body #merchantStorePage .store-header-actions .store-header-save{right:88px!important}
html.swift-design body #merchantStorePage .store-header-actions .store-profile-share{right:36px!important}
html.swift-design body #merchantStorePage .store-section-nav{gap:24px;flex-wrap:nowrap}
html.swift-design body #merchantStorePage .store-section-nav button{white-space:nowrap;min-height:48px}
html.swift-design body #merchantStorePage .store-location-panel[hidden]{display:none!important}
html.swift-design body #merchantStorePage .store-location-panel{padding:18px;border:1px solid #e8e8e5;border-radius:16px;margin:0 0 20px;background:#fff}
#merchantStorePage .store-location-panel h2{font-size:18px;margin:0 0 10px}
#merchantStorePage .store-location-panel p{font-size:14px;color:#616661;line-height:1.5;overflow-wrap:anywhere}
#merchantStorePage .store-location-panel iframe{width:100%;height:240px;border:0;border-radius:12px;display:block;margin:16px 0}
#merchantStorePage .store-location-panel>a{display:inline-flex;min-height:44px;align-items:center;padding:10px 16px;border-radius:12px;background:#171918;color:#fff;font-size:13px;text-decoration:none}
html.swift-design body #merchantStorePage:is([data-store-view=about],[data-store-view=location]) :is(.store-search-row,.store-chips,.store-product-grid,.store-offers,.po-store-offers,.store-notice,#storePaidAd){display:none!important}
@media(max-width:600px){html.swift-design body #merchantStorePage.shop-active-page{--store-safe-top:max(56px,calc(env(safe-area-inset-top,0px) + 12px))}html.swift-design body #merchantStorePage .store-toolbar{left:26px!important;right:26px!important}html.swift-design body #merchantStorePage .store-header-actions .store-header-save{right:78px!important}html.swift-design body #merchantStorePage .store-header-actions .store-profile-share{right:26px!important}}
html.swift-design body #catalogueFilterDialog{box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - max(80px,env(safe-area-inset-top)) - max(32px,env(safe-area-inset-bottom)));margin:auto;border-radius:20px;overflow-y:auto}
/* Neutral store-map palette; map pins, controls and coordinates are unchanged. */
html.swift-design body #merchantStorePage .store-location-panel iframe{filter:grayscale(1) contrast(1.08);background:#f3f3f1}
#merchantStorePage .store-branded-map{width:100%;height:260px;border-radius:12px;overflow:hidden;margin:16px 0;background:#eeece6}
#merchantStorePage .store-map-logo{position:absolute;width:38px;height:38px;box-sizing:border-box;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #252b26,0 3px 10px #0003;display:grid;place-items:center;color:#252b26;font:700 18px system-ui;pointer-events:none}
#merchantStorePage .store-map-logo img{display:block;width:100%;height:100%;border-radius:50%;object-fit:contain;background:#fff}

#merchantStorePage .store-branded-map .gm-style button{background-color:transparent!important;color:#333!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-family:Arial,sans-serif!important}
#merchantStorePage .store-branded-map .gm-style a{background:transparent!important;color:#333!important;min-height:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important}

/* A fixed action must not lose its horizontal position when pressed. */
html.swift-design body #merchantStorePage .store-toolbar .store-cart-link{
 left:16px!important;right:16px!important;margin-inline:auto!important;
 transform:none!important;translate:none!important;scale:1!important;animation:none!important;
 transition:background-color 120ms ease,opacity 120ms ease!important;
}
html.swift-design body #merchantStorePage .store-toolbar .store-cart-link:active{
 transform:none!important;translate:none!important;scale:1!important;background:#303531!important;
}
html.swift-design body #merchantStorePage .store-toolbar .store-cart-link::after{transition:translate 120ms ease}
html.swift-design body #merchantStorePage .store-toolbar .store-cart-link:active::after{translate:3px 0}
/* The actual cart uses a short fade, without competing slide/centering transforms. */
@keyframes swift-cart-open{from{opacity:.65}to{opacity:1}}
html.swift-design body #cartPanel.shop-active-page{
 left:0!important;right:0!important;transform:none!important;translate:none!important;
 width:100%!important;max-width:none!important;animation:swift-cart-open 140ms ease-out both!important;
}
@media(prefers-reduced-motion:reduce){
 html.swift-design body #cartPanel.shop-active-page{animation:none!important}
 html.swift-design body #merchantStorePage .store-toolbar .store-cart-link,
 html.swift-design body #merchantStorePage .store-toolbar .store-cart-link::after{transition:none!important}
 html.swift-design body #merchantStorePage .store-toolbar .store-cart-link:active::after{translate:none}
}

html.swift-design body #cartPanel .checkout-delivery-label{display:inline-flex;align-items:center;gap:7px}
html.swift-design body #cartPanel button.delivery-fee-info-button{display:inline-grid;place-items:center;width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#f0f2ef!important;color:#3c4940!important;font-size:19px!important;box-shadow:none!important}
html.swift-design body #swiftDeliveryFeeInfo{box-sizing:border-box;width:min(360px,calc(100vw - 32px))!important;max-width:360px!important;height:auto!important;max-height:calc(100dvh - 80px)!important;position:fixed;inset:0;margin:auto!important;padding:22px!important;border:1px solid #e5e8e2!important;border-radius:20px!important;background:#fff!important;color:#1b211d!important;overflow:auto;box-shadow:0 18px 60px #12201826}
#swiftDeliveryFeeInfo::backdrop{background:#14201966}
#swiftDeliveryFeeInfo header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
#swiftDeliveryFeeInfo h2{font:700 19px/1.3 Inter,system-ui,sans-serif;margin:0}
#swiftDeliveryFeeInfo header button{width:36px;height:36px;min-height:36px!important;padding:0!important;border:0;border-radius:50%;background:#f3f4f0;color:#222b25;font-size:25px}
#swiftDeliveryFeeInfo dl{margin:0}#swiftDeliveryFeeInfo dl>div,.delivery-fee-info-total{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:10px 0;font-size:13px}
#swiftDeliveryFeeInfo dt{color:#697268}#swiftDeliveryFeeInfo dd{margin:0;white-space:nowrap;font-weight:650}
#swiftDeliveryFeeInfo .delivery-fee-info-total{border-top:1px solid #e8ebe5;margin-top:9px;padding-top:16px;font-size:14px}
#swiftDeliveryFeeInfo p{font-size:12px;line-height:1.65;color:#737b72;margin:14px 0 20px}
#swiftDeliveryFeeInfo .delivery-fee-info-done{width:100%;min-height:44px;padding:12px;border:0;border-radius:11px;background:#19211b;color:#fff;font-size:14px;font-weight:650}

html.swift-design body #swiftDeliveryFeeInfo{height:fit-content!important;min-height:0!important;inset:50% auto auto 50%!important;margin:0!important;transform:translate(-50%,-50%)!important}
