* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

@font-face {
    src: url("/static/fonts/Dirooz.ttf");
    font-family: diroz;
}


body {
    font-family: diroz;
    background-color: #ffffff;
    color: #111827;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =====================================================
   CONTAINER
===================================================== */

.container {
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
}

/* =====================================================
   HEADER
===================================================== */

.header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
}


/* =====================================================
   HEADER MAIN
===================================================== */

.header-main {
    height: 76px;
    display: flex;
    align-items: center;
    position: relative;
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #101827;
    width: 150px;
}


/* =====================================================
   HAMBURGER (موبایل/تبلت)
===================================================== */

.hamburger {
    display: none !important;
}


/* =====================================================
   SEARCH BOX
===================================================== */

.search-box {
    width: 480px;
    height: 44px;
    background-color: #f4f5f7;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    transition: all 0.25s ease;
    overflow: hidden;
}

.search-box:focus-within {
    background-color: #ffffff;
    border-color: #121213;

}

.search-box form {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
}

/* آیکن سرچ */
.search-icon {
    width: 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.search-icon:hover {
    color: #2168ff;
}

.search-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

/* Input */
.search-box input {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 4px;
    font-family: inherit;
    font-size: 13px;
    color: #0f172a;
    direction: rtl;
}

.search-box input::placeholder {
    color: #94a3b8;
}

/* =====================================================
   HEADER ACTIONS
===================================================== */

.header-actions {
    width: 280px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}


/* =====================================================
   LOGIN
===================================================== */

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #172033;
    white-space: nowrap;
    transition: 0.2s ease;
}


.action-item:hover {
    color: #2168ff;
}


.action-item svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65
}


.search-toggle {
    display: none;
}

/* =====================================================
   ICON BUTTON
===================================================== */

.icon-button {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.2s ease;
}


.icon-button:hover {
    background-color: #f5f6f8;
}


.icon-button svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #172033;
    stroke-width: 1.5;
}


/* =====================================================
   CART
===================================================== */

.cart-button {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    transition: 0.2s ease;
}


.cart-button:hover {
    background-color: #f5f6f8;
}


.cart-button svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #172033;
    stroke-width: 1.5;
}



/* =====================================================
   NAVIGATION
===================================================== */

.navigation {
    border-top: 1px solid rgba(0, 0, 0, 0.063);
    height: 48px;
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px
}

/* لینک های منو */

.nav-link {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: #344054;
    transition: color 0.2s ease;
}


/* خط زیر لینک */

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #2168ff;
    transition: width 0.25s ease;

}


/* Hover */

.nav-link:hover {

    color: #2168ff;

}


.nav-link:hover::after {

    width: 100%;

}


/* تخفیف */

.nav-link.active {

    color: #2168ff;

}

.navigation {
    border-top: 1px solid rgba(0, 0, 0, 0.063);
    height: 48px;

    overflow: hidden;

    transition:
        height 0.4s ease,
        border-color 0.4s ease;
}



.navigation.hide-nav {
    height: 0;
    border-top-color: transparent;
}


.hero-slider {
    width: 90%;
    height: 480px;

    margin: 180px auto 0 auto;

    position: relative;

    overflow: hidden;

    border-radius: 18px;
    direction: ltr;
}


/* نوار اسلایدها */

.hero-track {
    display: flex;

    height: 100%;
    width: 100%;

    direction: ltr;

    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* هر اسلاید */

.hero {
    flex: 0 0 100%;

    width: 100%;
    height: 480px;

    background-size: cover;
    background-position: center;

    direction: rtl;
    position: relative;
}

/* تصاویر */

.hero-1 {
    background-image: url("/static/images/hero1.png");
}

.hero-2 {
    background-image: url("/static/images/download\ 2222.jpg");
}

.hero-3 {
    background-image: url("../images/download 2.jpg");
}

/* محتوای داخل بنر */

.hero-content {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    padding: 0 70px;
}


.hero-text {
    width: 480px;

    direction: rtl;
    text-align: right;
}


.hero-label {
    display: block;

    margin-bottom: 14px;

    font-family: diroz;
    font-size: 25px;
    font-weight: 900;

    color: #282727;
}


.hero-text h1 {
    margin: 0;

    font-family: diroz;
    font-size: 42px;
    line-height: 1.5;
    font-weight: 800;

    color: #111;
}


.hero-text p {
    margin: 12px 0 28px;

    font-family: diroz;
    font-size: 15px;

    color: #666;
}


.hero-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    height: 48px;

    padding: 0 25px;

    border-radius: 9px;

    background-color: #111;

    color: #fff;

    text-decoration: none;

    font-family: diroz;
    font-size: 13px;
    font-weight: 500;

    transition: 0.3s ease;
}


.hero-button:hover {
    background-color: #2168ff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(33, 104, 255, 0.35);
}

/* =========================
   دکمه‌ها و ناوبری هیرو اسلایدر
========================= */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    color: #172033;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.88;
}

.hero-nav-btn:hover {
    opacity: 1;
    background: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    color: #2168ff;
}

.hero-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-nav-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

/* جهت قرارگیری دکمه‌ها */
.hero-nav-left {
    left: 24px;
    right: auto;
}

.hero-nav-right {
    right: 24px;
    left: auto;
}

/* نشانگرهای نقطه‌ای اسلایدها (Dots) */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    background: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

