/*
Theme Name: SASASHOP نسخه جدید
Theme URI: https://sasashop.ir
Author: OpenAI
Description: قالب فارسی و راست‌چین فروشگاه کارت‌خوان SASASHOP؛ محصولات و تصاویر آن‌ها از پنل وردپرس قابل ویرایش هستند.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sasashop
*/
:root{--navy:#111111;--blue:#c9a23f;--blue-dark:#a98220;--pale:#f7efd9;--ink:#22201b;--muted:#77736a;--line:#e5dcc6;--bg:#f7f6f2;--white:#fff;--radius:18px;--shadow:0 8px 28px rgba(30,24,10,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Tahoma,"Segoe UI",Arial,sans-serif;line-height:1.8;direction:rtl}a{color:var(--blue);text-decoration:none}a:hover{color:var(--blue-dark)}img{max-width:100%;height:auto}button,input{font:inherit}.container{width:min(1180px,calc(100% - 32px));margin-inline:auto}.topbar{background:var(--navy);color:#fff;font-size:13px}.topbar-inner{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:7px 0;flex-wrap:wrap}.topbar a{color:#fff}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:17px 0}.brand{display:flex;flex-direction:column;line-height:1.35}.brand-name{font-size:30px;font-weight:900;letter-spacing:.5px;color:var(--blue)}.brand-tagline{font-size:12px;color:var(--muted)}.header-actions{display:flex;align-items:center;gap:10px}.search-form{display:flex;border:1px solid var(--line);border-radius:30px;overflow:hidden;background:#fbfaf6;min-width:240px}.search-form input{border:0;outline:0;background:transparent;padding:10px 15px;min-width:0;width:100%}.search-form button{border:0;background:var(--blue);color:#fff;padding:0 16px;cursor:pointer}.main-nav{background:var(--blue);color:#fff}.nav-inner{display:flex;gap:0;align-items:center;flex-wrap:wrap}.main-nav a{display:block;color:#fff;padding:13px 18px;font-size:14px;font-weight:700}.main-nav a:hover{background:rgba(0,0,0,.12)}.hero{margin:28px auto 35px;min-height:250px;background:linear-gradient(120deg,#f4ecd7,#e8d7a6);border:1px solid #d9c58b;border-radius:24px;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;overflow:hidden}.hero-copy{padding:36px 42px}.hero-eyebrow{font-size:14px;font-weight:800;color:var(--blue)}.hero h1{font-size:clamp(28px,4vw,43px);line-height:1.4;color:var(--navy);margin:8px 0 12px}.hero p{color:#665e4b;margin:0 0 22px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:11px 19px;font-weight:800;border:1px solid transparent;cursor:pointer}.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{background:var(--blue-dark);color:#fff}.btn-light{background:#fff;border-color:#e5dcc6;color:var(--navy)}.hero-art{height:100%;min-height:250px;display:flex;align-items:center;justify-content:center;position:relative}.hero-art:before,.hero-art:after{content:"";position:absolute;border-radius:50%;background:#e5d19a}.hero-art:before{width:190px;height:190px;right:14%;top:18%}.hero-art:after{width:125px;height:125px;left:16%;bottom:10%;background:#d8bd70}.hero-art-card{z-index:1;background:#fff;border:1px solid #e5dcc6;box-shadow:var(--shadow);border-radius:22px;padding:22px 28px;text-align:center;transform:rotate(-3deg)}.hero-art-card strong{display:block;font-size:22px;color:var(--blue)}.hero-art-card span{font-size:13px;color:var(--muted)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:34px 0 20px}.section-head h2{margin:0;color:var(--navy);font-size:27px}.section-head p{margin:4px 0 0;color:var(--muted);font-size:13px}.section-rule{height:4px;width:90px;border-radius:4px;background:var(--blue);margin-top:10px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:0 3px 15px rgba(16,52,91,.035);display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-image{height:225px;padding:12px;display:flex;align-items:center;justify-content:center;background:#fff;border-bottom:1px solid #ece7dc}.product-image img{width:100%;height:100%;object-fit:contain}.product-image .placeholder{font-size:13px;color:#91a2b3}.product-body{padding:15px;display:flex;flex-direction:column;flex:1}.product-title{font-size:16px;line-height:1.6;margin:0 0 10px;color:var(--navy);font-weight:800}.product-desc{font-size:13px;color:var(--muted);margin:0 0 12px}.price-note{font-size:12px;font-weight:800;color:var(--blue);background:var(--pale);border-radius:10px;text-align:center;padding:8px;margin-top:auto;margin-bottom:10px}.product-card .btn{width:100%;font-size:13px;padding:9px}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:32px 0}.feature{background:#f4ecd7;border-radius:15px;padding:18px;text-align:center}.feature strong{display:block;color:var(--navy);font-size:15px}.feature span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.contact-band{background:var(--blue);border-radius:20px;padding:24px 28px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:32px 0}.contact-band h2{margin:0 0 5px;font-size:22px}.contact-band p{margin:0;color:#f8efda;font-size:14px}.contact-band .phone{background:#fff;color:var(--blue);font-weight:900;border-radius:13px;padding:12px 18px;white-space:nowrap}.site-footer{background:#111111;color:#e9e2d2;margin-top:40px;padding:34px 0 18px}.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:25px}.site-footer h3{color:#fff;margin:0 0 12px;font-size:18px}.site-footer p{margin:5px 0;font-size:13px;color:#d2c8b0}.footer-links{display:flex;flex-wrap:wrap;gap:9px}.footer-links a{color:#fff;background:rgba(255,255,255,.09);border-radius:8px;padding:7px 10px;font-size:12px}.copyright{border-top:1px solid #4a4028;margin-top:24px;padding-top:14px;text-align:center;font-size:12px;color:#cfc5ac}.content-page{background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px;margin:28px auto}.content-page h1{color:var(--navy)}.single-product-layout{display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1fr);gap:28px}.single-product-layout .product-image{height:420px;border:1px solid var(--line);border-radius:15px}.admin-note{background:#fff8df;border:1px solid #f0d889;border-radius:12px;padding:12px;color:#765b00;font-size:13px}.mobile-menu{display:none}
@media(max-width:950px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.features{grid-template-columns:repeat(2,1fr)}.header-inner{flex-wrap:wrap}.search-form{min-width:180px}.hero-copy{padding:28px}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.topbar-inner{justify-content:center;text-align:center}.header-inner{padding:13px 0;align-items:flex-start}.brand-name{font-size:25px}.header-actions{width:100%;justify-content:space-between}.search-form{flex:1}.main-nav a{padding:10px 12px;font-size:12px}.hero{grid-template-columns:1fr;margin-top:18px}.hero-copy{padding:26px 22px}.hero-art{min-height:125px}.hero-art-card{padding:14px 20px}.hero-art:before{width:115px;height:115px}.hero-art:after{width:80px;height:80px}.section-head h2{font-size:22px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-image{height:170px;padding:8px}.product-body{padding:11px}.product-title{font-size:14px}.price-note{font-size:10px}.product-card .btn{font-size:12px;padding:8px}.features{gap:9px}.feature{padding:13px 8px}.contact-band{align-items:flex-start;flex-direction:column;padding:20px}.contact-band .phone{white-space:normal}.footer-grid{grid-template-columns:1fr}.single-product-layout{grid-template-columns:1fr}.single-product-layout .product-image{height:300px}}

/* Premium black & gold finish */
.topbar{background:#080808}
.site-header{background:#111;border-bottom:1px solid #40351b}
.brand-name{color:#d6b34f}
.brand-tagline{color:#c5bda8}
.main-nav{background:#080808;border-top:1px solid #302713;border-bottom:2px solid #c9a23f}
.main-nav a{color:#f3e7c4}
.main-nav a:hover{background:#292215;color:#e2c15d}
.search-form{background:#1b1b1b;border-color:#514321}
.search-form input{color:#f5f0e4}
.search-form input::placeholder{color:#b6ad98}
.search-form button{background:#c9a23f;color:#111}
.search-form button:hover{background:#e0bd59}
.hero{background:linear-gradient(120deg,#181818,#292315);border-color:#57451e}
.hero h1{color:#f1d681}
.hero p{color:#d2c8b0}
.hero-eyebrow{color:#e1bf58}
.hero-art:before{background:#4a3b1c}
.hero-art:after{background:#8c6d27}
.hero-art-card{background:#111;border-color:#6e5620}
.hero-art-card strong{color:#d6b34f}
.hero-art-card span{color:#c5bda8}
.section-head h2{color:#171717}
.section-rule{background:#c9a23f}
.product-card{border-color:#e4dcc9}
.product-card:hover{box-shadow:0 10px 30px rgba(93,68,13,.14)}
.product-title{color:#191919}
.price-note{background:#f7efd9;color:#8a6813}
.btn-primary{background:#c9a23f;color:#111}
.btn-primary:hover{background:#e0bd59;color:#111}
.btn-light{background:#181818;border-color:#6a5422;color:#e9d28d}
.feature{background:#f0e6cb}
.feature strong{color:#171717}
.contact-band{background:#111;border:1px solid #6d5521}
.contact-band .phone{background:#d2ad47;color:#111}
.site-footer{background:#080808;color:#e9e2d2}
.site-footer h3{color:#e0bd59}
.site-footer p{color:#d2c8b0}
.footer-links a{background:#211d13;color:#f3e7c4;border:1px solid #4b3b1a}
.copyright{border-top-color:#40351b;color:#c5bda8}
.content-page{border-color:#e5dcc6}
.admin-note{background:#fbf4df;border-color:#dfc36d;color:#765b00}
@media(max-width:650px){.main-nav{border-bottom-width:2px}}

.search-other-results{margin-top:22px}.search-result{padding:12px 0;border-bottom:1px solid var(--line)}.search-result:last-child{border-bottom:0}.search-result h3{margin:0 0 6px}.search-result p{margin:0;color:var(--muted);font-size:14px}


/* SASASHOP 2.0 advanced homepage, account, categories and cart */
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;direction:rtl}
.header-brand-search{display:flex;align-items:center;gap:24px;flex:1;min-width:0}
.brand{display:flex;flex-direction:column;flex-shrink:0}
.header-actions{display:flex;align-items:center;gap:10px;direction:rtl}
.header-action{display:inline-flex;align-items:center;gap:7px;border:1px solid #6a5422;background:#191919;color:#f1d681;border-radius:11px;padding:10px 12px;font-size:13px;font-weight:800;white-space:nowrap}
.header-action:hover{background:#2a2415;color:#fff}
.action-icon{font-size:18px}.cart-action b{background:#c9a23f;color:#111;border-radius:30px;min-width:20px;text-align:center;padding:2px 5px;font-size:11px}
.search-form{max-width:560px;flex:1}
.primary-menu{list-style:none;display:flex;align-items:center;gap:0;padding:0;margin:0;width:100%}
.primary-menu>li{position:relative}
.primary-menu a{display:block}
.primary-menu .sub-menu{display:none;position:absolute;z-index:30;top:100%;right:0;min-width:240px;list-style:none;margin:0;padding:8px;background:#111;border:1px solid #5b471c;border-radius:0 0 12px 12px;box-shadow:0 14px 24px rgba(0,0,0,.25)}
.primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu{display:block}
.primary-menu .sub-menu a{padding:10px 13px;border-radius:7px;white-space:normal}
.primary-menu .sub-menu a:hover{background:#2a2415}
.product-hero{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.35fr);gap:26px;align-items:stretch;margin:24px auto 34px;padding:22px;border:1px solid #5b471c;border-radius:24px;background:linear-gradient(120deg,#101010,#211b0d);overflow:hidden;min-height:470px;box-shadow:0 14px 38px rgba(0,0,0,.2)}
.product-hero .hero-copy{padding:24px 18px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.product-hero h1{font-size:clamp(30px,3.4vw,48px);line-height:1.45;margin:12px 0;color:#f1d681}
.product-hero p{line-height:2}
.hero-slider{height:426px;min-height:426px;width:100%;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:18px;background:#f8f7f2;border:1px solid rgba(214,179,79,.35);box-shadow:0 8px 28px rgba(0,0,0,.24)}
.hero-slide{position:absolute;inset:0;display:none;align-items:center;justify-content:center;padding:18px;background:#f8f7f2}
.hero-slide.is-active{display:flex;animation:heroFade .45s ease}
.hero-slide img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%;image-rendering:auto}
.hero-slide span{position:absolute;right:12px;bottom:12px;left:12px;background:rgba(17,17,17,.9);color:#f1d681;border:1px solid #6a5422;border-radius:10px;padding:8px 12px;text-align:center;font-weight:800}
.hero-arrow{position:absolute;top:45%;z-index:3;border:0;border-radius:50%;width:36px;height:36px;background:#171717;color:#e3bd56;font-size:26px;cursor:pointer}
.hero-prev{right:10px}.hero-next{left:10px}.hero-dots{position:absolute;bottom:55px;left:0;right:0;display:flex;justify-content:center;gap:5px;z-index:4}
.hero-dot{width:7px;height:7px;border:0;border-radius:50%;background:#9d9d9d;padding:0;cursor:pointer}.hero-dot.is-active{background:#c9a23f;width:18px;border-radius:8px}
.home-modems,.home-categories{margin:34px 0}
.category-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.category-tile{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px;background:#171717;border:1px solid #57451e;border-radius:13px;color:#f3e7c4;font-weight:800}
.category-tile b{color:#d6b34f;font-size:20px}
.product-actions{display:flex;gap:8px;margin-top:8px}.product-actions .btn{flex:1;font-size:12px}.add-cart-form{flex:1;display:flex}.add-cart-form button{width:100%}
.site-footer{margin-top:40px}.footer-grid{direction:rtl}.footer-brand{grid-column:3;grid-row:1}.footer-nav{grid-column:2;grid-row:1}.footer-social{grid-column:1;grid-row:1}
.footer-nav ul{list-style:none;padding:0;margin:0}.footer-nav li{margin:0 0 9px}.footer-nav a{color:#f3e7c4}
.social-icons{display:flex;flex-direction:row;align-items:center;gap:9px;flex-wrap:wrap}
.social-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:58px;min-height:62px;border-radius:12px;border:1px solid #514321;background:#1a1a1a;color:#d6b34f;font-size:10px}
.social-icon:hover{background:#2a2415;color:#fff}.social-svg{width:25px;height:25px}
.contact-page-card{padding:25px;border:1px solid #6d5521;border-radius:16px;background:#151515;max-width:600px}
.contact-phone{display:inline-flex;background:#c9a23f;color:#111;font-size:22px;font-weight:900;padding:12px 20px;border-radius:12px;direction:ltr}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}
.account-grid>section{border:1px solid #5b471c;border-radius:16px;padding:22px;background:#171717}
.account-grid h2{color:#e0bd59}.account-grid label{display:block;margin:12px 0;color:#e5dcc6;font-size:13px}
.account-grid input{display:block;width:100%;margin-top:6px;border:1px solid #5b471c;border-radius:9px;padding:11px;background:#0e0e0e;color:#fff}
.account-grid form p{margin:12px 0}.account-grid input[type=checkbox]{display:inline;width:auto}
.success-note{color:#8dd39e}.error-note{color:#ffaaaa}
.cart-list{display:flex;flex-direction:column;gap:12px}.cart-row{display:flex;align-items:center;gap:15px;border:1px solid #5b471c;border-radius:13px;padding:13px;background:#171717}.cart-row img{width:76px;height:76px;object-fit:contain;background:#fff;border-radius:8px}.cart-item-info{display:flex;flex-direction:column;gap:6px;flex:1}.cart-item-info span{color:#c5bda8;font-size:13px}.cart-note{padding:14px;border-radius:10px;background:#211d13;color:#e3bd56}
@keyframes heroFade{from{opacity:.45;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
@media(max-width:900px){.header-brand-search{flex-wrap:wrap}.search-form{max-width:none;flex-basis:100%;order:2}.product-hero{grid-template-columns:1fr;gap:18px;min-height:0;padding:18px}.product-hero .hero-copy{order:2;padding:8px 10px}.hero-slider{order:1;height:360px;min-height:360px}.category-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.header-inner{align-items:stretch;flex-direction:column}.header-brand-search{flex-direction:column;align-items:stretch;gap:12px}.header-actions{justify-content:space-between}.header-action{flex:1;justify-content:center}.main-nav .container{padding:0}.primary-menu{flex-wrap:wrap}.primary-menu>li>a{padding:10px 11px;font-size:12px}.primary-menu .sub-menu{min-width:210px}.product-hero{padding:12px;gap:12px;margin-top:14px;border-radius:17px}.product-hero .hero-copy{padding:8px}.product-hero h1{font-size:28px}.hero-slider{height:290px;min-height:290px;border-radius:13px}.hero-slide{padding:10px}.hero-arrow{width:34px;height:34px}.hero-dots{bottom:14px}.category-tiles{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr;gap:22px}.footer-brand,.footer-nav,.footer-social{grid-column:1;grid-row:auto}.account-grid{grid-template-columns:1fr}.cart-row{align-items:flex-start;flex-wrap:wrap}}

/* Social links: follow us */
.footer-social h3{margin-bottom:14px}.social-icons{display:flex;flex-direction:row;align-items:center;gap:9px;flex-wrap:wrap}.social-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:48px;color:#f4c45c!important;font-size:11px;text-align:center}.social-icon .social-svg{width:25px;height:25px;padding:5px;box-sizing:content-box;border:1px solid rgba(244,196,92,.45);border-radius:50%;background:rgba(244,196,92,.12)}.social-icon:hover .social-svg{background:#f4c45c;color:#111}

/* Mobile/touch navigation: tap to expand and collapse product submenus. */
@media(max-width:900px){
 .primary-menu li.menu-item-has-children{position:relative}
 .primary-menu li.menu-item-has-children>.sub-menu{display:none;position:static;inset:auto;width:100%;min-width:0;margin:0;padding:6px 10px 10px;border-radius:0 0 10px 10px;box-shadow:none;background:#101010}
 .primary-menu li.menu-item-has-children.is-open>.sub-menu{display:block}
 .primary-menu li.menu-item-has-children.is-open>.sub-menu a{padding:12px 14px;font-size:14px}
 .primary-menu li.menu-item-has-children>a:after{content:'⌄';display:inline-block;margin-right:8px;color:#e3bd56}
 .primary-menu li.menu-item-has-children.is-open>a:after{content:'⌃'}
}

/* Homepage layout tuned to the supplied reference image */
.home-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:14px 0 26px;background:#f1f2f3;border-radius:12px;overflow:hidden}
.home-features .feature{position:relative;background:transparent;border-radius:0;padding:14px 12px;text-align:center}
.home-features .feature:not(:last-child):after{content:"";position:absolute;left:0;top:22%;height:56%;width:1px;background:#d8dce0}
.home-features .feature strong{font-size:14px}.home-features .feature span{font-size:12px}
.home-featured{margin:24px 0 32px}.home-featured .section-head{margin:0 0 16px}.home-featured .section-head h2{font-size:25px;color:#101820}.home-featured .section-head h2:before{content:"";display:inline-block;width:5px;height:22px;background:#d6ad42;border-radius:4px;margin-left:10px;vertical-align:middle}
.featured-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(270px,1fr);gap:18px;align-items:stretch}.featured-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.featured-grid .product-image{height:175px}.featured-grid .product-card{border-radius:7px}.featured-grid .product-body{padding:12px}.featured-grid .product-title{font-size:13px;text-align:center}.featured-grid .price-note{text-align:center;background:transparent;color:#151515;padding:2px;margin:0 0 6px}.featured-grid .product-actions .btn-light{display:none}.featured-grid .product-actions .add-cart-form{width:100%}.featured-grid .product-actions .btn{width:100%;border-radius:6px}
.featured-promo{min-height:100%;border-radius:8px;padding:28px 22px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#fff;background:radial-gradient(ellipse at 75% 15%,rgba(211,167,57,.6),transparent 45%),linear-gradient(135deg,#090909,#3b2b0b 58%,#090909);border:1px solid #72571d;overflow:hidden;position:relative}.featured-promo:after{content:"◈  ◈  ◈";position:absolute;bottom:12px;left:16px;color:rgba(224,189,89,.22);font-size:32px;letter-spacing:8px}.promo-kicker{color:#e7bd4d;font-weight:900;letter-spacing:2px;font-size:12px}.featured-promo h3{font-size:27px;color:#eac34e;margin:7px 0 0}.featured-promo>strong{font-size:20px;color:#fff}.featured-promo p{margin:8px 0 18px;color:#f3ead6}.featured-promo .btn{border-radius:6px;padding:9px 18px;z-index:1}
@media(max-width:900px){.featured-layout{grid-template-columns:1fr}.featured-promo{min-height:220px}.featured-grid .product-image{height:160px}}
@media(max-width:650px){.home-features{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0 22px}.home-features .feature:nth-child(2):after{display:none}.home-features .feature{padding:12px 6px}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.featured-grid .product-image{height:135px}.featured-promo{min-height:190px;padding:20px}.featured-promo h3{font-size:23px}}

/* Reference-match homepage v6: wide dark hero, light navigation strip, compact premium cards */
:root{--navy:#07111b;--blue:#f2b938;--blue-dark:#d99a17;--pale:#fff4d7;--ink:#0b1725;--muted:#718096;--line:#dfe5eb;--bg:#f6f8fa}
.container{width:min(1500px,calc(100% - 32px))}
.topbar{display:none}
.site-header{background:#07111b;border-bottom:1px solid #273747}
.header-inner{min-height:76px;padding:10px 0;gap:26px}
.brand{color:#fff;min-width:230px}
.brand-name{font-size:34px;color:#f4bd45;letter-spacing:1px}
.brand-tagline{color:#e5edf5}
.search-form{background:#fff;border:0;min-width:300px;max-width:540px;flex:1}
.search-form input{color:#132238;padding:12px 18px}
.search-form input::placeholder{color:#788393}
.search-form button{background:#fff;color:#697586;font-size:0}
.search-form button:before{content:'⌕';font-size:26px}
.header-actions .header-action{border:1px solid #c8d0d9;border-radius:28px;background:transparent;color:#fff;padding:9px 18px}
.main-nav{background:#fff;border:0;border-bottom:1px solid #e2e7ed}
.nav-inner{justify-content:flex-start;min-height:50px}
.main-nav a{color:#101b2b;padding:12px 22px}
.main-nav a:hover{background:#fff5df;color:#9a6500}
.primary-menu>li.current-menu-item>a,.primary-menu>li.current_page_item>a{border-bottom:2px solid #f2b938;color:#9a6500}
.primary-menu>li.menu-item-has-children>a{background:#f2b938;color:#101820;border-radius:5px;margin:4px 0;padding:8px 20px}
.product-hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:0;margin:0 auto 14px;padding:0;border:0;border-radius:6px;background:radial-gradient(ellipse at 38% 45%,#12375c 0%,#071a2b 42%,#03101c 100%);overflow:hidden;min-height:420px;box-shadow:none}
.product-hero .hero-copy{grid-column:1;grid-row:1;padding:36px 7% 36px 9%;align-items:flex-start;color:#fff}
.product-hero .hero-eyebrow{color:#8dd7ff;font-size:17px}
.product-hero h1{font-size:clamp(32px,3.1vw,46px);line-height:1.4;color:#fff;margin:12px 0 16px}
.product-hero p{font-size:19px;color:#9bdcff;line-height:1.9;margin:0 0 20px}
.product-hero .btn-primary{background:#ffc344;color:#07111b;border-radius:30px;padding:11px 24px}
.hero-slider{grid-column:2;grid-row:1;height:420px;min-height:420px;background:transparent;border:0;border-radius:0;box-shadow:none}
.hero-slide{background:transparent;padding:8px}
.hero-slide img{object-fit:contain;mix-blend-mode:screen}
.hero-slide span{display:none}
.hero-arrow{top:48%;background:transparent;color:#ffc344;font-size:36px;width:42px;height:52px}
.hero-prev{right:6px}.hero-next{left:6px}
.hero-dots{bottom:18px}
.hero-dot{width:11px;height:11px;background:#a7b2bf}.hero-dot.is-active{width:11px;border-radius:50%;background:#ffc344}
.home-features{margin:14px 0 38px;background:#edf1f4;border-radius:8px}
.home-features .feature{padding:17px 12px}
.home-features .feature strong{font-size:15px}
.home-features .feature span{font-size:13px;color:#8390a0}
.home-featured{margin:28px 0 60px}
.home-featured .section-head h2{font-size:26px}
.featured-layout{grid-template-columns:minmax(0,2.1fr) minmax(280px,1fr);gap:18px}
.featured-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.featured-grid .product-card{border:1px solid #e0e5eb;background:#fff;box-shadow:none}
.featured-grid .product-image{height:185px;background:#fff;border-bottom:0;padding:15px}
.featured-grid .product-body{padding:12px 14px 15px}
.featured-grid .product-title{font-size:14px;color:#101b2b;min-height:44px}
.featured-grid .price-note{font-size:14px;font-weight:900;color:#101b2b}
.featured-grid .product-actions .btn{background:#d99a17;color:#fff}
.featured-promo{min-height:100%;padding:28px;background:radial-gradient(ellipse at 70% 20%,rgba(235,175,45,.65),transparent 48%),linear-gradient(135deg,#090c10,#49320d 58%,#0b0d10);border:0;align-items:center;text-align:center}
.featured-promo:after{content:' ';inset:0;bottom:auto;height:100%;background:linear-gradient(120deg,transparent 35%,rgba(255,205,90,.08) 48%,transparent 60%);pointer-events:none}
.featured-promo h3{font-size:28px}.featured-promo>strong{font-size:20px}.featured-promo p{font-size:16px}
.site-footer{margin-top:0;padding:34px 0 20px;background:#07111b;border-top:1px solid #1d2c3b}
.site-footer h3{font-size:15px;color:#fff}.footer-links a{background:transparent;border:0;padding:3px;color:#e3eaf2}.footer-grid{grid-template-columns:1.15fr 1fr 1fr 1.25fr;gap:28px}
.footer-brand{grid-column:4;grid-row:1}.footer-nav{grid-column:3;grid-row:1}.footer-social{grid-column:1;grid-row:1}
.social-icon{min-width:39px;width:39px;min-height:39px;border-radius:50%;background:#4a3a18;border:0;color:#fff}
.social-icon .social-svg{border:0;background:transparent;color:#fff}
@media(max-width:900px){.container{width:calc(100% - 24px)}.product-hero{grid-template-columns:1fr;min-height:0}.product-hero .hero-copy{grid-column:1;grid-row:2;padding:22px 24px 30px}.hero-slider{grid-column:1;grid-row:1;height:340px;min-height:340px}.featured-layout{grid-template-columns:1fr}.featured-promo{min-height:260px}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand,.footer-nav,.footer-social{grid-column:auto;grid-row:auto}}
@media(max-width:650px){.header-inner{gap:12px}.brand{min-width:0}.brand-name{font-size:28px}.search-form{min-width:100%;order:3}.header-actions{width:100%;gap:8px}.header-actions .header-action{flex:1;justify-content:center;padding:8px}.main-nav .container{width:100%}.primary-menu{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}.primary-menu>li>a{padding:10px 14px}.product-hero{margin:0 auto 12px;border-radius:0}.hero-slider{height:265px;min-height:265px}.product-hero .hero-copy{padding:16px 22px 28px}.product-hero h1{font-size:29px}.product-hero p{font-size:16px}.home-features{margin:12px 0 26px}.home-features .feature{padding:12px 5px}.home-features .feature strong{font-size:12px}.home-features .feature span{font-size:11px}.home-featured{margin:22px 0 35px}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.featured-grid .product-image{height:140px}.featured-grid .product-title{font-size:12px}.featured-grid .price-note{font-size:12px}.featured-promo{min-height:220px;padding:20px}.footer-grid{grid-template-columns:1fr 1fr;gap:18px}.footer-brand{grid-column:1/-1}.footer-social{grid-column:1/-1}.social-icons{gap:7px}}

/* Reference-faithful homepage layout: SASASHOP black/navy + gold */
:root{--navy:#07111b;--blue:#d99a17;--blue-dark:#b87a08;--pale:#f3f5f7;--ink:#101b2b;--muted:#7b8795;--line:#dfe5ec;--bg:#f7f8fa;--shadow:0 8px 28px rgba(3,15,28,.10)}
body{background:#f7f8fa;color:#101b2b}
.site-header{background:#07111b;border-bottom:1px solid #273440}
.header-inner{min-height:72px;padding:9px 0;gap:28px}
.brand-name{color:#fff;font-size:34px;letter-spacing:.2px}
.brand-tagline{color:#dfe5ec}
.header-action{border:1px solid #aeb6bf;background:transparent;color:#fff;border-radius:28px;padding:9px 18px}
.header-action:hover{background:#182532;color:#ffc344}
.action-icon{color:#ffc344;font-size:20px}
.search-form{background:#fff;border:0;max-width:560px;height:44px}
.search-form input{color:#182433}.search-form input::placeholder{color:#7d8794}
.search-form button{font-size:0;background:#fff;color:#6c7784;padding:0 16px}
.search-form button:after{content:'⌕';font-size:28px;line-height:1}
.main-nav{background:#fff;border:0;border-bottom:1px solid #e6e9ed;color:#101b2b}
.nav-inner{justify-content:flex-start;min-height:48px}
.main-nav a{color:#101b2b;padding:12px 21px}
.main-nav a:hover{background:#fff7e4;color:#a76b00}
.primary-menu>li:last-child>a{background:#ffc344;border-radius:5px;color:#111;margin:4px 0;padding:8px 24px}
.primary-menu .sub-menu{background:#fff;border-color:#e5d6b4}.primary-menu .sub-menu a{color:#101b2b}
body.home main.container{width:calc(100% - 16px);max-width:none}
.product-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);min-height:300px;height:clamp(300px,20vw,310px);margin:0 auto 14px;border-radius:6px;background:radial-gradient(ellipse at 38% 45%,#12375c 0%,#071a2b 42%,#03101c 100%)}
.product-hero .hero-copy{grid-column:1;grid-row:1;padding:26px 7% 26px 9%;align-items:flex-start;justify-content:center;text-align:right}
.product-hero .hero-eyebrow{font-size:18px;color:#77d9ff}
.product-hero h1{font-size:clamp(29px,3vw,44px);line-height:1.45;margin:8px 0 12px;color:#fff}
.product-hero p{font-size:20px;color:#79d5ff;margin:0 0 15px}
.product-hero .btn-primary{background:#ffc344;color:#07111b;border-radius:30px;padding:10px 25px}
.hero-slider{grid-column:2;grid-row:1;height:100%;min-height:0;width:100%;border:0;border-radius:0;background:transparent;box-shadow:none}
.hero-slide{background:transparent}
.hero-slide img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-arrow{color:#ffc344;background:transparent;font-size:40px}
.hero-dots{bottom:12px}.hero-dots button{width:12px;height:12px;background:#a8b3bf}.hero-dots button.is-active{background:#ffc344}
.home-features{margin:14px 0 28px;background:#edf1f4;border-radius:8px}
.home-features .feature{padding:14px 12px}.home-features .feature strong{font-size:15px}.home-features .feature span{color:#8491a0;font-size:13px}
.home-featured{margin:25px 0 16px}.home-featured .section-head{margin:0 0 16px}.home-featured .section-head h2{font-size:26px;color:#07111b}
.featured-layout{grid-template-columns:minmax(0,2.1fr) minmax(280px,1fr);gap:18px}
.featured-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.featured-grid .product-card{border:1px solid #dfe5ec;border-radius:7px;background:#fff;box-shadow:none}
.featured-grid .product-image{height:170px;background:#fff;border:0;padding:12px}
.featured-grid .product-body{padding:10px 12px 12px}.featured-grid .product-title{font-size:13px;text-align:center;color:#101b2b;min-height:40px}
.featured-grid .price-note{font-size:14px;font-weight:900;color:#101b2b;background:transparent;padding:0;margin:0 0 6px}
.featured-grid .product-actions .btn-light{display:none}.featured-grid .product-actions .add-cart-form{width:100%}.featured-grid .product-actions .btn{background:#d99a17;color:#fff;border-radius:6px;width:100%;padding:7px;font-size:12px}
.featured-promo{min-height:100%;border:0;border-radius:7px;padding:24px;background:linear-gradient(90deg,rgba(0,0,0,.02),rgba(0,0,0,.12)),url('assets/images/payment-promo.jpg') left center/auto 100% no-repeat,linear-gradient(135deg,#090c10,#49320d 58%,#0b0d10);align-items:flex-end;text-align:right;justify-content:flex-start}
.featured-promo .promo-kicker{display:none}.featured-promo h3{font-size:26px;color:#ffc344}.featured-promo>strong{font-size:20px}.featured-promo p{font-size:16px}.featured-promo .btn{background:#ffc344;color:#111;border-radius:5px}
.site-footer{margin-top:0;padding:30px 0 16px;background:#07111b;border-top:1px solid #1d2c3b}
.footer-grid{grid-template-columns:1.15fr 1fr 1fr 1.25fr;gap:28px}
.footer-brand{grid-column:4;grid-row:1}.footer-nav{grid-column:3;grid-row:1}.footer-social{grid-column:1;grid-row:1}
.site-footer h3{font-size:15px;color:#fff}.site-footer p{color:#dfe5ec}.footer-nav ul{list-style:none;margin:0;padding:0}.footer-nav li a{color:#dfe5ec;font-size:13px}.social-icons{flex-direction:row;gap:9px}.social-icon{min-width:34px}.social-icon .social-svg{background:rgba(255,195,68,.18);border-color:rgba(255,195,68,.25)}
.copyright{border:0;text-align:left;padding-top:10px;color:#c8d0d8}
@media(max-width:900px){body.home main.container{width:calc(100% - 16px)}.product-hero{height:auto;min-height:0;grid-template-columns:1fr}.product-hero .hero-copy{grid-column:1;grid-row:2;padding:22px 24px 28px}.hero-slider{grid-column:1;grid-row:1;height:300px;min-height:300px}.featured-layout{grid-template-columns:1fr}.featured-promo{min-height:260px}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand,.footer-nav,.footer-social{grid-column:auto;grid-row:auto}}
@media(max-width:650px){.header-inner{flex-wrap:wrap}.header-brand-search{width:100%;flex-wrap:wrap;gap:10px}.brand-name{font-size:27px}.search-form{order:2;flex:1 0 100%;max-width:none}.header-actions{width:100%;justify-content:flex-start}.main-nav .container{width:100%}.primary-menu{overflow-x:auto;white-space:nowrap}.primary-menu>li>a{padding:9px 13px}.product-hero{border-radius:5px}.hero-slider{height:240px;min-height:240px}.product-hero .hero-copy{padding:18px}.product-hero h1{font-size:28px}.product-hero p{font-size:16px}.home-features{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0 22px}.home-features .feature{padding:10px 5px}.home-features .feature strong{font-size:12px}.home-features .feature span{font-size:11px}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.featured-grid .product-image{height:135px}.featured-grid .product-title{font-size:12px}.featured-grid .price-note{font-size:12px}.featured-promo{min-height:210px;padding:18px}.footer-grid{grid-template-columns:1fr 1fr;gap:18px}.footer-brand{grid-column:1/-1}.footer-social{grid-column:1/-1}.social-icons{gap:7px}.copyright{text-align:center}}

/* Final reference layout cleanup: one authoritative desktop layout */
@media(min-width:901px){
  body.home .header-inner{display:grid;grid-template-columns:minmax(280px,1fr) minmax(300px,560px) minmax(250px,1fr);gap:26px;align-items:center;min-height:72px;padding:8px 0}
  body.home .header-brand-search{display:contents}
  body.home .brand{grid-column:3;grid-row:1;justify-self:end;align-items:flex-end;text-align:right}
  body.home .search-form{grid-column:2;grid-row:1;width:100%;max-width:none;min-width:0}
  body.home .header-actions{grid-column:1;grid-row:1;justify-self:start;display:flex;gap:10px}
  body.home .product-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);height:clamp(300px,20vw,310px);min-height:300px;margin:0 auto 14px;padding:0;gap:0;border:0;border-radius:6px;background:radial-gradient(ellipse at 38% 45%,#12375c 0%,#071a2b 42%,#03101c 100%)}
  body.home .product-hero .hero-copy{grid-column:1;grid-row:1;padding:26px 7% 26px 9%;align-items:flex-start;justify-content:center;text-align:right}
  body.home .hero-slider{grid-column:2;grid-row:1;height:100%;min-height:0;width:100%;border:0;border-radius:0;background:transparent;box-shadow:none}
  body.home .hero-slide{padding:0;background:transparent}
  body.home .hero-slide img{width:100%;height:100%;object-fit:cover;object-position:center;mix-blend-mode:normal}
  body.home .hero-arrow{z-index:5;top:48%;width:38px;height:48px;color:#ffc344;background:transparent;font-size:38px}
  body.home .hero-prev{right:6px} body.home .hero-next{left:6px}
  body.home .hero-dots{z-index:5;bottom:10px}
  body.home .home-features{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:14px 0 28px;padding:0;background:#edf1f4;border-radius:8px}
  body.home .home-features .feature{position:relative;background:transparent;border-radius:0;padding:12px 10px}
  body.home .home-features .feature:not(:last-child):after{content:"";position:absolute;left:0;top:20%;height:60%;width:1px;background:#d5dde5}
  body.home .home-featured{margin:25px 0 16px}
  body.home .featured-layout{grid-template-columns:minmax(0,2.1fr) minmax(280px,1fr);gap:18px}
  body.home .featured-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  body.home .featured-grid .product-image{height:170px}
  body.home .featured-promo{min-height:100%;background:linear-gradient(90deg,rgba(0,0,0,.08),rgba(0,0,0,.5)),url('assets/images/payment-promo.jpg') left center/auto 100% no-repeat,linear-gradient(135deg,#090c10,#49320d 58%,#0b0d10);align-items:flex-end;text-align:right;justify-content:flex-start;padding:24px}
  body.home .footer-grid{grid-template-columns:1.15fr 1fr 1fr 1.25fr;gap:28px}
  body.home .footer-brand{grid-column:4;grid-row:1} body.home .footer-nav{grid-column:3;grid-row:1} body.home .footer-help{grid-column:2;grid-row:1} body.home .footer-social{grid-column:1;grid-row:1}
}
@media(max-width:900px){
  body.home .header-inner{display:flex;flex-wrap:wrap;gap:12px}
  body.home .header-brand-search{display:flex;flex-wrap:wrap;width:100%;gap:10px}
  body.home .brand{order:0}
  body.home .search-form{order:2;flex:1 0 100%;max-width:none}
  body.home .header-actions{order:1;width:100%;justify-content:flex-start}
  body.home .product-hero{height:auto;min-height:0;grid-template-columns:1fr}
  body.home .product-hero .hero-copy{grid-column:1;grid-row:2;padding:20px 22px 26px}
  body.home .hero-slider{grid-column:1;grid-row:1;height:clamp(230px,42vw,300px);min-height:230px}
  body.home .home-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.home .featured-layout{grid-template-columns:1fr}
  body.home .featured-promo{min-height:230px}
  body.home .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.home .footer-brand,body.home .footer-nav,body.home .footer-help,body.home .footer-social{grid-column:auto;grid-row:auto}
}
@media(max-width:650px){
  body.home .product-hero .hero-copy{padding:16px 18px 22px}
  body.home .product-hero h1{font-size:28px}
  body.home .product-hero p{font-size:16px}
  body.home .hero-slider{height:230px;min-height:230px}
  body.home .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  body.home .featured-grid .product-image{height:135px}
  body.home .footer-grid{grid-template-columns:1fr 1fr;gap:16px}
  body.home .footer-brand,body.home .footer-social{grid-column:1/-1}
}

/* v9: restore the intended RTL placement of header and footer elements */
@media(min-width:901px){
  body.home .brand{grid-column:1 !important;justify-self:start !important;align-items:flex-start !important;text-align:right !important}
  body.home .header-actions{grid-column:3 !important;justify-self:end !important}
  body.home .footer-brand{grid-column:1 !important;grid-row:1 !important;text-align:right}
  body.home .footer-nav{grid-column:2 !important;grid-row:1 !important;text-align:right}
  body.home .footer-help{grid-column:3 !important;grid-row:1 !important;text-align:right}
  body.home .footer-social{grid-column:4 !important;grid-row:1 !important;text-align:right}
  body.home .social-icons{justify-content:flex-start;direction:rtl}
  body.home .copyright{text-align:right}
}
@media(max-width:900px){
  body.home .brand{text-align:right;align-items:flex-start}
  body.home .header-actions{justify-content:flex-end}
  body.home .footer-brand,body.home .footer-nav,body.home .footer-help,body.home .footer-social{text-align:right}
  body.home .social-icons{justify-content:flex-start;direction:rtl}
}


/* Requested targeted fixes: footer logo, account dropdown, neutral nav and mobile submenu. */
.footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.footer-site-logo{display:block;width:min(100%,280px);height:auto;max-height:105px;object-fit:contain;object-position:right center;margin:0 0 8px;mix-blend-mode:screen}
.account-menu-wrap{position:relative;display:inline-flex;align-items:center}
.account-dropdown{display:none;position:absolute;z-index:80;top:100%;right:0;min-width:205px;margin:8px 0 0;padding:7px;list-style:none;background:#07111b;border:1px solid #c9a23f;border-radius:10px;box-shadow:0 12px 28px rgba(0,0,0,.28)}
.account-menu-wrap:hover .account-dropdown,.account-menu-wrap:focus-within .account-dropdown{display:block}
.account-dropdown a{display:block;padding:9px 12px;border-radius:6px;color:#f3e7c4;font-size:13px;white-space:nowrap}
.account-dropdown a:hover{background:#292215;color:#ffc344}
.account-section-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.account-tab-content{margin-top:18px;padding:16px;border:1px solid #273440;border-radius:10px;background:#0b1722;color:#e8edf2}
.account-tab-content h2{margin-top:0;color:#ffc344}
/* Remove the yellow-filled menu treatment without changing any menu entries. */
.primary-menu>li:last-child>a{background:transparent!important;color:inherit!important;border-radius:0;padding:12px 21px;margin:0}
.main-nav a:hover{background:#17232d!important;color:#ffc344!important}
.primary-menu .sub-menu{background:#07111b!important;border-color:#c9a23f!important;color:#f3e7c4!important}
.primary-menu .sub-menu a{color:#f3e7c4!important}
.primary-menu .sub-menu a:hover{background:#292215!important;color:#ffc344!important}
@media(max-width:900px){
 .primary-menu{overflow:visible;white-space:normal;flex-wrap:wrap}
 .primary-menu li.menu-item-has-children{position:relative}
 .primary-menu li.menu-item-has-children.is-open>.sub-menu{display:block!important;position:static;min-width:0;width:100%;box-shadow:none;border-radius:8px;margin:0 0 6px;padding:6px}
 .primary-menu li.menu-item-has-children.is-open>.sub-menu a{white-space:normal}
 .account-dropdown{right:auto;left:0}
}
@media(max-width:650px){.footer-site-logo{width:min(100%,240px);max-height:90px}.footer-brand{align-items:flex-start}.account-section-links .btn{flex:1 1 100%}}



/* اصلاح چیدمان صفحه حساب کاربری و فرم اطلاعات پروفایل */
.account-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  direction: rtl;
}
.account-grid > section {
  min-width: 0;
  text-align: right;
}
.account-grid h2 {
  margin: 0 0 18px;
  text-align: right;
}
.account-grid label,
.account-tab-content label {
  display: block !important;
  width: 100%;
  margin: 12px 0 !important;
  text-align: right;
  line-height: 1.8;
}
.account-grid input:not([type="checkbox"]):not([type="submit"]),
.account-tab-content input:not([type="checkbox"]):not([type="submit"]),
.account-tab-content select,
.account-tab-content textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  min-height: 44px;
  margin: 6px 0 0 !important;
  padding: 10px 12px;
  border: 1px solid #5b471c;
  border-radius: 8px;
  background: #fff;
  color: #101b2b;
  text-align: right;
}
.account-tab-content {
  width: 100%;
  min-width: 0;
  padding: 22px;
  text-align: right;
  overflow-wrap: anywhere;
}
.account-tab-content form {
  width: 100%;
  max-width: 760px;
  margin-right: 0;
  margin-left: auto;
}
.account-tab-content form p {
  display: block;
  width: 100%;
  margin: 14px 0 !important;
}
.account-tab-content button,
.account-tab-content input[type="submit"],
.account-grid button,
.account-grid input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 9px;
  background: #d99a17;
  color: #07111b;
  font-weight: 800;
  cursor: pointer;
}
.account-section-links {
  align-items: center;
  justify-content: flex-start;
  direction: rtl;
}
@media (max-width: 900px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
  .account-tab-content {
    padding: 16px;
  }
  .account-tab-content form {
    max-width: 100%;
  }
}

/* SASASHOP - Account page layout fix */
.account-grid,
.account-area,
.account-tab-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    direction: rtl;
}

.account-grid > section,
.account-tab-content {
    min-width: 0;
    box-sizing: border-box;
}

.account-grid > section {
    width: 100%;
}

.account-area {
    direction: rtl;
    text-align: right;
    margin: 24px auto;
}

.account-section-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
}

.account-tab-content {
    display: block;
    padding: 24px;
    border: 1px solid #5b471c;
    border-radius: 16px;
    background: #171717;
    color: #f3e7c4;
}

.account-tab-content form {
    width: 100%;
    max-width: 600px;
}

.account-tab-content label {
    display: block;
    margin: 14px 0;
}

.account-tab-content input:not([type="checkbox"]):not([type="radio"]),
.account-grid input:not([type="checkbox"]):not([type="radio"]) {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    margin-top: 7px;
    padding: 10px 12px;
    border: 1px solid #5b471c;
    border-radius: 9px;
    background: #0e0e0e;
    color: #fff;
    text-align: right;
}

.account-grid form p,
.account-tab-content form p {
    margin: 14px 0;
}

@media (max-width: 700px) {
    .account-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .account-grid > section,
    .account-tab-content {
        padding: 16px;
    }

    .account-section-links {
        gap: 8px;
    }
}
/* اصلاح نهایی فرم حساب کاربری SASASHOP */
body .content-page .account-area {
    width: 100%;
    max-width: 100%;
}

body .content-page .account-area .account-tab-content {
    width: 100%;
    max-width: 100%;
    padding: 28px;
    box-sizing: border-box;
}

body .content-page .account-area .account-tab-content form {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

body .content-page .account-area .account-tab-content form p {
    width: 100%;
    margin: 16px 0;
}

body .content-page .account-area .account-tab-content form label {
    display: block;
    width: 100%;
    text-align: right;
}

body .content-page .account-area .account-tab-content form input:not([type="hidden"]):not([type="checkbox"]):not([type="submit"]) {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    margin-top: 8px;
    padding: 10px 14px;
    box-sizing: border-box;
    background: #fff;
    color: #101b2b;
    border: 1px solid #cbd3dc;
    border-radius: 8px;
}

@media (max-width: 700px) {
    body .content-page .account-area .account-tab-content {
        padding: 16px;
    }
}

/* قلب علاقه‌مندی محصولات */
.product-card-favorite {
    display: flex;
    justify-content: flex-end;
    margin: 8px 8px 0;
}

.sasashop-favorite-form {
    margin: 0;
}

.sasashop-favorite-heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    color: #777;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.sasashop-favorite-heart:hover,
.sasashop-favorite-heart.is-favorite {
    color: #e53950;
    border-color: #e53950;
}

.sasashop-favorite-heart:focus-visible {
    outline: 2px solid #e53950;
    outline-offset: 3px;
}

/* اصلاح نمایش قلب علاقه‌مندی */
.product-card {
    position: relative;
}

.product-card-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    margin: 0;
}

.product-card-favorite .sasashop-favorite-form {
    margin: 0;
}

.product-card-favorite .sasashop-favorite-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #e53950;
    font-family: Arial, sans-serif;
    font-size: 30px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.product-card-favorite .sasashop-favorite-heart.is-favorite {
    color: #e53950;
    background: #fff;
}
/* SASASHOP - Favorite heart on product image */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    position: relative;
}

.sasashop-favorite-form {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    margin: 0 !important;
}

.sasashop-favorite-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #777;
    font-size: 25px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.sasashop-favorite-heart.is-favorite {
    color: #e53950;
}

.sasashop-favorite-heart:hover {
    color: #e53950;
}

/* SASASHOP representative portal */
.sasashop-rep{direction:rtl;color:#14243a;margin:24px auto 38px;max-width:1180px}
.sasashop-rep *{box-sizing:border-box}
.sasashop-rep .rep-panel{background:#fff;border:1px solid #e2e8ef;border-radius:18px;padding:24px;margin:18px 0;box-shadow:0 8px 28px rgba(10,35,65,.05)}
.sasashop-rep .rep-login{max-width:480px;margin:35px auto;padding:30px}
.sasashop-rep h1,.sasashop-rep h2,.sasashop-rep h3{color:#102b4c}
.sasashop-rep .rep-login form,.sasashop-rep .rep-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.sasashop-rep label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}
.sasashop-rep input:not([type=checkbox]):not([type=file]),.sasashop-rep textarea{width:100%;border:1px solid #d8e0e9;border-radius:10px;padding:11px;background:#fff;min-height:44px}
.sasashop-rep textarea{min-height:95px}
.sasashop-rep input[type=file]{max-width:100%;padding:8px;border:1px dashed #b8c6d6;border-radius:9px}
.sasashop-rep .rep-login .rep-check{display:flex;flex-direction:row;align-items:center}
.sasashop-rep .rep-login button,.sasashop-rep .rep-form button{grid-column:1/-1;justify-self:start}
.sasashop-rep .rep-header{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(120deg,#071426,#12345c);border-radius:18px;color:#fff;padding:22px 26px}
.sasashop-rep .rep-header h1,.sasashop-rep .rep-header p{color:#fff;margin:0}
.sasashop-rep .rep-nav{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}
.sasashop-rep .rep-nav a{padding:10px 15px;border:1px solid #dce4ed;border-radius:10px;background:#fff;color:#17395f;font-weight:700;font-size:13px}
.sasashop-rep .rep-nav a.active,.sasashop-rep .rep-nav a:hover{background:#12345c;color:#fff;border-color:#12345c}
.sasashop-rep .rep-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sasashop-rep .rep-product{border:1px solid #e1e7ee;border-radius:14px;padding:15px;display:flex;flex-direction:column;gap:10px;min-width:0}
.sasashop-rep .rep-product>img{width:100%;height:190px;object-fit:contain;background:#fff}
.sasashop-rep .rep-product h3{margin:0}.sasashop-rep .rep-product strong{color:#0b6848;font-size:17px}
.sasashop-rep .rep-product form{display:flex;align-items:end;gap:9px;margin-top:auto;flex-wrap:wrap}
.sasashop-rep .rep-product form label{max-width:100px}
.sasashop-rep .rep-table{width:100%;border-collapse:collapse}.sasashop-rep .rep-table th,.sasashop-rep .rep-table td{padding:10px;border-bottom:1px solid #e4e9ef;text-align:right}
.sasashop-rep .rep-bank{background:#f3f7fb;border:1px solid #dce6f0;border-radius:13px;padding:16px;margin:18px 0}
.sasashop-rep .rep-record{display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding:15px;border:1px solid #e0e7ef;border-radius:12px;margin:12px 0}
.sasashop-rep .rep-record span{font-weight:800;color:#0b6848}.sasashop-rep .rep-record small{color:#65758a}.sasashop-rep .rep-record ul{grid-column:1/-1;margin:0}
.sasashop-rep .rep-alert{background:#fff1f0;color:#a12620;padding:10px;border-radius:9px}.sasashop-rep .rep-success{background:#eaf8f0;color:#17643b;padding:12px;border-radius:9px}
.footer-representatives-link{text-align:right;margin-top:18px}.footer-representatives-link a{display:inline-block;color:#f4c34f;border:1px solid rgba(244,195,79,.45);border-radius:9px;padding:7px 13px;font-size:13px;font-weight:700}
@media(max-width:700px){.sasashop-rep .rep-panel{padding:16px}.sasashop-rep .rep-products{grid-template-columns:repeat(2,minmax(0,1fr))}.sasashop-rep .rep-login form,.sasashop-rep .rep-form{grid-template-columns:1fr}.sasashop-rep .rep-header{align-items:flex-start;flex-direction:column}.sasashop-rep .rep-table{font-size:12px}.sasashop-rep .rep-table th,.sasashop-rep .rep-table td{padding:6px}}
@media(max-width:450px){.sasashop-rep .rep-products{grid-template-columns:1fr}}
