@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    /* ---- Design Tokens: Spacing Scale ---- */
    --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
    --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
    /* ---- Design Tokens: Radius Scale ---- */
    --radius-sm: 8px; --radius-md: 14px; --radius-lg: 20px; --radius-xl: 28px; --radius-full: 999px;
    /* ---- Design Tokens: Font Scale ---- */
    --fs-xs: 12px; --fs-sm: 13.5px; --fs-base: 15px; --fs-lg: 18px; --fs-xl: 24px; --fs-2xl: 32px; --fs-3xl: 42px;
    /* ---- Design Tokens: Elevation Scale ---- */
    --elev-1: 0 1px 3px rgba(0,0,0,0.3);
    --elev-2: 0 4px 20px rgba(0,0,0,0.35);
    --elev-3: 0 15px 40px rgba(0,0,0,0.5);
    --elev-4: 0 25px 60px rgba(0,0,0,0.6);

    --navy: #060d1a;
    --navy-light: #0d1a2e;
    --blue: #06b6d4;
    --blue-light: #22d3ee;
    --gold: #22d3ee;
    --gray-bg: #0a1120;
    --text-dark: #e7edf5;
    --text-muted: #a3b1c4;
    --white: #131b2d;
    --radius: 14px;
    --shadow: 0 4px 20px rgba(0,0,0,0.35);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.5);
}
body { background: var(--gray-bg); }
.card, .cat-card, .why-card, .testi-card, .form-box, .faq-item, .stat-card, .admin-sidebar a {
    border: 1px solid rgba(255,255,255,0.06);
}
.why-card { background: linear-gradient(155deg, #151f35 0%, #101828 100%) !important; }
.why-card:nth-child(2) { background: linear-gradient(155deg, #06b6d4 0%, #0891a8 100%) !important; }
.why-card:nth-child(2) h4, .why-card:nth-child(2) p { color: #06131a !important; }
.why-card h4, .stat-card .num, .card-body h3, .testi-card .name { color: var(--text-dark); }
.form-group input, .form-group textarea, .form-group select,
.advanced-search input, .advanced-search select, .shop-search input, .cta-form input {
    background: #0d1626; color: var(--text-dark); border-color: rgba(255,255,255,0.12);
}
.form-group input::placeholder, .advanced-search input::placeholder { color: #64748b; }
table { background: var(--white); }
table th { background: #0d1626; color: var(--text-dark); }
table td { border-bottom-color: rgba(255,255,255,0.06); }
.admin-content table tbody tr:nth-child(even) { background: #0f1a2c; }
.admin-content table tbody tr:hover { background: #142238; }
.btn-secondary { background: #1c2740; color: var(--text-dark); }
.footer-col a, .footer-col p { color: #8b9bb0; }
::selection { background: var(--gold); color: #06131a; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Vazirmatn', Tahoma, Arial, sans-serif; background: var(--gray-bg); color: var(--text-dark); line-height: 1.9; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
img { max-width: 100%; display: block; }

/* HEADER */
.site-header { background: var(--navy); color: #ffffff; padding: 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 16px 0; }
.logo { font-size: 22px; font-weight: 800; color: #ffffff; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; }
.logo::before { content: ""; width: 10px; height: 10px; background: var(--gold); border-radius: 3px; display: inline-block; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-size: 14.5px; font-weight: 500; opacity: 0.9; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; bottom: 0; right: 0; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.25s ease; }
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; font-size: 13.5px; }
.cart-link { position: relative; display: flex; align-items: center; gap: 5px; }
.cart-badge { background: var(--gold); color: var(--navy); border-radius: 50%; padding: 1px 7px; font-size: 11px; font-weight: 800; }

.main-content { padding: 40px 0 70px; min-height: 60vh; }
.flash-message, .error-message { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 22px; font-size: 14px; }
.flash-message { background: #e7f7ee; border: 1px solid #34c77c; color: #0f6b3f; }
.error-message { background: #fdeaea; border: 1px solid #e35b5b; color: #9c2b2b; }

/* HERO */
.hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 55%, #163a63 100%); color: #ffffff; padding: 90px 40px; border-radius: 18px; text-align: center; margin-bottom: 50px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(46,139,240,0.25), transparent 60%); }
.hero-tag { display: inline-block; background: rgba(201,162,75,0.15); color: var(--gold); border: 1px solid rgba(201,162,75,0.4); padding: 6px 18px; border-radius: 30px; font-size: 13px; margin-bottom: 20px; position: relative; }
.hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 18px; position: relative; }
.hero p { font-size: 16.5px; opacity: 0.85; margin-bottom: 30px; max-width: 620px; margin-left: auto; margin-right: auto; position: relative; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

.btn { display: inline-block; background: var(--blue); color: var(--white); padding: 13px 30px; border-radius: 8px; font-weight: 700; font-family: inherit; border: none; cursor: pointer; font-size: 14.5px; transition: all 0.25s ease; box-shadow: 0 6px 18px rgba(14,95,196,0.35); }
.btn:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14,95,196,0.45); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(201,162,75,0.35); }
.btn-gold:hover { background: #d9b862; }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: #ffffff; box-shadow:none; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-secondary { background: #1c2740; color: var(--text-dark); box-shadow:none; }
.btn-danger { background: #e35b5b; color: #fff; box-shadow:none; }
.btn-small { padding: 7px 16px; font-size: 13px; }

.section-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; border-right: 4px solid var(--gold); padding-right: 14px; }
.section-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 26px; padding-right: 18px; }
.section-head-row { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom: 24px; flex-wrap:wrap; gap:10px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 210px)); gap: 16px; margin-bottom: 55px; justify-content: start; }
.cat-card { background: var(--white); border-radius: var(--radius); padding: 26px 16px; text-align: center; box-shadow: var(--shadow); border: 1px solid transparent; }
.cat-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-icon { font-size: 30px; margin-bottom: 10px; }
.cat-card h4 { font-size: 14.5px; font-weight: 700; }

.stats-bar { background: var(--navy); color: #fff; border-radius: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); padding: 40px 20px; margin: 55px 0; text-align: center; }
.stats-bar .stat h3 { font-size: 32px; color: var(--gold); font-weight: 800; }
.stats-bar .stat p { font-size: 13.5px; opacity: 0.8; margin-top: 6px; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 22px; margin-bottom: 55px; }
.why-card { background: var(--white); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); }
.why-card .icon { font-size: 26px; margin-bottom: 14px; color: var(--blue); }
.why-card h4 { font-size: 16px; margin-bottom: 8px; font-weight: 700; }
.why-card p { font-size: 13.5px; color: var(--text-muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); gap: 22px; margin-bottom: 55px; justify-content: start; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: all 0.3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 170px; object-fit: cover; background: #e5e7eb; }
.card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 16px; margin-bottom: 8px; font-weight: 700; }
.card-body p { font-size: 13px; color: var(--text-muted); flex: 1; }
.price { font-weight: 800; color: var(--blue); margin: 12px 0; font-size: 15.5px; }

.brands-strip { display:flex; gap: 40px; flex-wrap:wrap; justify-content:center; align-items:center; margin-bottom: 55px; opacity:0.85; }
.brands-strip span { font-weight: 800; font-size: 18px; color: var(--text-muted); letter-spacing: 1px; }

.testi-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap:22px; margin-bottom:55px; }
.testi-card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.testi-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; }
.testi-card .name { font-weight: 700; font-size: 14px; }
.testi-card .role { font-size: 12px; color: var(--text-muted); }

.cta-box { background: linear-gradient(120deg, var(--blue), #0a3f85); color: #fff; border-radius: 18px; padding: 50px 40px; display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; margin-bottom: 55px; }
.cta-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.cta-box p { font-size: 14px; opacity: 0.85; }
.cta-form { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-form input { padding: 12px 16px; border-radius: 8px; border: none; font-family: inherit; min-width: 200px; }

.form-box { background: var(--white); padding: 34px; border-radius: var(--radius); max-width: 480px; margin: 0 auto; box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px; border: 1px solid #d8dee8; border-radius: 8px; font-family: inherit; font-size: 14px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 100px; }

table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 8px; overflow: hidden; }
table th, table td { padding: 13px; text-align: right; border-bottom: 1px solid #eef1f5; font-size: 14px; }
table th { background: #0d1626; color: var(--text-dark); font-weight: 700; }

.admin-wrap { display: flex; gap: 20px; }
.admin-sidebar { width: 210px; background: var(--white); border-radius: 10px; padding: 16px; height: fit-content; box-shadow: var(--shadow); }
.admin-sidebar a { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 8px; margin-bottom: 5px; font-size: 14px; font-weight: 600; }
.admin-sidebar a .icon { width: 17px; height: 17px; color: var(--text-muted); flex-shrink: 0; }
.admin-sidebar a:hover { background: var(--gray-bg); color: var(--blue); }
.admin-content { flex: 1; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 15px; margin-bottom: 30px; }
.stat-card { background: var(--white); padding: 22px; border-radius: 10px; text-align: center; box-shadow: var(--shadow); }
.stat-card .num { font-size: 30px; font-weight: 800; color: var(--text-dark); }

.cart-table td { vertical-align: middle; }
.qty-input { width: 65px; text-align: center; }

.post-content { background: var(--white); padding: 34px; border-radius: 14px; box-shadow: var(--shadow); }
.post-content h1 { font-size: 26px; margin-bottom: 6px; }
.post-content img { max-width: 100%; border-radius: 10px; margin-bottom: 22px; }

.site-footer { background: var(--navy); color: #b8c2d1; padding: 60px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.footer-col a, .footer-col p { font-size: 13.5px; display: block; margin-bottom: 10px; color: #b8c2d1; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 12.5px; color: #8592a6; }

@media (max-width: 760px) {
    .admin-wrap { flex-direction: column; }
    .admin-sidebar { width: 100%; }
    .hero h1 { font-size: 28px; }
    .main-nav { display: none; }
}

/* ================= ICONS ================= */
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.cart-link .icon { width: 22px; height: 22px; }
.top-bar-info .icon { width: 15px; height: 15px; vertical-align: -3px; margin-left: 4px; }
.footer-col p .icon { width: 14px; height: 14px; vertical-align: -2px; margin-left: 4px; color: var(--gold); }
.why-card .icon svg, .why-card .icon { width: 30px; height: 30px; }
.cat-icon svg { width: 30px; height: 30px; color: var(--blue); }

/* ================= TOP BAR ================= */
.top-bar { background: #061224; color: #93a3ba; font-size: 12.5px; padding: 7px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.top-bar-info { display: flex; gap: 20px; align-items: center; }
.top-bar-info span { display: flex; align-items: center; }
.top-bar-links { display: flex; gap: 18px; }
.top-bar-links a:hover { color: var(--gold); }

/* ================= HEADER SCROLL STATE ================= */
.site-header { transition: box-shadow 0.3s ease, background 0.3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.35); }

/* ================= MOBILE NAV ================= */
.mobile-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 6px; }
.mobile-toggle .icon { width: 26px; height: 26px; }
.mobile-toggle .icon-close { display: none; }
.mobile-toggle.active .icon-open { display: none; }
.mobile-toggle.active .icon-close { display: block; }
.mobile-nav-actions { display: none; }

@media (max-width: 900px) {
    .mobile-toggle { display: block; order: 3; }
    .header-actions { display: none; }
    .main-nav {
        display: none;
        position: absolute; top: 100%; right: 0; left: 0;
        background: var(--navy-light);
        flex-direction: column; gap: 0;
        padding: 10px 20px 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .main-nav a::after { display: none; }
    .mobile-nav-actions { display: flex; flex-direction: column; margin-top: 8px; gap: 4px; }
    .mobile-nav-actions a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .top-bar-links { display: none; }
}

/* ================= HERO SLIDER ================= */
.hero-slider { position: relative; border-radius: 18px; overflow: hidden; margin-bottom: 50px; min-height: 430px; }
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 90px 40px;
    color: #fff;
    opacity: 0; visibility: hidden;
    transform: scale(1.04);
    transition: opacity 1s ease, transform 1.2s ease, visibility 1s;
}
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1); position: relative; }
.hero-slide:not(.active) { position: absolute; }
.hero-slide::before { content:""; position:absolute; inset:0; z-index:0; }
.hero-slide-1::before { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 55%, #163a63 100%); }
.hero-slide-2::before { background: linear-gradient(120deg, #0a2540 0%, #0e5fc4 100%); }
.hero-slide-3::before { background: linear-gradient(120deg, #101d33 0%, #2a4a75 60%, #0e5fc4 100%); }
.hero-slide::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, rgba(201,162,75,0.18), transparent 60%); z-index:0; }
.hero-slide-content { position: relative; z-index: 1; max-width: 700px; }
.hero-tag { display: inline-block; background: rgba(201,162,75,0.15); color: var(--gold); border: 1px solid rgba(201,162,75,0.4); padding: 6px 18px; border-radius: 30px; font-size: 13px; margin-bottom: 20px; }
.hero-slide h1 { font-size: 38px; font-weight: 800; margin-bottom: 16px; }
.hero-slide p { font-size: 16px; opacity: 0.85; margin-bottom: 26px; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 2; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; cursor: pointer; padding: 0; transition: all 0.3s ease; }
.hero-dot.active { background: var(--gold); width: 26px; border-radius: 6px; }

@media (max-width: 700px) {
    .hero-slide h1 { font-size: 26px; }
    .hero-slider { min-height: 480px; }
}

/* ================= SCROLL REVEAL ================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 0.05s; }
.reveal-2 { transition-delay: 0.15s; }
.reveal-3 { transition-delay: 0.25s; }
.reveal-4 { transition-delay: 0.35s; }

/* ================= FAQ ACCORDION ================= */
.faq-list { max-width: 800px; margin: 0 auto 55px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-chevron { width: 18px; height: 18px; transition: transform 0.3s ease; color: var(--blue); }
.faq-item[open] .faq-chevron { transform: rotate(90deg); }
.faq-item p { margin-top: 14px; font-size: 13.5px; color: var(--text-muted); line-height: 1.9; }

/* ================= SHOP TOOLBAR ================= */
.shop-toolbar { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; align-items: center; }
.shop-search { display: flex; gap: 10px; flex: 1; min-width: 220px; }
.shop-search input { flex: 1; padding: 11px 14px; border: 1px solid #d8dee8; border-radius: 8px; font-family: inherit; }
.shop-filter select { padding: 11px 14px; border: 1px solid #d8dee8; border-radius: 8px; font-family: inherit; background: var(--white); min-width: 180px; }

/* ================= RESPONSIVE TABLES ================= */
@media (max-width: 700px) {
    table { display: block; overflow-x: auto; white-space: nowrap; }
    .container { padding: 0 16px; }
}

/* ================= PRODUCT DETAIL RESPONSIVE ================= */
.product-detail { display: flex; max-width: 800px; margin: 0 auto; }
.product-detail img { width: 350px; height: auto; object-fit: cover; flex-shrink: 0; }
.product-detail .card-body { padding: 30px; }
@media (max-width: 640px) {
    .product-detail { flex-direction: column; }
    .product-detail img { width: 100%; height: 220px; }
}

/* ================= WISHLIST BUTTON ================= */
.wishlist-btn {
    position: absolute; top: 10px; left: 10px;
    background: rgba(255,255,255,0.9); border-radius: 50%;
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); z-index: 2;
}
.wishlist-btn .icon { width: 17px; height: 17px; color: var(--text-muted); }
.wishlist-btn.active .icon { color: #e35b5b; }
.card { position: relative; }

/* ================= FEATURED GRID (always exactly N per row) ================= */
.featured-grid { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 900px) { .featured-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .featured-grid { grid-template-columns: 1fr !important; } }

/* ================= EXTRA PRODUCTS REVEAL (native details/summary, no JS needed) ================= */
.extra-details { margin-bottom: 55px; text-align: center; }
.extra-details summary { cursor: pointer; list-style: none; display: inline-flex; }
.extra-details summary::-webkit-details-marker { display: none; }
.extra-summary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #e5e9f0; color: var(--text-dark);
    padding: 13px 30px; border-radius: 8px; font-weight: 700; font-size: 14.5px;
    transition: all 0.25s ease;
}
.extra-summary:hover { background: #d8dee8; }
.extra-details[open] .extra-summary { background: var(--blue); color: #fff; }
.extra-summary .chevron-icon svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.extra-details[open] .extra-summary .chevron-icon svg { transform: rotate(90deg); }
.extra-details-grid { margin-top: 26px; text-align: initial; }
.extra-details[open] .extra-details-grid .card { animation: fadeInUpCard 0.55s ease both; }
.extra-details[open] .extra-details-grid .card:nth-child(1) { animation-delay: 0.05s; }
.extra-details[open] .extra-details-grid .card:nth-child(2) { animation-delay: 0.12s; }
.extra-details[open] .extra-details-grid .card:nth-child(3) { animation-delay: 0.19s; }
.extra-details[open] .extra-details-grid .card:nth-child(4) { animation-delay: 0.26s; }
.extra-details[open] .extra-details-grid .card:nth-child(5) { animation-delay: 0.33s; }
.extra-details[open] .extra-details-grid .card:nth-child(6) { animation-delay: 0.40s; }
@keyframes fadeInUpCard {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ================= CONDITION BADGE (نو / دست دوم) ================= */
.condition-badge {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700;
}
.condition-badge.new { background: #e7f7ee; color: #0f6b3f; border: 1px solid #34c77c; }
.condition-badge.used { background: #fff4e5; color: #b45309; border: 1px solid #f59e0b; }

/* ================= ADVANCED SEARCH ================= */
.advanced-search { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; align-items: center; }
.advanced-search input, .advanced-search select {
    padding: 10px 12px; border: 1px solid #d8dee8; border-radius: 8px; font-family: inherit; font-size: 13.5px; background: var(--white);
}
.advanced-search input[type="text"] { flex: 1; min-width: 160px; }
.advanced-search input[type="number"] { width: 120px; }

/* ================= FLOATING SUPPORT BUTTON ================= */
.floating-support {
    position: fixed; bottom: 22px; left: 22px; z-index: 999;
    background: var(--blue); color: #fff; padding: 12px 20px; border-radius: 30px;
    display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(14,95,196,0.4);
    font-size: 13.5px; font-weight: 700; transition: all 0.25s ease;
}
.floating-support:hover { background: var(--blue-light); transform: translateY(-3px); }
.floating-support .icon { width: 18px; height: 18px; }
@media (max-width: 600px) { .floating-support { bottom: 14px; left: 14px; padding: 10px 16px; font-size: 12.5px; } }

/* ================= LIVE CHAT WIDGET ================= */
.live-chat-bubble-btn { border: none; cursor: pointer; font-family: inherit; }
.live-chat-panel {
    position: fixed; bottom: 90px; left: 22px; z-index: 1000;
    width: 320px; max-width: calc(100vw - 40px); height: 420px;
    background: var(--white); border-radius: 14px; box-shadow: 0 15px 45px rgba(0,0,0,0.25);
    display: none; flex-direction: column; overflow: hidden;
    opacity: 0; transform: translateY(20px); transition: opacity 0.25s ease, transform 0.25s ease;
}
.live-chat-panel.open { display: flex; opacity: 1; transform: translateY(0); }
.live-chat-header { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; }
.live-chat-header button { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.live-chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--gray-bg); }
.lc-msg { max-width: 80%; padding: 9px 13px; border-radius: 12px; font-size: 13px; line-height: 1.7; }
.lc-admin { background: #1c2740; color: var(--text-dark); border: 1px solid rgba(255,255,255,0.08); align-self: flex-start; border-bottom-left-radius: 3px; }
.lc-guest { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.live-chat-input-row { display: flex; border-top: 1px solid #eef1f5; padding: 10px; gap: 8px; }
.live-chat-input-row input { flex: 1; border: 1px solid #d8dee8; border-radius: 20px; padding: 9px 14px; font-family: inherit; font-size: 13px; }
.live-chat-input-row button { background: var(--blue); color: #fff; border: none; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.live-chat-input-row button .icon { width: 15px; height: 15px; }

/* ================= FLASH SALE BADGE ================= */
.sale-badge {
    display: inline-block; background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5;
    padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-bottom: 6px;
}

/* ================= PREMIUM POLISH PASS ================= */
:root {
    --shadow-premium: 0 2px 8px rgba(10,26,47,0.06), 0 12px 32px rgba(10,26,47,0.10);
    --shadow-premium-lg: 0 4px 16px rgba(10,26,47,0.10), 0 24px 48px rgba(10,26,47,0.16);
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium button with shine sweep */
.btn { position: relative; overflow: hidden; transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), background 0.3s ease; letter-spacing: 0.2px; }
.btn::after {
    content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(14,95,196,0.4); }
.btn-gold:hover { box-shadow: 0 12px 28px rgba(201,162,75,0.45); }

/* Premium card depth */
.card { box-shadow: var(--shadow-premium); transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium); }
.card:hover { transform: translateY(-8px) scale(1.012); box-shadow: var(--shadow-premium-lg); }
.cat-card, .why-card, .testi-card { box-shadow: var(--shadow-premium); transition: all 0.4s var(--ease-premium); }
.cat-card:hover, .why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-premium-lg); }

/* Hero mesh glow background */
.hero-slide::after {
    background:
        radial-gradient(circle at 80% 15%, rgba(201,162,75,0.22), transparent 55%),
        radial-gradient(circle at 15% 85%, rgba(46,139,240,0.18), transparent 50%);
}
.hero-slide h1 { letter-spacing: -0.3px; text-shadow: 0 2px 20px rgba(0,0,0,0.25); }

/* Stat number glow */
.stats-bar .stat h3 { text-shadow: 0 0 24px rgba(201,162,75,0.5); }

/* ================= FLASH SALE — PREMIUM REDESIGN ================= */
.flash-sale-section {
    background: linear-gradient(120deg, #7f1d1d 0%, #b91c1c 45%, #7c1a1a 100%);
    border-radius: 20px; padding: 36px 30px; margin: 45px 0 55px; position: relative; overflow: hidden;
    box-shadow: 0 20px 60px rgba(220,38,38,0.35), 0 0 0 3px rgba(252,165,165,0.25);
}
.flash-sale-section::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(255,215,150,0.25), transparent 55%);
    animation: pulseGlow 3.5s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
.flash-sale-header { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.flash-sale-title { color: #fff; font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.flash-sale-title .flame { display: inline-block; animation: flicker 1.4s ease-in-out infinite; }
@keyframes flicker { 0%,100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.15) rotate(-4deg); } }
.flash-sale-sub { color: #fca5a5; font-size: 13px; position: relative; }
.flash-sale-section .grid { position: relative; }
.flash-sale-section .card { border: 2px solid rgba(255,215,150,0.5) !important; background: var(--white) !important; }
.sale-countdown {
    display: inline-flex; gap: 6px; background: #7f1d1d; border: none;
    border-radius: 8px; padding: 7px 12px; font-size: 12px; color: #fff; margin-bottom: 10px; font-weight: 800;
    letter-spacing: 0.5px; direction: ltr; box-shadow: 0 3px 10px rgba(127,29,29,0.4);
}

/* Compare page + misc small polish */
.card-body h3 { letter-spacing: -0.1px; }

/* ================= FOOTER — PREMIUM REDESIGN ================= */
.site-footer { position: relative; }
.site-footer::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--blue-light), transparent);
}
.footer-col h4 { position: relative; padding-bottom: 10px; margin-bottom: 18px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; right: 0; width: 32px; height: 2px; background: var(--gold); }
.footer-col a { position: relative; padding-right: 0; transition: padding-right 0.25s ease, color 0.25s ease; }
.footer-col a:hover { padding-right: 6px; }


/* ================= HEADER — PREMIUM POLISH ================= */
.site-header.scrolled { backdrop-filter: blur(10px); background: rgba(10,26,47,0.96); }
.main-nav a { position: relative; }
.main-nav a::before {
    content: ""; position: absolute; inset: -8px -10px; border-radius: 8px;
    background: rgba(255,255,255,0.06); opacity: 0; transition: opacity 0.25s ease; z-index: -1;
}
.main-nav a:hover::before { opacity: 1; }
.logo { position: relative; }
.logo::after { content: ""; position: absolute; inset: -6px -10px; border-radius: 8px; background: rgba(201,162,75,0.08); z-index: -1; opacity: 0; transition: opacity 0.3s ease; }
.logo:hover::after { opacity: 1; }
.cart-link { transition: transform 0.25s ease; }
.cart-link:hover { transform: scale(1.08); }

/* ================= PRODUCT DETAIL — PROFESSIONAL REDESIGN ================= */
.product-detail { max-width: 1000px; display: grid; grid-template-columns: 420px 1fr; gap: 0; align-items: stretch; overflow: visible; }
.product-detail img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; background: #eef1f5; border-left: 1px solid #eef1f5; }
.product-detail .card-body { padding: 36px 38px; display: flex; flex-direction: column; }
.product-detail h1 { font-size: 24px; font-weight: 800; line-height: 1.5; margin-bottom: 4px; }
.product-meta-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 16px; }
.product-meta-pill { font-size: 12px; padding: 5px 12px; border-radius: 20px; background: var(--gray-bg); color: var(--text-dark); font-weight: 600; }
.stock-pill { font-size: 12px; padding: 5px 12px; border-radius: 20px; font-weight: 700; }
.stock-pill.in-stock { background: #e7f7ee; color: #0f6b3f; }
.stock-pill.low-stock { background: #fff4e5; color: #b45309; }
.stock-pill.out-stock { background: #fef2f2; color: #dc2626; }
.product-buy-box { background: var(--gray-bg); border-radius: 14px; padding: 22px; margin-top: auto; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; overflow: hidden; background: var(--white); }
.qty-stepper button { width: 38px; height: 40px; border: none; background: var(--white); font-size: 18px; cursor: pointer; color: var(--blue); transition: background 0.2s ease; }
.qty-stepper button:hover { background: var(--gray-bg); }
.qty-stepper .qty-input { border: none; width: 50px; text-align: center; height: 40px; font-size: 14px; }
@media (max-width: 700px) {
    .product-detail { grid-template-columns: 1fr; }
    .product-detail img { min-height: 260px; border-left: none; border-bottom: 1px solid #eef1f5; }
}

/* ================= SHOP TOOLBAR — PANEL STYLE ================= */
.advanced-search { background: var(--white); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-premium); margin-bottom: 28px; }

/* ================= CART — CARD ROWS ================= */
.cart-table { background: transparent; border-collapse: separate; border-spacing: 0 12px; }
.cart-table thead { display: none; }
.cart-table tr { background: var(--white); box-shadow: var(--shadow-premium); border-radius: 12px; }
.cart-table td { border: none; padding: 14px 16px; }
.cart-table td:first-child { border-radius: 12px 0 0 12px; font-weight: 700; }
.cart-table td:last-child { border-radius: 0 12px 12px 0; }
@media (max-width: 700px) {
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr { padding: 14px 16px; margin-bottom: 14px; }
    .cart-table td { padding: 4px 0; border-radius: 0 !important; }
}

/* ================= CHECKOUT SUMMARY POLISH ================= */
.form-box { box-shadow: var(--shadow-premium); }

/* ================= TRUST BADGE — CORNER PLACEMENT ================= */
.footer-bottom { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; padding: 18px 0; }
.trust-badge-corner { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: #fff; border-radius: 10px; padding: 5px 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.trust-badge-corner img { display: block; max-height: 68px; }
@media (max-width: 700px) {
    .footer-bottom { flex-direction: column-reverse; gap: 12px; padding-top: 10px; }
    .trust-badge-corner { position: static; transform: none; }
}

/* ================= TYPOGRAPHY — REFINED & MODERN ================= */
body { font-weight: 400; letter-spacing: 0.1px; }
h1, h2, h3, .section-title, .hero-slide h1, .logo { font-weight: 800; letter-spacing: -0.4px; }
p, .card-body p, .section-sub { font-weight: 400; color: var(--text-muted); }
.section-title { font-size: var(--fs-xl); }
.hero-slide h1 { font-size: var(--fs-3xl); font-weight: 900; }
.hero-slide p { font-weight: 300; font-size: 17px; opacity: 0.9; }
.card-body h3 { font-weight: 700; font-size: 16.5px; }
.price { font-weight: 900; letter-spacing: -0.3px; }
.btn { font-weight: 700; letter-spacing: 0.3px; }
.testi-card p { font-style: normal; font-weight: 400; line-height: 2; }
.logo { font-size: 23px; font-weight: 900; }

/* ================= EXTRA CHIC POLISH ================= */
.card, .cat-card, .why-card, .testi-card, .form-box { border-radius: var(--radius-md); }
.btn { border-radius: var(--radius-sm); }
.section-title { border-radius: 0 4px 4px 0; }
.hero-slider, .hero, .flash-sale-section, .stats-bar, .cta-box { border-radius: var(--radius-xl); }
::selection { background: var(--gold); color: var(--navy); }

/* ================= WORLD-CLASS 2025 DESIGN LAYER ================= */

/* Animated gradient orbs in hero */
.hero-slider { position: relative; }
.hero-slider::before, .hero-slider::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none;
}
.hero-slider::before { width: 320px; height: 320px; background: radial-gradient(circle, rgba(201,162,75,0.35), transparent 70%); top: -80px; left: -60px; animation: floatOrb 8s ease-in-out infinite; }
.hero-slider::after { width: 260px; height: 260px; background: radial-gradient(circle, rgba(46,139,240,0.3), transparent 70%); bottom: -60px; right: -40px; animation: floatOrb 10s ease-in-out infinite reverse; }
@keyframes floatOrb { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-20px) scale(1.15); } }

/* Hero heading — clean, static */
.hero-slide h1 { color: #ffffff; }

/* Glow pulse on primary gold CTA */


/* subtle card lift (no gimmicky 3D tilt) */
.card, .why-card, .cat-card { will-change: transform; }



/* Bento-style why-grid */
.why-grid { grid-template-columns: repeat(4, 1fr); }
.why-card { background: linear-gradient(155deg, #ffffff 0%, #f7f9fc 100%); border: 1px solid rgba(10,26,47,0.04); position: relative; overflow: hidden; }
.why-card::before { content: ""; position: absolute; top: -30%; left: -30%; width: 60%; height: 60%; background: radial-gradient(circle, rgba(14,95,196,0.08), transparent 70%); }
.why-card:nth-child(2) { background: linear-gradient(155deg, #0a1a2f 0%, #12294a 100%); }
.why-card:nth-child(2) h4, .why-card:nth-child(2) p { color: #fff; }
.why-card:nth-child(2) .icon { color: var(--gold); }
.why-card:nth-child(2) p { opacity: 0.75; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 550px) { .why-grid { grid-template-columns: 1fr; } }

/* Glassmorphic top-bar */
.top-bar { backdrop-filter: blur(6px); background: rgba(6,18,36,0.9); }


/* ================= MOBILE BOTTOM TAB BAR (app-like) ================= */
.mobile-tab-bar { display: none; }
@media (max-width: 760px) {
    .mobile-tab-bar {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
        background: var(--white); border-top: 1px solid rgba(255,255,255,0.08); box-shadow: 0 -6px 20px rgba(0,0,0,0.35);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    }
    .mobile-tab-bar a {
        flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
        font-size: 10.5px; color: var(--text-muted); padding: 6px 2px; position: relative; font-weight: 600;
    }
    .mobile-tab-bar a .icon { width: 21px; height: 21px; }
    .mobile-tab-bar a:hover, .mobile-tab-bar a:active { color: var(--blue); }
    .tab-badge {
        position: absolute; top: 2px; left: 50%; margin-right: -18px;
        background: var(--gold); color: var(--navy); font-size: 9px; font-weight: 800;
        border-radius: 50%; width: 15px; height: 15px; display: flex; align-items: center; justify-content: center;
    }
    body { padding-bottom: 62px; }
    .floating-support { bottom: 76px; }
    .live-chat-panel { bottom: 140px; }
}

/* ================= SHOP PAGE — CATEGORY PILLS & QUICK VIEW ================= */
.shop-pills { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 22px; -webkit-overflow-scrolling: touch; }
.shop-pills::-webkit-scrollbar { height: 4px; }
.shop-pill {
    display: flex; align-items: center; gap: 6px; white-space: nowrap; flex-shrink: 0;
    background: var(--white); border: 1px solid rgba(255,255,255,0.1); border-radius: 30px; padding: 9px 18px;
    font-size: 13px; font-weight: 700; color: var(--text-dark); box-shadow: var(--shadow-premium);
    transition: all 0.3s ease;
}
.shop-pill .icon { width: 15px; height: 15px; }
.shop-pill:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.shop-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.shop-img-wrap { position: relative; overflow: hidden; }
.shop-img-wrap img { transition: transform 0.5s var(--ease-premium); }
.card:hover .shop-img-wrap img { transform: scale(1.08); }
.quick-view-overlay {
    position: absolute; inset: 0; background: rgba(10,26,47,0.55); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
    opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(2px);
}
.card:hover .quick-view-overlay { opacity: 1; }

/* ================= ADMIN PANEL — PREMIUM REDESIGN ================= */
.admin-sidebar {
    position: sticky; top: 90px; align-self: flex-start;
    background: var(--navy); border-radius: var(--radius-md); padding: var(--space-4) var(--space-3);
    box-shadow: var(--elev-3);
}
.admin-sidebar a {
    color: #b8c2d1; border-radius: 10px; margin-bottom: 3px; font-size: 13.5px;
    transition: all 0.25s ease; position: relative;
}
.admin-sidebar a .icon { color: #8592a6; }
.admin-sidebar a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-sidebar a.active { background: linear-gradient(90deg, rgba(201,162,75,0.18), transparent); color: var(--gold); font-weight: 700; }
.admin-sidebar a.active::before { content: ""; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 4px; height: 60%; background: var(--gold); border-radius: 4px; }

.admin-content { min-height: 60vh; }
.admin-content .section-title:first-child { margin-top: 0; }

/* Stat cards with accent + icon feel */
.stat-card {
    position: relative; overflow: hidden; text-align: right; padding: 20px 22px;
    border-radius: 14px; transition: transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium);
}
.stat-card::before { content: ""; position: absolute; top: 0; right: 0; width: 5px; height: 100%; background: linear-gradient(180deg, var(--gold), var(--blue)); }
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-premium-lg); }
.stat-card .num { color: var(--text-dark); }

/* Admin tables — zebra + smoother */
.admin-content table { border-radius: 14px; box-shadow: var(--shadow-premium); overflow: hidden; }
.admin-content table tbody tr { transition: background 0.2s ease; }
.admin-content table tbody tr:nth-child(even) { background: #0f1a2c; }
.admin-content table tbody tr:hover { background: #142238; }
.admin-content table th { background: var(--navy); color: #fff; font-weight: 700; font-size: 12.5px; letter-spacing: 0.3px; }

/* Admin form boxes */
.admin-content .form-box { border-radius: 14px; }
.admin-content .form-group label { color: var(--text-dark); font-size: 13px; }

@media (max-width: 760px) {
    .admin-sidebar { position: static; }
}

/* ================= FINAL SITE-WIDE POLISH PASS ================= */

/* Custom premium scrollbar */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--gray-bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue), var(--navy)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Input focus glow — site-wide */
.form-group input, .form-group textarea, .form-group select,
.advanced-search input, .advanced-search select, .shop-search input {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus,
.advanced-search input:focus, .advanced-search select:focus {
    outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(14,95,196,0.12);
}

/* Active main-nav link indicator */
.main-nav a.active { color: var(--gold); }
.main-nav a.active::after { transform: scaleX(1); }

/* FAQ accordion micro-polish */
.faq-item { transition: box-shadow 0.3s ease; }
.faq-item[open] { box-shadow: var(--shadow-premium-lg); }

/* Table cell links inside admin — consistent weight */
table a.btn-small { font-size: 12px; }

/* Smooth global link/button transition baseline */
a, button { transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }

/* Badges consistency (condition/sale/product-meta) rounded pill unify */
.condition-badge, .sale-badge, .product-meta-pill, .stock-pill, .shop-pill { font-family: inherit; }

/* Footer col links spacing rhythm */
.footer-col a, .footer-col p { line-height: 2; }

/* Subtle page fade-in on load */
body { animation: pageFadeIn 0.5s ease; }
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Extra flash-sale polish: shimmering ring */

.flash-sale-title { text-shadow: 0 2px 12px rgba(0,0,0,0.4); }

/* ================= DIGIKALA-STYLE CLEAN FUNCTIONAL POLISH ================= */
.rating-line { font-size: 12px; color: #f59e0b; font-weight: 700; margin: 2px 0 4px; }
.rating-line span { color: var(--text-muted); font-weight: 400; font-size: 11px; }

/* Discount badge — bold, prominent, top-corner like major e-commerce sites */
.sale-badge {
    display: inline-block; position: relative; background: #dc2626; color: #fff;
    border: none; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 800;
}


/* Calmer, cleaner card feel (less floaty, more grounded like practical e-commerce) */
.card:hover { transform: translateY(-4px); }
.btn-gold:hover { box-shadow: 0 8px 20px rgba(201,162,75,0.4); }



/* شبکه ۴ ستونی محصولات فروشگاه در دسکتاپ */
.shop-products-grid { grid-template-columns: repeat(4, 1fr) !important; }
@media (max-width: 1000px) { .shop-products-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 700px) { .shop-products-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px) { .shop-products-grid { grid-template-columns: 1fr !important; } }
.top-banner-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; min-height: 120px; }
.top-banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.top-banner-slide.active { position: relative; opacity: 1; }
.top-banner-slide:not(.active) { position: absolute; }
.top-banner-slide img { width: 100%; display: block; }
.top-banner-dots { bottom: 12px; }

/* دسته‌بندی صفحه اصلی در یک ردیف اسکرول‌دار */
.cat-grid-scroll {
    display: flex !important; flex-wrap: nowrap; overflow-x: auto; gap: 16px; padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}
.cat-grid-scroll .cat-card { flex: 0 0 140px; }
.cat-grid-scroll::-webkit-scrollbar { height: 5px; }

/* رفع رنگ آیکون نامرئی روی کارت آبی «تحویل سریع» */
.why-card:nth-child(2) .icon { color: #06131a !important; }

/* گرید تیم - وسط‌چین و بدون کش‌اومدن کارت‌ها */
.team-grid { justify-content: center !important; grid-template-columns: repeat(auto-fit, minmax(190px, 220px)) !important; }