.hero-dot.active {
    width: 26px;
    border-radius: 6px;
    background: #2168ff;
    box-shadow: 0 0 10px rgba(33, 104, 255, 0.5);
}

/* =====================================================
   CATEGORIES
===================================================== */
.categorie {
    width: 100%;
}

.cat-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 80px auto;
    width: 90%;
}

.cat-img {
    transition: transform 0.3s ease;
}

.cat-img img {
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: block;
}

.cat-img:hover img {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   POPULAR CATEGORIES SHOWCASE (CIRCULAR BADGES LIKE BRANDS)
===================================================== */
.popular-categories-section {
    width: 90%;
    max-width: 1320px;
    margin: 50px auto 55px;
    padding: 10px 0 15px;
}

.popular-categories-container {
    width: 100%;
}

/* Header - Single H1 without sub-description */
.top-cat-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.top-cat-title {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.top-cat-title h1 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 12px;
}

/* Iconic gradient lines on both sides */
.top-cat-title h1::before,
.top-cat-title h1::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 115px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #0f172a);
    opacity: 0.7;
}

.top-cat-title h1::before {
    right: 100%;
    margin-right: 24px;
}

.top-cat-title h1::after {
    left: 100%;
    margin-left: 24px;
    transform: rotate(180deg);
}

/* Logos Track */
.cat-logos-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex-wrap: wrap;
    padding: 10px 4px 15px;
}

/* Category Item Link */
.cat-item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}


.cat-item-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #f8fafc;
    border: 2.5px solid #ffffff;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.08),
        0 0 0 1px #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-item-avatar img {
    width: 74%;
    height: 74%;
    object-fit: contain;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}


.cat-item-avatar::after {
    display: none;
}


.cat-item-link:hover {
    transform: translateY(-8px);
}

.cat-item-link:hover .cat-item-avatar {
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.16),
        0 4px 10px rgba(0, 0, 0, 0.08);
    border-color: #0400ff;
}

.cat-item-link:hover .cat-item-avatar img {
    transform: scale(1.1);
}


