/* 0.9.5 | Persian storefront: warm editorial surfaces, strong hierarchy and distinct preset layouts. */
body{--dfi-surface:color-mix(in srgb,var(--accent) 4%,#fff);--dfi-outline:color-mix(in srgb,var(--accent) 18%,#e3e6ea);--dfi-deep:color-mix(in srgb,var(--accent) 70%,#18203a);background-image:radial-gradient(ellipse at 96% 4%,color-mix(in srgb,var(--accent) 10%,transparent),transparent 29%),radial-gradient(ellipse at 1% 22%,color-mix(in srgb,var(--dfi-warm) 12%,transparent),transparent 24%)}
.site-header{border-bottom:1px solid var(--dfi-outline);box-shadow:0 4px 25px #19243b0c}.header-main{min-height:88px}.header-search{border:1px solid var(--dfi-outline);border-radius:14px}.header-search>button{min-height:40px}.nav-row{background:var(--dfi-header,#fff);border-block-start:1px solid var(--dfi-outline)}.nav-inner{gap:16px}.main-nav{min-width:0}.main-nav>.menu,.main-nav>ul{gap:clamp(13px,2vw,28px);flex-wrap:wrap}.main-nav li>a{font-weight:650}.main-nav .dfi-demo-menu-item>a{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;margin-block:5px;background:var(--dfi-warm);color:#25212b;border-radius:10px;font-weight:800;line-height:1.7;box-shadow:0 3px 0 color-mix(in srgb,var(--dfi-warm) 60%,#332b31);white-space:normal}.dfi-demo-menu-link svg{width:17px;height:17px;flex-shrink:0}.main-nav .dfi-demo-menu-item>a:hover,.main-nav .dfi-demo-menu-item>a[aria-current]{background:var(--accent);color:var(--dfi-accent-text)}.nav-shop{white-space:nowrap;flex-shrink:0}
.storefront{padding-top:26px}.storefront .hero{min-height:400px;box-shadow:0 18px 45px #18203a1a;border:1px solid color-mix(in srgb,var(--accent) 28%,transparent);border-radius:calc(var(--radius) + 8px)}.storefront .hero-copy{padding:clamp(25px,4vw,58px)}.storefront .hero h1{font-size:clamp(30px,3.5vw,51px);line-height:1.45;letter-spacing:-.65px;margin-block:18px 14px}.storefront .hero p{opacity:.95;line-height:1.95;margin-block-end:18px}.dfi-hero-topics{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 24px}.dfi-hero-topics span{padding:4px 11px;border-radius:100px;border:1px solid currentColor;font-size:.83em;opacity:.86;line-height:1.7}.dfi-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.storefront .hero .hero-btn,.dfi-hero-gallery{min-height:48px;font-size:14px}.dfi-hero-gallery{display:inline-flex;align-items:center;gap:8px;border:1px solid currentColor;border-radius:13px;padding:10px 15px;color:inherit;font-weight:700}.dfi-hero-gallery:hover{background:var(--dfi-warm);color:#25212b;border-color:transparent}.dfi-hero-gallery svg{width:17px;height:17px}.storefront .hero-art{padding:24px;position:relative}.storefront .hero-art img{max-height:385px;filter:drop-shadow(0 18px 22px #17203824)}
.section-block{margin-block-start:46px}.section-head{padding-bottom:15px;border-bottom:1px solid var(--dfi-outline);margin-bottom:18px}.section-head h2{font-size:clamp(22px,2.4vw,32px);margin:3px 0 0}.section-kicker{font-weight:700}.section-head .text-link{background:var(--dfi-surface);border-color:var(--dfi-outline);padding:9px 13px}.category-grid{gap:14px}.category-card{min-height:140px;border:1px solid var(--dfi-outline);border-radius:var(--radius);background:linear-gradient(145deg,#fff 30%,var(--dfi-surface));box-shadow:0 5px 14px #18203a08}.category-icon{border-radius:16px 16px 5px 16px}.category-card strong{font-size:15px}.category-card small{font-size:12px}.category-card:hover{border-color:var(--accent)}
.woocommerce ul.products li.product{border:1px solid var(--dfi-outline);padding:12px;min-width:0;background:#fff;box-shadow:var(--dfi-card-shadow);overflow:hidden}.woocommerce ul.products li.product a img{border-radius:calc(var(--dfi-card-radius,18px)*.72);background:var(--dfi-surface);margin-bottom:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:clamp(14px,1.3vw,17px);line-height:1.7;padding:4px 5px 7px}.woocommerce ul.products li.product .price{padding:7px 5px 10px;border-top:1px dashed var(--dfi-outline);font-size:16px;color:var(--dfi-deep)}.woocommerce ul.products li.product .button{min-height:46px;border-radius:11px;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.6;margin-top:auto}.woocommerce ul.products li.product .button:hover{filter:brightness(.9)}.trust-strip{border-radius:calc(var(--radius) + 3px);padding:24px;background:linear-gradient(120deg,var(--dfi-soft),var(--dfi-surface));border-color:var(--dfi-outline)}.trust-strip>div{min-width:0}.dfi-promo{border-radius:calc(var(--radius) + 4px);border-inline-start:5px solid var(--accent)}.dfi-promo h2{font-weight:800}.site-footer{border-top:5px solid var(--dfi-warm);padding-top:45px}.footer-grid{gap:clamp(24px,4vw,54px)}.footer-grid h3{font-size:17px}.footer-grid .brand-link{margin-bottom:18px}.footer-grid li a:hover{text-decoration:underline;text-underline-offset:4px}.footer-bottom{padding-block:17px}
/* Each preset has its own proportions and card language, not only colors. */
.dfi-preset-files .storefront .hero{grid-template-columns:1.03fr .97fr;background-image:radial-gradient(ellipse at 12% 5%,#b29cff35,transparent 63%),linear-gradient(135deg,#ffffff0a,transparent)}.dfi-preset-files .category-card:nth-child(odd){background:linear-gradient(140deg,#fff,var(--dfi-soft))}.dfi-preset-files .section-head h2{border-inline-start:4px solid var(--dfi-warm);padding-inline-start:12px}
.dfi-preset-software .storefront .hero{grid-template-columns:.92fr 1.08fr;border-radius:12px;background-image:linear-gradient(90deg,#ffffff0b 1px,transparent 1px),linear-gradient(#ffffff0b 1px,transparent 1px),radial-gradient(ellipse at 15% 30%,#27a8b542,transparent 65%);background-size:32px 32px,32px 32px,auto}.dfi-preset-software .category-card{border-radius:10px}.dfi-preset-software .woocommerce ul.products li.product{border-top:4px solid var(--accent)}.dfi-preset-software .section-head{border-bottom:2px solid var(--accent)}
.dfi-preset-books .storefront .hero{grid-template-columns:1fr .8fr;min-height:370px;border-radius:12px;background-image:linear-gradient(120deg,#fffcf277,transparent),radial-gradient(ellipse at 10% 15%,#c5a06326,transparent 65%)}.dfi-preset-books .hero h1{font-size:clamp(29px,3.4vw,48px)}.dfi-preset-books .category-card{background:#fffaf2;border-color:#e5dbc8;box-shadow:none}.dfi-preset-books .woocommerce ul.products li.product{padding:15px;border-color:#e5dbc8}.dfi-preset-books .woocommerce ul.products li.product a img{object-fit:var(--dfi-card-fit,contain);padding:12px;background:#f8f1e5}.dfi-preset-books .section-head{border-bottom:double 4px #d8c8ae}
.dfi-preset-sheets .storefront .hero{grid-template-columns:.84fr 1.16fr;border-radius:12px;background-image:linear-gradient(130deg,#ffffff06,transparent),radial-gradient(ellipse at 10% 20%,#f2d97529,transparent 70%)}.dfi-preset-sheets .category-card{min-height:116px;border-inline-start:5px solid var(--accent);align-items:flex-start;text-align:start;padding:15px}.dfi-preset-sheets .section-head{background:#fff;border:1px solid var(--dfi-outline);border-inline-start:5px solid var(--accent);padding:15px 18px;border-radius:12px}.dfi-preset-sheets .woocommerce ul.products li.product{border-radius:12px}
.dfi-preset-graphics .storefront .hero{grid-template-columns:1fr 1fr;min-height:430px;border-radius:calc(var(--radius) + 10px);background-image:radial-gradient(ellipse at 12% 4%,#ffe6ad,transparent 58%),radial-gradient(ellipse at 80% 85%,#ffb9c773,transparent 56%)}.dfi-preset-graphics .storefront .hero-copy{padding:clamp(26px,4vw,58px);margin:0;text-align:start}.dfi-preset-graphics .storefront .hero-copy .hero-btn{margin-inline:0}.dfi-preset-graphics .storefront .hero-art img{max-height:400px}.dfi-preset-graphics .category-card{border-radius:32px;background:linear-gradient(135deg,#fff,#fff0e8)}.dfi-preset-graphics .woocommerce ul.products li.product{border-radius:var(--dfi-card-radius);padding:10px}.dfi-preset-graphics .section-head h2{font-size:clamp(24px,3vw,34px)}
/* Demo directory: distinct browser-frame illustration, no claim of actual screenshot. */
.dfi-demo-intro{position:relative;overflow:hidden;padding:clamp(30px,5vw,72px);border-radius:24px;background-image:radial-gradient(ellipse at 13% 0%,color-mix(in srgb,var(--dfi-warm) 22%,transparent),transparent 70%),var(--dfi-pattern);background-size:auto,160px}.dfi-demo-intro h2{font-size:clamp(28px,4vw,46px)}.dfi-demo-gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:22px}.dfi-demo-preview-card{border-radius:20px;overflow:hidden;background:#fff;border:1px solid var(--dfi-outline);box-shadow:0 9px 26px #18203a0b;display:flex;flex-direction:column;min-width:0}.dfi-demo-preview-art{margin:12px 12px 0;border-radius:14px;overflow:hidden;position:relative;padding:12px!important;background-color:var(--demo-bg)!important}.dfi-demo-browser-bar{display:flex;gap:5px;align-items:center;background:#fff;border-radius:7px 7px 0 0;padding:7px 10px;direction:ltr;border-bottom:1px solid #e6e8ef}.dfi-demo-browser-bar i{display:block;width:7px;height:7px;border-radius:50%;background:var(--demo-accent);opacity:.55}.dfi-demo-browser-bar span{margin-inline:12px;width:42%;height:6px;border-radius:9px;background:#e4e6ed}.dfi-demo-preview-art img{width:100%;height:clamp(145px,16vw,220px);object-fit:contain;background:var(--demo-bg);border-radius:0 0 7px 7px;filter:none}.dfi-demo-preview-body{flex:1;display:flex;flex-direction:column;align-items:flex-start;padding:20px!important;gap:9px}.dfi-demo-preview-body h3{color:var(--demo-accent);font-size:21px;margin:0}.dfi-demo-preview-body p{margin:0 0 8px;line-height:1.85}.dfi-demo-preview-body .btn{background:var(--demo-accent);color:#fff;align-self:stretch;justify-content:center;min-height:46px;margin-top:auto}.dfi-demo-preview-body .btn:hover{color:#fff;filter:brightness(.9)}.dfi-preview-nav{padding:9px 0}.dfi-preview-note{border-inline-start:4px solid var(--accent);background:var(--dfi-surface)}
/* Shared product, blog and account surfaces. */
.dfi-blog-hero,.dfi-blog-article{border-color:var(--dfi-outline)}.dfi-blog-hero{background:linear-gradient(120deg,var(--dfi-soft),#fff 72%)}.dfi-blog-card{border-radius:calc(var(--radius) + 3px);overflow:hidden;border-color:var(--dfi-outline)}.dfi-blog-card .dfi-blog-card-body{gap:10px}.dfi-blog-card .text-link{background:var(--dfi-surface);padding:7px 12px;border-radius:8px}.dfi-blog-card:hover{border-color:var(--accent)}.dfi-product-enhanced div.product .summary{border-color:var(--dfi-outline);border-top:4px solid var(--accent);box-shadow:0 14px 32px #18203a0b}.dfi-product-enhanced div.product .woocommerce-product-gallery{background:var(--dfi-surface);border-color:var(--dfi-outline)}.dfi-product-facts>div{background:var(--dfi-surface);border-color:var(--dfi-outline)}.dfi-account-stat{background:linear-gradient(140deg,#fff,var(--dfi-surface));border-color:var(--dfi-outline);border-inline-start:4px solid var(--accent)}.dfi-account-pro .woocommerce-MyAccount-navigation,.dfi-account-pro .woocommerce-MyAccount-content{border-color:var(--dfi-outline)}.dfi-account-welcome{border-radius:calc(var(--radius) + 5px);border-bottom:4px solid var(--dfi-warm)}
@media(max-width:1000px){.nav-inner{gap:10px}.main-nav>.menu,.main-nav>ul{gap:14px}.main-nav li>a{font-size:14px}.storefront .hero-copy{padding:30px}.storefront .hero-art{padding:15px}}
@media(max-width:760px){.header-main{min-height:0}.storefront{padding-top:17px}.storefront .hero,.dfi-preset-files .storefront .hero,.dfi-preset-software .storefront .hero,.dfi-preset-books .storefront .hero,.dfi-preset-sheets .storefront .hero,.dfi-preset-graphics .storefront .hero{grid-template-columns:minmax(0,1fr);min-height:0}.storefront .hero-copy,.dfi-preset-graphics .storefront .hero-copy{padding:24px 20px 4px}.storefront .hero h1,.dfi-preset-books .storefront .hero h1{font-size:clamp(27px,6.5vw,36px);margin-block:12px}.dfi-hero-topics{gap:5px;margin-bottom:17px}.dfi-hero-topics span{font-size:11px;padding:3px 8px}.dfi-hero-actions{gap:8px}.storefront .hero .hero-btn,.dfi-hero-gallery{min-height:44px;font-size:12px;padding:9px 12px}.storefront .hero-art{padding:12px 15px 17px}.storefront .hero-art img,.dfi-preset-graphics .storefront .hero-art img{max-height:240px}.section-block{margin-block-start:30px}.section-head{padding-bottom:10px;margin-bottom:12px}.section-head h2{font-size:22px}.section-head .text-link{font-size:11px;padding:6px 9px}.category-card,.dfi-preset-sheets .category-card{min-height:110px;padding:12px 9px}.category-card strong{font-size:13px}.category-grid{gap:9px}.woocommerce ul.products,.woocommerce-page ul.products{gap:10px}.woocommerce ul.products li.product,.dfi-preset-books .woocommerce ul.products li.product,.dfi-preset-graphics .woocommerce ul.products li.product{padding:8px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px;padding:3px 2px}.woocommerce ul.products li.product .price{font-size:13px;padding:5px 2px 8px}.woocommerce ul.products li.product .button{font-size:12px;padding:7px 4px;min-height:42px}.trust-strip{padding:13px;margin-block:26px}.dfi-demo-gallery{gap:16px}.dfi-demo-preview-art img{height:180px}.dfi-demo-preview-body{padding:16px!important}.footer-grid{gap:24px}}
@media(max-width:700px){.main-nav .dfi-demo-menu-item>a{display:flex;width:max-content;max-width:100%;margin-block:8px 12px}.main-nav>.menu,.main-nav>ul{display:block}.main-nav li>a{font-size:15px}.dfi-preset-sheets .category-card{align-items:center;text-align:center}.nav-shop{display:none}}
@media(prefers-reduced-motion:reduce){.woocommerce ul.products li.product,.category-card,.dfi-blog-card,.dfi-demo-preview-card{transition:none}.woocommerce ul.products li.product:hover,.category-card:hover,.dfi-blog-card:hover{transform:none}}

@media(min-width:761px){.dfi-preset-graphics .storefront .hero{grid-template-columns:1fr;min-height:0;text-align:center}.dfi-preset-graphics .storefront .hero-copy{padding:34px 26px 0;margin:auto;text-align:center;max-width:850px}.dfi-preset-graphics .storefront .hero h1,.dfi-preset-graphics .storefront .hero p{max-width:none}.dfi-preset-graphics .dfi-hero-topics,.dfi-preset-graphics .dfi-hero-actions{justify-content:center}.dfi-preset-graphics .storefront .hero-art{padding:0 28px 20px}.dfi-preset-graphics .storefront .hero-art img{max-height:240px}}
