/* RC8 — original Iranian digital marketplace. Keep custom palette and Woo mechanics. */
body{--market-mist:color-mix(in srgb,var(--accent) 8%,white);--market-rule:color-mix(in srgb,var(--accent) 13%,#dfe4eb);--market-dark:color-mix(in srgb,var(--accent) 20%,#142032);--market-elevation:0 12px 32px -22px #17243b4d;background-image:none}
.site-header{border-bottom:1px solid var(--market-rule);box-shadow:0 4px 16px #18223b07}.header-main{min-height:76px;gap:clamp(12px,3vw,32px)}.brand-mark{border-radius:14px;box-shadow:0 5px 0 color-mix(in srgb,var(--accent) 65%,#142032)}.header-search{border-radius:13px;background:var(--market-mist);padding:4px}.header-search>button{border-radius:9px}.header-actions .account-link,.header-actions .icon-button{border-radius:11px}.nav-inner{min-height:53px}.nav-shop,.main-nav .dfi-demo-menu-item>a{border-radius:9px}.nav-row{border-top-color:var(--market-rule)}.main-nav li>a{font-size:14px}.dfi-mega summary{border-radius:9px}.announcement-inner{min-height:30px}
.storefront{padding-top:22px}.storefront .hero,.dfi-el-showcase .dfi-el-hero{--market-hero-radius:21px;min-height:0;box-shadow:var(--market-elevation);border-radius:var(--market-hero-radius);border:1px solid var(--market-rule);padding:0;isolation:isolate;overflow:hidden}.storefront .hero-copy,.dfi-el-showcase .dfi-el-hero .hero-copy{padding:clamp(24px,3.5vw,48px);gap:0}.storefront .hero h1,.dfi-el-showcase .dfi-el-hero .dfi-el-title{font-size:clamp(29px,3.3vw,47px);line-height:1.45;letter-spacing:-1px;margin:12px 0 14px;max-width:16em}.storefront .hero p,.dfi-el-showcase .dfi-el-hero p{margin:0 0 20px;font-size:15px;line-height:1.95}.storefront .hero .eyebrow,.dfi-el-showcase .dfi-el-hero .eyebrow{border-radius:7px;padding:5px 10px;font-size:12px;letter-spacing:0}.storefront .hero .hero-btn,.dfi-el-showcase .dfi-el-hero .hero-btn,.dfi-hero-gallery{border-radius:10px;min-height:46px;padding:10px 17px;font-weight:750;box-shadow:none}.dfi-hero-topics{gap:5px;margin-bottom:16px}.dfi-hero-topics span{border-radius:7px;padding:3px 8px;font-size:11px}.dfi-art-frame,.dfi-el-showcase .dfi-el-hero .hero-art{min-height:0;padding:18px;position:relative;isolation:isolate}.dfi-art-frame:after{display:none}.storefront .hero-art img,.dfi-el-showcase .dfi-el-hero .hero-art img{display:block;max-height:320px;object-fit:contain;width:100%;height:auto;filter:none}
/* Different compositions, not five copies of one palette. */
body.dfi-preset-files .storefront .hero,.dfi-el-showcase--files .dfi-el-hero{grid-template-columns:1.05fr 1fr;background:var(--market-mist);color:var(--ink)}.dfi-preset-files .dfi-art-frame,.dfi-el-showcase--files .dfi-el-hero .hero-art{background:var(--dfi-hero);border-radius:0 54px 54px 0;margin:0}.dfi-el-showcase--files .dfi-el-hero .eyebrow{background:#fff;color:var(--ink);border-color:var(--market-rule)}.dfi-el-showcase--files .dfi-el-hero .hero-btn{background:var(--accent);color:var(--dfi-accent-text)}
body.dfi-preset-software .storefront .hero,.dfi-el-showcase--software .dfi-el-hero{grid-template-columns:.88fr 1.12fr;border-radius:15px;background:var(--dfi-hero);color:var(--dfi-hero-text);min-height:0}.dfi-preset-software .dfi-art-frame,.dfi-el-showcase--software .dfi-el-hero .hero-art{background:linear-gradient(#ffffff10 1px,transparent 1px),linear-gradient(90deg,#ffffff10 1px,transparent 1px);background-size:24px 24px;border-inline-start:1px solid #ffffff29;border-radius:0}.dfi-preset-software .dfi-art-frame:before{display:none}
body.dfi-preset-books .storefront .hero,.dfi-el-showcase--books .dfi-el-hero{grid-template-columns:1.16fr .84fr;border-radius:8px;background:var(--dfi-hero);color:var(--dfi-hero-text);border-block:1px solid var(--market-rule);min-height:0}.dfi-preset-books .storefront .hero-copy{padding:clamp(24px,3.5vw,50px)}.dfi-preset-books .dfi-art-frame,.dfi-el-showcase--books .dfi-el-hero .hero-art{border-radius:0;background:#faf6eb;border-inline-start:1px solid #c8b99c;min-height:0}.dfi-preset-books .dfi-art-frame:before{display:none}.dfi-preset-books .storefront .hero h1{font-size:clamp(30px,3.5vw,49px);line-height:1.55}
body.dfi-preset-sheets .storefront .hero,.dfi-el-showcase--sheets .dfi-el-hero{grid-template-columns:.83fr 1.17fr;min-height:0;background:#fff;color:var(--ink);border-radius:16px}.dfi-preset-sheets .dfi-art-frame,.dfi-el-showcase--sheets .dfi-el-hero .hero-art{background:var(--market-mist);border:0;border-inline-start:1px solid var(--market-rule);border-radius:0;margin:0;min-height:0}.dfi-preset-sheets .dfi-art-frame:before{display:none}.dfi-el-showcase--sheets .dfi-el-hero .eyebrow{background:var(--market-mist);border-color:var(--market-rule);color:var(--ink)}
body.dfi-preset-graphics .storefront .hero,.dfi-el-showcase--graphics .dfi-el-hero{grid-template-columns:1fr 1.12fr;text-align:start;border-radius:28px;background:var(--dfi-hero);color:var(--dfi-hero-text);min-height:0;padding:0}.dfi-preset-graphics .storefront .hero-copy,.dfi-el-showcase--graphics .dfi-el-hero .hero-copy{align-items:flex-start;text-align:start;margin:0;max-width:none;padding:clamp(24px,3.5vw,48px)}.dfi-preset-graphics .dfi-art-frame,.dfi-el-showcase--graphics .dfi-el-hero .hero-art{width:100%;margin:0;background:radial-gradient(ellipse at 30% 20%,#fff0c2,transparent 65%);border-radius:0 110px 16px 0;min-height:0}.dfi-preset-graphics .storefront .hero-art img,.dfi-el-showcase--graphics .dfi-el-hero .hero-art img{max-height:330px}
.dfi-el-showcase .dfi-el-hero:not(:has(.hero-art)){grid-template-columns:1fr}.dfi-el-showcase{--market-mist:color-mix(in srgb,var(--accent) 8%,white);--market-rule:color-mix(in srgb,var(--accent) 13%,#dfe4eb);background-image:none}
/* Merchant browsing row and compact real shortcuts */
.dfi-market-browse{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid var(--market-rule);border-radius:12px;margin-top:14px;padding:12px 15px;box-shadow:var(--market-elevation)}.dfi-market-browse>strong{display:flex;gap:7px;align-items:center;font-size:13px;white-space:nowrap;color:var(--accent);flex:none}.dfi-market-browse>strong svg{width:19px;height:19px}.dfi-market-links{display:flex;flex-wrap:wrap;gap:7px;min-width:0}.dfi-market-links>a{display:inline-flex;align-items:center;gap:7px;font-size:12px;padding:5px 10px;border:1px solid var(--market-rule);border-radius:7px;color:var(--ink);background:var(--market-mist);overflow-wrap:anywhere}.dfi-market-links>a svg{width:14px;height:14px;color:var(--accent);flex:none}.dfi-market-links>a:hover{border-color:var(--accent)}.dfi-luxury-shortcuts{margin-top:12px;gap:9px}.dfi-luxury-shortcuts>a{border-radius:11px;padding:11px;box-shadow:none}.dfi-luxury-icon{width:39px;height:39px;border-radius:10px}.dfi-luxury-label small{line-height:1.6}
.section-block{margin-block-start:36px}.section-head{padding-bottom:12px;margin-bottom:15px;align-items:center}.section-head h2{font-size:clamp(22px,2.3vw,30px);letter-spacing:-.55px}.section-kicker{color:var(--accent)}.section-head .text-link{border-radius:9px;padding:7px 12px}.storefront .category-card,.dfi-el-showcase .dfi-el-categories .category-card{min-height:104px;border-radius:12px;background:#fff;box-shadow:var(--market-elevation);border-color:var(--market-rule);padding:14px}.category-card .category-icon{border-radius:11px}.dfi-preset-books .storefront .category-card,.dfi-el-showcase--books .category-card{border-radius:5px;border-block-start:3px solid var(--accent)}.dfi-preset-sheets .storefront .category-card,.dfi-el-showcase--sheets .category-card{border-inline-start:4px solid var(--accent)}.dfi-preset-graphics .storefront .category-card,.dfi-el-showcase--graphics .category-card{border-radius:22px}
/* Shared product cards: native Woo markup remains intact. */
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product,.dfi-el-showcase .dfi-el-block .woocommerce ul.products li.product{background:#fff;border:1px solid var(--market-rule);border-radius:var(--dfi-card-radius,14px);padding:10px;box-shadow:var(--market-elevation);transition:box-shadow .2s,border-color .2s,transform .2s;min-width:0;overflow-wrap:anywhere}.woocommerce ul.products li.product:hover{border-color:var(--accent);box-shadow:0 16px 32px -19px #14203255;transform:translateY(-3px)}.woocommerce ul.products li.product a img{border-radius:calc(var(--dfi-card-radius,14px) * .7);background:var(--market-mist);margin-bottom:8px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;line-height:1.7;min-height:0;padding:5px 4px!important;font-weight:750}.dfi-market-filetype{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:650;color:var(--muted);margin:3px 4px 8px}.dfi-market-filetype svg{width:14px;height:14px;color:var(--accent);flex:none}.woocommerce ul.products li.product .price{font-size:17px;background:transparent;border-block-start:1px dashed var(--market-rule);padding:10px 4px 7px;margin:0;color:var(--ink);font-weight:800}.woocommerce ul.products li.product .button{border-radius:9px;font-size:13px;min-height:42px;background:var(--accent);color:var(--dfi-accent-text);box-shadow:none}.woocommerce ul.products li.product .button:hover{filter:brightness(.92);color:var(--dfi-accent-text)}.dfi-preset-software .woocommerce ul.products li.product{border-block-start:3px solid var(--accent)}.dfi-preset-books .woocommerce ul.products li.product a img{background:#f2ede2}.dfi-preset-sheets .woocommerce ul.products li.product{border-inline-start:3px solid var(--accent)}.dfi-preset-graphics .woocommerce ul.products li.product{border-radius:24px}
.trust-strip{border-radius:12px;background:#fff;border:1px solid var(--market-rule);padding:17px;margin-block:28px}.dfi-promo,.dfi-el-showcase .dfi-el-block.dfi-promo{border-radius:15px;background:var(--market-mist);color:var(--ink);border:1px solid var(--market-rule)}.dfi-promo .btn{border-radius:9px;background:var(--accent);color:var(--dfi-accent-text)}
/* Public demo gallery, article index, account and product page. */
.dfi-demo-intro{border-radius:18px;padding:clamp(24px,4vw,48px);background:var(--market-dark);color:#fff}.dfi-demo-intro p,.dfi-demo-intro h2{color:#fff}.dfi-demo-gallery{gap:18px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.dfi-demo-preview-card{border:1px solid var(--market-rule);border-radius:14px;background:#fff;box-shadow:var(--market-elevation)}.dfi-demo-preview-art{padding:12px;border-radius:11px 11px 0 0}.dfi-demo-preview-art img{height:clamp(160px,18vw,240px);object-fit:contain}.dfi-demo-preview-body .btn{border-radius:9px;min-height:44px}.dfi-blog-hero{border-radius:15px;padding:clamp(20px,3vw,34px)}.dfi-blog-grid{gap:15px}.dfi-blog-card{background:#fff;border-radius:14px;border:1px solid var(--market-rule);box-shadow:var(--market-elevation);overflow:hidden}.dfi-blog-thumb{aspect-ratio:16/9}.dfi-blog-thumb img{width:100%;height:100%;object-fit:cover}.dfi-blog-card-body{padding:17px}.dfi-blog-card-body h3{line-height:1.65;font-size:17px}.dfi-article-head,.dfi-article-body{border-color:var(--market-rule);border-radius:16px}.dfi-account-welcome,.dfi-login-intro{border-radius:18px;box-shadow:var(--market-elevation)}.dfi-account-stat,.dfi-account-panel,.dfi-account-shortcut{border-radius:12px;border-color:var(--market-rule);box-shadow:none}.woocommerce-account .woocommerce-MyAccount-navigation{border-radius:13px}.woocommerce-account .woocommerce-MyAccount-navigation li a{border-radius:8px}.woocommerce-account .woocommerce-MyAccount-content,.woocommerce-account form.login,.woocommerce-account form.register{border-radius:14px;border-color:var(--market-rule)}.dfi-product-enhanced .shop-main div.product.type-product,.woocommerce div.product .woocommerce-tabs,.woocommerce-cart .cart-collaterals,.woocommerce-checkout #order_review{border-radius:15px;border-color:var(--market-rule)}.dfi-product-facts,.dfi-specs-table,.dfi-delivery-note,.dfi-faq details{border-radius:10px;border-color:var(--market-rule)}.woocommerce div.product form.cart .button,.woocommerce a.checkout-button,.woocommerce #payment #place_order{border-radius:10px;min-height:46px}.site-footer{border-top:4px solid var(--accent);padding-top:42px}.site-footer h3{font-size:16px}.footer-grid{gap:24px}.footer-bottom{padding-block:15px}
@media(max-width:760px){.header-main{min-height:0;gap:9px}.header-search{border-radius:10px}.nav-inner{min-height:0}.storefront{padding-top:12px}.storefront .hero,body.dfi-preset-files .storefront .hero,body.dfi-preset-software .storefront .hero,body.dfi-preset-books .storefront .hero,body.dfi-preset-sheets .storefront .hero,body.dfi-preset-graphics .storefront .hero,.dfi-el-showcase .dfi-el-hero,.dfi-el-showcase--files .dfi-el-hero,.dfi-el-showcase--software .dfi-el-hero,.dfi-el-showcase--books .dfi-el-hero,.dfi-el-showcase--sheets .dfi-el-hero,.dfi-el-showcase--graphics .dfi-el-hero{grid-template-columns:minmax(0,1fr);min-height:0}.storefront .hero-copy,.dfi-preset-books .storefront .hero-copy,.dfi-preset-sheets .storefront .hero-copy,.dfi-preset-graphics .storefront .hero-copy,.dfi-el-showcase .dfi-el-hero .hero-copy,.dfi-el-showcase--graphics .dfi-el-hero .hero-copy{padding:22px;align-items:flex-start;text-align:start}.storefront .hero h1,.dfi-preset-books .storefront .hero h1,.dfi-el-showcase .dfi-el-hero .dfi-el-title{font-size:clamp(25px,6.8vw,35px);letter-spacing:-.4px}.storefront .hero p,.dfi-el-showcase .dfi-el-hero p{font-size:14px}.storefront .dfi-art-frame,.dfi-preset-files .dfi-art-frame,.dfi-preset-software .dfi-art-frame,.dfi-preset-books .dfi-art-frame,.dfi-preset-sheets .dfi-art-frame,.dfi-preset-graphics .dfi-art-frame,.dfi-el-showcase .dfi-el-hero .hero-art,.dfi-el-showcase--files .dfi-el-hero .hero-art,.dfi-el-showcase--graphics .dfi-el-hero .hero-art{border-radius:0;min-height:0;padding:10px;margin:0;width:100%}.storefront .hero-art img,.dfi-preset-graphics .storefront .hero-art img,.dfi-el-showcase .dfi-el-hero .hero-art img,.dfi-el-showcase--graphics .dfi-el-hero .hero-art img{max-height:210px}.dfi-market-browse{display:block;padding:11px}.dfi-market-links{margin-top:9px}.dfi-market-links>a{font-size:11px;padding:6px 9px}.dfi-luxury-shortcuts>a{padding:10px}.section-block{margin-block-start:29px}.section-head h2{font-size:21px}.section-head .text-link{font-size:11px}.storefront .category-card,.dfi-el-showcase .dfi-el-categories .category-card{min-height:95px;padding:11px}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product,.dfi-el-showcase .dfi-el-block .woocommerce ul.products li.product{padding:7px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px}.woocommerce ul.products li.product .price{font-size:14px}.woocommerce ul.products li.product .button{font-size:12px}.dfi-market-filetype{font-size:10px}.site-footer{padding-top:30px}.dfi-demo-gallery{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.woocommerce ul.products li.product:hover{transform:none}.woocommerce ul.products li.product{transition:none}}