.cat-item-caption {
    margin-top: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.cat-name-fa {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    transition: color 0.25s ease;
}

.cat-name-en {
    font-size: 11.5px;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.3px;
    transition: color 0.25s ease;
}

.cat-item-link:hover .cat-name-fa {
    color: #2168ff;
}

.cat-item-link:hover .cat-name-en {
    color: #475569;
}


.cat-item-avatar.cat-avatar-all {
    border-radius: 50%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 2px solid #ffffff;
    box-shadow:
        inset 0 3px 6px rgba(255, 255, 255, 0.22),
        inset 0 -4px 10px rgba(0, 0, 0, 0.55),
        0 4px 14px rgba(0, 0, 0, 0.12),
        0 0 0 1px #cbd5e1;
    overflow: hidden;
}

.cat-avatar-all svg {
    color: #ffffff;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}


.cat-item-all:hover .cat-item-avatar.cat-avatar-all {
    box-shadow:
        inset 0 3px 6px rgba(255, 255, 255, 0.25),
        inset 0 -4px 10px rgba(0, 0, 0, 0.55),
        0 16px 32px rgba(0, 0, 0, 0.35);
    border-color: #0026ff;
}

.cat-item-all:hover .cat-avatar-all svg {
    transform: rotate(90deg) scale(1.12);
    color: #60a5fa;
}


.featured-products {
    border-top: 1px solid rgba(0, 0, 0, 0.099);
    padding-top: 30px;
    width: 90%;
    margin: 80px auto;
}


.header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.header.nav-hidden {
    border-bottom-color: #eef2f6;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.section-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 30px;

}


.section-title {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.section-label {

    font-size: 11px;

    font-weight: 600;

    color: #2168ff;

}


.section-title h2 {

    font-size: 25px;

    font-weight: 700;

    color: #111827;

}


.section-title p {

    font-size: 12px;

    color: #98a2b3;

}



.view-all {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #2168ff;

    font-size: 12px;

    font-weight: 600;

    white-space: nowrap;

}


.view-all span {
    font-size: 12px;
}

.view-all svg {
    transition: transform .25s ease;
}

.view-all:hover svg {
    transform: translateX(-4px);
}



::-webkit-scrollbar {
    display: none;
}

.products-scroll {
    width: 100%;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px 2px 20px;
    scroll-behavior: smooth;
    direction: rtl;
}



.product-card {
    flex: 0 0 240px;
    min-width: 240px;
    height: 420px;
    background-color: #ffffff;
    border: 1px solid #e9edf2;
    border-radius: 16px;
    padding: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.product-card>a:not(.wishlist) {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.product-card form {
    margin-top: auto;
    width: 100%;
}



.product-card:hover {
    transform: translateY(-4px);
    border-color: #dce2ea;
    box-shadow:
        0 15px 35px rgba(16, 24, 40, .08);
}



.wishlist {

    position: absolute;

    top: 13px;

    right: 13px;

    width: 32px;

    height: 32px;

    border: 1px solid #edf0f3;

    background-color: rgba(255, 255, 255, .9);

    border-radius: 50%;

    cursor: pointer;

    font-size: 18px;

    color: #667085;

    z-index: 2;

    transition: .2s ease;

}


.wishlist:hover {

    color: #2168ff;

    border-color: #2168ff;

}

.wishlist.active {

    color: #ef4444;

    border-color: #fecaca;

    background: #fef2f2;

}

.wishlist.active svg {

    fill: #ef4444;

    stroke: #ef4444;

}



.product-badge {

    position: absolute;

    top: 15px;

    left: 15px;

    background-color: #2168ff;

    color: #ffffff;

    padding: 4px 9px;

    border-radius: 6px;

    font-size: 9px;

    font-weight: 600;

    z-index: 2;

}



.product-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 85%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}


.product-card:hover .product-image img {
    transform: scale(1.05);
}


.product-no-image {
    width: 85%;
    height: 85%;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.product-card:hover .product-no-image {
    border-color: #93c5fd;
    background: #f0f7ff;
    color: #3b82f6;
}

.product-no-image svg {
    width: 38px;
    height: 38px;
    stroke: currentColor;
}

.product-no-image span {
    font-size: 11px;
    font-weight: 600;
}


.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.product-brand {
    font-size: 10px;
    color: #98a2b3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    color: #172033;
    line-height: 1.5;
    height: 39px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    margin: 3px 0 6px;
}



.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    font-size: 10px;
    color: #667085;
}

.star {
    color: #f5a623;
    font-size: 12px;
}

.reviews {
    color: #98a2b3;
}



.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 40px;
    gap: 2px;
    margin-top: auto;
    margin-bottom: 12px;
    width: 100%;
    overflow: hidden;
}

.product-price del {
    font-size: 11px;
    color: #98a2b3;
    text-decoration: line-through;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.2;
}

.product-price-current {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
}

.product-price strong {
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.product-price span {
    font-size: 10px;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
}



.add-cart {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 9px;
    background-color: #151a23;
    color: #ffffff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .25s ease;
}


.add-cart:hover {
    background-color: #2168ff;
}


.add-cart span {
    font-size: 14px;
}

.banner {
    margin-top: 100px;
    width: 80%;
    display: flex;
    margin-inline: auto;
}

.banner img {
    width: 1200px;
    max-width: 100%;
    border-radius: 12px;
}



.parallax-banner {
    margin-top: 80px;
    height: 500px;
    background-image: url("/static/images/hero1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}



.parallax-content {
    color: rgb(11, 11, 11);
    text-align: center;
}

.parallax-content h1 {
    font-size: 100px;
    text-shadow:
        0 0 25px rgba(10, 10, 10, 0.501);
}

.parallax-content span {
    color: rgb(255, 255, 255);
}

.parallax-content h2 {
    margin-top: 14px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgb(30, 30, 30);
}

.parallax-content h1 {
    color: black;
    -webkit-background-clip: text;
   
    background-clip: text;

    position: relative;
}



.parallax-content h1::before,
.parallax-content h1::after {
    content: "";
    position: absolute;

    top: 50%;
    width: 120px;
    height: 1px;

    background: linear-gradient(90deg,
            transparent,
            #060606);
}

.parallax-content h1::before {
    right: 100%;
    margin-right: 30px;
}

.parallax-content h1::after {
    left: 100%;
    margin-left: 30px;

    transform: rotate(180deg);
}

.logo-top-brand img {
    width: 100px;
    border-radius: 50px;
}


.top-cat-cat {
    width: 90%;
    padding-top: 10px;
    margin: auto;
    margin-top: 40px;
}

.cat-cat-body {
    margin-top: 20px;
}


.top-brand-title h1 {
    color: black;
    -webkit-background-clip: text;
   
    background-clip: text;

    position: relative;
}

.top-brand-title h1::before,
.top-brand-title h1::after {
    content: "";
    position: absolute;

    top: 50%;
    width: 120px;
    height: 1px;

    background: linear-gradient(90deg,
            transparent,
            #060606);
}

.top-brand-title h1::before {
    right: 100%;
    margin-right: 30px;
}

.top-brand-title h1::after {
    left: 100%;
    margin-left: 30px;

    transform: rotate(180deg);
}

.alo-saman-khodeti {
    border-top: 0px;
}


.nova-magazine {
    width: 100%;
    background: #ffffff;

}



.magazine-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}


.magazine-title {
    text-align: center;
    margin-right: 25px;
}


.magazine-label {

    display: block;

    margin-bottom: 10px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #2168ff;


}


.magazine-title h2 {

    margin: 0;

    font-size: 30px;

    font-weight: 800;

    color: #111827;

}


.magazine-title p {

    margin-top: 10px;

    font-size: 14px;

    color: #6b7280;

    line-height: 1.9;

}



.magazine-view-all {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px 18px;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    color: #111827;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;

    white-space: nowrap;

}


.magazine-view-all span {
    font-size: 13px;
}

.magazine-view-all svg {
    transition: transform 0.3s ease;
}

.magazine-view-all:hover {
    border-color: #2168ff;
    color: #2168ff;
}

.magazine-view-all:hover svg {
    transform: translateX(-4px);
}





.magazine-content {

    display: flex;

    gap: 16px;

    width: 100%;

    height: 340px;

}




.magazine-main-card {

    flex: 1.35;

    min-width: 0;

    height: 100%;

}


.magazine-side {

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 16px;

    min-width: 0;

    height: 100%;

}


.magazine-small-card {

    flex: 1;

    min-height: 0;

}



.magazine-main-image,
.magazine-small-image {
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
    position: relative;

    display: block;

    width: 100%;

    height: 100%;

    border-radius: 16px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e8ebf0;

    transition: transform 0.35s ease, box-shadow 0.35s ease;

}


.magazine-main-image:hover,
.magazine-small-image:hover {

    transform: translateY(-4px);

    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.12);

}


.magazine-main-image img,
.magazine-small-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;

}


.magazine-main-image:hover img,
.magazine-small-image:hover img {

    transform: scale(1.05);

}




.article-category {

    position: absolute;

    right: 14px;

    top: 14px;

    padding: 6px 11px;

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    color: #2168ff;

    font-size: 10px;

    font-weight: 700;

}




.magazine-overlay-info {

    position: absolute;

    right: 0;

    bottom: 0;

    left: 0;

    padding: 18px 16px 16px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    text-align: right;

    background: linear-gradient(0deg,
            rgba(6, 10, 20, 0.88) 0%,
            rgba(6, 10, 20, 0.55) 55%,
            rgba(6, 10, 20, 0) 100%);
}


.magazine-overlay-info .article-date {

    color: #d7dbe3;

    font-size: 10px;

    margin-bottom: 6px;

}


.magazine-main-card .magazine-overlay-info h3 {

    margin: 0;

    color: #ffffff;

    font-size: 18px;

    line-height: 1.7;

}


.magazine-small-card .magazine-overlay-info h3 {

    margin: 0;

    color: #ffffff;

    font-size: 13px;

    line-height: 1.7;

}





.article-link {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-top: 10px;

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    text-decoration: none;

}


.article-link span {

    font-size: 15px;

    transition: transform 0.3s ease;

}


.magazine-main-image:hover .article-link span,
.magazine-small-image:hover .article-link span {

    transform: translateX(-4px);

}



.store-benefits {
    width: 100%;
    border-bottom: none;
    margin-top: 80px;
}


.benefits-container {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 25px 10px;
    transition: transform 0.5s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
}


.benefit-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    color: #2168ff;
    box-shadow: 0 5px 20px rgba(20, 40, 80, 0.05);
}




.benefit-icon svg {
    width: 25px;
    height: 25px;
}



.benefit-text {
    min-width: 0;
}




.benefit-text h3 {
    margin: 0 0 7px;
    font-size: 15px;
    font-weight: 700;
    color: #172033;
}




.benefit-text p {
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
    color: #7b8494;

}




.footer {
    width: 100%;
    background:
        radial-gradient(circle at 0% 5%,
            rgba(255, 255, 255, 0.059),
            transparent 30%),
        #111827;
    color: #ffffff;
}



.footer-container {

    width: 1440px;
    max-width: 100%;

    margin: 0 auto;
}



.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    padding: 70px 0 60px;
    border-bottom: 1px solid #242d3b;
}



.footer-brand {
    width: 30%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}




.footer-logo {

    display: inline-block;

    color: #ffffff;

    text-decoration: none;

    font-size: 30px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 20px;
}




.footer-description {

    margin: 0;

    color: #9ca6b5;

    font-size: 13px;

    line-height: 2;

    max-width: 290px;
}




.social-links {

    display: flex;

    gap: 9px;

    margin-top: 25px;
}

.social-links img {
    width: 30px;
}

.social-links .bale img {
    width: 25px;
}

.social-links a {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #293344;

    border-radius: 10px;

    color: #cbd2dc;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    transition: all 0.25s ease;
}


.social-links a:hover {

    background: #2168ff;

    border-color: #2168ff;

    color: #ffffff;

    transform: translateY(-2px);
}




.footer-column {

    min-width: 150px;
}




.footer-column h3 {

    margin: 0 0 22px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;
}




.footer-column ul {

    list-style: none;

    margin: 0;

    padding: 0;
}



.footer-column li {

    margin-bottom: 13px;

    color: #8993a3;

    font-size: 12px;
}




.footer-column a {

    color: #9ca6b5;

    text-decoration: none;

    transition: color 0.2s ease;
}


.footer-column a:hover {

    color: #ffffff;
}



.footer-contact li {

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.footer-contact li span {

    color: #667184;

    font-size: 11px;
}


.footer-contact li strong {

    color: #b8c0cc;

    font-size: 12px;

    font-weight: 400;
}




.footer-trust-column {
    min-width: 210px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 98px);
    gap: 12px;
}

.trust-box {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.trust-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    border-color: #cbd5e1;
}


.trust-placeholder {
    color: #64748b;
    font-size: 10.5px;
    font-weight: 600;
    text-align: center;
    padding: 6px;
    line-height: 1.3;
}



.footer-bottom {

    min-height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.footer-bottom p {

    margin: 0;

    color: #687386;

    font-size: 11px;
}




.footer-bottom-links {

    display: flex;

    gap: 25px;
}


.footer-bottom-links a {

    color: #7f8999;

    text-decoration: none;

    font-size: 11px;

    transition: color 0.2s ease;
}


.footer-bottom-links a:hover {

    color: #ffffff;
}

@media (max-width: 1024px) {

    .container,
    .footer-container {
        width: 100%;
        padding: 0 20px;
    }

    /* هدر */
    .header-main {
        padding: 0 20px;
        gap: 12px;
    }

    .logo {
        width: auto;
        font-size: 22px;
    }

    .search-box {
        width: 100%;
        max-width: 340px;
    }

    .header-actions {
        width: auto;
        gap: 10px;
    }

    .action-item span {
        display: none;
    }


    .hero-slider {
        width: 92%;
        margin-right: auto;
        margin-left: auto;
        height: 380px;
    }

    .hero,
    .hero-track {
        height: 380px;
    }

    .hero-content {
        padding: 0 40px;
    }

    .hero-text {
        width: 100%;
        max-width: 400px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-nav-btn {
        width: 40px;
        height: 40px;
    }

    .hero-nav-btn svg {
        width: 19px;
        height: 19px;
    }

    .hero-nav-left {
        left: 14px;
        right: auto;
    }

    .hero-nav-right {
        right: 14px;
        left: auto;
    }


    .cat-body {
        flex-wrap: wrap;
        gap: 14px;
    }

    .cat-img img {
        width: 90px;
    }

    .top-cat-title h1::before,
    .top-cat-title h1::after {
        width: 70px;
    }

    .cat-logos-track {
        gap: 24px;
    }

    .cat-item-avatar {
        width: 84px;
        height: 84px;
    }


    .product-card {
        flex: 0 0 220px;
        min-width: 220px;
        height: 390px;
    }

    .product-price {
        min-height: 38px;
        margin-bottom: 10px;
    }

    .product-card form {
        margin-top: auto;
        width: 100%;
    }


    .banner {
        width: 92%;
        margin: 0 auto;
    }

    .banner img {
        width: 100%;
        margin-right: 0;
    }


    .parallax-banner {
        height: 320px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        display: flex;
        align-items: center;
        justify-content: center;

    }

    .parallax-content h1 {
        font-size: 56px;
    }

    .parallax-content h1::before,
    .parallax-content h1::after,
    .top-brand-title h1::before,
    .top-brand-title h1::after {
        display: none;
    }

 
    .top-cat-cat .cat-body {
        justify-content: center;
    }

    .logo-top-brand img {
        width: 75px;
    }


    .magazine-content {
        flex-direction: column;
        height: auto;
    }

    .magazine-main-card {
        flex: none;
        height: 240px;
    }

    .magazine-side {
        flex-direction: row;
        height: auto;
    }

    .magazine-small-card {
        height: 150px;
    }

    .benefits-container {
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px 0;
    }

    .benefit-item {
        flex: 1 1 45%;
    }

    .footer-top {
        flex-wrap: wrap;
        gap: 40px;
        padding: 50px 0 40px;
    }

    .footer-brand {
        width: 100%;
        max-width: 100%;
    }
}



@media (max-width: 768px) {


    .header-main {
        height: 62px;
        gap: 12px;
        justify-content: space-between;
    }

    .logo {
        font-size: 20px;
        order: 1;
        width: auto;
    }

    .hamburger {
        display: none !important;
    }

    .icon-button {
        display: none;
    }


    .search-overlay {

        position: fixed;

        inset: 0;

        background: rgba(0, 0, 0, 0.12);

        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);

        opacity: 0;

        visibility: hidden;

        z-index: 1000;

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }


    .search-overlay.search-overlay-active {

        opacity: 1;

        visibility: visible;
    }

    .search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        border: 1px solid #e2e8f0;
        background: #ffffff;
        color: #1e293b;
        cursor: pointer;
        padding: 0;
        transition: all 0.2s ease;
    }

    .search-toggle:hover {
        background: #f1f5f9;
        border-color: #cbd5e1;
        color: #2168ff;
    }

    .search-toggle svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        display: block;
    }


    .search-box {
        position: absolute;
        top: 68px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
        height: 50px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        z-index: 1100;
        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-radius: 14px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    .search-box.search-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .search-box form {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0 12px;
        gap: 8px;
    }

    .search-box .search-icon {
        width: 32px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: #64748b;
    }

    .search-box .search-icon svg {
        width: 20px;
        height: 20px;
        stroke-width: 2;
    }

    .search-box input {
        flex: 1;
        font-size: 14px;
        padding: 0 4px;
    }


    .user-dropdown {
        display: none !important;
    }



    .header-actions {
        order: 3;
        gap: 6px;
        width: auto;
        margin-right: auto;
    }

    .action-item span {
        display: none;
    }

    .action-item svg,
    .icon-button svg,
    .cart-button svg {
        width: 22px;
        height: 22px;
    }

    .navigation {
        position: absolute;
        top: 62px;
        right: 0;
        left: 0;
        height: 0;
        background-color: #ffffff;
        border-top: none;
        box-shadow: 0 12px 25px rgba(16, 24, 40, .08);
    }

    .navigation.nav-open {
        height: auto;
        border-top: 1px solid #eeeeee;
    }

    .nav-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 0;
    }

    .nav-link {
        height: auto;
        padding: 13px 20px;
        justify-content: flex-start;
        border-bottom: 1px solid #f2f2f2;
    }

    .nav-link::after {
        display: none;
    }


    .hero-slider {
        width: 94%;
        margin-top: 90px;
        height: 260px;
        border-radius: 12px;
    }

    .hero,
    .hero-track {
        height: 260px;
    }

    .hero-content {
        padding: 0 22px;
    }

    .hero-label {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .hero-text h1 {
        font-size: 22px;
        line-height: 1.4;
    }

    .hero-text p {
        font-size: 12px;
        margin: 8px 0 16px;
    }

    .hero-button {
        height: 38px;
        padding: 0 18px;
        font-size: 12px;
    }

    .hero-nav-btn {
        width: 34px;
        height: 34px;
        opacity: 0.92;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }

    .hero-nav-btn svg {
        width: 16px;
        height: 16px;
    }

    .hero-nav-left {
        left: 8px;
        right: auto;
    }

    .hero-nav-right {
        right: 8px;
        left: auto;
    }

    .hero-dots {
        bottom: 10px;
        padding: 4px 10px;
        gap: 6px;
    }

    .hero-dot {
        width: 6px;
        height: 6px;
    }

    .hero-dot.active {
        width: 18px;
    }


    .cat-body {
        margin: 40px auto;
        gap: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 94%;
    }

    .cat-img {
        flex: 0 0 auto;
    }

    .cat-img img {
        width: 90px;
    }


    .popular-categories-section {
        margin: 35px auto 25px;
        width: 95%;
    }

    .top-cat-title h1 {
        font-size: 21px;
    }

    .top-cat-title h1::before,
    .top-cat-title h1::after {
        width: 40px;
        margin-right: 14px;
        margin-left: 14px;
    }

    .cat-logos-track {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 18px;
        padding: 8px 4px 16px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .cat-logos-track::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .cat-item-link {
        flex: 0 0 auto;
    }

    .cat-item-link:hover {
        transform: none;
    }

    .cat-item-link:active {
        transform: scale(0.96);
    }

    .cat-item-avatar {
        width: 76px;
        height: 76px;
    }

    .cat-name-fa {
        font-size: 12.5px;
        white-space: nowrap;
    }

    .cat-name-en {
        font-size: 10px;
        white-space: nowrap;
    }


    .featured-products {
        width: 94%;
        margin: 40px auto;
    }

    .section-title h2 {
        font-size: 18px;
    }

    .view-all {
        font-size: 11px;
    }

    .product-card {
        flex: 0 0 170px;
        min-width: 170px;
        height: 345px;
        padding: 10px;
        border-radius: 14px;
        overflow: hidden;
    }

    .product-image {
        height: 135px;
        margin-bottom: 6px;
    }

    .product-no-image svg {
        width: 28px;
        height: 28px;
    }

    .product-no-image span {
        font-size: 9.5px;
    }

    .product-name {
        font-size: 12px;
        line-height: 1.4;
        height: 34px;
        min-height: 34px;
        -webkit-line-clamp: 2;
        margin: 2px 0 4px;
    }

    .product-price {
        min-height: 34px;
        margin-bottom: 8px;
        gap: 1px;
    }

    .product-price del {
        font-size: 10.5px;
    }

    .product-price strong {
        font-size: 13.5px;
    }

    .product-price span {
        font-size: 9.5px;
    }

    .product-card form {
        margin-top: auto;
        width: 100%;
    }

    .add-cart {
        height: 34px;
        font-size: 10px;
        gap: 4px;
        padding: 0 6px;
    }

    .add-cart svg {
        width: 15px;
        height: 15px;
    }

    .wishlist {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
    }

    .discount-badge {
        top: 8px;
        left: 8px;
        right: auto;
        font-size: 9.5px;
        height: 18px;
        line-height: 18px;
        min-width: 50px;
        padding: 0 5px;
        white-space: nowrap !important;
        box-sizing: border-box;
    }


    .banner {
        display: none;
    }


    .top-brand-title h1 {
        font-size: 20px;
    }

    .top-cat-cat {
        margin-top: 20px;
    }

    .top-cat-cat .cat-body {
        margin: 20px auto;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .logo-top-brand img {
        width: 56px;
    }


    .parallax-banner {
        display: flex;
        height: 300px;
        margin-top: 40px;
        background-attachment: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .parallax-content h1 {
        font-size: 30px;
    }

    .parallax-content h2 {
        font-size: 13px;
        margin-top: 6px;
    }


    .magazine-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 20px;
    }

    .magazine-title h2 {
        font-size: 22px;
    }

    .magazine-view-all {
        padding: 10px 14px;
        font-size: 12px;
    }

    .magazine-content {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }

    .baseline {
        display: none;
    }

    .magazine-main-card {
        height: 180px;
    }

    .magazine-side {
        flex-direction: row;
        height: auto;
        gap: 10px;
    }

    .magazine-small-card {
        height: 130px;
    }

    .magazine-main-card .magazine-overlay-info h3 {
        font-size: 14px;
    }

    .magazine-small-card .magazine-overlay-info h3 {
        font-size: 11px;
    }

    .magazine-overlay-info {
        padding: 12px 12px 10px;
    }

    .store-benefits {
        width: 92%;
        margin: 35px auto 25px;
        gap: 20px;
    }

    .benefits-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: column;
        grid-template-rows: repeat(2, 1fr);
        gap: 12px 10px;
        height: auto;
        padding: 0;
        width: 100%;
    }

    .benefit-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 8px;
        background: #fafafa;
        border: 1px solid #edf2f7;
        border-radius: 14px;
        min-width: 0;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
        transition: transform 0.2s ease;
    }

    .benefit-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        flex-shrink: 0;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        box-shadow: 0 2px 8px rgba(20, 40, 80, 0.04);
    }

    .benefit-icon svg {
        width: 20px;
        height: 20px;
    }

    .benefit-text {
        min-width: 0;
        flex: 1;
    }

    .benefit-text h3 {
        font-size: 12.5px;
        margin: 0 0 2px;
        font-weight: 700;
        color: #172033;
        line-height: 1.3;
    }

    .benefit-text p {
        font-size: 10px;
        margin: 0;
        line-height: 1.35;
        color: #7b8494;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }


    .footer-top {
        padding: 40px 0 30px;
        gap: 30px;
    }

    .footer-column {
        min-width: 45%;
        flex: 1 1 45%;
    }

    .footer-trust-column {
        min-width: 45%;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 170px;
    }

    .trust-box {
        width: 100%;
        height: 52px;
        border-radius: 8px;
    }

    .trust-placeholder {
        font-size: 8px;
        padding: 3px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 20px 0;
    }
}


@media (max-width: 420px) {
    .cat-logos-track {
        gap: 14px;
    }

    .cat-item-avatar {
        width: 68px;
        height: 68px;
    }

    .cat-name-fa {
        font-size: 11.5px;
    }

    .cat-name-en {
        font-size: 9px;
    }

    .hero-text h1 {
        font-size: 19px;
    }

    .product-card {
        flex: 0 0 155px;
        min-width: 155px;
        height: 335px;
        padding: 8px;
    }

    .product-image {
        height: 125px;
        margin-bottom: 4px;
    }

    .product-name {
        font-size: 11px;
        line-height: 1.35;
        height: 30px;
        min-height: 30px;
        margin-bottom: 3px;
    }

    .product-price {
        min-height: 30px;
        margin-bottom: 6px;
    }

    .product-price strong {
        font-size: 12.5px;
    }

    .product-price span {
        font-size: 9px;
    }

    .product-price del {
        font-size: 9.5px;
    }

    .product-card form {
        margin-top: auto;
        width: 100%;
    }

    .add-cart {
        height: 32px;
        font-size: 9px;
    }

    .footer-column {
        min-width: 45%;
    }

    .trust-grid {
        gap: 20px;
        max-width: 145px;
    }

    .trust-box {
        height: 60px;
    }

    .trust-placeholder {
        font-size: 7.5px;
    }

    .benefits-container {
        gap: 10px 8px;
    }

    .benefit-item {
        padding: 8px 6px;
        gap: 8px;
        border-radius: 12px;
    }

    .benefit-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .benefit-icon svg {
        width: 17px;
        height: 17px;
    }

    .benefit-text h3 {
        font-size: 11px;
    }

    .benefit-text p {
        font-size: 9px;
    }
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    background: #e11d48;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 0 6px;
    height: 20px;
    line-height: 20px;
    min-width: 54px;
    box-sizing: border-box;
    border-radius: 999px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important;
    word-break: keep-all;
    gap: 2px;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.25);
    flex-shrink: 0;
}


.discount-section-wrapper {
    width: 90%;
    max-width: 1320px;
    margin: 45px auto;
    background-color: rgba(0, 0, 0, 0.00);
    border: 1px solid rgba(0, 0, 0, 0.074);
    border-radius: 24px;
    padding: 28px 28px 24px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
    position: relative;
    overflow: hidden;
}

.discount-header-row,
.discount-products-scroll {
    position: relative;
}

.discount-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 12px;
}

.discount-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.discount-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}

