/*
Theme Name: Digital Store Front
Author: OpenAI
Description: A customizable digital-products storefront inspired by the supplied purple-and-white reference design. Supports WooCommerce and automatically populated WordPress post galleries.
Version: 6.9.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: digital-store-front
*/
:root{--dsf-purple:#4b08f5;--dsf-purple2:#751dff;--dsf-navy:#101936;--dsf-ink:#111a38;--dsf-muted:#62658b;--dsf-lilac:#f0eaff;--dsf-border:#e6ddff;--dsf-white:#fff;--dsf-radius:18px;--dsf-content-width:1460px;--dsf-section-gap:14px;--dsf-product-columns:6;--dsf-card-radius:15px;--dsf-shadow:0 5px 18px rgba(65,30,150,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--dsf-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input{font:inherit}.dsf-container{width:min(var(--dsf-content-width),calc(100% - 48px));margin-inline:auto}.dsf-topbar{background:#0d1533;color:#fff;text-align:center;padding:8px 16px;font-size:13px;font-weight:700}.dsf-topbar-inner{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}.dsf-topbar .dsf-offer{position:absolute;right:max(24px,calc((100vw - 1440px)/2));background:#4d0be9;border-radius:30px;padding:5px 14px}.dsf-header{background:rgba(255,255,255,.94);border-bottom:1px solid #eee9ff;position:sticky;top:0;z-index:50;backdrop-filter:blur(14px)}.dsf-header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}.dsf-brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:26px;letter-spacing:-1px}.dsf-brand-mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#741dff,#3c00db);color:white;display:grid;place-items:center;font-size:24px;box-shadow:0 6px 15px #4b08f544}.dsf-brand span:last-child{color:#111a38}.dsf-brand em{font-style:normal;color:var(--dsf-purple)}.dsf-nav{display:flex;align-items:center;gap:34px;font-weight:750;font-size:14px}.dsf-nav a:hover,.dsf-nav .current-menu-item>a{color:var(--dsf-purple)}.dsf-header-actions{display:flex;align-items:center;gap:18px}.dsf-icon-link{font-size:22px;position:relative}.dsf-pill{display:inline-flex;align-items:center;justify-content:center;background:var(--dsf-purple);color:white;border-radius:30px;padding:11px 22px;font-weight:800;font-size:14px;border:0;cursor:pointer}.dsf-menu-toggle{display:none;border:0;background:none;font-size:26px;color:var(--dsf-ink)}.dsf-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 76% 45%,#eadcff 0,#f7f1ff 32%,#fff 72%);min-height:330px;padding:34px 0 20px}.dsf-hero:after{content:"";position:absolute;right:-4%;bottom:-115px;width:62%;height:245px;border-radius:50%;background:linear-gradient(110deg,#e9d8ff,#b987ff 58%,#f5eaff);opacity:.72}.dsf-hero-grid{display:grid;grid-template-columns: .95fr 1.05fr;align-items:center;gap:20px;position:relative;z-index:1}.dsf-eyebrow{display:inline-flex;background:#e4d5ff;color:#29106f;padding:6px 14px;border-radius:30px;font-size:14px;font-weight:800;margin-bottom:8px}.dsf-hero h1{font-size:clamp(36px,4.2vw,58px);line-height:.99;letter-spacing:-2.2px;margin:0 0 12px;font-weight:900;max-width:650px}.dsf-hero h1 .accent{color:var(--dsf-purple)}.dsf-hero-copy{color:#55577f;font-size:17px;font-weight:600;max-width:560px;margin:0 0 18px}.dsf-hero-buttons{display:flex;gap:14px;flex-wrap:wrap}.dsf-button{display:inline-flex;align-items:center;gap:9px;padding:12px 22px;border:1.5px solid var(--dsf-purple);border-radius:30px;background:var(--dsf-purple);color:white;font-weight:800}.dsf-button.secondary{background:white;color:var(--dsf-ink);border-color:#20264a}.dsf-hero-art{min-height:245px;display:flex;align-items:center;justify-content:center;position:relative}.dsf-hero-art img{max-height:300px;width:100%;object-fit:contain;position:relative;z-index:2}.dsf-art-placeholder{width:min(100%,570px);height:270px;position:relative;display:grid;place-items:center}.dsf-laptop{width:68%;height:68%;background:linear-gradient(145deg,#10152e,#373b5e);border:8px solid #17152b;border-radius:14px 14px 8px 8px;box-shadow:0 20px 35px #3d16a755;transform:perspective(700px) rotateY(-8deg) rotateX(3deg);display:grid;place-items:center;color:#16142b;text-align:center}.dsf-laptop-screen{background:linear-gradient(145deg,#fff,#f0e8ff);width:100%;height:100%;display:grid;place-items:center;font-family:Georgia,serif;font-size:clamp(24px,3vw,42px);font-style:italic;line-height:1.05}.dsf-laptop-base{position:absolute;bottom:27px;width:82%;height:15px;background:linear-gradient(#aeb1c5,#45465c);border-radius:3px 3px 18px 18px;box-shadow:0 12px 18px #4514a344}.dsf-float-card{position:absolute;z-index:3;background:#f7c9f0;border-radius:14px;padding:13px 17px;text-align:center;font-weight:900;box-shadow:0 10px 25px #4c22a522;transform:rotate(5deg)}.dsf-float-card.one{right:5%;top:10%}.dsf-float-card.two{right:0;bottom:13%;background:#ffdf91;transform:rotate(9deg)}.dsf-benefits{display:grid;grid-template-columns:repeat(4,1fr);background:#f0eaff;border-radius:16px;margin:0 auto 14px;padding:13px 20px;position:relative;z-index:3}.dsf-benefit{display:flex;align-items:center;justify-content:center;gap:15px;padding:0 12px;border-right:1px solid #9a6aff}.dsf-benefit:last-child{border:0}.dsf-benefit-icon{font-size:32px;color:var(--dsf-purple);font-weight:900}.dsf-benefit strong{display:block;font-size:14px}.dsf-benefit small{display:block;color:#34375f;font-size:12px}.dsf-section-heading{text-align:center;margin:8px 0 14px}.dsf-section-heading:before{content:"";display:block;width:72px;height:2px;background:#8a55ff;margin:0 auto 6px}.dsf-section-heading h2{font-size:27px;line-height:1.2;margin:0;font-weight:900;letter-spacing:-.5px}.dsf-section-heading p{margin:2px 0 0;color:#62618e;font-weight:650}.dsf-products{padding:0 0 16px}.dsf-product-grid{display:grid;grid-template-columns:repeat(var(--dsf-product-columns),minmax(0,1fr));gap:12px}.dsf-product-card{border:1px solid var(--dsf-border);border-radius:var(--dsf-card-radius);padding:7px;background:white;box-shadow:var(--dsf-shadow);min-width:0;position:relative}.dsf-product-image{height:108px;border-radius:10px;overflow:hidden;background:linear-gradient(135deg,#eadbff,#f8dff1);position:relative}.dsf-product-image img{width:100%;height:100%;object-fit:cover}.dsf-product-image .dsf-placeholder{height:100%;display:grid;place-items:center;color:#34117d;font-size:25px;font-weight:900;text-align:center;padding:10px}.dsf-discount{position:absolute;top:8px;left:8px;border-radius:30px;background:linear-gradient(90deg,#a000ff,#5900e9);color:white;padding:3px 9px;font-size:12px;font-weight:900}.dsf-product-card h3{font-size:14px;line-height:1.25;margin:8px 3px 2px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dsf-rating{font-size:12px;color:#55577d;margin:0 3px}.dsf-rating b{color:#f6a800}.dsf-price{font-weight:900;font-size:14px;margin:2px 3px 7px}.dsf-price del{font-size:11px;color:#888;font-weight:500;margin-left:5px}.dsf-card-actions{display:flex;gap:5px}.dsf-small-button{font-size:11px;font-weight:850;border:1px solid var(--dsf-purple);border-radius:9px;padding:6px 7px;flex:1;text-align:center;color:var(--dsf-purple);background:white;white-space:nowrap}.dsf-small-button.primary{background:var(--dsf-purple);color:white}.dsf-promo{margin:0 0 20px;border-radius:20px;background:linear-gradient(105deg,#7710ff,#3d08b8 70%,#27108c);color:white;padding:20px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;position:relative}.dsf-promo h2{font-size:27px;margin:0;font-weight:900}.dsf-promo p{margin:1px 0 0}.dsf-promo .dsf-button{background:white;color:#111a38;border-color:white}.dsf-footer{background:#101735;color:#fff;padding:36px 0 18px;margin-top:20px}.dsf-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.dsf-footer p,.dsf-footer a{color:#d6d8ec}.dsf-footer h3{margin:0 0 10px}.dsf-footer-links{display:grid;gap:7px}.dsf-footer-bottom{border-top:1px solid #343b5e;margin-top:25px;padding-top:14px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;color:#c3c8e1;font-size:13px}.dsf-footer-bottom nav{display:flex;gap:18px;flex-wrap:wrap}.dsf-mobile-nav{display:none}.dsf-pagination{margin:20px 0}.dsf-content{padding:32px 0}.dsf-content h1{font-size:36px}.dsf-content img{border-radius:12px}.dsf-empty{padding:30px;text-align:center;background:#f7f3ff;border-radius:16px}
@media(max-width:1100px){.dsf-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dsf-hero-grid{grid-template-columns:1fr 1fr}.dsf-topbar .dsf-offer{position:static}.dsf-benefit{gap:8px}}
@media(max-width:760px){.dsf-container{width:min(100% - 28px,600px)}.dsf-topbar{font-size:11px}.dsf-header-inner{min-height:64px}.dsf-brand{font-size:22px}.dsf-nav{display:none}.dsf-menu-toggle{display:block}.dsf-header-actions .dsf-pill{display:none}.dsf-mobile-nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;padding:16px 22px;box-shadow:0 12px 20px #25105a1a}.dsf-mobile-nav.is-open{display:block}.dsf-mobile-nav ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}.dsf-mobile-nav .sub-menu{padding:8px 0 0 16px}.dsf-hero{padding:28px 0 12px}.dsf-hero-grid{grid-template-columns:1fr}.dsf-hero h1{font-size:39px}.dsf-hero-copy{font-size:15px}.dsf-hero-art{min-height:205px}.dsf-art-placeholder{height:205px}.dsf-laptop{height:65%}.dsf-float-card{font-size:12px;padding:8px 11px}.dsf-benefits{grid-template-columns:repeat(2,1fr);gap:12px;padding:13px 8px}.dsf-benefit{justify-content:flex-start;border:0;padding:4px 8px}.dsf-benefit-icon{font-size:25px}.dsf-benefit strong{font-size:12px}.dsf-benefit small{font-size:10px}.dsf-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dsf-product-image{height:105px}.dsf-product-card{padding:6px}.dsf-product-card h3{font-size:12px}.dsf-small-button{font-size:10px;padding:6px 3px}.dsf-section-heading h2{font-size:22px}.dsf-promo{padding:22px 18px;display:block;text-align:center}.dsf-promo h2{font-size:23px}.dsf-promo .dsf-button{margin-top:13px}.dsf-footer-grid{grid-template-columns:1fr 1fr}.dsf-footer-grid>div:first-child{grid-column:1/-1}}
@media(prefers-reduced-motion:no-preference){.dsf-product-card{transition:transform .2s,box-shadow .2s}.dsf-product-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #3c168b1c}}

/* Additional Customizer layout controls */
.dsf-hero{padding-top:var(--dsf-section-gap);padding-bottom:var(--dsf-section-gap)}
.dsf-products{padding-bottom:var(--dsf-section-gap)}
/* Storefront layout repair */
.dsf-container{width:min(var(--dsf-content-width),calc(100% - 64px))}.dsf-topbar-inner{position:relative;min-height:24px}.dsf-topbar .dsf-offer{right:2%;position:absolute}.dsf-header{position:relative}.dsf-header-inner{min-height:150px;gap:24px}.dsf-brand{flex:0 1 440px;min-width:140px}.dsf-brand img,.dsf-brand .custom-logo{display:block;width:auto;max-width:100%;max-height:125px;object-fit:contain}.dsf-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:24px;align-items:center}.dsf-nav li{position:relative;white-space:nowrap}.dsf-nav .sub-menu{display:none;position:absolute;top:100%;left:0;background:white;padding:12px;box-shadow:0 8px 24px #16102c22;z-index:60;min-width:180px}.dsf-nav li:hover>.sub-menu,.dsf-nav li:focus-within>.sub-menu{display:grid}.dsf-search{display:flex;align-items:center;background:#eee;border-radius:40px;flex:1 1 300px;min-width:120px;max-width:380px;padding:8px 16px}.dsf-search input{min-width:0;width:100%;border:0;background:transparent;outline:none;padding:8px}.dsf-search button{border:0;background:none;font-size:26px;cursor:pointer}.dsf-header-actions{flex-shrink:0}.dsf-pill{white-space:nowrap;padding:15px 24px}.dsf-hero{min-height:410px;padding:calc(var(--dsf-section-gap) + 5px) 0 55px}.dsf-hero-grid{grid-template-columns: .95fr 1.05fr;align-items:start;gap:24px}.dsf-hero h1{font-size:clamp(36px,3vw,56px);max-width:760px;line-height:1.04}.dsf-hero-copy{font-size:20px;max-width:720px;font-weight:500}.dsf-hero-art img{max-height:none;width:100%;border-radius:10px}.dsf-button{padding:15px 27px}.dsf-benefits{padding:18px 20px;margin-bottom:18px}.dsf-benefit strong{font-size:16px}.dsf-benefit small{font-size:14px}.dsf-section-heading h2{font-size:36px}.dsf-product-grid{gap:16px}.dsf-product-image{height:auto;aspect-ratio:1.65}.dsf-product-card h3{white-space:normal;min-height:2.5em;font-size:15px}.dsf-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.dsf-small-button{display:block;white-space:normal;cursor:pointer;font:inherit;font-size:12px;font-weight:750;padding:9px 5px}.dsf-buy-form{grid-column:1/-1;margin:0}.dsf-buy-form button{width:100%}.dsf-unavailable{font-size:12px;align-self:center}.dsf-footer-links ul{list-style:none;padding:0;margin:0}.dsf-woocommerce{min-height:55vh}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:9px}.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--dsf-purple);color:white}.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:#3510a6}.woocommerce div.product form.cart .button{padding:13px 20px}.woocommerce input.input-text,.woocommerce textarea{border:1px solid #d9d4e6;border-radius:8px;padding:10px}.dsf-small-button:hover,.dsf-button:hover,.dsf-pill:hover{filter:brightness(.9)}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #a57aff;outline-offset:3px}
@media(max-width:1300px){.dsf-header-inner{min-height:105px;gap:15px}.dsf-brand{flex-basis:260px}.dsf-nav ul{gap:14px}.dsf-topbar .dsf-offer{position:static}.dsf-hero{min-height:340px}.dsf-hero-copy{font-size:17px}}
@media(max-width:1000px){.dsf-nav{display:none}.dsf-menu-toggle{display:block}.dsf-mobile-nav.is-open{display:block;position:absolute;top:100%;left:0;right:0;background:white;padding:18px;box-shadow:0 12px 20px #25105a1a}.dsf-mobile-nav ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}.dsf-header-inner{flex-wrap:wrap}.dsf-search{max-width:none}.dsf-brand{flex:0 1 230px}}
@media(max-width:760px){.dsf-container{width:calc(100% - 28px)}.dsf-header-inner{min-height:0;padding:12px 0;gap:10px}.dsf-brand{flex:1 1 150px}.dsf-brand img{max-height:75px}.dsf-search{order:3;flex-basis:100%;max-width:none}.dsf-hero{padding:24px 0;min-height:0}.dsf-hero-grid{grid-template-columns:1fr}.dsf-hero h1{font-size:36px}.dsf-hero-art{min-height:0}.dsf-benefits{padding:12px 6px}.dsf-benefit strong{font-size:13px}.dsf-benefit small{font-size:11px}.dsf-section-heading h2{font-size:26px}.dsf-product-grid{gap:10px}.dsf-small-button{font-size:11px}.dsf-card-actions{grid-template-columns:1fr}.dsf-buy-form{grid-column:auto}.dsf-header-actions .dsf-pill{display:none}}

/* Final storefront visual layer: scoped to avoid WooCommerce/global styles. */
body {background:#fff;color:var(--dsf-ink);}
body .dsf-header,body .dsf-mobile-nav {background:#fff;color:var(--dsf-navy);}
body .dsf-header {z-index:20;border-bottom:1px solid var(--dsf-border);}
body .dsf-container {width:min(var(--dsf-content-width),calc(100% - 62px));}
body .dsf-topbar {background:var(--dsf-navy);color:#fff;padding:5px 16px;}
body .dsf-topbar .dsf-offer,body .dsf-pill,body .dsf-button:not(.secondary),body .dsf-small-button.primary {background:var(--dsf-purple);color:#fff;border-color:var(--dsf-purple);}
body .dsf-nav a,body .dsf-mobile-nav a {color:var(--dsf-navy);text-decoration:none;}
body .dsf-nav .current-menu-item>a,body .dsf-nav a:hover {color:var(--dsf-purple);}
body .dsf-hero {background:radial-gradient(ellipse at 80% 45%,#e9dcff 0,#f8f4ff 45%,#fff 80%);min-height:388px;}
body .dsf-hero h1,body .dsf-section-heading h2,body .dsf-product-card h3 {color:var(--dsf-navy);}
body .dsf-hero h1 .accent {color:var(--dsf-purple);}
body .dsf-hero-copy {color:#50577c;}
body .dsf-hero-art img {display:block;width:100%;height:auto;object-fit:contain;}
body .dsf-eyebrow,body .dsf-benefits {background:var(--dsf-lilac);color:var(--dsf-navy);}
body .dsf-button.secondary {background:#fff;color:var(--dsf-navy);border:1px solid var(--dsf-navy);}
body .dsf-product-card {background:#fff;color:var(--dsf-navy);}
body .dsf-product-card a {text-decoration:none;}
body .dsf-product-card .dsf-small-button:not(.primary) {background:#fff;color:var(--dsf-purple);border-color:var(--dsf-purple);}
body .dsf-search input {background:transparent;color:var(--dsf-navy);box-shadow:none;}
body .dsf-search button {color:var(--dsf-navy);}
body .dsf-footer {background:var(--dsf-navy);color:#fff;}
body .dsf-footer a {color:#e1e2f3;}
body .dsf-promo .dsf-button {background:#fff;color:var(--dsf-navy);border-color:#fff;}
@media(min-width:1301px){body .dsf-header-inner{min-height:150px;}body .dsf-hero h1{font-size:clamp(40px,2.8vw,52px);}body .dsf-hero-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);}}
@media(max-width:1000px){body .dsf-topbar-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;}body .dsf-topbar .dsf-offer{position:static;}body .dsf-hero{min-height:0;}}
@media(max-width:760px){body .dsf-container{width:calc(100% - 28px);}body .dsf-hero h1{font-size:clamp(30px,8vw,40px);letter-spacing:-1px;}body .dsf-hero-copy{font-size:16px;}body .dsf-hero-grid{grid-template-columns:minmax(0,1fr);}body .dsf-header-inner{min-height:0;}body .dsf-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Keep the primary search form; suppress redundant header action icons. */
.dsf-header-actions .dsf-icon-link,.dsf-header-actions a[aria-label="Cart"]{display:none!important;}

/* Primary navigation: keep text Cart link and native product search only. */
.dsf-header :is(.menu-item-cart,.cart-menu-item,.wpmenucartli,.wpmenucart-contents,.mini-cart,.menu-cart,.wc-block-mini-cart,.xoo-wsc-cart-trigger,.cart-icon,.header-cart,.site-header-cart){display:none!important;}
.dsf-header :is(.dsf-nav,.dsf-mobile-nav) li:has(> a[aria-label="Cart"]:not(:has(span))):has(svg){display:none!important;}

.dsf-header li[hidden]{display:none!important;}

/* V2.4: latest posts and elevated benefits strip */
body .dsf-hero{background:#fff;min-height:0;padding:24px 0 30px;}
body .dsf-hero:after{content:none;display:none;}
body .dsf-hero-grid{align-items:center;}
body .dsf-hero-art{min-height:0;display:block;}
body main > .dsf-container > .dsf-benefits{margin:16px auto 0;}
.dsf-latest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:100%;}
.dsf-latest-card{min-width:0;border:1px solid var(--dsf-border);border-radius:var(--dsf-card-radius);overflow:hidden;background:#fff;box-shadow:var(--dsf-shadow);}
.dsf-latest-card a{display:flex;flex-direction:column;height:100%;color:var(--dsf-navy);text-decoration:none;}
.dsf-latest-image{aspect-ratio: 4/3;background:var(--dsf-lilac);display:grid;place-items:center;overflow:hidden;color:var(--dsf-purple);font-weight:800;text-align:center;}
body .dsf-latest-image img{width:100%;height:100%;object-fit:contain;border-radius:0;}
.dsf-latest-body{padding:16px;display:flex;flex-direction:column;flex:1;gap:8px;}
.dsf-latest-label{font-size:12px;font-weight:800;color:var(--dsf-purple);}
.dsf-latest-body h2{font-size:clamp(16px,1.4vw,23px);line-height:1.3;margin:0;overflow-wrap:anywhere;}
.dsf-latest-link{margin-top:auto;color:var(--dsf-purple);font-weight:750;font-size:14px;}
.dsf-latest-grid>.dsf-empty{grid-column:1/-1;}
@media(max-width:760px){.dsf-latest-grid{gap:10px}.dsf-latest-body{padding:10px}body .dsf-hero{padding:20px 0}.dsf-latest-body h2{font-size:16px}}
@media(max-width:360px){.dsf-latest-grid{grid-template-columns:1fr}}

/* V2.6: continuous customizable storefront background. */
body {background-color:var(--dsf-bg-base,#fff);background-image:var(--dsf-bg-gradient,radial-gradient(ellipse at 95% 0%,#e4d5ff,transparent 55%));background-repeat:no-repeat;min-height:100vh;}
body .dsf-hero,body .dsf-products {background:transparent;}
body .dsf-hero:after {display:none;}
body .dsf-latest-card,body .dsf-product-card {background:#fff;}
body .dsf-content,body .dsf-woocommerce {background:#fff;border-radius:16px;}

/* V2.7: compact latest WooCommerce product cards, scoped to hero only. */
body .dsf-hero .dsf-latest-grid{width:100%;max-width:496px;margin-inline:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch;}
body .dsf-hero .dsf-latest-card{width:100%;max-width:241px;justify-self:center;}
body .dsf-hero .dsf-latest-image{height:150px;min-height:0;aspect-ratio:auto;padding:6px;}
body .dsf-hero .dsf-latest-image img{display:block;width:100%;height:100%;min-height:0;max-height:138px;object-fit:contain;}
body .dsf-hero .dsf-latest-body{padding:10px 12px;gap:5px;}
body .dsf-hero .dsf-latest-body h2{font-size:15px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;}
body .dsf-hero .dsf-latest-body .dsf-price{margin:0;font-size:14px;}
body .dsf-hero .dsf-latest-link{font-size:13px;}
@media(max-width:760px){body .dsf-hero .dsf-latest-grid{gap:10px;}body .dsf-hero .dsf-latest-image{height:120px;}body .dsf-hero .dsf-latest-image img{max-height:108px;}body .dsf-hero .dsf-latest-body{padding:8px;}body .dsf-hero .dsf-latest-body h2{font-size:13px;}}
@media(max-width:360px){body .dsf-hero .dsf-latest-grid{grid-template-columns:minmax(0,1fr);}}

/* V2.8: three compact featured products with native purchase actions. */
body .dsf-hero .dsf-latest-grid{max-width:640px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
body .dsf-hero .dsf-latest-card{max-width:206px;display:flex;flex-direction:column;}
body .dsf-hero .dsf-latest-card>a.dsf-latest-product-link{height:auto;flex:1;}
body .dsf-hero .dsf-latest-image{height:112px;padding:5px;}
body .dsf-hero .dsf-latest-image img{max-height:102px;}
body .dsf-hero .dsf-latest-body{padding:7px 8px;gap:3px;}
body .dsf-hero .dsf-latest-body h2{font-size:13px;}
body .dsf-hero .dsf-latest-body .dsf-price{font-size:13px;}
body .dsf-hero .dsf-latest-card .dsf-card-actions{display:grid;grid-template-columns:1fr;gap:4px;padding:0 8px 8px;}
body .dsf-hero .dsf-latest-card .dsf-small-button{display:flex;align-items:center;justify-content:center;height:auto;min-height:30px;padding:4px 3px;font-size:11px;line-height:1.2;white-space:normal;}
body .dsf-hero .dsf-latest-card .dsf-small-button.primary{color:#fff;background:var(--dsf-purple);}
body .dsf-hero .dsf-latest-card .dsf-small-button:not(.primary){color:var(--dsf-purple);background:#fff;}
body .dsf-hero .dsf-latest-card .dsf-buy-form{grid-column:1/-1;margin:0;}
@media(min-width:761px) and (max-width:1050px){body .dsf-hero .dsf-hero-grid{grid-template-columns:minmax(0,1fr);}}
@media(max-width:480px){body .dsf-hero .dsf-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));}body .dsf-hero .dsf-latest-card:last-child:nth-child(odd){grid-column:1/-1;}body .dsf-hero .dsf-latest-image{height:100px;}body .dsf-hero .dsf-latest-image img{max-height:90px;}}
@media(max-width:320px){body .dsf-hero .dsf-latest-grid{grid-template-columns:1fr;}}

/* V2.9: compact rotating hero cards. */
body .dsf-hero .dsf-latest-grid{max-width:574px;gap:9px;grid-template-columns:repeat(3,minmax(0,1fr));}
body .dsf-hero .dsf-latest-card{max-width:185px;border-radius:13px;}
body .dsf-hero .dsf-latest-card[hidden]{display:none!important;}
body .dsf-hero .dsf-latest-image{height:96px;padding:5px;}
body .dsf-hero .dsf-latest-image img{max-height:86px;}
body .dsf-hero .dsf-latest-body{padding:7px;gap:3px;font-family:Inter,system-ui,"Segoe UI",sans-serif;}
body .dsf-hero .dsf-latest-body h2{font-size:13px;font-weight:750;letter-spacing:-.25px;line-height:1.35;}
body .dsf-hero .dsf-latest-label{font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;}
body .dsf-hero .dsf-latest-card .dsf-small-button{font-size:11px;font-weight:750;min-height:29px;border-radius:8px;cursor:pointer;}
body .dsf-hero .dsf-latest-card .dsf-buy-form button{width:100%;}
body .dsf-hero .dsf-latest-card .dsf-card-actions{padding:0 7px 7px;}
@media(max-width:480px){body .dsf-hero .dsf-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:380px;}body .dsf-hero .dsf-latest-card:last-child:nth-child(odd){grid-column:auto;}body .dsf-hero .dsf-latest-image{height:88px;}body .dsf-hero .dsf-latest-image img{max-height:78px;}}
@media(max-width:320px){body .dsf-hero .dsf-latest-grid{grid-template-columns:1fr;}}

/* V3.0: image-first featured cards and premium customizable gradient. */
body .dsf-hero .dsf-latest-grid{max-width:574px;gap:10px;align-items:stretch;}
body .dsf-hero .dsf-latest-card{max-width:185px;border:1px solid var(--dsf-border);box-shadow:0 8px 24px rgba(65,30,150,.13);}
body .dsf-hero .dsf-latest-image{height:158px;padding:3px;background:#faf8ff;}
body .dsf-hero .dsf-latest-image img{width:100%;height:100%;max-height:152px;object-fit:contain;}
body .dsf-hero .dsf-latest-body{padding:6px 7px;gap:3px;}
body .dsf-hero .dsf-latest-body h2{font-size:11px;line-height:1.35;min-height:2.7em;font-weight:650;letter-spacing:0;}
body .dsf-hero .dsf-latest-label{font-size:9px;letter-spacing:.6px;}
body .dsf-hero .dsf-latest-body .dsf-price{font-size:13px;}
body .dsf-hero .dsf-latest-product-link:focus-visible{outline:2px solid var(--dsf-purple);outline-offset:-3px;}
body .dsf-hero{padding-top:30px;padding-bottom:34px;}
body .dsf-benefits{background:rgba(255,255,255,.82);border:1px solid var(--dsf-border);box-shadow:0 5px 20px rgba(65,30,150,.07);}
body .dsf-product-card{box-shadow:0 6px 20px rgba(65,30,150,.09);}
@media(max-width:480px){body .dsf-hero .dsf-latest-image{height:138px;}body .dsf-hero .dsf-latest-image img{max-height:132px;}}

/* V3.1: featured carousel shares the popular product card markup and styling. */
body .dsf-hero .dsf-latest-grid{max-width:850px;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr));}
body .dsf-hero .dsf-featured-card{max-width:none;width:100%;padding:7px;border-radius:var(--dsf-card-radius);}
body .dsf-hero .dsf-featured-card>a.dsf-featured-link{display:block;height:auto;flex:1;}
body .dsf-hero .dsf-featured-card .dsf-product-image img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;z-index:auto;}
body .dsf-hero .dsf-featured-card .dsf-discount{z-index:3;}
body .dsf-hero .dsf-featured-card .dsf-card-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0;}
body .dsf-hero .dsf-featured-card .dsf-small-button{font-size:12px;font-weight:750;padding:9px 4px;min-height:36px;border-radius:9px;height:auto;}
body .dsf-hero .dsf-featured-card .dsf-buy-form{grid-column:1/-1;}
body .dsf-hero .dsf-featured-card .dsf-price{margin:2px 3px 7px;}
@media(max-width:600px){body .dsf-hero .dsf-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:100%;}body .dsf-hero .dsf-featured-card .dsf-card-actions{grid-template-columns:1fr;}body .dsf-hero .dsf-featured-card .dsf-small-button{font-size:11px;}}
@media(max-width:320px){body .dsf-hero .dsf-latest-grid{grid-template-columns:1fr;}}

/* V3.2: premium header, compact search and dedicated WooCommerce cart. */
body .dsf-header{background:radial-gradient(ellipse at 8% 0%,#e5d3ff 0%,transparent 42%),radial-gradient(ellipse at 95% 100%,#d9c2ff 0%,transparent 45%),linear-gradient(110deg,#f5eeff,#fff 48%,#f0e5ff);border-bottom:1px solid #d8c4ff;box-shadow:0 5px 20px rgba(75,8,245,.08)}
body .dsf-header-inner{gap:clamp(12px,1.5vw,24px)}
.dsf-search-tools{display:flex;align-items:center;gap:10px;flex:0 1 340px;min-width:0}
body .dsf-search-tools .dsf-search{flex:1 1 280px;min-width:0;max-width:280px;padding:3px 12px;background:rgba(255,255,255,.88);border:1px solid #d8c4ff;box-shadow:0 3px 12px rgba(75,8,245,.06)}
body .dsf-search-tools .dsf-search input{font-size:14px;padding:8px 4px;min-width:0}
.dsf-native-basket{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#fff;color:var(--dsf-purple);border:1px solid #d8c4ff;box-shadow:0 3px 12px rgba(75,8,245,.1)}
.dsf-native-basket:hover{background:var(--dsf-purple);color:#fff}
@media(max-width:1000px){.dsf-search-tools{flex:1 1 260px}body .dsf-search-tools .dsf-search{max-width:none}}
@media(max-width:760px){.dsf-search-tools{order:3;flex:1 1 100%;width:100%}body .dsf-search-tools .dsf-search{order:0;flex:1 1 0;max-width:none}.dsf-native-basket{flex-shrink:0}}

/* V3.3: compact homepage benefits strip */
body main > .dsf-container > .dsf-benefits {margin:8px auto 0;padding:8px 14px;border-radius:12px;gap:0;}
body .dsf-benefits .dsf-benefit {gap:10px;padding:0 10px;min-width:0;}
body .dsf-benefits .dsf-benefit-icon {font-size:23px;line-height:1;flex-shrink:0;}
body .dsf-benefits .dsf-benefit strong {font-size:13px;line-height:1.3;}
body .dsf-benefits .dsf-benefit small {font-size:11px;line-height:1.35;}
@media(max-width:760px){body main > .dsf-container > .dsf-benefits{padding:7px 8px;gap:8px 4px;grid-template-columns:repeat(2,minmax(0,1fr));}body .dsf-benefits .dsf-benefit{padding:2px 4px;gap:6px;}body .dsf-benefits .dsf-benefit-icon{font-size:19px;}body .dsf-benefits .dsf-benefit strong{font-size:12px;}body .dsf-benefits .dsf-benefit small{font-size:10px;}}

/* V3.5: native WooCommerce catalog, with independent gutters and storefront colors. */
body main.dsf-shop-catalog.dsf-container {
  width: min(var(--dsf-content-width), calc(100% - 2 * clamp(16px, 3vw, 48px)));
  max-width: none; margin: 24px auto 32px; padding: clamp(16px, 3vw, 40px);
  background: var(--dsf-bg-base, #fff);
  background-image: var(--dsf-bg-gradient, linear-gradient(135deg,#fff,#f0eaff));
  border: 1px solid var(--dsf-border); border-radius: 20px;
  box-shadow: 0 8px 30px rgba(65,30,150,.08);
}
body .dsf-shop-catalog .woocommerce-products-header__title {margin:0 0 20px;font-size:clamp(28px,3vw,42px);line-height:1.2;color:var(--dsf-navy);font-weight:850;}
body .dsf-shop-catalog .woocommerce-result-count {color:var(--dsf-muted);margin:0 0 18px;}
body .dsf-shop-catalog .woocommerce-ordering select {max-width:100%;padding:8px 12px;border:1px solid var(--dsf-border);border-radius:9px;background:#fff;color:var(--dsf-ink);}
body.woocommerce .dsf-shop-catalog ul.products {clear:both;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,2vw,24px);margin:0;padding:0;}
body.woocommerce .dsf-shop-catalog ul.products::before,body.woocommerce .dsf-shop-catalog ul.products::after {display:none;}
body.woocommerce .dsf-shop-catalog ul.products li.product {float:none;width:auto;min-width:0;margin:0;padding:10px;display:flex;flex-direction:column;position:relative;background:#fff;border:1px solid var(--dsf-border);border-radius:var(--dsf-card-radius);box-shadow:var(--dsf-shadow);}
body.woocommerce .dsf-shop-catalog ul.products li.product a.woocommerce-LoopProduct-link {display:block;flex:1;min-width:0;}
body.woocommerce .dsf-shop-catalog ul.products li.product a img {display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;background:#faf8ff;border-radius:10px;margin:0 0 10px;}
body.woocommerce .dsf-shop-catalog ul.products li.product .woocommerce-loop-product__title {font-size:clamp(14px,1.2vw,18px);font-weight:800;line-height:1.35;color:var(--dsf-navy);padding:0 3px 8px;overflow-wrap:anywhere;}
body.woocommerce .dsf-shop-catalog ul.products li.product .price {color:var(--dsf-navy);font-size:16px;font-weight:800;margin:0 3px 10px;}
body.woocommerce .dsf-shop-catalog ul.products li.product .price del {color:#777;font-size:12px;font-weight:500;}
body.woocommerce .dsf-shop-catalog ul.products li.product .onsale {top:18px;left:18px;right:auto;margin:0;min-height:0;min-width:0;line-height:1.3;padding:5px 10px;border-radius:30px;background:linear-gradient(90deg,var(--dsf-purple2),var(--dsf-purple));color:#fff;font-size:12px;font-weight:800;}
body.woocommerce .dsf-shop-catalog ul.products li.product .button {display:block;text-align:center;white-space:normal;line-height:1.4;margin:6px 0 0;padding:10px 8px;background:var(--dsf-purple);color:#fff;border:1px solid var(--dsf-purple);border-radius:9px;font-size:14px;font-weight:750;}
body.woocommerce .dsf-shop-catalog ul.products li.product .button:hover {filter:brightness(.9);}
body.woocommerce .dsf-shop-catalog ul.products li.product .added_to_cart {text-align:center;color:var(--dsf-purple);font-weight:700;}
@media(max-width:1000px){body.woocommerce .dsf-shop-catalog ul.products{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:700px){body main.dsf-shop-catalog.dsf-container{margin-top:12px;padding:14px;}body.woocommerce .dsf-shop-catalog ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}body.woocommerce .dsf-shop-catalog ul.products li.product{padding:7px;}body.woocommerce .dsf-shop-catalog ul.products li.product .button{font-size:12px;}}
@media(max-width:360px){body.woocommerce .dsf-shop-catalog ul.products{grid-template-columns:1fr;}}

/* Native cart forms preserve the card layout. */
.dsf-add-cart-form{margin:0;min-width:0;flex:1;}
.dsf-card-actions .dsf-add-cart-form button{width:100%;cursor:pointer;}
.dsf-shop-catalog .dsf-add-cart-form button{width:100%;cursor:pointer;}

/* V3.8: customer account navigation, separate compact row to avoid header overflow. */
body .dsf-header-inner{flex-wrap:wrap;row-gap:6px;padding-bottom:10px;}
.dsf-account-nav{display:flex;flex:1 0 100%;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;}
.dsf-account-nav .dsf-account-link{display:inline-flex;align-items:center;justify-content:center;padding:7px 14px;border:1px solid var(--dsf-purple);border-radius:24px;color:var(--dsf-purple);background:#fff;font-size:13px;font-weight:750;line-height:1.4;white-space:nowrap;}
.dsf-account-nav .dsf-signup{background:var(--dsf-purple);color:#fff;}
.dsf-account-nav .dsf-account-link:hover{background:var(--dsf-navy);border-color:var(--dsf-navy);color:#fff;}
.woocommerce-account #customer_login{scroll-margin-top:230px;}
@media(max-width:760px){.dsf-account-nav{order:4;justify-content:center;gap:6px;}.dsf-account-nav .dsf-account-link{padding:6px 11px;font-size:12px;}}

/* V3.9: Cart page spacing for both WooCommerce Blocks and classic cart. */
body.woocommerce-cart main.dsf-content.dsf-container {
  box-sizing:border-box;
  width:min(var(--dsf-content-width, 1440px), calc(100% - 2 * clamp(12px, 3vw, 48px)));
  max-width:1440px;
  margin:clamp(16px, 2vw, 32px) auto;
  padding:clamp(18px, 3vw, 48px);
  background:#fff;
  border:1px solid var(--dsf-border,#e3d6ff);
  border-radius:18px;
  box-shadow:0 8px 32px rgba(75,8,245,.07);
}
body.woocommerce-cart main.dsf-content > article {min-width:0; margin:0;}
body.woocommerce-cart main.dsf-content > article > h1 {margin:0 0 24px;line-height:1.2;}
body.woocommerce-cart .wp-block-woocommerce-cart {max-width:100%; margin-inline:0;}
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background:var(--dsf-purple,#4b08f5);color:#fff;border-radius:10px;
  font-weight:700;text-align:center;padding:14px 18px;
}
body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {filter:brightness(.9);color:#fff;}
@media(max-width:700px){
 body.woocommerce-cart main.dsf-content.dsf-container {width:calc(100% - 24px);padding:16px;margin:12px auto;}
 body.woocommerce-cart main.dsf-content > article > h1 {font-size:28px;margin-bottom:16px;}
}

/* Header cart quantity badge */
.dsf-native-basket{position:relative;overflow:visible}
.dsf-native-basket .dsf-cart-count{position:absolute;top:-7px;right:-7px;min-width:20px;height:20px;padding:0 5px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border:2px solid #fff;border-radius:999px;background:#4b08f5;color:#fff;font-size:11px;font-weight:800;line-height:1;pointer-events:none;box-shadow:0 2px 5px #4b08f533}

/* V4.4: compact native WooCommerce single product layout. */
body.single-product main.dsf-woocommerce.dsf-container {
 width:calc(100% - 2 * clamp(12px,3vw,48px));max-width:1280px;
 margin:24px auto;padding:clamp(16px,3vw,40px);background:#fff;
 border:1px solid var(--dsf-border);border-radius:18px;
}
body.single-product main.dsf-woocommerce div.product div.images {
 width:40%;max-width:440px;float:left;margin:0 0 24px;
}
body.single-product main.dsf-woocommerce div.product div.images img {width:100%;height:auto;object-fit:contain;border-radius:12px;}
body.single-product main.dsf-woocommerce div.product div.summary {width:54%;float:right;margin:0 0 24px;}
body.single-product main.dsf-woocommerce .product_title {font-size:clamp(23px,2.3vw,34px);line-height:1.25;margin:0 0 18px;overflow-wrap:anywhere;}
body.single-product main.dsf-woocommerce div.product p.price,body.single-product main.dsf-woocommerce div.product span.price {color:var(--dsf-navy);font-weight:750;font-size:22px;}
body.single-product main.dsf-woocommerce div.product .price del {color:#777;font-size:16px;}
body.single-product main.dsf-woocommerce div.product > .onsale {background:var(--dsf-purple);color:#fff;min-width:0;min-height:0;line-height:1.4;padding:6px 12px;border-radius:24px;top:10px;left:10px;}
body.single-product main.dsf-woocommerce .woocommerce-tabs {clear:both;}
@media(max-width:760px){body.single-product main.dsf-woocommerce div.product div.images,body.single-product main.dsf-woocommerce div.product div.summary{float:none;width:100%;}body.single-product main.dsf-woocommerce div.product div.images{margin:0 auto 24px;}}

/* Classic checkout layout and native checkout link. */
body.woocommerce-checkout .dsf-content {width:min(1280px,calc(100% - 32px));margin:24px auto;padding:clamp(16px,3vw,40px);background:#fff;border-radius:20px;}
body.woocommerce-checkout #payment #place_order,body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {background:var(--dsf-purple);color:#fff;border-radius:10px;}
body.woocommerce-checkout .woocommerce form .form-row input.input-text,body.woocommerce-checkout .woocommerce form .form-row textarea {border:1px solid var(--dsf-border);border-radius:8px;padding:10px;}

/* V4.7 compact classic checkout, without changing payment processing. */
body.woocommerce-checkout main.dsf-content.dsf-container{width:min(1000px,calc(100% - 32px));max-width:1000px;margin:18px auto;padding:clamp(16px,2.5vw,28px);border:1px solid var(--dsf-border);border-radius:16px;box-shadow:var(--dsf-shadow);color:var(--dsf-navy);font-size:14px;line-height:1.45;}
body.woocommerce-checkout main.dsf-content h1{font-size:30px;line-height:1.15;font-weight:850;margin:0 0 16px;}
body.woocommerce-checkout main.dsf-content h3{font-size:18px;font-weight:800;margin:0 0 12px;color:var(--dsf-navy);}
body.woocommerce-checkout .woocommerce form .form-row{padding:0;margin:0 0 10px;}
body.woocommerce-checkout .woocommerce form .form-row label{font-size:13px;font-weight:700;color:var(--dsf-navy);line-height:1.5;margin-bottom:4px;}
body.woocommerce-checkout .woocommerce form .form-row input.input-text,body.woocommerce-checkout .woocommerce form .form-row select,body.woocommerce-checkout .woocommerce form .form-row textarea{font-size:14px;padding:8px 10px;min-height:38px;background:#fff;color:var(--dsf-navy);}
body.woocommerce-checkout .woocommerce-info{padding:12px 14px 12px 38px;margin:0 0 16px;border-top-color:var(--dsf-purple);background:var(--dsf-lilac);font-size:13px;border-radius:8px;}
body.woocommerce-checkout .woocommerce-info:before{top:12px;left:14px;color:var(--dsf-purple);}
body.woocommerce-checkout .woocommerce-info a{color:var(--dsf-purple);font-weight:700;}
body.woocommerce-checkout form.checkout #customer_details .col-1,body.woocommerce-checkout form.checkout #customer_details .col-2{float:none;width:100%;}
body.woocommerce-checkout form.checkout #order_review{padding:14px;border:1px solid var(--dsf-border);border-radius:12px;background:#faf8ff;min-width:0;}
body.woocommerce-checkout form.checkout table.shop_table{font-size:13px;margin:0 0 12px;background:#fff;}
body.woocommerce-checkout form.checkout table.shop_table td,body.woocommerce-checkout form.checkout table.shop_table th{padding:8px;overflow-wrap:anywhere;}
body.woocommerce-checkout #payment{background:#f0eaff;border-radius:10px;}
body.woocommerce-checkout #payment ul.payment_methods,body.woocommerce-checkout #payment div.form-row{padding:12px;}
body.woocommerce-checkout #payment #place_order{float:none;width:100%;padding:12px;font-size:15px;font-weight:800;}
@media(min-width:850px){body.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:24px;align-items:start;}body.woocommerce-checkout form.checkout #customer_details{grid-column:1;grid-row:1 / span 2;min-width:0;}body.woocommerce-checkout form.checkout #order_review_heading{grid-column:2;grid-row:1;}body.woocommerce-checkout form.checkout #order_review{grid-column:2;grid-row:2;}body.woocommerce-checkout form.checkout > :not(#customer_details):not(#order_review_heading):not(#order_review){grid-column:1/-1;}}
@media(max-width:849px){body.woocommerce-checkout form.checkout #order_review_heading{margin-top:18px;}}

/* V4.8: compact cart, scoped to the cart page only. */
body.woocommerce-cart main.dsf-content.dsf-container{width:min(1120px,calc(100% - 32px));max-width:1120px;margin:18px auto;padding:clamp(16px,2.5vw,28px);min-height:0;color:var(--dsf-navy);font-size:14px;line-height:1.45;}
body.woocommerce-cart main.dsf-content > article > h1{font-size:30px;font-weight:850;line-height:1.15;margin:0 0 18px;}
body.woocommerce-cart main.dsf-content .woocommerce-cart-form,body.woocommerce-cart main.dsf-content .cart-collaterals{min-width:0;margin:0;}
body.woocommerce-cart main.dsf-content table.shop_table{margin:0 0 12px;font-size:14px;border:1px solid var(--dsf-border);border-radius:10px;}
body.woocommerce-cart main.dsf-content table.shop_table th,body.woocommerce-cart main.dsf-content table.shop_table td{padding:10px 8px;overflow-wrap:anywhere;color:var(--dsf-navy);}
body.woocommerce-cart main.dsf-content table.shop_table th{font-weight:800;background:#f5f0ff;}
body.woocommerce-cart .woocommerce-cart-form .product-name a,body.woocommerce-cart .woocommerce-cart-form .product-price,body.woocommerce-cart .woocommerce-cart-form .product-subtotal{font-weight:750;color:var(--dsf-navy);}
body.woocommerce-cart .woocommerce-cart-form table.cart img{width:60px;max-width:60px;height:auto;border-radius:8px;}
body.woocommerce-cart .woocommerce-cart-form .quantity .qty{width:54px;min-height:36px;padding:6px;font-size:14px;font-weight:700;}
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon .input-text{width:135px;max-width:100%;padding:8px;font-size:13px;}
body.woocommerce-cart .woocommerce-cart-form button.button{background:var(--dsf-purple);color:#fff;font-size:13px;font-weight:750;padding:10px 12px;}
body.woocommerce-cart .woocommerce-cart-form button.button:disabled{opacity:.55;}
body.woocommerce-cart main.dsf-content .cart-collaterals .cart_totals{float:none;width:100%;padding:16px;background:#faf7ff;border:1px solid var(--dsf-border);border-radius:12px;}
body.woocommerce-cart .cart_totals h2{font-size:21px;font-weight:850;margin:0 0 12px;}
body.woocommerce-cart .cart_totals .order-total{font-weight:850;}
body.woocommerce-cart .wc-proceed-to-checkout{padding:0;}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{margin:0;font-size:15px;font-weight:800;padding:12px;}
@media(min-width:960px){body.woocommerce-cart main.dsf-content .woocommerce:has(> .woocommerce-cart-form):has(> .cart-collaterals){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,310px);gap:16px;align-items:start;}body.woocommerce-cart main.dsf-content .woocommerce:has(> .woocommerce-cart-form):has(> .cart-collaterals)>:not(.woocommerce-cart-form):not(.cart-collaterals){grid-column:1/-1;}body.woocommerce-cart main.dsf-content .woocommerce:has(> .woocommerce-cart-form):before,body.woocommerce-cart main.dsf-content .woocommerce:has(> .woocommerce-cart-form):after{display:none;}}
@media(max-width:959px){body.woocommerce-cart main.dsf-content .cart-collaterals{margin-top:16px;}}
@media(max-width:600px){body.woocommerce-cart main.dsf-content.dsf-container{width:calc(100% - 20px);padding:12px;}body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon .input-text{width:48%;}body.woocommerce-cart main.dsf-content > article > h1{font-size:26px;}}

/* V5.1: compact product details only; preserve native purchase forms. */
body.single-product main.dsf-woocommerce.dsf-container{width:calc(100% - 32px);max-width:1000px;margin:20px auto;padding:20px;min-height:0}
body.single-product main.dsf-woocommerce .woocommerce-breadcrumb{font-size:12px;margin:0 0 14px;line-height:1.5}
body.single-product main.dsf-woocommerce div.product div.images{width:36%;max-width:320px;margin:0 0 16px}
body.single-product main.dsf-woocommerce div.product div.summary{width:60%;margin:0 0 16px;font-size:14px;line-height:1.5}
body.single-product main.dsf-woocommerce div.product .product_title{font-size:26px;line-height:1.22;font-weight:850;color:var(--dsf-navy);margin:0 0 12px;letter-spacing:-.35px}
body.single-product main.dsf-woocommerce div.product p.price,body.single-product main.dsf-woocommerce div.product span.price{font-size:20px;font-weight:800;margin:0 0 14px}
body.single-product main.dsf-woocommerce div.product .price del{font-size:14px}
body.single-product main.dsf-woocommerce div.product form.cart{margin:0 0 16px}
body.single-product main.dsf-woocommerce div.product form.cart .single_add_to_cart_button{font-size:14px;font-weight:800;padding:10px 16px;min-height:40px}
body.single-product main.dsf-woocommerce div.product form.cart .quantity .qty{font-size:14px;min-height:40px;padding:6px}
body.single-product main.dsf-woocommerce div.product .product_meta{font-size:12px;line-height:1.55;overflow-wrap:anywhere}
body.single-product main.dsf-woocommerce div.product .product_meta>span{display:block;margin:3px 0}
body.single-product main.dsf-woocommerce .woocommerce-tabs{font-size:14px;padding-top:8px}
body.single-product main.dsf-woocommerce .woocommerce-tabs h2,body.single-product main.dsf-woocommerce .related>h2{font-size:21px;font-weight:800}
@media(max-width:760px){body.single-product main.dsf-woocommerce.dsf-container{width:calc(100% - 24px);padding:14px;margin:12px auto}body.single-product main.dsf-woocommerce div.product div.images{float:none;width:100%;margin:0 auto 16px}body.single-product main.dsf-woocommerce div.product div.summary{float:none;width:100%}body.single-product main.dsf-woocommerce div.product .product_title{font-size:22px}}

/* V5.4: compact WooCommerce account screens, including login and registration. */
body.woocommerce-account main.dsf-content.dsf-container{box-sizing:border-box;width:calc(100% - 32px);max-width:900px;margin:20px auto;padding:clamp(16px,3vw,28px);min-height:0;border:1px solid var(--dsf-border);border-radius:16px;box-shadow:var(--dsf-shadow);color:var(--dsf-navy);font-size:14px;line-height:1.5}
body.woocommerce-account main.dsf-content > article > h1{font-size:28px;font-weight:850;line-height:1.2;margin:0 0 18px}
body.woocommerce-account main.dsf-content .woocommerce h2{font-size:19px;font-weight:800;margin:0 0 10px;color:var(--dsf-navy)}
body.woocommerce-account main.dsf-content #customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;scroll-margin-top:20px}
body.woocommerce-account main.dsf-content #customer_login:before,body.woocommerce-account main.dsf-content #customer_login:after{display:none}
body.woocommerce-account main.dsf-content #customer_login > .col-1,body.woocommerce-account main.dsf-content #customer_login > .col-2{float:none;width:100%;min-width:0}
body.woocommerce-account main.dsf-content .woocommerce form.login,body.woocommerce-account main.dsf-content .woocommerce form.register,body.woocommerce-account main.dsf-content .woocommerce form.lost_reset_password{box-sizing:border-box;margin:0 0 12px;padding:16px;border:1px solid var(--dsf-border);border-radius:12px;background:#faf7ff}
body.woocommerce-account main.dsf-content .woocommerce form .form-row{padding:0;margin:0 0 10px}
body.woocommerce-account main.dsf-content .woocommerce form .form-row label{font-size:13px;font-weight:700;color:var(--dsf-navy);line-height:1.5;margin-bottom:4px}
body.woocommerce-account main.dsf-content .woocommerce form .input-text{box-sizing:border-box;width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--dsf-border);border-radius:8px;background:#fff;color:var(--dsf-navy);font-size:14px}
body.woocommerce-account main.dsf-content .woocommerce form .password-input .input-text{padding-right:42px}
body.woocommerce-account main.dsf-content .woocommerce a.button,body.woocommerce-account main.dsf-content .woocommerce button.button{background:var(--dsf-purple);color:#fff;border-radius:8px;font-size:14px;font-weight:750;padding:10px 16px;line-height:1.4}
body.woocommerce-account main.dsf-content .woocommerce a.button:hover,body.woocommerce-account main.dsf-content .woocommerce button.button:hover{background:var(--dsf-navy);color:#fff}
body.woocommerce-account main.dsf-content .woocommerce-privacy-policy-text,body.woocommerce-account main.dsf-content .woocommerce-LostPassword{font-size:12px;line-height:1.55}
body.woocommerce-account main.dsf-content .woocommerce a:not(.button){color:var(--dsf-purple)}
body.woocommerce-account main.dsf-content .woocommerce-MyAccount-navigation{width:25%;float:left}
body.woocommerce-account main.dsf-content .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;background:#f5efff;border-radius:10px}
body.woocommerce-account main.dsf-content .woocommerce-MyAccount-navigation li a{display:block;padding:9px 10px;font-weight:700;border-radius:7px;overflow-wrap:anywhere}
body.woocommerce-account main.dsf-content .woocommerce-MyAccount-navigation li.is-active a{background:var(--dsf-purple);color:#fff}
body.woocommerce-account main.dsf-content .woocommerce-MyAccount-content{width:71%;float:right;min-width:0;overflow-wrap:anywhere}
body.woocommerce-account main.dsf-content .woocommerce-MyAccount-content table.shop_table{font-size:13px}
body.woocommerce-account main.dsf-content .woocommerce-MyAccount-content table.shop_table th,body.woocommerce-account main.dsf-content .woocommerce-MyAccount-content table.shop_table td{padding:8px}
@media(max-width:650px){body.woocommerce-account main.dsf-content.dsf-container{width:calc(100% - 20px);padding:14px;margin:12px auto}body.woocommerce-account main.dsf-content #customer_login{grid-template-columns:minmax(0,1fr);gap:12px}body.woocommerce-account main.dsf-content .woocommerce-MyAccount-navigation,body.woocommerce-account main.dsf-content .woocommerce-MyAccount-content{float:none;width:100%}body.woocommerce-account main.dsf-content .woocommerce-MyAccount-navigation{margin-bottom:16px}}

/* V5.5: compact responsive homepage promotion. */
body .dsf-promo {padding:12px 22px; margin:0 0 10px; border-radius:14px; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:0; text-align:left;}
body .dsf-promo > div {min-width:0;}
body .dsf-promo h2 {font-size:clamp(18px,1.5vw,24px); line-height:1.2; font-weight:900; margin:0; color:#fff;}
body .dsf-promo p {font-size:13px; line-height:1.4; margin:3px 0 0; color:#fff;}
body .dsf-promo .dsf-button {font-size:13px; font-weight:800; padding:8px 18px; min-height:36px; margin:0; flex-shrink:0; white-space:nowrap;}
@media(max-width:600px){body .dsf-promo {padding:12px 14px; flex-wrap:wrap; gap:9px;} body .dsf-promo h2 {font-size:18px;} body .dsf-promo .dsf-button {white-space:normal; min-height:44px;}}

/* V5.6: slimmer promotion with centered adjustable width. */
body .dsf-promo-section {width:calc(100% - 32px);max-width:1100px;margin-inline:auto;}
body .dsf-promo-section .dsf-promo {padding:8px 16px;gap:10px;border-radius:12px;margin-bottom:8px;}
body .dsf-promo-section .dsf-promo h2 {font-size:clamp(16px,1.4vw,20px);line-height:1.2;margin:0;}
body .dsf-promo-section .dsf-promo p {font-size:12px;line-height:1.3;margin:2px 0 0;}
body .dsf-promo-section .dsf-promo .dsf-button {font-size:12px;padding:6px 14px;min-height:36px;position:relative;z-index:1;pointer-events:auto;}
@media(max-width:600px){body .dsf-promo-section .dsf-promo {padding:10px 12px;}body .dsf-promo-section .dsf-promo .dsf-button {min-height:44px;}}
/* Search controls and results */
body .dsf-search-tools .dsf-search button {display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;min-height:36px;padding:0;pointer-events:auto;position:relative;z-index:1;cursor:pointer;}
body .dsf-search-results {max-width:1200px;margin:24px auto;padding:24px;background:#fff;border-radius:18px;}
.dsf-search-results h1 {font-size:26px;font-weight:800;margin:0 0 20px;overflow-wrap:anywhere;}
.dsf-search-results .dsf-product-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;}
.dsf-search-results .dsf-product-card {max-width:320px;width:100%;}

/* V5.8: cart-only header tools; leave plugin search placement unrestricted. */
body .dsf-search-tools{flex:0 0 auto;width:auto;order:0;margin-left:auto;}
@media(max-width:760px){body .dsf-search-tools{flex:0 0 auto;width:auto;order:0;margin-left:0;}}

/* V6.6: visual-only header arrangement; preserve original PHP execution order. */
.dsf-header .dsf-header-actions .dsf-pill { display:none !important; }
@media (min-width:1001px) {
 body .dsf-header-inner { min-height:0; padding:12px 0; gap:12px; flex-wrap:wrap; }
 body .dsf-header-inner .dsf-brand { order:0; flex:0 1 280px; min-width:120px; }
 body .dsf-header-inner .dsf-brand img { max-height:95px; }
 body .dsf-header-inner .dsf-nav { order:1; flex:1 1 auto; min-width:0; }
 body .dsf-header-inner .dsf-nav > ul { gap:12px; flex-wrap:wrap; }
 body .dsf-header-inner .dsf-account-nav { order:2; flex:0 0 auto; gap:6px; }
 body .dsf-header-inner .dsf-account-link { font-size:12px; padding:7px 10px; }
 body .dsf-header-inner .dsf-search-tools { order:3; margin-left:0; }
 body .dsf-header-inner .dsf-header-actions { display:none; }
}
