/*
Theme Name: Dastdooz Tehran
Description: Persian RTL fashion storefront with editable full-screen campaigns and WooCommerce integration.
Version: 1.1.0
Requires at least: 6.4.2
Requires PHP: 8.1
Text Domain: bodyspinner
*/
@font-face{font-family:BYekan;src:url('assets/byekan.woff2') format('woff2');font-display:swap;font-weight:100 900}
:root{--ink:#343434;--paper:#fff;--line:#e5e5e5}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:BYekan,Arial,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer;color:inherit;border:0;background:transparent}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible{outline:2px solid currentColor;outline-offset:5px}img{max-width:100%;height:auto}button svg{display:block}h1,h2,h3,p{margin-top:0}[hidden]{display:none!important}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.site-header{position:fixed;top:0;inset-inline:0;z-index:50;color:white;transition:background .3s,color .3s}.site-header.solid,.inner-page .site-header{background:white;color:#222;border-bottom:1px solid var(--line)}.admin-bar .site-header{top:32px}.header-row{height:72px;padding:16px;display:flex;align-items:center;justify-content:space-between;direction:rtl}.header-start,.header-tools{display:flex;align-items:center}.header-start{gap:16px}.icon-button{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:3px}.icon-button:hover{background:#00000012}.icon-button svg{width:20px;height:20px}.hamburger{display:flex;flex-direction:column;gap:4px;opacity:.7}.hamburger span{width:20px;height:2px;background:currentColor}.gender-nav{display:flex;align-items:center;gap:24px;border-right:1px solid #ffffff33;padding-right:24px}.gender-nav a{padding:4px 0;font-weight:600;opacity:.7}.gender-nav a.active{opacity:1;border-bottom:2px solid currentColor}.brand{position:absolute;left:50%;transform:translateX(-50%);height:100px;width:180px;display:flex;align-items:center;justify-content:center}.brand-mark{display:block;width:180px;height:100px;background:currentColor;mask:url('assets/logo.svg') center/contain no-repeat}.header-tools{gap:4px}.language-link{display:flex;align-items:center;gap:4px;min-width:40px;font-size:12px;font-weight:600}.language-link svg{width:20px;height:20px}.mobile-nav{display:none}.campaign{position:relative;height:100vh;min-height:500px;overflow:hidden}.campaign>img,.campaign>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.campaign:after{content:'';position:absolute;inset:0;background:rgb(0 0 0 / .2);pointer-events:none}.campaign-cta{position:absolute;bottom:48px;left:50%;transform:translateX(-50%);z-index:2;background:white;color:#000;padding:12px 32px;line-height:20px;white-space:nowrap;transition:scale .2s}.campaign-cta:hover{scale:1.05}.campaign-title{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:white;font-size:36px;z-index:2}.campaign-pair{display:grid;grid-template-columns:1fr 1fr}.campaign-pair .campaign{height:90vh}.site-footer{margin-top:64px;background:#f5f5f5;padding:56px 16px 32px;text-align:center;color:#666;line-height:20px}.site-footer p{margin:0 0 8px}.site-footer a{color:#2563eb}.credit{display:flex;align-items:center;justify-content:center;gap:8px;direction:ltr}.credit span{font:700 32px Arial;color:#2563eb}.backdrop{position:fixed;inset:0;background:#0008;z-index:102}.drawer{position:fixed;top:0;right:0;bottom:0;width:500px;max-width:100%;background:white;z-index:103;display:flex;flex-direction:column;box-shadow:0 10px 30px #0002;animation:slide-in .3s ease;direction:rtl}.drawer-close{position:absolute;left:24px;top:20px;width:36px;height:36px;font:28px Arial;font-weight:300;z-index:3}.drawer-heading{padding:28px 24px 20px;border-bottom:1px solid var(--line);font-size:20px}.drawer-body{padding:24px;overflow:auto;flex:1}.drawer .gender-nav{height:73px;justify-content:flex-start;border-bottom:1px solid var(--line);padding:0 24px;gap:32px}.drawer .gender-nav a{padding:15px}.menu-links{padding:0 16px}.menu-links>a,.menu-links summary{display:block;padding:13px 0;cursor:pointer;list-style:none}.menu-links summary::after{content:'‹';float:left}.menu-links details[open] summary::after{content:'−'}.menu-links details a{display:block;padding:10px 24px}.menu-info{margin-top:40px}.menu-bottom{margin-top:auto;border-top:1px solid var(--line);padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.menu-bottom>*{background:#f3f4f6;text-align:center;padding:12px;border-radius:3px}.menu-bottom>:first-child{grid-column:1/-1}.drawer input:not([type=checkbox]),.drawer select{padding:12px;border:1px solid #ccc;width:100%;background:white}.drawer label{display:block;margin-bottom:8px}.drawer form p{margin-bottom:20px}.button-primary,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-block;background:#111!important;color:white!important;border:0!important;border-radius:0!important;padding:14px 24px!important;font-weight:400!important;line-height:20px}.button-primary:hover{background:#333}.drawer .button-primary{width:100%}.muted{color:#777}.basket-tabs{display:flex;padding:20px 64px 0 12px;border-bottom:1px solid var(--line);direction:ltr}.basket-tabs button{padding:0 8px 16px;flex:1;font-size:16px}.basket-tabs button.active{border-bottom:2px solid #000}.empty-state{min-height:60vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;direction:ltr;color:#666;font-size:18px}.empty-state svg{width:64px;height:64px;stroke:#d1d5db}.search-form{display:flex;gap:8px;margin-bottom:24px}.search-form button{width:auto!important}.search-results>a,.favourite-item{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.search-results img,.favourite-item img{width:72px}.search-results strong{display:block}.content-wrap{padding:120px 32px 48px;max-width:1600px;margin:auto;min-height:65vh}.content-wrap h1{font-size:25px;font-weight:400;margin:20px 0 36px}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;font-weight:400}.woocommerce ul.products li.product a img{aspect-ratio:3/4;object-fit:cover;margin-bottom:14px}.woocommerce ul.products li.product .price{color:#333;font-size:14px}.woocommerce ul.products li.product .button{display:none}.woocommerce span.onsale{background:#111;border-radius:0;min-height:0;line-height:25px;padding:0 8px}.woocommerce div.product p.price{color:#333}.woocommerce div.product form.cart .variations select{padding:12px;border:1px solid #ddd}.woocommerce .quantity .qty{padding:12px;border:1px solid #ddd;width:75px}.woocommerce div.product .product_title{font-size:26px;line-height:1.7}.woocommerce div.product div.images img{max-height:900px;object-fit:cover}.woocommerce-message,.woocommerce-info{border-top-color:#111}.woocommerce-message::before,.woocommerce-info::before{color:#111}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:13px;border:1px solid #ccc}.woocommerce .woocommerce-ordering select{border:1px solid #ddd;padding:10px;background:white}.woocommerce nav.woocommerce-pagination ul{border:0}.woocommerce nav.woocommerce-pagination ul li{border:0}.woocommerce table.shop_table{border-radius:0}.favourite-toggle{display:inline-flex;gap:8px;align-items:center;padding:12px 0;margin-bottom:20px}.favourite-toggle svg{width:20px;height:20px}.favourite-toggle.saved svg{fill:#111}.notice{padding:12px;background:#f5f5f5;margin-bottom:20px}.error{color:#b42318}.woocommerce-mini-cart{list-style:none;padding:0}.woocommerce-mini-cart-item{border-bottom:1px solid #ddd;padding:20px 0!important}.woocommerce-mini-cart-item img{width:72px!important;float:right;margin-left:16px}.woocommerce-mini-cart-item .remove{float:left}.woocommerce-mini-cart__buttons{display:flex;gap:12px}.woocommerce-mini-cart__buttons a{flex:1;text-align:center;background:#111;color:white;padding:12px}.woocommerce-mini-cart__total{padding:24px 0}.woocommerce-privacy-policy-text{font-size:12px}.generic-page{max-width:900px;line-height:2}.generic-page a{text-decoration:underline}.no-products{padding:50px 0}.video-toggle{position:absolute;bottom:48px;left:24px;z-index:3;color:white;width:32px;height:32px;opacity:0}.campaign:hover .video-toggle,.video-toggle:focus-visible{opacity:1}
.woocommerce-product-gallery{direction:ltr}.woocommerce-product-gallery__wrapper{direction:ltr}.woocommerce .cart .coupon #coupon_code{min-width:160px}.woocommerce div.product .summary{line-height:1.8}.search-form input{min-width:0;flex:1}.search-form button svg{width:20px;height:20px}
@keyframes slide-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(max-width:1024px){.drawer{width:450px}.woocommerce ul.products{gap:16px}}
@media(max-width:767px){.header-row{padding:16px;height:72px}.header-start .gender-nav,.header-tools .desktop-only{display:none}.brand,.brand-mark{width:140px;height:80px}.header-tools{gap:0}.mobile-nav{display:flex;justify-content:center;gap:24px;border-top:1px solid #ffffff33}.mobile-nav a{padding:12px 0;font-weight:600;opacity:.7}.mobile-nav a.active{opacity:1;border-bottom:2px solid currentColor}.campaign>img{object-position:var(--mobile-position,center) center}.campaign-pair{grid-template-columns:1fr 1fr}.campaign-pair .campaign{height:65vh;min-height:400px}.campaign-title{font-size:24px}.campaign-cta{padding:12px 32px}.site-footer{margin-top:32px;padding:40px 12px 24px;font-size:12px}.drawer{width:100%}.content-wrap{padding:145px 16px 32px}.woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:24px 12px}.woocommerce .woocommerce-result-count{font-size:12px}.woocommerce .woocommerce-ordering select{max-width:175px}.admin-bar .site-header{top:46px}.woocommerce div.product .product_title{font-size:22px}}
@media(max-width:767px){.brand,.brand-mark{width:180px;height:100px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