.discount-tag-badge svg {
    stroke: #ef4444;
}

.discount-title-group h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.discount-title-group p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
}

.discount-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 2px solid #000000;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.discount-view-all-link:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translatey(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.132);
}

.discount-products-scroll {
    width: 100%;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 18px;
    scroll-behavior: smooth;
    direction: rtl;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .discount-section-wrapper {
        width: 94%;
        padding: 16px 12px 14px;
        margin: 25px auto;
        border-radius: 18px;
    }

    .discount-header-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .discount-title-group {
        align-items: center;
        justify-content: center;
    }

    .discount-title-group h2 {
        font-size: 1.15rem;
    }

    .discount-title-group p {
        font-size: 0.8rem;
    }

    .discount-view-all-link {
        font-size: 11px;
        background-color: transparent;
        align-self: center;
    }

    .discount-products-scroll {
        gap: 10px;
        padding-bottom: 10px;
    }
}

/* =====================================================
   POPULAR BRANDS SHOWCASE (MODERN CIRCULAR BADGES)
===================================================== */
.popular-brands-section {
    width: 90%;
    max-width: 1320px;
    margin: 65px auto;
    padding: 10px 0 20px;
}

.popular-brands-container {
    width: 100%;
}

/* Header */
.top-brand-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.brand-sub-badge {
    display: inline-block;
    background: #f0f5ff;
    color: #2168ff;
    border: 1px solid rgba(33, 104, 255, 0.16);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.top-brand-title {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.top-brand-title h2,
.top-brand-title h1 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 12px;
}

/* Iconic gradient lines on both sides */
.top-brand-title h2::before,
.top-brand-title h2::after,
.top-brand-title h1::before,
.top-brand-title h1::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 115px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #0f172a);
    opacity: 0.7;
}

