:root{
    --bg:#f4f6fb;
    --card:#ffffff;
    --text:#101828;
    --muted:#667085;
    --primary:#1f5eff;
    --primary-dark:#0f3fc2;
    --accent:#ffb703;
    --danger:#d92d20;
    --success:#039855;
    --border:#e5e7eb;
    --dark:#071225;
    --shadow:0 12px 35px rgba(16,24,40,.08);
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.6}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,92%);margin:auto}
.top-strip{background:var(--dark);color:#d7e3ff;font-size:14px}
.top-strip-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;flex-wrap:wrap}
.top-strip a{color:#fff}
.main-nav{background:#fff;box-shadow:0 4px 20px rgba(16,24,40,.06);position:sticky;top:0;z-index:20}
.nav-inner{min-height:78px;display:flex;align-items:center;gap:18px}
.logo{display:flex;align-items:center;gap:10px;min-width:210px}
.logo-mark{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,var(--primary),#7c3aed);color:#fff;display:grid;place-items:center;font-weight:800}
.logo strong{display:block;font-size:18px}
.logo small{color:var(--muted);font-size:12px}
.search-bar{display:flex;flex:1;max-width:520px;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#fff}
.search-bar input{flex:1;border:0;padding:13px 15px;outline:0}
.search-bar button{border:0;background:var(--primary);color:#fff;padding:0 18px;font-weight:700;cursor:pointer}
.nav-links{display:flex;align-items:center;gap:12px;margin-left:auto}
.nav-links>a,.dropdown>button{border:0;background:transparent;color:#1d2939;font-weight:700;cursor:pointer;font-size:15px;padding:9px 6px}
.cart-count{display:inline-grid;place-items:center;background:var(--accent);color:#111;width:22px;height:22px;border-radius:999px;font-size:12px;margin-left:3px}
.dropdown{position:relative}
.dropdown-menu{display:none;position:absolute;right:0;top:38px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);min-width:230px;padding:8px}
.dropdown:hover .dropdown-menu{display:block}
.dropdown-menu a{display:block;padding:10px 12px;border-radius:10px;color:#344054}
.dropdown-menu a:hover{background:#f2f4f7}
.menu-toggle{display:none;margin-left:auto;background:var(--dark);color:#fff;border:0;border-radius:10px;padding:10px 12px;font-size:20px}
.page-wrap{padding:28px 0 55px}
.alert{padding:13px 15px;border-radius:14px;margin:0 0 18px;font-weight:700}
.alert-success{background:#ecfdf3;color:#027a48;border:1px solid #abefc6}
.alert-danger{background:#fef3f2;color:#b42318;border:1px solid #fecdca}
.hero{display:grid;grid-template-columns:1.5fr .9fr;gap:28px;align-items:center;background:linear-gradient(135deg,#071225,#123c8c);color:#fff;border-radius:34px;padding:54px;overflow:hidden;position:relative}
.hero:before{content:"";position:absolute;inset:auto -120px -120px auto;width:360px;height:360px;background:rgba(255,255,255,.08);border-radius:50%}
.hero-content,.hero-card{position:relative;z-index:1}
.eyebrow{display:inline-block;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);padding:8px 12px;border-radius:999px;margin-bottom:14px}
.hero h1{font-size:44px;line-height:1.08;margin:0 0 14px;max-width:720px}
.hero p{color:#d6e1ff;max-width:620px;font-size:18px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:14px;padding:12px 18px;font-weight:800;cursor:pointer;transition:.2s;text-align:center}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark);transform:translateY(-1px)}
.btn-light{background:#eef4ff;color:#123c8c}
.btn-full{width:100%}
.btn[disabled]{opacity:.45;cursor:not-allowed;transform:none}
.hero-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);padding:22px;border-radius:24px;backdrop-filter:blur(10px)}
.spec-line{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.15)}
.spec-line:last-child{border-bottom:0}
.section-head{display:flex;align-items:end;justify-content:space-between;margin:35px 0 16px}
.section-head h2{margin:0;font-size:28px}
.section-head a{color:var(--primary);font-weight:800}
.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.category-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:18px;box-shadow:var(--shadow);transition:.2s}
.category-card:hover,.product-card:hover{transform:translateY(-3px)}
.cat-icon{font-size:28px;display:block;margin-bottom:8px}.cat-image{width:64px;height:64px;border-radius:18px;background:#f8fafc;border:1px solid var(--border);display:grid;place-items:center;margin-bottom:10px;overflow:hidden}.cat-image img{width:48px;height:48px;object-fit:contain}.category-card strong{display:block}.category-card small{color:var(--muted)}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.product-card{background:#fff;border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow);overflow:hidden;transition:.2s}
.product-image{height:220px;background:#f8fafc;display:grid;place-items:center;position:relative;padding:18px}
.product-image img{max-height:185px;object-fit:contain}
.stock{position:absolute;left:12px;top:12px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}
.stock.in{background:#ecfdf3;color:#027a48}.stock.out{background:#fef3f2;color:#b42318}
.product-body{padding:16px}.product-body small{color:var(--muted)}.product-body h3{font-size:16px;min-height:52px;margin:6px 0 12px}.product-body h3 a:hover{color:var(--primary)}
.price-row{display:flex;align-items:center;gap:10px;margin-bottom:13px}.price-row strong,.price-big strong{color:var(--primary);font-size:19px}.price-row del,.price-big del{color:var(--muted)}
.promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:35px 0}.promo-card{background:#fff;border-radius:24px;padding:26px;box-shadow:var(--shadow);border:1px solid var(--border)}.promo-card.dark{background:#101828;color:#fff}.promo-card p{color:var(--muted)}.promo-card.dark p{color:#d0d5dd}
.page-title{background:#fff;border-radius:24px;padding:28px;margin-bottom:20px;border:1px solid var(--border);box-shadow:var(--shadow)}.page-title h1{margin:0 0 6px;font-size:34px}.page-title p{margin:0;color:var(--muted)}
.filters{display:grid;grid-template-columns:1.5fr 1fr 1fr auto auto;gap:12px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:20px;padding:15px;margin-bottom:15px}
input,select,textarea{width:100%;border:1px solid var(--border);border-radius:12px;padding:12px 13px;font:inherit;outline:none;background:#fff}textarea{resize:vertical}.check{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#344054}.check input{width:auto}.result-count{color:var(--muted)}
.empty-state{background:#fff;border:1px dashed #cbd5e1;border-radius:20px;padding:30px;text-align:center;color:var(--muted);grid-column:1/-1}.empty-state a{color:var(--primary);font-weight:800}
.product-details{display:grid;grid-template-columns:1fr 1fr;gap:28px;background:#fff;border:1px solid var(--border);border-radius:26px;box-shadow:var(--shadow);padding:28px}.detail-image{background:#f8fafc;border-radius:22px;display:grid;place-items:center;min-height:420px}.detail-image img{max-height:380px;object-fit:contain}.detail-info h1{font-size:34px;margin:8px 0 12px}.price-big{display:flex;gap:13px;align-items:center;margin-bottom:14px}.price-big strong{font-size:30px}.stock-note{font-weight:800}.stock-note.ok{color:var(--success)}.stock-note.bad{color:var(--danger)}.add-form{display:flex;gap:12px;margin-top:20px}.add-form input{width:100px}.spec-table-wrap,.table-card,.form-card,.summary-card{background:#fff;border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow);padding:22px}.spec-table-wrap{margin-top:24px}.spec-table,.cart-table,.admin-table{width:100%;border-collapse:collapse}.spec-table th,.spec-table td,.cart-table th,.cart-table td,.admin-table th,.admin-table td{padding:13px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.spec-table th{width:230px;color:#344054;background:#f8fafc}
.cart-layout,.checkout-layout{display:grid;grid-template-columns:1.5fr .8fr;gap:22px}.cart-product{display:flex;align-items:center;gap:12px}.cart-product img{width:64px;height:64px;object-fit:contain;background:#f8fafc;border-radius:12px}.qty-input{width:80px}.summary-line{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--border)}.summary-line.total{font-size:20px}.link-danger{color:var(--danger);background:transparent;border:0;font-weight:800;cursor:pointer}
.auth-wrap{display:grid;place-items:center;min-height:520px}.auth-card{width:min(460px,100%)}.form-card label{font-weight:800;display:block;margin:12px 0 6px;color:#344054}.demo-box{background:#f8fafc;border:1px solid var(--border);border-radius:14px;padding:12px;margin-top:14px;color:#475467}
.dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.dashboard-card{background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:20px;padding:20px}.dashboard-card strong{display:block;font-size:28px}.dashboard-card span{color:var(--muted)}
.policy-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.policy-card{background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:20px;padding:24px}.success-box{text-align:center;background:#fff;border-radius:24px;box-shadow:var(--shadow);border:1px solid var(--border);padding:45px}
.site-footer{background:#071225;color:#d0d5dd;margin-top:40px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:25px;padding:42px 0}.footer-grid h3,.footer-grid h4{color:#fff}.footer-grid a{display:block;color:#d0d5dd;margin:8px 0}.footer-bottom{text-align:center;border-top:1px solid rgba(255,255,255,.1);padding:15px;color:#98a2b3}
.admin-body{background:#eef2f7}.admin-sidebar{position:fixed;left:0;top:0;bottom:0;width:250px;background:#071225;color:#d0d5dd;padding:18px;display:flex;flex-direction:column;gap:8px}.admin-brand{font-size:24px;color:#fff;font-weight:900;margin-bottom:18px}.admin-sidebar a{padding:12px 14px;border-radius:12px}.admin-sidebar a:hover{background:rgba(255,255,255,.08);color:#fff}.admin-main{margin-left:250px;padding:28px}.admin-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.admin-head h1{margin:0}.admin-thumb{width:58px;height:58px;object-fit:contain;background:#f8fafc;border-radius:12px}.badge{padding:6px 10px;border-radius:999px;font-weight:800;font-size:12px}.badge-warning{background:#fffaeb;color:#b54708}.badge-info{background:#eff8ff;color:#175cd3}.badge-success{background:#ecfdf3;color:#027a48}.badge-danger{background:#fef3f2;color:#b42318}.form-card.wide{max-width:900px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.admin-split{display:grid;grid-template-columns:360px 1fr;gap:20px}.admin-split-wide{grid-template-columns:minmax(420px,520px) 1fr}.compact-image-manager{grid-template-columns:190px 1fr}.compact-image-manager .image-preview-card img{width:120px;height:100px}.category-image-library{grid-template-columns:repeat(auto-fill,minmax(105px,1fr))}
@media(max-width:980px){.hero,.product-details,.cart-layout,.checkout-layout,.promo-grid,.footer-grid,.policy-grid,.admin-split,.admin-split-wide{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(3,1fr)}.product-grid{grid-template-columns:repeat(2,1fr)}.filters{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:repeat(2,1fr)}.admin-sidebar{position:static;width:auto}.admin-main{margin-left:0}.nav-inner{flex-wrap:wrap}.search-bar{order:3;max-width:none;width:100%}.menu-toggle{display:block}.nav-links{display:none;flex-direction:column;width:100%;align-items:stretch}.nav-links.open{display:flex}.dropdown-menu{position:static;display:block;box-shadow:none;border:0;background:#f8fafc}.hero h1{font-size:34px}.hero{padding:34px}}
@media(max-width:620px){.category-grid,.product-grid,.filters,.dashboard-grid,.form-grid{grid-template-columns:1fr}.top-strip-inner{justify-content:center}.product-image{height:190px}.hero h1{font-size:29px}.page-title h1{font-size:28px}.footer-grid{padding:30px 0}.admin-table,.cart-table{font-size:14px}.admin-table th,.admin-table td,.cart-table th,.cart-table td{padding:9px}.cart-product{align-items:flex-start;flex-direction:column}}
.status-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.status-tab{background:#fff;border:1px solid var(--border);border-radius:16px;padding:14px 16px;box-shadow:var(--shadow);font-weight:900;display:flex;align-items:center;justify-content:space-between}.status-tab strong{background:rgba(255,255,255,.65);min-width:30px;height:30px;border-radius:999px;display:grid;place-items:center}.order-section{margin-bottom:18px;scroll-margin-top:18px}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.section-title-row h2{margin:0}
@media(max-width:980px){.status-tabs{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.status-tabs{grid-template-columns:1fr}.section-title-row{align-items:flex-start;flex-direction:column}}

/* Admin product image manager */
.image-manager{display:grid;grid-template-columns:260px 1fr;gap:16px;margin:8px 0 18px}.image-preview-card,.image-upload-box{background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:16px}.image-preview-card{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;text-align:center}.image-preview-card span{font-weight:900;color:#344054}.image-preview-card img{width:180px;height:150px;object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:14px}.image-preview-card small,.image-upload-box small{color:#667085;line-height:1.6}.image-upload-box input[type=file]{background:#fff;border:1px dashed #98a2b3;padding:14px;border-radius:14px;width:100%;margin:8px 0 10px}.image-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:14px;margin-bottom:18px}.image-option{border:1px solid var(--border);background:#fff;border-radius:14px;padding:10px;cursor:pointer;text-align:center;display:flex;flex-direction:column;gap:8px;align-items:center;transition:.2s}.image-option:hover,.image-option.selected{border-color:var(--primary);box-shadow:0 0 0 4px rgba(37,99,235,.12)}.image-option img{width:100%;height:86px;object-fit:contain}.image-option span{font-size:12px;color:#344054;word-break:break-word}.muted{color:#667085;margin:0}@media(max-width:700px){.image-manager{grid-template-columns:1fr}}

/* Header social strip + cleaned footer */
.top-strip-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}
.top-policy{justify-self:start}.top-address{justify-self:end}
.top-social{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.top-social a,.footer-social a{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;border-radius:999px;padding:6px 12px;font-weight:800;font-size:13px;transition:.2s}
.top-social a:hover,.footer-social a:hover{background:var(--primary);border-color:var(--primary);transform:translateY(-1px)}
.footer-grid-clean{grid-template-columns:1.25fr 1fr 1fr 1fr}.footer-social{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}.footer-social a{margin:0}
@media(max-width:700px){.top-strip-inner{grid-template-columns:1fr;text-align:center}.top-policy,.top-address{justify-self:center}.top-social{order:-1}.footer-grid-clean{grid-template-columns:1fr}}

/* Theme and language controls */
.top-social{display:flex;align-items:center;justify-content:center;gap:18px;flex:1}
.top-controls{display:flex;align-items:center;gap:9px;white-space:nowrap}
.lang-link{opacity:.8;font-weight:800}
.lang-link.active{opacity:1;color:#fff;text-decoration:underline;text-underline-offset:4px}
.theme-toggle{border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff;border-radius:999px;padding:6px 12px;font-weight:800;cursor:pointer}
.theme-toggle:hover{background:rgba(255,255,255,.16)}

html[dir="rtl"] body{font-family:Tahoma,Arial,sans-serif;text-align:right}
html[dir="rtl"] .nav-links{margin-left:0;margin-right:auto}
html[dir="rtl"] .dropdown-menu{right:auto;left:0;text-align:right}
html[dir="rtl"] .spec-table th,
html[dir="rtl"] .spec-table td,
html[dir="rtl"] .cart-table th,
html[dir="rtl"] .cart-table td,
html[dir="rtl"] .admin-table th,
html[dir="rtl"] .admin-table td{text-align:right}
html[dir="rtl"] .cart-count{margin-left:0;margin-right:3px}
html[dir="rtl"] .stock{left:auto;right:12px}














@media(max-width:720px){
    .top-strip-inner{justify-content:center;text-align:center}
    .top-social{order:2;flex-basis:100%;gap:12px;flex-wrap:wrap}
    .top-controls{order:3}
}

/* Top bar layout */
.top-strip{
    direction:ltr !important;
    background:linear-gradient(90deg,#071225 0%,#0b1930 50%,#071225 100%);
    color:#fff;
    font-size:15px;
    position:relative;
    z-index:30;
}
.top-strip *{direction:ltr !important}
.sigma-like-strip{
    min-height:58px;
    display:grid !important;
    grid-template-columns:1fr auto 1fr !important;
    align-items:center;
    gap:18px;
    padding:0 !important;
    text-align:left !important;
}
.top-info{
    justify-self:start;
    display:flex;
    align-items:center;
    gap:24px;
    white-space:nowrap;
}
.top-info-item{
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:#fff !important;
    font-weight:900;
    letter-spacing:.2px;
}
.top-icon{
    width:26px;
    height:26px;
    display:inline-grid;
    place-items:center;
    border:2px solid rgba(255,255,255,.82);
    border-radius:50%;
}
.top-icon svg,
.social-icon svg{
    width:17px;
    height:17px;
    fill:currentColor;
}
.top-social{
    justify-self:center;
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:17px !important;
    flex:initial !important;
    order:initial !important;
}
.social-icon{
    width:34px;
    height:34px;
    border:0 !important;
    background:transparent !important;
    color:#fff !important;
    padding:0 !important;
    border-radius:50%;
    display:inline-grid !important;
    place-items:center;
    font-weight:1000;
    font-size:28px !important;
    line-height:1;
    transition:.2s;
}
.social-icon.instagram,
.social-icon.whatsapp{font-size:0 !important}
.social-icon:hover{
    transform:translateY(-2px) scale(1.04);
    background:rgba(255,255,255,.12) !important;
}
.top-controls{
    justify-self:end;
    display:flex !important;
    align-items:center;
    justify-content:flex-end;
    gap:12px !important;
    white-space:nowrap;
}
.language-switch{
    min-height:34px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(0,28,52,.34);
    border:1px solid rgba(255,255,255,.12);
    border-radius:999px;
    padding:5px 12px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.language-switch .globe{font-size:15px;line-height:1}
.lang-link{
    color:#e8f4ff !important;
    opacity:.72;
    font-weight:900;
    text-decoration:none !important;
    font-size:13px;
}
.lang-link.active{opacity:1;color:#fff !important;text-decoration:none !important}
.lang-divider{opacity:.35;font-weight:900}
.theme-toggle{
    min-width:62px;
    height:34px;
    border:0 !important;
    background:rgba(255,255,255,.15) !important;
    color:#fff !important;
    border-radius:999px;
    padding:0 12px !important;
    font-weight:900;
    cursor:pointer;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}
.theme-toggle:hover{background:rgba(255,255,255,.22) !important}
html[dir="rtl"] .top-strip,
html[dir="rtl"] .top-strip *{
    direction:ltr !important;
    text-align:left !important;
}

@media(max-width:780px){
    .sigma-like-strip{
        grid-template-columns:1fr !important;
        padding:10px 0 !important;
        gap:10px;
    }
    .top-info,.top-social,.top-controls{
        justify-self:center;
        justify-content:center;
        flex-wrap:wrap;
    }
    .top-info{gap:14px}
}

/* v14 fixes: mobile header, hero image slider, horizontal categories, admin name */
.mobile-menu-search{display:none}
.admin-topbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px;padding:12px 16px;margin-bottom:18px;color:#475467}.admin-topbar strong{color:var(--primary)}

.hero-slider{position:relative;overflow:hidden;border-radius:34px;background:#071225;box-shadow:var(--shadow)}
.hero-slides{position:relative;min-height:450px}.hero-slide{display:none;grid-template-columns:1.25fr .9fr;gap:28px;align-items:center;min-height:450px;padding:54px;background:linear-gradient(135deg,#071225,#123c8c);color:#fff;position:absolute;inset:0;opacity:0;transition:opacity .35s ease}.hero-slide.active{display:grid;position:relative;opacity:1}.hero-slide:before{content:"";position:absolute;inset:auto -130px -150px auto;width:380px;height:380px;background:rgba(255,255,255,.08);border-radius:50%}.hero-slide-content,.hero-slide-image{position:relative;z-index:1}.hero-slide h1{font-size:44px;line-height:1.08;margin:0 0 14px;max-width:760px}.hero-slide p{color:#d6e1ff;max-width:620px;font-size:18px}.hero-slide-image{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:28px;padding:18px;min-height:300px;display:grid;place-items:center;backdrop-filter:blur(10px)}.hero-slide-image img{width:100%;max-height:330px;object-fit:contain;border-radius:20px}.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:42px;height:42px;border:0;border-radius:999px;background:rgba(255,255,255,.92);color:#071225;font-size:32px;font-weight:900;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 25px rgba(0,0,0,.18)}.hero-prev{left:16px}.hero-next{right:16px}.hero-dots{position:absolute;z-index:4;left:0;right:0;bottom:16px;display:flex;justify-content:center;gap:8px}.hero-dot{width:10px;height:10px;border:0;border-radius:999px;background:rgba(255,255,255,.45);cursor:pointer}.hero-dot.active{width:28px;background:#fff}

.category-carousel-wrap{display:flex;align-items:center;gap:10px;position:relative}.category-row{display:flex;gap:14px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;padding:4px 2px 14px;flex:1}.category-row::-webkit-scrollbar{height:8px}.category-row::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.category-row .category-card{flex:0 0 185px;scroll-snap-align:start;min-height:145px}.category-arrow{flex:0 0 40px;width:40px;height:40px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--primary);font-size:28px;font-weight:900;display:grid;place-items:center;cursor:pointer;box-shadow:var(--shadow)}.category-arrow:hover{background:var(--primary);color:#fff}



@media(max-width:980px){
    .nav-inner{min-height:72px;flex-wrap:nowrap!important;position:relative}.desktop-search{display:none!important}.menu-toggle{display:block;margin-left:auto}.nav-links{position:absolute;top:calc(100% + 10px);left:0;right:0;background:var(--card,#fff);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);padding:14px;z-index:80;display:none!important;flex-direction:column;width:100%;align-items:stretch}.nav-links.open{display:flex!important}.mobile-menu-search{display:flex!important;max-width:none;width:100%;margin-bottom:8px}.nav-links>a,.dropdown>button{padding:11px 8px}.dropdown-menu{position:static;display:block;box-shadow:none;border:0;background:#f8fafc;margin-top:4px}.hero-slide{grid-template-columns:1fr;padding:34px}.hero-slides,.hero-slide{min-height:560px}.hero-slide h1{font-size:34px}.hero-slide-image{min-height:220px}.category-row .category-card{flex-basis:170px}.admin-sidebar{position:static;width:auto}.admin-main{margin-left:0}.admin-topbar{justify-content:flex-start}
}

@media(max-width:780px){
    .top-strip{overflow:hidden}.sigma-like-strip{grid-template-columns:max-content max-content max-content!important;justify-content:flex-start!important;align-items:center!important;gap:14px!important;padding:8px 10px!important;overflow-x:auto!important;white-space:nowrap!important;min-height:48px!important;width:100%!important}.top-info,.top-social,.top-controls{justify-self:auto!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:10px!important;order:initial!important}.top-info-item{font-size:13px;gap:6px}.top-icon{width:22px;height:22px}.top-icon svg,.social-icon svg{width:14px;height:14px}.social-icon{width:26px!important;height:26px!important;font-size:22px!important}.language-switch{min-height:30px;padding:4px 9px;gap:6px}.theme-toggle{height:30px;min-width:54px;padding:0 10px!important}.main-nav{top:0}.logo{min-width:0;flex:1}.logo strong{font-size:17px}.logo small{font-size:12px}.menu-toggle{flex:0 0 auto}.hero-slider,.hero{border-radius:28px}.hero-slides,.hero-slide{min-height:auto}
.hero-slide{gap:18px}
.hero-slide-image{display:grid;min-height:190px;padding:12px;margin-top:6px}
.hero-slide-image img{max-height:210px;width:100%;object-fit:contain}.hero-arrow{width:36px;height:36px;font-size:28px}.hero-prev{left:10px}.hero-next{right:10px}
}

@media(max-width:620px){
    .nav-inner{gap:10px}.logo-mark{width:46px;height:46px}.hero-slide{padding:34px 42px}.hero-slide h1{font-size:30px}.hero-slide p{font-size:16px}.category-arrow{display:none}.category-row{padding-bottom:10px}.category-row .category-card{flex-basis:155px}.filters{grid-template-columns:1fr!important}
}

/* Category image cards */
.category-row .category-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
html[dir="rtl"] .category-row .category-card{align-items:flex-end}
@media(max-width:700px){.compact-image-manager{grid-template-columns:1fr}.cat-image{width:58px;height:58px}.cat-image img{width:44px;height:44px}}

/* v17: clearer product-style category cards */
.category-carousel-wrap{
    gap:14px;
}
.category-row{
    gap:18px;
    padding:6px 2px 18px;
}
.category-row .category-card{
    flex:0 0 240px;
    min-height:260px;
    padding:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    align-items:stretch!important;
    justify-content:flex-start;
    background:var(--card,#fff);
    border-radius:22px;
}
.category-row .category-card .cat-image{
    width:100%;
    height:170px;
    border-radius:0;
    border:0;
    border-bottom:1px solid var(--border);
    background:#f8fafc;
    margin:0;
    display:grid;
    place-items:center;
    padding:16px;
}
.category-row .category-card .cat-image img{
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    display:block;
}
.category-row .category-card strong{
    display:block;
    padding:16px 18px 4px;
    font-size:18px;
    line-height:1.25;
}
.category-row .category-card small{
    display:block;
    padding:0 18px 18px;
    font-size:14px;
}


@media(max-width:980px){
    .category-row .category-card{
        flex-basis:220px;
        min-height:245px;
    }
    .category-row .category-card .cat-image{
        height:155px;
    }
}

@media(max-width:620px){
    .category-row{
        gap:14px;
    }
    .category-row .category-card{
        flex-basis:190px;
        min-height:220px;
    }
    .category-row .category-card .cat-image{
        height:135px;
        padding:12px;
    }
    .category-row .category-card strong{
        font-size:16px;
        padding:13px 14px 4px;
    }
    .category-row .category-card small{
        padding:0 14px 14px;
    }
}

/* v18 admin orders preview */
.admin-subtitle{margin:6px 0 0;color:#667085;font-weight:600}
.section-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.btn-small{padding:8px 12px;border-radius:999px;font-size:13px}
.status-tab.is-active{outline:3px solid rgba(37,99,235,.18);transform:translateY(-1px)}
.table-responsive{width:100%;overflow-x:auto}
@media(max-width:620px){.section-actions{justify-content:flex-start}.admin-head{align-items:flex-start;flex-direction:column;gap:12px}}


/* v20: discount prices */
.discount-badge{position:absolute;left:14px;top:14px;background:#ff3b30;color:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;box-shadow:0 10px 20px rgba(255,59,48,.22)}
.discount-line{display:inline-flex;align-items:center;width:max-content;margin:-4px 0 13px;background:#fff1f0;color:#b42318;border:1px solid #ffd6d1;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}
.discount-pill{background:#ff3b30;color:#fff;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:900}
.price-row del,.price-big del{text-decoration-thickness:2px;text-decoration-color:#ff3b30}



/* v23: move discount under image */
.discount-badge{display:none !important}
.discount-line{display:none !important}
.discount-under-wrap{margin:-2px 0 12px;display:flex;justify-content:flex-start}
.discount-badge-inline{display:inline-flex;align-items:center;justify-content:center;width:88px;height:88px;border-radius:50%;background:#ffd54a;color:#111827;font-weight:900;text-align:center;line-height:1.15;font-size:15px;box-shadow:0 10px 24px rgba(255,213,74,.35)}
.product-body small{display:block;margin-bottom:6px}
@media(max-width:620px){.discount-badge-inline{width:80px;height:80px;font-size:14px}}


/* v24 discount circle below product image */
.product-card .discount-badge,
.product-card .discount-line,
.product-card .discount-badge-inline,
.product-card .discount-under-wrap{
    display:none !important;
}

.product-card .discount-under-image{
    display:flex !important;
    justify-content:flex-start !important;
    align-items:center !important;
    padding:14px 18px 0 18px !important;
    margin:0 !important;
    background:#fff !important;
}

.product-card .discount-circle{
    width:86px !important;
    height:86px !important;
    min-width:86px !important;
    min-height:86px !important;
    border-radius:50% !important;
    background:#ffd84d !important;
    color:#111827 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    font-size:15px !important;
    font-weight:900 !important;
    line-height:1.15 !important;
    box-shadow:0 10px 22px rgba(255,216,77,.35) !important;
    border:1px solid rgba(17,24,39,.06) !important;
}



@media(max-width:620px){
    .product-card .discount-under-image{
        padding:12px 14px 0 14px !important;
    }
    .product-card .discount-circle{
        width:76px !important;
        height:76px !important;
        min-width:76px !important;
        min-height:76px !important;
        font-size:13px !important;
    }
}


/* v25 smaller centered discount circle */
.product-card .discount-under-image{justify-content:center !important;padding:10px 16px 2px 16px !important;}
.product-card .discount-circle{width:58px !important;height:58px !important;min-width:58px !important;min-height:58px !important;font-size:11px !important;line-height:1 !important;flex-direction:column !important;gap:2px !important;padding:0 !important;}
.product-card .discount-circle .discount-num{font-size:11px !important;font-weight:900 !important;display:block !important;}
.product-card .discount-circle small{display:block !important;font-size:10px !important;font-weight:800 !important;line-height:1 !important;}
@media(max-width:620px){.product-card .discount-under-image{padding:8px 12px 0 12px !important;}.product-card .discount-circle{width:54px !important;height:54px !important;min-width:54px !important;min-height:54px !important;}.product-card .discount-circle .discount-num{font-size:10px !important;}.product-card .discount-circle small{font-size:9px !important;}}


/* v26 even smaller discount circle no OFF text */
.product-card .discount-under-image{padding:8px 16px 0 16px !important;}
.product-card .discount-circle{width:46px !important;height:46px !important;min-width:46px !important;min-height:46px !important;font-size:10px !important;gap:0 !important;border-width:1px !important;box-shadow:0 6px 14px rgba(255,216,77,.28) !important;}
.product-card .discount-circle .discount-num{font-size:10px !important;line-height:1 !important;}
.product-card .discount-circle small{display:none !important;}
@media(max-width:620px){.product-card .discount-under-image{padding:8px 12px 0 12px !important;}.product-card .discount-circle{width:42px !important;height:42px !important;min-width:42px !important;min-height:42px !important;}.product-card .discount-circle .discount-num{font-size:9px !important;}}


/* v27 compact pill discount badge like reference */
.product-card .discount-under-image{
    justify-content:flex-start !important;
    padding:8px 16px 0 16px !important;
}
.product-card .discount-circle{
    width:auto !important;
    height:26px !important;
    min-width:auto !important;
    min-height:26px !important;
    padding:0 12px !important;
    border-radius:999px !important;
    background:#f4b000 !important;
    color:#fff !important;
    box-shadow:none !important;
    border:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-weight:800 !important;
}
.product-card .discount-circle .discount-num{
    font-size:14px !important;
    line-height:1 !important;
    color:#fff !important;
}
@media(max-width:620px){
    .product-card .discount-under-image{padding:8px 14px 0 14px !important;}
    .product-card .discount-circle{height:24px !important;padding:0 10px !important;}
    .product-card .discount-circle .discount-num{font-size:13px !important;}
}

.btn-danger{background:#fee4e2;color:#b42318}.btn-danger:hover{background:#fecdca}
.admin-actions{display:flex;gap:10px;flex-wrap:wrap}


/* v30 customer message details */
.message-full-text{
    background:#f8fafc;
    border:1px solid var(--border);
    border-radius:16px;
    padding:18px;
    white-space:normal;
    line-height:1.8;
    margin:12px 0 18px;
}
.message-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}
.btn-danger{background:#fee4e2;color:#b42318}
.btn-danger:hover{background:#fecdca}



/* v31 footer and separate support pages */
.footer-grid-clean{
    align-items:flex-start;
}
.site-footer a{
    display:block;
    width:max-content;
    max-width:100%;
}
.site-footer p a{
    display:inline;
}
.policy-single{
    grid-template-columns:2fr 1fr;
}
.policy-card .btn{
    margin-top:12px;
}
@media(max-width:980px){
    .policy-single{
        grid-template-columns:1fr;
    }
}

/* v33: cleaner slider/category arrows */
.hero-slider{
    position:relative;
}
.hero-arrow{
    width:44px !important;
    height:44px !important;
    border-radius:50% !important;
    background:rgba(255,255,255,.16) !important;
    color:#fff !important;
    border:1px solid rgba(255,255,255,.35) !important;
    box-shadow:0 12px 28px rgba(0,0,0,.22) !important;
    backdrop-filter:blur(8px) !important;
    font-size:0 !important;
    line-height:1 !important;
    transition:.2s ease !important;
}
.hero-arrow:hover{
    background:#fff !important;
    color:#123c8c !important;
    transform:translateY(-50%) scale(1.06) !important;
}
.hero-prev{left:22px !important;}
.hero-next{right:22px !important;}
.hero-prev::before,
.hero-next::before{
    font-size:26px !important;
    font-weight:900 !important;
    line-height:1 !important;
    display:block !important;
    margin-top:-2px !important;
}
.hero-prev::before{content:"‹";}
.hero-next::before{content:"›";}

.category-carousel-wrap{
    position:relative !important;
    padding:0 54px !important;
    gap:0 !important;
}
.category-row{
    flex:1 !important;
    scrollbar-width:none !important;
    padding:4px 2px 18px !important;
}
.category-row::-webkit-scrollbar{
    display:none !important;
}
.category-arrow{
    position:absolute !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    z-index:8 !important;
    width:42px !important;
    height:42px !important;
    flex:0 0 42px !important;
    border-radius:50% !important;
    border:1px solid rgba(31,94,255,.14) !important;
    background:#fff !important;
    color:var(--primary) !important;
    box-shadow:0 12px 26px rgba(16,24,40,.14) !important;
    font-size:0 !important;
    transition:.2s ease !important;
}
.category-arrow:hover{
    background:var(--primary) !important;
    color:#fff !important;
    transform:translateY(-50%) scale(1.07) !important;
}
.cat-prev{left:4px !important;}
.cat-next{right:4px !important;}
.cat-prev::before,
.cat-next::before{
    font-size:24px !important;
    font-weight:1000 !important;
    line-height:1 !important;
    display:block !important;
    margin-top:-2px !important;
}
.cat-prev::before{content:"‹";}
.cat-next::before{content:"›";}


@media(max-width:620px){
    .hero-arrow{
        width:36px !important;
        height:36px !important;
    }
    .hero-prev{left:12px !important;}
    .hero-next{right:12px !important;}
    .hero-prev::before,
    .hero-next::before{
        font-size:22px !important;
    }
    .category-carousel-wrap{
        padding:0 38px !important;
    }
    .category-arrow{
        display:grid !important;
        width:34px !important;
        height:34px !important;
        flex-basis:34px !important;
    }
    .cat-prev{left:0 !important;}
    .cat-next{right:0 !important;}
    .cat-prev::before,
    .cat-next::before{
        font-size:20px !important;
    }
}


/* v34 mobile cart outside menu */
.mobile-cart-visible{
    display:none;
}
@media(max-width:980px){
    .mobile-cart-visible{
        display:inline-flex !important;
        align-items:center;
        justify-content:center;
        gap:6px;
        background:#f8fafc;
        border:1px solid var(--border);
        color:var(--text);
        border-radius:14px;
        min-height:42px;
        padding:8px 12px;
        font-weight:900;
        box-shadow:0 6px 18px rgba(16,24,40,.06);
        margin-left:auto;
        white-space:nowrap;
    }
    .mobile-cart-visible .cart-count{
        margin-left:0;
    }
    .menu-toggle{
        margin-left:8px !important;
        flex:0 0 auto;
    }
    .nav-links .nav-cart-link{
        display:none !important;
    }
}
@media(max-width:520px){
    .mobile-cart-visible span:first-child{
        display:none;
    }
    .mobile-cart-visible{
        width:44px;
        height:42px;
        padding:0;
        border-radius:13px;
    }
}


/* v35 mobile top strip: one clean row */
@media(max-width:780px){
    .top-strip{
        overflow:hidden !important;
    }

    .top-strip .container{
        width:100% !important;
        max-width:100% !important;
        padding-left:8px !important;
        padding-right:8px !important;
    }

    .sigma-like-strip{
        display:flex !important;
        grid-template-columns:none !important;
        flex-direction:row !important;
        align-items:center !important;
        justify-content:space-between !important;
        flex-wrap:nowrap !important;
        gap:6px !important;
        min-height:52px !important;
        padding:6px 0 !important;
        overflow:hidden !important;
        text-align:left !important;
    }

    .top-info,
    .top-social,
    .top-controls{
        justify-self:auto !important;
        flex-wrap:nowrap !important;
        order:initial !important;
        flex-basis:auto !important;
        min-width:0 !important;
    }

    .top-info{
        display:flex !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:6px !important;
        flex:1 1 auto !important;
        overflow:hidden !important;
    }

    .top-info-item{
        display:inline-flex !important;
        align-items:center !important;
        gap:4px !important;
        font-size:12px !important;
        font-weight:900 !important;
        white-space:nowrap !important;
        min-width:0 !important;
    }

    .top-info-item:first-child span:last-child{
        max-width:92px !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        display:inline-block !important;
    }

    .top-icon{
        width:22px !important;
        height:22px !important;
        min-width:22px !important;
        border-width:2px !important;
    }

    .top-icon svg{
        width:13px !important;
        height:13px !important;
    }

    .top-social{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        gap:5px !important;
        flex:0 0 auto !important;
    }

    .social-icon{
        width:24px !important;
        height:24px !important;
        min-width:24px !important;
        font-size:21px !important;
    }

    .social-icon svg{
        width:14px !important;
        height:14px !important;
    }

    .top-controls{
        display:flex !important;
        align-items:center !important;
        justify-content:flex-end !important;
        gap:5px !important;
        flex:0 0 auto !important;
        white-space:nowrap !important;
    }

    .language-switch{
        display:inline-flex !important;
        align-items:center !important;
        gap:4px !important;
        height:30px !important;
        padding:0 7px !important;
        border-radius:999px !important;
        max-width:none !important;
        flex:0 0 auto !important;
    }

    .language-switch .globe{
        font-size:12px !important;
    }

    .lang-link{
        font-size:11px !important;
        line-height:1 !important;
    }

    .lang-divider{
        font-size:11px !important;
        opacity:.6 !important;
    }

    .theme-toggle{
        height:30px !important;
        padding:0 9px !important;
        font-size:11px !important;
        border-radius:999px !important;
        flex:0 0 auto !important;
    }
}

@media(max-width:430px){
    .sigma-like-strip{
        gap:4px !important;
    }

    .top-info{
        gap:4px !important;
    }

    .top-info-item{
        font-size:11px !important;
    }

    .top-info-item:first-child span:last-child{
        max-width:78px !important;
    }

    .top-info-item:nth-child(2) span:last-child{
        font-size:11px !important;
    }

    .top-social{
        gap:3px !important;
    }

    .social-icon{
        width:22px !important;
        height:22px !important;
        min-width:22px !important;
    }

    .language-switch{
        height:28px !important;
        padding:0 6px !important;
    }

    .lang-link{
        font-size:10px !important;
    }

    .theme-toggle{
        height:28px !important;
        padding:0 8px !important;
        font-size:10px !important;
    }
}


/* v36 language dropdown + clean theme switch */
.top-controls{
    gap:10px !important;
}

.language-switch.language-dropdown{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    height:38px !important;
    min-width:150px !important;
    background:#083b61 !important;
    border:1px solid rgba(255,255,255,.12) !important;
    border-radius:999px !important;
    color:#fff !important;
    padding:0 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.language-switch.language-dropdown summary{
    list-style:none !important;
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    width:100% !important;
    height:100% !important;
    padding:0 13px !important;
    cursor:pointer !important;
    color:#fff !important;
    font-weight:900 !important;
    line-height:1 !important;
}

.language-switch.language-dropdown summary::-webkit-details-marker{
    display:none !important;
}

.language-switch .globe{
    display:inline-grid !important;
    place-items:center !important;
    width:18px !important;
    height:18px !important;
    font-size:15px !important;
}

.language-switch .current-lang{
    font-size:14px !important;
    color:#fff !important;
    white-space:nowrap !important;
}

.language-switch .lang-arrow{
    margin-left:auto !important;
    font-size:14px !important;
    opacity:.9 !important;
    transform:translateY(-1px) !important;
}

.language-switch[open] .lang-arrow{
    transform:rotate(180deg) translateY(1px) !important;
}

.lang-menu{
    position:absolute !important;
    top:calc(100% + 8px) !important;
    right:0 !important;
    min-width:150px !important;
    background:#fff !important;
    border:1px solid var(--border) !important;
    border-radius:16px !important;
    box-shadow:0 16px 35px rgba(16,24,40,.16) !important;
    padding:7px !important;
    z-index:120 !important;
}

.lang-menu a{
    display:block !important;
    padding:9px 11px !important;
    border-radius:11px !important;
    color:#101828 !important;
    font-weight:800 !important;
    font-size:13px !important;
}

.lang-menu a:hover,
.lang-menu a.active{
    background:#eef4ff !important;
    color:var(--primary) !important;
}

.theme-switch{
    position:relative !important;
    width:56px !important;
    height:34px !important;
    border:0 !important;
    border-radius:999px !important;
    padding:0 !important;
    background:#24496e !important;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.18) !important;
    cursor:pointer !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    overflow:hidden !important;
    flex:0 0 56px !important;
}

.theme-switch .theme-knob{
    width:28px !important;
    height:28px !important;
    border-radius:50% !important;
    background:#fff !important;
    margin-left:3px !important;
    display:grid !important;
    place-items:center !important;
    color:#0b1930 !important;
    font-weight:900 !important;
    box-shadow:0 3px 9px rgba(0,0,0,.25) !important;
    transition:.22s ease !important;
    line-height:1 !important;
}

.theme-switch .theme-moon{
    display:block !important;
    font-size:21px !important;
    transform:translateY(-1px) !important;
}

.theme-switch .theme-sun{
    display:none !important;
    font-size:15px !important;
}

.theme-switch.is-dark .theme-knob{
    transform:translateX(22px) !important;
}

.theme-switch.is-dark .theme-moon{
    display:none !important;
}

.theme-switch.is-dark .theme-sun{
    display:block !important;
}

@media(max-width:780px){
    .top-controls{
        gap:5px !important;
    }
    .language-switch.language-dropdown{
        min-width:116px !important;
        height:32px !important;
    }
    .language-switch.language-dropdown summary{
        padding:0 9px !important;
        gap:6px !important;
    }
    .language-switch .globe{
        width:15px !important;
        height:15px !important;
        font-size:13px !important;
    }
    .language-switch .current-lang{
        font-size:12px !important;
    }
    .language-switch .lang-arrow{
        font-size:12px !important;
    }
    .lang-menu{
        min-width:124px !important;
    }
    .theme-switch{
        width:48px !important;
        height:30px !important;
        flex-basis:48px !important;
    }
    .theme-switch .theme-knob{
        width:24px !important;
        height:24px !important;
        margin-left:3px !important;
    }
    .theme-switch.is-dark .theme-knob{
        transform:translateX(18px) !important;
    }
    .theme-switch .theme-moon{
        font-size:18px !important;
    }
    .theme-switch .theme-sun{
        font-size:13px !important;
    }
}

@media(max-width:430px){
    .language-switch.language-dropdown{
        min-width:104px !important;
        height:30px !important;
    }
    .language-switch .current-lang{
        font-size:11px !important;
    }
    .theme-switch{
        width:46px !important;
        height:29px !important;
        flex-basis:46px !important;
    }
    .theme-switch .theme-knob{
        width:23px !important;
        height:23px !important;
    }
    .theme-switch.is-dark .theme-knob{
        transform:translateX(17px) !important;
    }
}


/* v37 admin login + language + username sidebar */
.admin-login-page{
    min-height:100vh;
    background:
        radial-gradient(circle at top left, rgba(31,94,255,.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(255,183,3,.16), transparent 28%),
        var(--bg);
}
.admin-login-shell{
    width:min(1100px,92%);
    min-height:100vh;
    margin:auto;
    display:grid;
    place-items:center;
    padding:32px 0;
}
.admin-login-card{
    width:min(520px,100%);
    background:#fff;
    border:1px solid var(--border);
    border-radius:30px;
    box-shadow:0 24px 70px rgba(16,24,40,.16);
    padding:34px;
}
.admin-login-brand{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
}
.admin-login-brand strong{
    display:block;
    font-size:22px;
}
.admin-login-brand small{
    color:var(--muted);
}
.admin-login-lang{
    display:flex;
    gap:8px;
    margin-bottom:20px;
    background:#f8fafc;
    border:1px solid var(--border);
    border-radius:999px;
    padding:6px;
    width:max-content;
}
.admin-login-lang a{
    padding:7px 13px;
    border-radius:999px;
    font-weight:900;
    color:var(--muted);
}
.admin-login-lang a.active{
    background:var(--primary);
    color:#fff;
}
.admin-login-card h1{
    margin:0 0 6px;
    font-size:34px;
}
.admin-login-card p{
    margin:0 0 20px;
    color:var(--muted);
}
.admin-login-card label{
    display:block;
    margin:14px 0 7px;
    font-weight:900;
}
.admin-login-card input{
    min-height:52px;
}
.admin-back-link{
    display:block;
    text-align:center;
    margin-top:16px;
    font-weight:800;
    color:var(--primary);
}
.admin-user-brand{
    display:block !important;
    line-height:1.25;
}
.admin-user-brand span{
    display:block;
    font-size:22px;
    font-weight:1000;
    color:#fff;
    word-break:break-word;
}
.admin-user-brand small{
    display:block;
    margin-top:3px;
    font-size:12px;
    color:rgba(255,255,255,.62);
}
.admin-lang-switch{
    display:flex;
    gap:6px;
    margin:0 0 18px;
    padding:5px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
}
.admin-lang-switch a{
    flex:1;
    text-align:center;
    padding:6px 8px;
    border-radius:999px;
    color:rgba(255,255,255,.75);
    font-size:12px;
    font-weight:900;
}
.admin-lang-switch a.active{
    background:#fff;
    color:#071225;
}
.admin-body .admin-topbar{
    display:none !important;
}
.admin-rtl{
    direction:rtl;
}
.admin-rtl .admin-sidebar{
    left:auto;
    right:0;
}
.admin-rtl .admin-main{
    margin-left:0;
    margin-right:280px;
}
.admin-rtl .admin-table th,
.admin-rtl .admin-table td{
    text-align:right;
}
@media(max-width:980px){
    .admin-rtl .admin-main{
        margin-right:0;
    }
}
@media(max-width:620px){
    .admin-login-card{
        padding:24px;
        border-radius:24px;
    }
    .admin-login-card h1{
        font-size:28px;
    }
}


/* v39 store settings, logo and responsive product-card fixes */
.site-logo-img{width:56px;height:46px;object-fit:contain;display:block;flex:0 0 auto;border-radius:14px;overflow:hidden;}
.logo{min-width:0;max-width:260px}.logo div{min-width:0}.logo strong,.logo small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-card{display:flex;flex-direction:column;height:100%}.product-body{display:flex;flex-direction:column;gap:10px;flex:1}.product-body form{margin-top:auto}
.product-image{height:220px;padding:30px 16px 18px;overflow:hidden}.product-image img{width:100%;height:170px;max-height:170px;object-fit:contain;object-position:center;}
.stock{z-index:3;display:inline-flex;align-items:center;gap:5px;line-height:1;white-space:nowrap;box-shadow:0 6px 14px rgba(16,24,40,.08)}
.product-card .discount-under-image{position:relative;z-index:2;min-height:34px;margin-top:0;}
.settings-preview{width:130px;height:70px;object-fit:contain;background:#f8fafc;border:1px solid var(--border);border-radius:12px;margin-top:8px;padding:8px}.span-2{grid-column:1/-1}.admin-form textarea{width:100%;border:1px solid var(--border);border-radius:12px;padding:12px;resize:vertical;font:inherit}
@media(max-width:980px){.nav-inner{flex-wrap:wrap;padding:10px 0}.search-bar{order:3;flex-basis:100%;max-width:none}.nav-links{gap:8px}.hero{grid-template-columns:1fr;padding:34px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid,.footer-grid-clean{grid-template-columns:1fr 1fr}.product-image{height:205px}.product-image img{height:155px}}
@media(max-width:620px){.container{width:min(100% - 28px,1180px)}.top-strip-inner{font-size:12px}.logo{max-width:180px}.site-logo-img{width:48px;height:40px}.hero{border-radius:22px;padding:28px 18px}.hero h1{font-size:28px}.hero p{font-size:15px}.product-grid{grid-template-columns:1fr}.product-card{border-radius:18px}.product-image{height:190px;padding-top:34px}.product-image img{height:135px}.stock{top:10px;left:10px;font-size:11px;padding:6px 8px}.product-card .discount-under-image{padding:8px 12px 0!important}.footer-grid,.footer-grid-clean{grid-template-columns:1fr}.admin-main{padding:18px}.form-grid{grid-template-columns:1fr!important}.span-2{grid-column:auto}}


/* v40 admin dashboard usability fixes */
.admin-body{min-height:100vh;overflow-x:hidden;}
.admin-sidebar{height:100vh;overflow-y:auto;overscroll-behavior:contain;padding-bottom:28px;}
.admin-sidebar a:last-child{margin-bottom:24px;}
.admin-main{min-height:100vh;}
.admin-card.admin-form{max-width:100%;overflow:visible;}
.admin-form .form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start;}
.admin-form input,.admin-form textarea{max-width:100%;}
.social-icon.whatsapp{background:#25d366;color:#fff;font-weight:900;font-size:18px;}
@media(max-height:760px){.admin-sidebar{padding-top:18px}.admin-sidebar a{padding-top:9px!important;padding-bottom:9px!important}.admin-user-brand{margin-bottom:12px!important}.admin-lang-switch{margin-bottom:18px!important}}
@media(max-width:980px){.admin-sidebar{height:auto;max-height:none;overflow:visible}.admin-form .form-grid{grid-template-columns:1fr 1fr}.admin-main{margin-left:0!important}}
@media(max-width:620px){.admin-form .form-grid{grid-template-columns:1fr!important}}

/* v41 polished admin dashboard filters and tables */
.admin-sidebar{background:#071225!important;border-right:0!important;box-shadow:10px 0 30px rgba(16,24,40,.08);scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.35) transparent;}
.admin-sidebar::-webkit-scrollbar{width:6px}.admin-sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.35);border-radius:999px}
.admin-sidebar>a:not(.admin-user-brand){border-radius:14px;margin:4px 14px;padding:12px 14px!important;color:#d7e3ff!important;transition:.18s ease;}
.admin-sidebar>a:not(.admin-user-brand):hover,.admin-sidebar>a.active{background:rgba(255,255,255,.12)!important;color:#fff!important;transform:translateX(3px)}
.admin-user-brand{padding:28px 28px 16px!important}.admin-user-brand span{font-size:26px;line-height:1.15}.admin-user-brand small{opacity:.75}
.admin-main{background:linear-gradient(180deg,#eef3f9 0%,#f8fafc 100%);padding:44px 34px;}
.admin-head-polished{align-items:flex-start;margin-bottom:22px}.admin-head-polished h1{font-size:38px;letter-spacing:-.03em;margin-bottom:4px}.admin-subtitle{margin:4px 0 0;color:#667085}
.admin-filter-card{background:rgba(255,255,255,.92);border:1px solid rgba(229,231,235,.9);border-radius:24px;box-shadow:0 18px 45px rgba(16,24,40,.08);padding:18px;display:grid;grid-template-columns:minmax(260px,1.6fr) repeat(4,minmax(150px,1fr)) auto;gap:14px;align-items:end;margin:0 0 22px;}
.filter-field{display:flex;flex-direction:column;gap:7px;min-width:0}.filter-field label{font-weight:800;color:#1d2939;font-size:13px}.filter-field input,.filter-field select{width:100%;height:46px;border:1px solid #d8dee8;border-radius:14px;background:#fff;padding:0 13px;font:inherit;outline:none;transition:.16s ease}.filter-field input:focus,.filter-field select:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(31,94,255,.1)}.filter-search input{font-weight:700}.filter-actions{display:flex;gap:9px;align-items:center;white-space:nowrap}.filter-actions .btn{height:46px;display:inline-flex;align-items:center}
.dashboard-grid-polished{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}.dashboard-grid-polished .dashboard-card{position:relative;overflow:hidden;border:1px solid rgba(229,231,235,.9);box-shadow:0 16px 38px rgba(16,24,40,.07)}.dashboard-grid-polished .dashboard-card:after{content:"";position:absolute;right:-30px;top:-30px;width:90px;height:90px;background:rgba(31,94,255,.08);border-radius:50%}.dashboard-card small{display:block;color:#98a2b3;font-weight:800;text-transform:uppercase;font-size:11px;letter-spacing:.08em;margin-bottom:8px}.dashboard-card strong{font-size:34px;letter-spacing:-.03em}.dashboard-card span{font-weight:700;color:#53627a}
.admin-table-card-polished{border-radius:24px;border:1px solid rgba(229,231,235,.9);box-shadow:0 18px 45px rgba(16,24,40,.08);overflow:hidden}.admin-table-card-polished h2{margin:0}.table-responsive{width:100%;overflow-x:auto}.admin-table{border-collapse:separate!important;border-spacing:0;width:100%}.admin-table thead th{background:#f8fafc;color:#344054;font-size:13px;text-transform:uppercase;letter-spacing:.04em}.admin-table th,.admin-table td{padding:15px 16px;border-bottom:1px solid #edf0f5}.admin-table tbody tr:hover{background:#f9fbff}.admin-thumb{width:58px;height:58px;object-fit:contain;border-radius:14px;background:#f8fafc;border:1px solid #edf0f5;padding:6px}.btn-small{padding:8px 12px!important;border-radius:10px!important;font-size:13px!important}.badge-info{background:#eef4ff;color:#1f5eff}.badge-success{background:#ecfdf3;color:#027a48}.badge-danger{background:#fef3f2;color:#b42318}.badge-pending{background:#fff7e6;color:#b54708}.badge-completed{background:#ecfdf3;color:#027a48}
.status-tabs-polished{gap:10px;flex-wrap:wrap;margin-bottom:20px}.status-tabs-polished .status-tab{border-radius:16px;padding:12px 15px;box-shadow:0 8px 22px rgba(16,24,40,.06);border:1px solid rgba(229,231,235,.8)}.status-tabs-polished .status-tab.is-active{outline:3px solid rgba(31,94,255,.16);transform:translateY(-1px)}
@media(max-width:1280px){.admin-filter-card{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-search{grid-column:1/-1}.filter-actions{grid-column:1/-1}}
@media(max-width:860px){.admin-main{padding:24px 18px}.admin-head-polished{flex-direction:column;gap:14px}.admin-filter-card{grid-template-columns:1fr 1fr;border-radius:20px}.filter-search,.filter-actions{grid-column:1/-1}.admin-head-polished h1{font-size:30px}}
@media(max-width:560px){.admin-filter-card{grid-template-columns:1fr}.filter-actions{flex-wrap:wrap}.filter-actions .btn{flex:1;justify-content:center}.admin-table th,.admin-table td{padding:12px 10px}.dashboard-card strong{font-size:28px}}


/* v42 admin sidebar final polish */
.admin-sidebar{
    width:270px!important;
    padding:22px 14px!important;
    gap:4px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
}
.admin-main{margin-left:270px!important;}
.admin-user-brand,
.admin-brand.admin-user-brand{
    padding:18px 18px 14px!important;
    margin:0 0 10px!important;
    display:block!important;
    line-height:1.1!important;
}
.admin-user-brand span{
    display:block!important;
    font-size:24px!important;
    line-height:1.08!important;
    max-width:190px!important;
    word-break:normal!important;
}
.admin-user-brand small{display:block!important;margin-top:5px!important;font-size:13px!important;color:#98a2b3!important;}
.admin-lang-switch{margin:8px 4px 22px!important;height:70px!important;padding:6px!important;border-radius:999px!important;}
.admin-lang-switch a{display:grid!important;place-items:center!important;padding:0!important;border-radius:999px!important;font-size:15px!important;font-weight:900!important;}
.admin-sidebar>a:not(.admin-user-brand){
    margin:3px 8px!important;
    padding:11px 16px!important;
    min-height:44px!important;
    display:flex!important;
    align-items:center!important;
    font-size:17px!important;
}
.admin-sidebar>a.active{background:rgba(255,255,255,.14)!important;color:#fff!important;}
.admin-sidebar>a:last-child{margin-top:4px!important;margin-bottom:18px!important;}
@media(max-height:760px){
    .admin-user-brand span{font-size:21px!important;}
    .admin-lang-switch{height:56px!important;margin-bottom:12px!important;}
    .admin-sidebar>a:not(.admin-user-brand){min-height:38px!important;padding:8px 14px!important;font-size:15px!important;}
}
@media(max-width:980px){.admin-sidebar{width:auto!important}.admin-main{margin-left:0!important}}


/* v43 final admin RTL and dashboard layout fixes */
.admin-body{overflow-x:hidden!important;}
.admin-main{max-width:calc(100vw - 270px)!important;overflow-x:hidden!important;}
.admin-rtl .admin-main{margin-left:0!important;margin-right:270px!important;max-width:calc(100vw - 270px)!important;}
.admin-rtl .admin-sidebar{left:auto!important;right:0!important;border-left:0!important;}
.admin-rtl .admin-head,.admin-rtl .admin-head-polished{direction:rtl;text-align:right;}
.admin-rtl .admin-head-polished{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;}
.admin-rtl .admin-actions{direction:rtl;display:flex!important;gap:10px!important;flex-wrap:wrap!important;}
.admin-rtl .admin-filter-card{direction:rtl;text-align:right;}
.admin-rtl .filter-field label{text-align:right;}
.admin-rtl .filter-field input,.admin-rtl .filter-field select{text-align:right;direction:rtl;}
.admin-rtl .filter-actions{direction:ltr;justify-content:flex-start;}
.admin-rtl .dashboard-grid-polished{direction:rtl;}
.admin-rtl .dashboard-card{text-align:right;}
.admin-rtl .admin-table-card-polished,.admin-rtl .table-card{direction:rtl;text-align:right;}
.admin-rtl .section-title-row{direction:rtl;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
.admin-rtl .admin-table{direction:rtl;}
.admin-rtl .admin-table th,.admin-rtl .admin-table td{text-align:right!important;}
.admin-rtl .btn,.admin-rtl button,.admin-rtl input,.admin-rtl select,.admin-rtl textarea{font-family:Tahoma,Arial,sans-serif;}
.admin-rtl .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;line-height:1.2!important;min-height:44px!important;}
.admin-rtl .admin-sidebar>a:not(.admin-user-brand){justify-content:flex-start!important;text-align:right!important;transform:none!important;}
.admin-rtl .admin-sidebar>a:not(.admin-user-brand):hover{transform:none!important;}
.admin-rtl .admin-sidebar>a.active{transform:none!important;}
.admin-rtl .admin-user-brand{text-align:right!important;}
.admin-rtl .admin-user-brand span{margin-left:auto!important;margin-right:0!important;}
.admin-rtl .admin-lang-switch{direction:rtl;}
.admin-filter-card{max-width:100%!important;}
.table-card,.admin-table-card-polished{max-width:100%!important;}
.form-card,.admin-card,.table-card{overflow:hidden;}
.table-responsive{max-width:100%;}
@media(max-width:1280px){
  .admin-main,.admin-rtl .admin-main{max-width:calc(100vw - 270px)!important;}
  .admin-filter-card{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .filter-search{grid-column:1/-1!important;}
  .filter-actions{grid-column:1/-1!important;}
}
@media(max-width:980px){
  .admin-main,.admin-rtl .admin-main{margin-left:0!important;margin-right:0!important;max-width:100vw!important;}
  .admin-sidebar{position:static!important;height:auto!important;}
}
@media(max-width:640px){.admin-filter-card{grid-template-columns:1fr!important}.admin-head-polished,.admin-rtl .admin-head-polished{display:block!important}.admin-actions{margin-top:12px}}

/* v44 centered admin language switch buttons */
.admin-lang-switch{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    align-items:center!important;
    gap:0!important;
    overflow:hidden!important;
}
.admin-lang-switch a{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    line-height:1!important;
    transform:none!important;
}
.admin-lang-switch a.active{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    transform:none!important;
}
.admin-rtl .admin-lang-switch{direction:ltr!important;}
.admin-rtl .admin-lang-switch a{
    direction:ltr!important;
    text-align:center!important;
    justify-content:center!important;
}

/* v46 storefront product pagination */
.pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:28px 0 12px;}
.page-link,.page-dots{min-width:42px;height:42px;padding:0 13px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;border:1px solid var(--border);background:#fff;color:var(--text);box-shadow:0 8px 20px rgba(16,24,40,.06);}
.page-link:hover{background:var(--primary);color:#fff;border-color:var(--primary);transform:translateY(-1px)}
.page-link.active{background:var(--primary);color:#fff;border-color:var(--primary);}
.page-link.disabled{opacity:.45;pointer-events:none;background:#f8fafc;color:var(--muted);}
.page-dots{box-shadow:none;background:transparent;border-color:transparent;color:var(--muted);}
html[dir="rtl"] .pagination{direction:ltr;}
@media(max-width:620px){.page-link,.page-dots{min-width:36px;height:36px;border-radius:12px;padding:0 10px}.pagination{gap:6px}}

/* v47 Almostafa black-red brand, mobile logo, pagination line */
:root{--bg:#f7f7f8;--card:#ffffff;--text:#080a0f;--muted:#6b7280;--primary:#ef1d1d;--primary-dark:#b90000;--accent:#ffbf00;--danger:#d92d20;--success:#039855;--border:#e6e7eb;--dark:#030406;--shadow:0 18px 45px rgba(8,10,15,.08)}
.top-strip,.site-footer{background:#030406!important}.main-nav{border-bottom:1px solid rgba(239,29,29,.12)}.logo-mark{background:linear-gradient(135deg,#ff2b2b,#b40000)!important;box-shadow:0 10px 24px rgba(239,29,29,.25)}.btn-primary,.search-bar button{background:linear-gradient(135deg,#ff2b2b,#c40000)!important}.btn-primary:hover,.search-bar button:hover{background:#9f0000!important}.cart-count{background:#ffbf00!important;color:#070707!important}.hero{background:radial-gradient(circle at 72% 28%,rgba(239,29,29,.45),transparent 32%),linear-gradient(135deg,#030406,#171717 55%,#3b0505)!important}.price-row strong,.price-big strong{color:#e31818}.page-link.active,.page-link:hover{background:#e31818!important;border-color:#e31818!important}.discount-circle{background:#e31818!important}.sub-category-link{padding-inline-start:24px!important;color:#64748b!important}.pagination{flex-wrap:nowrap!important;overflow-x:auto!important;justify-content:center!important;padding:4px 8px 12px;scrollbar-width:none}.pagination::-webkit-scrollbar{display:none}.page-link,.page-dots{flex:0 0 auto}.site-logo-img{width:72px!important;height:52px!important;object-fit:contain!important}.logo{gap:12px!important}.logo strong{font-size:20px}.logo small{font-size:13px}
@media(max-width:620px){.main-nav{position:sticky;top:0}.nav-inner{min-height:74px!important;gap:10px!important;flex-wrap:nowrap!important}.logo{max-width:235px!important;flex:1 1 auto!important;min-width:0!important}.site-logo-img{width:46px!important;height:46px!important;object-fit:contain!important}.logo-mark{width:46px!important;height:46px!important;border-radius:14px!important}.logo strong{font-size:18px!important;line-height:1.1}.logo small{font-size:12px!important;max-width:150px}.mobile-cart-visible{width:54px!important;height:54px!important;border-radius:16px!important;flex:0 0 54px!important}.menu-toggle{width:54px!important;height:54px!important;flex:0 0 54px!important;background:#030b1a!important}.pagination{justify-content:flex-start!important;margin-inline:0!important}.page-link,.page-dots{min-width:44px!important;height:44px!important}}

/* v48 compact pagination and dependent subcategory selects */
.pagination{max-width:100%;overflow:visible!important;flex-wrap:nowrap!important;justify-content:center!important;gap:5px!important;padding-inline:0!important;}
.page-link,.page-dots{min-width:34px!important;height:34px!important;border-radius:10px!important;padding:0 8px!important;font-size:14px!important;}
.filters{align-items:center}.filters select{min-width:0}.filters #subCategorySelect option[hidden]{display:none}.admin-form select option[hidden], select option[hidden]{display:none}
@media(max-width:620px){.pagination{gap:4px!important;justify-content:center!important}.page-link,.page-dots{min-width:31px!important;height:34px!important;padding:0 7px!important;font-size:13px!important}.filters{grid-template-columns:1fr!important}}

/* v49 nested category flyout menu */
.dropdown-menu.category-flyout-menu{min-width:280px;padding:0!important;border-radius:18px!important;overflow:visible!important;background:#fff!important;border:1px solid var(--border)!important;box-shadow:0 22px 55px rgba(8,10,15,.18)!important;}
.category-flyout-level{list-style:none;margin:0;padding:8px 0;min-width:280px;background:#fff;border-radius:18px;border:1px solid var(--border);box-shadow:0 18px 42px rgba(8,10,15,.12)}
.category-flyout-menu>.category-flyout-level{border:0;box-shadow:none}
.category-flyout-item{position:relative;margin:0}.category-flyout-item>a{display:flex!important;align-items:center;justify-content:space-between;gap:18px;padding:13px 18px!important;color:#172033!important;font-weight:750;border-bottom:1px solid #edf0f5;white-space:nowrap;min-height:48px}.category-flyout-item:last-child>a{border-bottom:0}.category-flyout-item>a b{font-size:24px;line-height:1;color:#9aa3b2}.category-flyout-item:hover>a{background:#fff4f4!important;color:#d40000!important}.category-flyout-item:hover>a b{color:#d40000}.category-flyout-item>.category-flyout-level{display:none;position:absolute;top:-8px;left:100%;z-index:80}.category-flyout-item:hover>.category-flyout-level{display:block}
html[dir="rtl"] .category-flyout-item>.category-flyout-level{left:auto;right:100%}html[dir="rtl"] .category-flyout-item>a b{transform:rotate(180deg)}
@media(max-width:980px){.dropdown-menu.category-flyout-menu{position:static!important;box-shadow:none!important;border:0!important;background:transparent!important;width:100%!important}.category-flyout-level{box-shadow:none;border:0;border-radius:0;background:transparent;min-width:0;width:100%;padding:0}.category-flyout-item>a{white-space:normal;border-bottom:1px solid rgba(255,255,255,.08);padding:12px 10px!important}.category-flyout-item>.category-flyout-level{display:block;position:static;padding-inline-start:18px}.category-flyout-item>a b{display:none}.category-flyout-item:hover>a{background:rgba(239,29,29,.08)!important}}


/* v50 clearer admin main/subcategory controls */
.category-type-toggle{display:grid;grid-template-columns:1fr;gap:8px;margin:8px 0 14px}.category-type-toggle label{display:flex;align-items:center;gap:9px;background:#f8fafc;border:1px solid var(--border);border-radius:12px;padding:10px 12px;font-weight:800}.category-type-toggle input{width:auto!important}.admin-form select:disabled,select:disabled{opacity:.65;background:#f3f4f6}#parentCategoryBox{margin-bottom:14px}


/* v51 footer primary phone and stacked mobile numbers */
.footer-phone-list{display:flex;flex-direction:column;gap:10px;margin-top:-8px;margin-bottom:10px;}
.footer-phone-list a{display:block!important;width:max-content;max-width:100%;}


/* v52 footer primary phone without label */
.footer-primary-phone{display:inline-block!important;font-weight:700;color:#fff!important;margin-top:4px;}
.footer-primary-phone:hover{color:var(--primary)!important;}

/* v53 store phones above address */
.footer-store-phone-list{margin:0 0 18px!important;gap:12px!important;}
.footer-store-phone-list a{font-weight:700;color:#fff!important;}
.footer-store-phone-list a:hover{color:var(--primary)!important;}

/* v54 final footer phone placement */
.footer-left-phone-list{margin:0 0 18px!important;gap:8px!important;}
.footer-left-phone-list a{font-weight:700;color:#fff!important;}
.footer-store-primary-phone{display:inline-block!important;font-weight:700;color:#fff!important;margin:0 0 8px;}
.footer-store-primary-phone:hover,.footer-left-phone-list a:hover{color:var(--primary)!important;}

/* v55 resilient header logo and long brand name */
.main-nav{overflow:hidden;}
.nav-inner{
    display:grid!important;
    grid-template-columns:minmax(220px,340px) minmax(260px,1fr) auto auto!important;
    align-items:center!important;
    gap:16px!important;
}
.logo{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    display:flex!important;
    align-items:center!important;
}
.logo > span,
.logo > div{
    min-width:0!important;
    flex:1 1 auto!important;
    overflow:hidden!important;
}
.logo strong{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    line-height:1.15!important;
}
.logo small{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.site-logo-img,.logo-mark{
    flex:0 0 auto!important;
    object-fit:contain!important;
}
.search-bar.desktop-search{
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
}
.nav-links{
    min-width:max-content!important;
    margin-left:0!important;
}
.mobile-cart-visible,.menu-toggle{justify-self:end;}

@media(max-width:980px){
    .nav-inner{
        grid-template-columns:minmax(0,1fr) auto auto!important;
        gap:10px!important;
        padding:10px 0!important;
    }
    .desktop-search{display:none!important;}
    .logo{
        max-width:100%!important;
        min-width:0!important;
    }
    .site-logo-img,.logo-mark{
        width:48px!important;
        height:48px!important;
    }
    .logo strong{
        font-size:18px!important;
        max-width:100%!important;
    }
    .logo small{
        font-size:12px!important;
        max-width:100%!important;
    }
}
@media(max-width:520px){
    .nav-inner{
        grid-template-columns:minmax(0,1fr) 52px 52px!important;
        gap:8px!important;
    }
    .logo{gap:9px!important;}
    .site-logo-img,.logo-mark{
        width:42px!important;
        height:42px!important;
        border-radius:13px!important;
    }
    .logo strong{font-size:16px!important;}
    .logo small{font-size:11px!important;}
    .mobile-cart-visible,.menu-toggle{
        width:52px!important;
        height:52px!important;
        flex:0 0 52px!important;
    }
}
@media(max-width:380px){
    .logo small{display:none!important;}
    .logo strong{font-size:15px!important;}
    .site-logo-img,.logo-mark{width:40px!important;height:40px!important;}
}

/* v56 full brand name without ellipsis, logo always visible */
.main-nav{overflow:visible!important;}
.nav-inner{
    display:grid!important;
    grid-template-columns:minmax(260px,auto) minmax(320px,1fr) auto!important;
    align-items:center!important;
    gap:18px!important;
    min-height:auto!important;
    padding:12px 0!important;
}
.logo{
    max-width:none!important;
    min-width:0!important;
    overflow:visible!important;
    align-self:center!important;
}
.logo > span,
.logo > div{
    overflow:visible!important;
    min-width:0!important;
}
.logo strong{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    line-height:1.15!important;
    max-width:360px!important;
}
.logo small{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    line-height:1.25!important;
    max-width:360px!important;
}
.site-logo-img,.logo-mark{
    display:block!important;
    flex:0 0 auto!important;
    width:58px!important;
    height:58px!important;
    object-fit:contain!important;
}
.search-bar.desktop-search{
    grid-column:auto!important;
    min-width:260px!important;
    width:100%!important;
}
.nav-links{justify-self:end!important;}
@media(max-width:1200px){
    .nav-inner{
        grid-template-columns:minmax(240px,1fr) minmax(280px,1.2fr) auto!important;
    }
    .logo strong,.logo small{max-width:320px!important;}
}
@media(max-width:980px){
    .nav-inner{
        grid-template-columns:minmax(0,1fr) auto auto!important;
        gap:10px!important;
        padding:10px 0!important;
    }
    .desktop-search{display:none!important;}
    .logo{
        max-width:none!important;
        min-width:0!important;
    }
    .logo strong{
        max-width:100%!important;
        font-size:17px!important;
        white-space:normal!important;
        overflow-wrap:anywhere!important;
    }
    .logo small{
        max-width:100%!important;
        font-size:12px!important;
        white-space:normal!important;
    }
    .site-logo-img,.logo-mark{
        width:46px!important;
        height:46px!important;
    }
}
@media(max-width:520px){
    .nav-inner{grid-template-columns:minmax(0,1fr) 50px 50px!important;}
    .logo{gap:8px!important;}
    .site-logo-img,.logo-mark{width:42px!important;height:42px!important;}
    .logo strong{font-size:15px!important;line-height:1.1!important;}
    .logo small{font-size:11px!important;line-height:1.15!important;}
    .mobile-cart-visible,.menu-toggle{width:50px!important;height:50px!important;flex:0 0 50px!important;}
}
@media(max-width:380px){
    .logo strong{font-size:14px!important;}
    .logo small{font-size:10px!important;display:block!important;}
    .site-logo-img,.logo-mark{width:38px!important;height:38px!important;}
}


/* v40 mobile language dropdown visibility fix */
@media(max-width:780px){
    .top-strip{
        overflow:visible !important;
        z-index:1000 !important;
    }

    .sigma-like-strip,
    .top-controls,
    .language-switch.language-dropdown{
        overflow:visible !important;
    }

    .language-switch.language-dropdown{
        z-index:1001 !important;
    }

    .lang-menu{
        z-index:5000 !important;
        top:calc(100% + 10px) !important;
        right:0 !important;
    }
}


/* v41 mobile categories dropdown toggle fix */
@media(max-width:780px){
    .nav-links .category-dropdown .dropdown-menu{
        display:none !important;
        position:static !important;
        width:100% !important;
        max-height:320px !important;
        overflow-y:auto !important;
        margin-top:10px !important;
    }

    .nav-links .category-dropdown.open .dropdown-menu{
        display:block !important;
    }

    .nav-links .category-dropdown{
        width:100% !important;
    }

    .nav-links .category-dropdown > button{
        width:100% !important;
        text-align:left !important;
    }
}


/* v42 category main links with arrow-only subcategory toggles */
.category-flyout-item .category-row-link{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
}
.category-flyout-item .category-row-link > a{
    flex:1 1 auto !important;
    display:block !important;
}
.category-flyout-item .category-row-link > a b{
    display:none !important;
}
.subcategory-toggle{
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
    border:0 !important;
    border-radius:999px !important;
    background:#eef2f7 !important;
    color:#101828 !important;
    font-size:22px !important;
    line-height:1 !important;
    cursor:pointer !important;
    display:grid !important;
    place-items:center !important;
    transition:transform .18s ease, background .18s ease !important;
}
.category-flyout-item.sub-open > .category-row-link .subcategory-toggle{
    transform:rotate(90deg) !important;
    background:#dbeafe !important;
}
.category-flyout-item.has-children > .category-flyout-level{
    display:none !important;
    margin:4px 0 8px 14px !important;
    padding-left:14px !important;
    border-left:1px solid #e4e7ec !important;
}
.category-flyout-item.has-children.sub-open > .category-flyout-level{
    display:block !important;
}

@media(max-width:780px){
    .category-flyout-menu .category-flyout-level.level-0 > .category-flyout-item > .category-row-link > a{
        font-weight:800 !important;
    }
    .category-flyout-menu .category-flyout-level.level-1,
    .category-flyout-menu .category-flyout-level.level-2{
        max-height:none !important;
    }
}


/* v43 customer auth and account polish */
.auth-page{display:grid;place-items:center;padding:35px 0}.auth-card{width:min(100%,520px);background:#fff;border:1px solid var(--border);border-radius:28px;box-shadow:0 20px 55px rgba(16,24,40,.12);padding:30px}.auth-card-wide{width:min(100%,760px)}.auth-card h1{margin:0 0 8px;font-size:32px}.auth-card p{color:#667085;margin:0 0 22px}.auth-card label,.account-card label{font-weight:800;color:#344054}.auth-grid,.account-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.auth-full,.account-full{grid-column:1/-1}.auth-switch{text-align:center;margin-top:18px;color:#667085}.auth-switch a{color:#0b74de!important;font-weight:900;text-decoration:underline}.account-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;background:linear-gradient(135deg,#071225,#0b4f8a);color:#fff;border-radius:30px;padding:28px;margin-bottom:22px;box-shadow:0 20px 50px rgba(7,18,37,.2)}.account-hero span{display:inline-block;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:6px 12px;font-weight:900}.account-hero h1{margin:10px 0 4px;font-size:34px}.account-hero p{margin:0;color:#d6e8ff}.account-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr);gap:22px}.account-card{background:#fff;border:1px solid var(--border);border-radius:26px;box-shadow:var(--shadow);padding:24px}.orders-toggle{width:100%;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;border:0;border-radius:18px;background:#f0f7ff;color:#0b3558;padding:14px 16px;font-weight:900;font-size:18px;cursor:pointer}.orders-toggle strong{background:#0b74de;color:#fff;border-radius:999px;min-width:34px;height:34px;display:grid;place-items:center}.orders-toggle.closed b{transform:rotate(-90deg)}.orders-list{display:none;margin-top:14px}.orders-list.open{display:grid;gap:10px}.order-mini-card{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;border:1px solid #e4e7ec;border-radius:16px;padding:12px;background:#fcfcfd}.order-mini-card small{display:block;color:#667085;margin-top:3px}.delete-account{margin-top:20px;padding-top:18px;border-top:1px solid #e4e7ec}.account-menu{min-width:180px}.account-menu a{font-weight:800}.muted{color:#667085}.nav-links .account-dropdown .dropdown-menu{z-index:40}
@media(max-width:780px){.auth-card{padding:22px;border-radius:22px}.auth-grid,.account-form-grid,.account-layout{grid-template-columns:1fr}.account-hero{align-items:flex-start;flex-direction:column}.account-hero h1{font-size:28px}.order-mini-card{grid-template-columns:1fr;align-items:start}.nav-links .account-dropdown{width:100%!important}.nav-links .account-dropdown .dropdown-menu{position:static!important;width:100%!important;margin-top:8px!important}}


/* v44 customer order details page */
.order-mini-card{text-decoration:none!important;color:inherit!important;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}.order-mini-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(16,24,40,.10);border-color:#0b74de}.order-mini-card em{font-style:normal;color:#0b74de;font-weight:900}.order-details-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;background:linear-gradient(135deg,#071225,#0b4f8a);color:#fff;border-radius:30px;padding:28px;margin-bottom:22px;box-shadow:0 20px 50px rgba(7,18,37,.2)}.order-details-hero span{display:inline-block;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:6px 12px;font-weight:900}.order-details-hero h1{font-size:42px;margin:10px 0 4px}.order-details-hero p{margin:0;color:#d6e8ff}.order-status-pill{border-radius:999px;padding:12px 18px;background:#fff;color:#101828;font-weight:900}.order-details-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr);gap:22px}.order-items-card h2{margin-top:0}.order-detail-row{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #e4e7ec}.order-detail-row strong{display:block;color:#101828}.order-detail-row small{display:block;color:#667085;margin-top:4px}.order-detail-row span{color:#667085;font-weight:800}.order-detail-row b{color:#0b3558}.order-detail-total{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding:18px;border-radius:18px;background:#f0f7ff;color:#0b3558;font-size:20px;font-weight:900}@media(max-width:780px){.order-details-hero{flex-direction:column;align-items:flex-start}.order-details-layout{grid-template-columns:1fr}.order-detail-row{grid-template-columns:1fr}.order-details-hero h1{font-size:34px}}


/* v45 clean account page and reliable dropdowns */
.account-dropdown .dropdown-menu{display:none!important}.account-dropdown.open .dropdown-menu{display:block!important}.account-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}.auth-blue-link{display:inline-block;color:#0b74de!important;font-weight:900;margin:8px 0 14px;text-decoration:underline}.account-card h2{display:flex;align-items:center;gap:8px}.account-card{position:relative;overflow:hidden}.account-card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#0b74de,#071225)}.account-form-grid input,.account-form-grid textarea,.auth-card input,.auth-card textarea{border:1px solid #d0d5dd;border-radius:14px;padding:12px 14px;background:#fff}.account-hero{background:linear-gradient(135deg,#071225 0%,#0b3558 55%,#0b74de 100%)}.delete-account{background:#fff5f5;border:1px solid #fecaca;border-radius:18px;padding:16px;margin-top:20px}@media(max-width:780px){.account-dropdown.open .dropdown-menu{display:block!important}.nav-links .account-dropdown:not(.open) .dropdown-menu{display:none!important}.account-actions{flex-direction:column}.account-actions .btn{width:100%}}


/* v46 visible activation message after registration */
.activation-card{max-width:620px!important}.activation-icon{width:72px;height:72px;border-radius:24px;background:#eaf4ff;color:#0b74de;display:grid;place-items:center;font-size:34px;margin:0 auto 16px;font-weight:900}.activation-email{display:inline-block;background:#f2f4f7;border:1px solid #e4e7ec;border-radius:999px;padding:8px 14px;color:#344054;font-weight:900}.auth-help-text{font-size:13px;color:#667085;margin-top:18px!important}.activation-link-input{width:100%;border:1px solid #d0d5dd;border-radius:14px;padding:12px 14px;background:#f9fafb;color:#344054;text-align:center;font-size:13px;margin-top:8px}
