/*
Theme Name: AY TEK Storefront
Theme URI: https://aytekworld.ir/
Author: AY TEK
Description: قالب واکنش‌گرای فروشگاه AY TEK با پشتیبانی از ووکامرس و افزونه AY TEK Core.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: aytek-storefront
*/
:root{--ay-red:#d7192b;--ay-black:#151515;--ay-gold:#c6a35b;--ay-bg:#f7f7f8;--ay-text:#202124;--ay-border:#e7e7e9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ay-bg);color:var(--ay-text);font-family:Tahoma,Arial,sans-serif;direction:rtl;line-height:1.8}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.ay-container{width:min(1200px,94%);margin:auto}.ay-topbar{background:#171717;color:#fff;text-align:center;padding:7px 12px;font-size:12px}.ay-header{background:#fff;border-bottom:1px solid var(--ay-border);position:sticky;top:0;z-index:50}.ay-header-inner{display:flex;align-items:center;gap:20px;min-height:76px}.ay-brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:900;letter-spacing:1px}.ay-brand img{max-height:54px;width:auto}.ay-brand-mark{background:var(--ay-black);color:#fff;border-radius:13px;padding:4px 9px}.ay-nav{display:flex;gap:18px;align-items:center;margin-right:auto;font-size:13px;font-weight:700}.ay-nav a:hover{color:var(--ay-red)}.ay-actions{display:flex;align-items:center;gap:10px}.ay-icon-link,.ay-btn{border:0;border-radius:12px;padding:10px 15px;background:var(--ay-black);color:#fff;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}.ay-btn-red{background:linear-gradient(135deg,#ff5b65,var(--ay-red));box-shadow:0 6px 16px #d7192b25}.ay-btn-light{background:#fff;color:#111;border:1px solid var(--ay-border)}.ay-hero{margin:25px auto 32px;min-height:350px;border-radius:26px;background:radial-gradient(circle at 15% 25%,#484848 0,#222 30%,#111 70%);color:#fff;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:clamp(24px,5vw,65px);position:relative}.ay-hero:after{content:'AY TEK';position:absolute;left:-12px;bottom:-65px;font-size:clamp(80px,18vw,210px);font-weight:900;color:#ffffff09;letter-spacing:8px}.ay-eyebrow{color:#e0c17d;font-size:12px;letter-spacing:2px;font-weight:900}.ay-hero h1{font-size:clamp(30px,4vw,54px);line-height:1.35;margin:10px 0}.ay-hero h1 em{font-style:normal;color:#e3c77f}.ay-hero p{color:#d6d6d6;max-width:500px}.ay-hero-art{display:flex;align-items:center;justify-content:center;min-height:210px}.ay-hero-logo{width:190px;height:190px;border:1px solid #ffffff36;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:40px;letter-spacing:3px;box-shadow:0 0 0 18px #ffffff08,0 0 80px #d2b46b18}.ay-section{margin:32px auto}.ay-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:16px}.ay-section-head h2{margin:0;font-size:24px}.ay-section-head p{margin:3px 0;color:#777;font-size:13px}.ay-category-row{display:flex;gap:10px;overflow:auto;padding:3px 1px 12px}.ay-category{white-space:nowrap;background:#fff;border:1px solid var(--ay-border);border-radius:14px;padding:10px 17px;font-weight:800;font-size:13px}.ay-category:hover{border-color:var(--ay-red);color:var(--ay-red)}.ay-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.ay-product{background:#fff;border:1px solid var(--ay-border);border-radius:18px;overflow:hidden;position:relative;transition:transform .2s,box-shadow .2s}.ay-product:hover{transform:translateY(-3px);box-shadow:0 12px 28px #0000000b}.ay-product-image{display:block;aspect-ratio:4/4.5;background:#f0f0f0;overflow:hidden}.ay-product-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.ay-product:hover .ay-product-image img{transform:scale(1.035)}.ay-product-info{padding:13px}.ay-product-code{font-size:11px;color:#777;display:flex;justify-content:space-between}.ay-product h3{font-size:14px;line-height:1.7;margin:6px 0}.ay-price{font-weight:900;font-size:16px;margin:7px 0 12px}.ay-old-price{font-size:12px;color:#999;text-decoration:line-through;margin-left:7px}.ay-product-buttons{display:grid;gap:8px}.ay-product-buttons .ay-btn{font-size:12px;padding:9px}.ay-badge{position:absolute;top:10px;right:10px;background:var(--ay-red);color:white;border-radius:8px;padding:3px 8px;font-size:11px;font-weight:900}.ay-search{display:flex;gap:8px;max-width:480px}.ay-search input{min-width:0;flex:1;border:1px solid var(--ay-border);border-radius:12px;padding:11px 13px;font:inherit;background:#fff}.ay-footer{background:#151515;color:#fff;margin-top:55px;padding:34px 0 20px}.ay-footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.ay-footer h3{font-size:15px;margin:0 0 12px}.ay-footer a,.ay-footer p{display:block;color:#c8c8c8;font-size:13px;margin:6px 0}.ay-footer a:hover{color:#e2c47c}.ay-footer-bottom{border-top:1px solid #ffffff1c;margin-top:24px;padding-top:14px;color:#aaa;font-size:12px;text-align:center}.ay-content{background:#fff;border:1px solid var(--ay-border);border-radius:18px;padding:clamp(18px,3vw,32px);margin:25px auto;min-height:220px}.ay-mobile-nav{display:none}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--ay-border);border-radius:18px;padding:12px;overflow:hidden}.woocommerce ul.products li.product img{border-radius:12px}.woocommerce ul.products li.product .button{background:var(--ay-red);color:#fff;border-radius:10px;font-size:12px}.woocommerce div.product div.images img{border-radius:18px}.woocommerce div.product form.cart .button,.woocommerce a.button,.woocommerce button.button{background:var(--ay-red);color:#fff;border-radius:10px}.woocommerce-message,.woocommerce-info{border-top-color:var(--ay-gold)}.screen-reader-text{position:absolute!important}@media(max-width:900px){.ay-nav{gap:10px}.ay-products,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.ay-hero{grid-template-columns:1fr}.ay-hero-art{display:none}}@media(max-width:620px){.ay-header-inner{min-height:62px;gap:9px}.ay-brand{font-size:18px}.ay-brand img{max-height:42px}.ay-nav{display:none}.ay-actions{margin-right:auto}.ay-actions .ay-account{display:none}.ay-hero{margin-top:14px;border-radius:20px;min-height:275px;padding:24px}.ay-hero h1{font-size:32px}.ay-products,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ay-product-info{padding:10px}.ay-product h3{font-size:12px}.ay-price{font-size:14px}.ay-section-head h2{font-size:19px}.ay-footer-grid{grid-template-columns:1fr;gap:18px}.ay-mobile-nav{position:fixed;z-index:100;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#fff;border-top:1px solid var(--ay-border);padding:8px 4px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 20px #0000000b}.ay-mobile-nav a{font-size:11px;display:flex;flex-direction:column;align-items:center;gap:1px;font-weight:800}.ay-mobile-nav span{font-size:18px}.ay-footer{padding-bottom:85px}.ay-search{width:100%}}

.ay-brand .ay-default-logo{display:block;width:110px;height:auto;max-height:62px;object-fit:contain;border-radius:6px}.ay-social{display:flex;align-items:center;justify-content:center;gap:18px;padding:22px 0 6px;border-top:1px solid #ffffff1c;margin-top:24px}.ay-social strong{font-size:13px;color:#eee}.ay-social-icons{display:flex;gap:12px;align-items:center}.ay-social-icons a{width:38px;height:38px;border-radius:50%;border:1px solid #ffffff35;display:flex;align-items:center;justify-content:center;color:#e4bd62;transition:.2s}.ay-social-icons a:hover{background:#e4bd62;color:#151515}.ay-social-icons svg{width:20px;height:20px}.aytek-size-guide summary{list-style:none}.aytek-size-guide summary::-webkit-details-marker{display:none}@media(max-width:620px){.ay-brand .ay-default-logo{width:80px;max-height:48px}.ay-social{flex-direction:column;gap:10px;text-align:center}}

/* Multi-message AY TEK ticker */
.ay-topbar{overflow:hidden;white-space:nowrap;position:relative}.ay-topbar-track{display:flex;width:max-content;gap:3rem;animation:aytekTicker 36s linear infinite}.ay-topbar-track span{display:inline-block;flex:0 0 auto}.ay-topbar:hover .ay-topbar-track{animation-play-state:paused}@keyframes aytekTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}@media(prefers-reduced-motion:reduce){.ay-topbar-track{animation:none;white-space:normal;flex-wrap:wrap;width:auto}}