.top-brand-title h2::before,
.top-brand-title h1::before {
    right: 100%;
    margin-right: 24px;
}

.top-brand-title h2::after,
.top-brand-title h1::after {
    left: 100%;
    margin-left: 24px;
    transform: rotate(180deg);
}

.brand-sub-desc {
    margin-top: 10px;
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
}

/* Logos Track */
.brand-logos-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex-wrap: wrap;
    padding: 10px 4px 15px;
}

/* Brand Item Link */
.brand-item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Circular Avatar */
.brand-item-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #000000;
    border: 2.5px solid #ffffff;
    box-shadow:
        0 10px 24px -4px rgba(0, 0, 0, 0.12),
        0 0 0 1px #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-item-avatar img {
    width: 84%;
    height: 84%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle glossy reflection */
.brand-item-avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.20) 0%, transparent 62%);
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* Hover Interaction */
.brand-item-link:hover {
    transform: translateY(-8px);
}

.brand-item-link:hover .brand-item-avatar {
    box-shadow:
        0 20px 38px -6px rgba(33, 104, 255, 0.32),
        0 0 0 2.5px #2168ff;
    border-color: #ffffff;
}

.brand-item-link:hover .brand-item-avatar img {
    transform: scale(1.1);
}

.brand-item-link:hover .brand-item-avatar::after {
    opacity: 1;
}

