/* Teloma — logical properties are used everywhere, so the layout works in RTL and LTR. */
@font-face{font-family:"Vazirmatn";src:url("../fonts/Vazirmatn-Variable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{--t-primary:#FF8A00;--t-dark:#111;--t-peach:#FBDFA6;--t-gold:#D79A00;--t-text:#1b1b1f;--t-muted:#6b6f76;--t-line:#e8e8ec;--t-soft:#faf7f2;--t-radius:14px;--t-font:"Vazirmatn",Tahoma,system-ui,sans-serif;--t-max:1320px;--t-prim-d:color-mix(in srgb,var(--t-primary) 86%,#000)}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--t-font);color:var(--t-text);background:#fff;line-height:1.75;font-size:15px}
button,input,select,textarea{font-family:inherit;font-size:inherit}
img,svg,video,iframe{max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none;transition:color .15s}
a:hover{color:var(--t-primary)}
h1,h2,h3,h4{line-height:1.4;margin:0 0 .6em}
.screen-reader-text,.t-skip:not(:focus){position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.t-skip:focus{position:fixed;top:8px;inset-inline-start:8px;background:#fff;padding:8px 14px;z-index:999;border-radius:8px}
.t-container{width:min(100% - 32px,var(--t-max));margin-inline:auto}
.t-narrow{max-width:860px}
.t-main{min-height:60vh;padding-block:24px 48px}
.t-page-title{font-size:clamp(1.4rem,2.4vw,2rem);margin-block:8px 18px}
.t-lead{color:var(--t-muted);margin-block:0 24px}
.t-meta{color:var(--t-muted);font-size:.9em}
.t-content>*:first-child{margin-top:0}
.t-section{margin-block:0 40px}
.t-i{flex:none}

/* Buttons */
body :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt,.woocommerce a.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button.alt.disabled){background:var(--t-primary);color:#fff;border-radius:10px;padding:10px 20px;font-weight:600;line-height:1.5;border:0;cursor:pointer}
body :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt):hover{background:var(--t-prim-d);color:#fff}
.t-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--t-primary);color:#fff;padding:10px 22px;border-radius:10px;font-weight:600}
.t-btn:hover{background:var(--t-prim-d);color:#fff}
.t-btn--light{background:#fff;color:var(--t-text);border:1px solid var(--t-line)}
.t-btn--light:hover{background:#fff;color:var(--t-primary)}

/* Header */
.t-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--t-line)}
.admin-bar .t-header{top:32px}
.t-header__top{display:flex;align-items:center;gap:18px;padding-block:14px}
.t-brand{flex:none;font-weight:800;font-size:1.5rem}
.t-brand img{max-height:46px;width:auto;display:block}
.t-brand__text{color:var(--t-primary)}
.t-search{flex:1;display:flex;max-width:640px;border:1px solid var(--t-line);border-radius:12px;overflow:hidden;background:#fff}
.t-search input[type=search]{flex:1;min-width:0;border:0;padding:10px 14px;outline:0;background:transparent}
.t-search button{border:0;background:var(--t-primary);color:#fff;width:46px;margin:5px;border-radius:9px;cursor:pointer;display:grid;place-items:center}
.t-search button:hover{background:var(--t-prim-d)}
.t-actions{display:flex;align-items:center;gap:14px;margin-inline-start:auto}
.t-account{display:flex;align-items:center;gap:8px;border:1px solid var(--t-line);border-radius:12px;padding:8px 14px;white-space:nowrap}
.t-cart{position:relative;color:var(--t-primary);display:grid;place-items:center;padding:4px}
.t-cart__count{position:absolute;top:-4px;inset-inline-end:-6px;min-width:20px;height:20px;border-radius:10px;background:var(--t-primary);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;padding-inline:4px;border:2px solid #fff;line-height:1}
.t-burger{display:none;background:none;border:0;padding:4px;cursor:pointer;color:var(--t-text)}
.t-nav{border-top:1px solid var(--t-line)}
.t-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 28px}
.t-menu a{display:block;padding:11px 0;font-weight:500}
.t-menu li{position:relative}
.t-menu .current-menu-item>a,.t-menu .current_page_item>a{color:var(--t-primary)}
.t-menu .sub-menu{list-style:none;margin:0;padding:8px;position:absolute;inset-inline-start:0;top:100%;min-width:200px;background:#fff;border:1px solid var(--t-line);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.08);display:none;z-index:10}
.t-menu li:hover>.sub-menu,.t-menu li:focus-within>.sub-menu{display:block}
.t-menu .sub-menu a{padding:8px 12px}

/* Hero & features */
.t-hero-img{display:block;border-radius:20px;overflow:hidden}
.t-hero-img img{display:block;width:100%}
.t-hero{border-radius:24px;background:linear-gradient(120deg,var(--t-dark),#2a2218 60%,var(--t-primary));color:#fff;padding:clamp(32px,6vw,80px)}
.t-hero--img{position:relative;overflow:hidden;background-size:cover;background-position:center;min-height:clamp(260px,34vw,440px);display:flex;align-items:center}
.t-hero--img::before{content:"";position:absolute;inset:0;background:linear-gradient(270deg,rgba(0,0,0,.65),rgba(0,0,0,.15))}
.t-hero--img .t-hero__body{position:relative;z-index:1}
.t-hero__body{max-width:560px}
.t-hero h1{font-size:clamp(1.6rem,3.4vw,2.6rem);margin-bottom:.4em}
.t-hero p{opacity:.9;margin:0 0 1.4em}
.t-features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;border:1px solid var(--t-line);border-radius:var(--t-radius);padding:18px;margin-block:0 40px}
.t-feature,.t-contact__item{display:flex;align-items:center;gap:14px}
.t-feature h3,.t-contact__item h3{font-size:1rem;margin:0 0 2px}
.t-feature p{margin:0;color:var(--t-muted);font-size:.9em}
.t-feature__icon{flex:none;width:58px;height:58px;border-radius:16px;background:var(--t-soft);color:var(--t-primary);display:grid;place-items:center}

/* Section headers */
.t-section__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.t-section__title{font-size:1.3rem;margin:0;display:flex;align-items:center;gap:10px}
.t-section__title::before{content:"";width:6px;height:24px;border-radius:3px;background:var(--t-primary)}
.t-section__more{display:inline-flex;align-items:center;gap:2px;color:var(--t-primary);font-weight:600}
[dir=rtl] .t-section__more .t-i,[dir=rtl] .t-arrow .t-i{transform:scaleX(-1)}

/* Category cards */
.t-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}
.t-cat{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--t-dark);color:#fff;border-radius:16px;padding:14px 18px;min-height:96px}
.t-cat:hover{color:#fff;transform:translateY(-2px)}
.t-cat{transition:transform .15s}
.t-cat__name{font-weight:600}
.t-cat__img{flex:none;width:72px;height:72px;border-radius:50%;background:var(--t-gold);display:grid;place-items:center;overflow:hidden}
.t-cat__img img{width:88%;height:88%;object-fit:contain;border-radius:50%}
.t-cat__img b{font-size:1.8rem}

/* Offers panel */
.t-offers{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;align-items:center;background:var(--t-peach);border-radius:36px;padding:24px}
.t-offers__side{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
.t-offers__side img{max-width:150px}
.t-offers__badge{width:90px;height:90px;border-radius:24px;background:var(--t-primary);color:#fff;display:grid;place-items:center;transform:rotate(-8deg)}
.t-offers__side strong{font-size:1.3rem}
.t-scroller{position:relative;min-width:0}
.t-scroller ul.products{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:16px}
.t-scroller ul.products::-webkit-scrollbar{display:none}
.t-scroller ul.products li.product{flex:0 0 calc((100% - 48px)/4)!important;scroll-snap-align:start}
.t-arrow{position:absolute;top:38%;z-index:2;width:40px;height:40px;border-radius:50%;border:1px solid var(--t-line);background:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.1)}
.t-arrow--prev{inset-inline-start:-14px}
.t-arrow--next{inset-inline-end:-14px}
.t-arrow--prev .t-i{transform:scaleX(-1)}
[dir=rtl] .t-arrow--prev .t-i{transform:none}
[dir=rtl] .t-arrow--next .t-i{transform:scaleX(-1)}

/* Product grids & cards (WooCommerce markup) */
ul.products{display:grid;grid-template-columns:repeat(var(--cols,4),minmax(0,1fr));gap:16px;margin:0 0 24px;padding:0;list-style:none}
ul.products.columns-2{--cols:2}ul.products.columns-3{--cols:3}ul.products.columns-5{--cols:5}ul.products.columns-6{--cols:5}
ul.products::before,ul.products::after{display:none!important}
ul.products li.product{float:none!important;width:auto!important;margin:0!important;position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--t-line);border-radius:var(--t-radius);padding:14px;text-align:start}
ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1}
ul.products li.product img{border-radius:10px;margin:0 0 12px!important;width:100%;aspect-ratio:1;object-fit:contain}
ul.products li.product .woocommerce-loop-product__title{font-size:.95rem;font-weight:600;padding:0;margin:0 0 8px;min-height:3.2em;line-height:1.6}
ul.products li.product .price{margin-top:auto;font-weight:700;color:var(--t-text);display:flex;flex-wrap:wrap;gap:2px 8px;align-items:center}
ul.products li.product .price del{color:#aaa;font-weight:400;font-size:.85em}
ul.products li.product .price ins{text-decoration:none;background:none}
ul.products li.product .button{display:block;width:100%;text-align:center;margin-top:12px}
ul.products li.product .star-rating{margin:0 0 6px}
.woocommerce span.onsale,span.onsale{position:absolute;top:12px;inset-inline-start:12px;inset-inline-end:auto;left:auto!important;right:auto!important;margin:0;min-width:0;min-height:0;line-height:1.6;padding:2px 10px;border-radius:8px;background:var(--t-primary);color:#fff;font-weight:700;font-size:.8rem;z-index:2}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:12px}

/* Shop layout + filters */
.t-shop--aside{display:grid;grid-template-columns:270px minmax(0,1fr);gap:28px;align-items:start}
.t-filter-toggle{display:none}
.t-filters{border:1px solid var(--t-line);border-radius:var(--t-radius);padding:18px}
.t-filters .widget{margin-bottom:22px}
.t-filters .widget:last-child{margin-bottom:0}
.t-filters .widget-title,.t-filters .widgettitle{font-size:1rem;padding-bottom:8px;border-bottom:2px solid var(--t-primary);display:inline-block}
.t-filters ul{list-style:none;margin:0;padding:0}
.t-filters li{padding:4px 0}
.t-filters .count{color:var(--t-muted);font-size:.85em}
.t-filters .price_slider_wrapper .ui-slider{background:var(--t-line);height:6px;border-radius:3px;margin:12px 8px 20px;position:relative}
.t-filters .ui-slider .ui-slider-range{background:var(--t-primary);height:100%;position:absolute}
.t-filters .ui-slider .ui-slider-handle{background:var(--t-primary);width:18px;height:18px;border-radius:50%;top:-6px;margin-inline-start:-9px;position:absolute;cursor:pointer;border:2px solid #fff;box-shadow:0 0 0 1px var(--t-primary)}
.t-filters .price_slider_amount{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.t-filters .price_slider_amount .button{padding:6px 14px}
.woocommerce-ordering select,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce-page .quantity .qty,.t-content input[type=text],.t-content input[type=email],.t-content input[type=password],.t-content input[type=tel],.t-content textarea{border:1px solid var(--t-line);border-radius:10px;padding:10px 12px;background:#fff;color:var(--t-text);width:100%;max-width:100%}
.woocommerce-ordering select{width:auto}
.woocommerce .quantity .qty{width:5em}
.woocommerce-result-count{color:var(--t-muted)}
.woocommerce-breadcrumb{color:var(--t-muted);font-size:.9em;margin-bottom:14px}
.woocommerce nav.woocommerce-pagination ul,.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border-radius:10px;padding:8px 14px;margin-inline:3px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--t-primary);color:#fff}

/* Single product */
.single-product div.product .product_title{font-size:clamp(1.3rem,2.4vw,1.8rem)}
.single-product div.product p.price,.single-product div.product span.price{color:var(--t-primary);font-weight:800;font-size:1.4rem}
.single-product div.product p.price ins{text-decoration:none}
.single-product div.product .woocommerce-product-gallery__wrapper img{border-radius:var(--t-radius)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:10px 10px 0 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--t-primary)}
.related.products>h2,.upsells>h2,.cross-sells>h2{font-size:1.3rem}

/* Cart / checkout / account */
.woocommerce table.shop_table{border-radius:var(--t-radius);border-color:var(--t-line)}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{background:var(--t-soft);border-radius:var(--t-radius);padding:18px}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid var(--t-line);border-radius:var(--t-radius);overflow:hidden}
.woocommerce-MyAccount-navigation li a{display:block;padding:11px 16px;border-bottom:1px solid var(--t-line)}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--t-primary);color:#fff}
.t-auth{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin-block:8px 24px}
.t-auth__card{border:1px solid var(--t-line);border-radius:20px;padding:clamp(18px,3vw,32px);background:#fff}
.t-auth__card h2{font-size:1.3rem;padding-bottom:10px;border-bottom:2px solid var(--t-primary);display:inline-block}
.t-auth .form-row{margin:0 0 16px;padding:0;width:100%;float:none}
.t-auth label{display:block;margin-bottom:6px;font-weight:500}
.t-auth .woocommerce-form__label-for-checkbox{display:flex;align-items:center;gap:8px;font-weight:400}
.t-auth input[type=checkbox]{width:auto}
.t-auth .button{width:100%}

/* About / contact / posts */
.t-about{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;margin-bottom:32px}
.t-about:not(:has(.t-about__img)){grid-template-columns:1fr}
.t-about__img img{width:100%;border-radius:24px;display:block}
.t-features--about{margin-top:0}
.t-contact{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}
.t-contact__item{border:1px solid var(--t-line);border-radius:var(--t-radius);padding:18px}
.t-contact__item p{margin:0;color:var(--t-muted)}
.t-map iframe{width:100%;min-height:340px;border:0;border-radius:var(--t-radius)}
.t-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin-bottom:28px}
.t-card-post{border:1px solid var(--t-line);border-radius:var(--t-radius);padding:16px}
.t-card-post img{border-radius:10px;width:100%}
.t-card-post h2{font-size:1.1rem}
.t-404{text-align:center;padding-block:40px}
.t-404 h1{font-size:5rem;color:var(--t-primary);margin:0}
.navigation.pagination{margin-block:20px}

/* Footer */
.t-footer{background:var(--t-dark);color:#d5d5d8;margin-top:24px}
.t-footer a{color:#d5d5d8}.t-footer a:hover{color:var(--t-primary)}
.t-footer__grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:32px;padding-block:44px 28px}
.t-footer h3{color:#fff;font-size:1.05rem;margin-bottom:14px}
.t-footer__logo{font-size:1.5rem;font-weight:800;margin-bottom:10px}
.t-footer__logo img{max-height:50px;width:auto}
.t-footer__logo a{color:var(--t-primary)}
.t-footer__about p{margin:0;line-height:2}
.t-footer__list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.t-footer__contact li{display:flex;gap:10px;align-items:flex-start}
.t-footer__contact .t-i{margin-top:5px;color:var(--t-primary)}
.t-footer__bar{border-top:1px solid #2b2b2f;padding-block:18px}
.t-footer__bar-in{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.t-social{display:flex;gap:10px}
.t-social a{width:40px;height:40px;border-radius:50%;border:1px solid #3a3a3f;display:grid;place-items:center}
.t-social a:hover{background:var(--t-primary);border-color:var(--t-primary);color:#fff}
.t-badges{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.t-badges img{max-height:70px;width:auto;background:#fff;border-radius:10px;padding:4px}
.t-badge-ph{display:grid;place-items:center;min-width:84px;height:70px;border:1px dashed #555;border-radius:10px;font-size:.8rem;color:#999;padding:4px 8px}
.t-copy{text-align:center;margin:16px 0 0;font-size:.85rem;color:#8c8c92}

/* Responsive */
@media (max-width:1100px){
	.t-shop--aside{grid-template-columns:1fr}
	.t-filter-toggle{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--t-line);background:#fff;border-radius:10px;padding:9px 16px;cursor:pointer;font-weight:600;width:100%;justify-content:center}
	.t-filters{display:none}.t-filters.is-open{display:block}
	.t-footer__grid{grid-template-columns:1fr 1fr}
	.t-contact{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:1101px){
	.t-shop--aside ul.products[class*=columns-]{--cols:3}
}
@media (max-width:1024px){
	.t-burger{display:block}
	.t-header__top{flex-wrap:wrap;gap:10px 12px;padding-block:10px}
	.t-search{order:3;flex:1 0 100%;max-width:none}
	.t-nav{display:none}.t-nav.is-open{display:block}
	.t-menu{flex-direction:column;gap:0}
	.t-menu a{padding:12px 4px;border-bottom:1px solid var(--t-line)}
	.t-menu .sub-menu{position:static;display:block;border:0;box-shadow:none;padding:0 14px}
	.t-account span{display:none}.t-account{padding:8px}
	ul.products[class*=columns-]{--cols:3}
	.t-scroller ul.products li.product{flex-basis:calc((100% - 32px)/3)!important}
	.t-offers{grid-template-columns:1fr;border-radius:28px}
	.t-offers__side{flex-direction:row;flex-wrap:wrap;justify-content:center}
	.t-features{grid-template-columns:1fr}
	.t-auth,.t-about{grid-template-columns:1fr}
}
@media (max-width:782px){.admin-bar .t-header{top:46px}}
@media (max-width:640px){
	body{font-size:14px}
	ul.products[class*=columns-]{--cols:2}
	ul.products{gap:10px}
	ul.products li.product{padding:10px}
	.t-scroller ul.products li.product{flex-basis:62%!important}
	.t-arrow{display:none}
	.t-footer__grid,.t-contact{grid-template-columns:1fr}
	.t-footer__bar-in{justify-content:center;flex-direction:column}
	.t-cats{grid-template-columns:1fr 1fr}
	.t-cat{padding:10px 12px;min-height:80px}
	.t-cat__img{width:56px;height:56px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