/* Caption (Names) */
.brand-item-caption {
    margin-top: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.brand-name-fa {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    transition: color 0.25s ease;
}

.brand-name-en {
    font-size: 11.5px;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.4px;
    transition: color 0.25s ease;
}

.brand-item-link:hover .brand-name-fa {
    color: #2168ff;
}

.brand-item-link:hover .brand-name-en {
    color: #475569;
}

/* View All Badge */
.brand-item-avatar.brand-avatar-all {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.brand-avatar-all svg {
    color: #ffffff;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.brand-item-all:hover .brand-avatar-all svg {
    transform: rotate(90deg) scale(1.12);
    color: #60a5fa;
}

/* Footer link */
.popular-brands-footer {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.brands-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.brands-view-all-link svg {
    transition: transform 0.25s ease;
}

.brands-view-all-link:hover {
    background: #f8faff;
    border-color: #2168ff;
    color: #2168ff;
    box-shadow: 0 6px 16px rgba(33, 104, 255, 0.12);
}

.brands-view-all-link:hover svg {
    transform: translateX(-4px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {

    .top-brand-title h2::before,
    .top-brand-title h2::after,
    .top-brand-title h1::before,
    .top-brand-title h1::after {
        width: 70px;
    }

    .brand-logos-track {
        gap: 24px;
    }

    .brand-item-avatar {
        width: 84px;
        height: 84px;
    }
}

@media (max-width: 768px) {
    .popular-brands-section {
        margin: 45px auto 35px;
        width: 95%;
    }

    .top-brand-title h2,
    .top-brand-title h1 {
        font-size: 21px;
    }

    .top-brand-title h2::before,
    .top-brand-title h2::after,
    .top-brand-title h1::before,
    .top-brand-title h1::after {
        display: none;
    }

    .brand-sub-desc {
        font-size: 12.5px;
        padding: 0 16px;
    }

    .brand-logos-track {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 8px 4px 16px;
        gap: 18px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .brand-logos-track::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .brand-item-link {
        flex: 0 0 auto;
    }

    .brand-item-link:hover {
        transform: none;
    }

    .brand-item-link:active {
        transform: scale(0.96);
    }

    .brand-item-avatar {
        width: 76px;
        height: 76px;
    }

    .brand-name-fa {
        font-size: 13.5px;
        white-space: nowrap;
    }

    .brand-name-en {
        font-size: 11px;
        white-space: nowrap;
    }

    .brands-view-all-link {
        font-size: 12px;
        padding: 8px 18px;
    }
}

@media (max-width: 480px) {
    .brand-item-avatar {
        width: 68px;
        height: 68px;
    }

    .brand-logos-track {
        gap: 16px;
    }
}

/* =====================================================
   MOBILE USER SIDEBAR (DRAWER)
===================================================== */
.user-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.user-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.user-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 86vw;
    background: #ffffff;
    z-index: 2501;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.user-sidebar.open {
    transform: translateX(0);
}

.user-sidebar-header {
    padding: 24px 20px 20px;
    background: linear-gradient(135deg, #d1d1d19a 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.user-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-sidebar-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2168ff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(33, 104, 255, 0.25);
}

.user-sidebar-avatar svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.user-sidebar-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.user-sidebar-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
}

.user-sidebar-close {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    transition: all 0.2s ease;
}

.user-sidebar-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.user-sidebar-content {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.user-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-sidebar-item svg {
    width: 20px;
    height: 20px;
    stroke: #64748b;
    fill: none;
    stroke-width: 1.8;
    flex-shrink: 0;
    transition: stroke 0.2s ease;
}

.user-sidebar-item:hover {
    background: #f8fafc;
    color: #2168ff;
}

.user-sidebar-item:hover svg {
    stroke: #2168ff;
}

.user-sidebar-badge {
    margin-right: auto;
    background: #2168ff;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.user-sidebar-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 8px 0;
}

.user-sidebar-logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #ef4444;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: right;
    transition: all 0.2s ease;
}

.user-sidebar-logout-btn svg {
    width: 20px;
    height: 20px;
    stroke: #ef4444;
    fill: none;
    stroke-width: 1.8;
    flex-shrink: 0;
}

.user-sidebar-logout-btn:hover {
    background: #fef2f2;
}

.user-sidebar-guest-actions {
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-sidebar-btn-primary {
    background: #2168ff;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.user-sidebar-btn-primary:hover {
    background: #1455e6;
}

.user-sidebar-btn-secondary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-sidebar-btn-secondary:hover {
    background: #f1f5f9;
}