/* ============================================================
   HIP Store - Inspired by Neshat Rokh
   Vibrant, Modern & Fully Animated
   ============================================================ */

:root {
    --bg: #f5f5f5;
    --surface: #ffffff;
    --border: #e8e8e8;
    --text: #212121;
    --text2: #616161;
    --text3: #9e9e9e;
    --primary: #e53935;
    --primary-hover: #c62828;
    --primary-light: #ffebee;
    --green: #2e7d32;
    --gold: #f9a825;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 4px 20px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
    --font: 'Vazirmatn FD NL', 'Vazir', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    direction: rtl;
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: inherit; outline: none; background: none; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ==================== TOP BAR ==================== */
.top-bar {
    background: linear-gradient(90deg, #c62828, #e53935, #c62828);
    color: #fff;
    font-size: .7rem;
    padding: 6px 0;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 16px;
}
.top-bar-inner span { display: flex; align-items: center; gap: 5px; }
.discount-code {
    background: rgba(255,255,255,.15);
    padding: 3px 12px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
}
.discount-code:hover { background: rgba(255,255,255,.25); transform: scale(1.05); }
.countdown-timer {
    background: rgba(0,0,0,.15);
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
}
.countdown-timer span { min-width: 16px; text-align: center; }

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }

.header-top-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo - Modern & Animated */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    transition: transform .3s;
}
.logo:hover { transform: translateY(-2px); }
.logo-icon-wrapper { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.logo img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #fff;
    padding: 2px;
    box-shadow: 0 4px 15px rgba(229,57,53,.3), 0 0 0 4px rgba(229,57,53,.08);
    transition: all .4s cubic-bezier(.175,.885,.32,1.275);
    position: relative;
    z-index: 2;
}
.logo:hover img {
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(229,57,53,.4), 0 0 0 8px rgba(229,57,53,.12);
    transform: rotate(-8deg) scale(1.08);
}
.logo-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 14px;
    background: conic-gradient(from 0deg, var(--primary), #ff5252, var(--primary-hover), var(--primary));
    opacity: 0;
    z-index: 1;
    transition: .5s;
    animation: logoRotate 3s linear infinite paused;
}
.logo:hover .logo-icon-wrapper::before { opacity: .7; animation-play-state: running; border-radius: 50%; }
@keyframes logoRotate { to { transform: rotate(360deg); } }
.logo-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 12px rgba(229,57,53,.6);
    transition: .3s;
}
.logo:hover .logo-icon-wrapper::after {
    width: 16px;
    height: 16px;
    top: -5px;
    right: -5px;
    box-shadow: 0 0 20px rgba(229,57,53,.8);
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-weight: 900;
    font-size: .95rem;
    background: linear-gradient(135deg, var(--text), #424242);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .3s;
}
.logo:hover .logo-name {
    background: linear-gradient(135deg, var(--primary), #ff5252);
    -webkit-background-clip: text;
}
.logo-sub {
    font-size: .6rem;
    font-weight: 600;
    color: var(--text3);
    letter-spacing: .5px;
    padding-right: 12px;
    position: relative;
    transition: .3s;
}
.logo-sub::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
    transition: .3s;
}
.logo:hover .logo-sub { color: var(--primary); letter-spacing: 1px; }
.logo:hover .logo-sub::before { width: 10px; }

/* Search */
.search-wrapper { flex: 1; max-width: 500px; min-width: 200px; position: relative; }
.search-box {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 0 6px 0 16px;
    height: 46px;
    transition: all .3s;
}
.search-box:focus-within {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 6px rgba(229,57,53,.06);
}
.search-box .search-icon { color: var(--text3); font-size: .85rem; margin-left: 10px; flex-shrink: 0; transition: .3s; }
.search-box:focus-within .search-icon { color: var(--primary); }
.search-box input {
    flex: 1;
    border: none;
    background: none;
    font-size: .8rem;
    color: var(--text);
    padding: 10px 0;
    outline: none;
    font-weight: 500;
}
.search-box input::placeholder { color: #bdbdbd; }
.search-clear-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: .5rem;
    color: var(--text3);
    cursor: pointer;
    transition: all .3s;
}
.search-clear-btn.show { display: flex; }
.search-clear-btn:hover { background: var(--primary-light); color: var(--primary); transform: rotate(90deg); }

/* Results Grid */
.search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 420px;
    overflow-y: auto;
    display: none;
    z-index: 200;
    padding: 10px;
}
.search-results.active { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 8px;
    transition: all .3s ease;
}
.sr-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(229,57,53,.12);
    transform: translateY(-3px);
}
.sr-item img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #fafafa;
    padding: 5px;
    transition: transform .4s;
}
.sr-item:hover img { transform: scale(1.1); }
.sr-info strong { font-size: .7rem; font-weight: 700; display: block; margin-bottom: 5px; }
.sr-price {
    font-size: .75rem;
    font-weight: 900;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 999px;
}
.sr-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--text3); }

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 18px;
    display: none;
    z-index: 200;
}
.search-wrapper.active .search-dropdown { display: block; }
.sd-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid #f5f5f5; }
.sd-title { font-size: .72rem; font-weight: 800; }
.sd-title i { color: var(--primary); animation: firePulse 1.5s infinite; }
@keyframes firePulse { 50% { transform: scale(1.2); } }
#sdCloseBtn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .55rem;
    cursor: pointer;
    transition: all .3s;
}
#sdCloseBtn:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }
.sd-section { margin-bottom: 14px; }
.sd-label { font-size: .62rem; font-weight: 800; color: var(--text3); margin-bottom: 8px; }
.sd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-tag {
    padding: 6px 14px;
    background: #f5f5f5;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
}
.sd-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(229,57,53,.15);
}
.sd-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sd-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fafafa;
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    padding: 12px 8px;
    transition: all .3s;
    cursor: pointer;
}
.sd-product:hover {
    background: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.sd-product img { width: 42px; height: 42px; object-fit: contain; margin-bottom: 6px; border-radius: 6px; transition: transform .4s; }
.sd-product:hover img { transform: scale(1.1); }
.sd-product-info strong { font-size: .65rem; font-weight: 700; }
.sd-product-info span { font-size: .6rem; color: var(--primary); font-weight: 800; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-sm {
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #ff5252);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all .3s;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(229,57,53,.2);
}
.btn-sm:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229,57,53,.3);
}
.btn-login { animation: loginPulse 2s infinite; }
@keyframes loginPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(229,57,53,.2); }
    50% { box-shadow: 0 4px 25px rgba(229,57,53,.4); }
}
.btn-cart { position: relative; width: 42px; padding: 0; justify-content: center; font-size: .9rem; }
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    font-size: .6rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    animation: bounceIn .4s;
}
@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.cart-badge.show { display: flex; }

/* Navigation */
.header-nav { background: var(--surface); border-top: 1px solid var(--border); }
.header-nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.nav-link {
    padding: 14px 20px;
    font-size: .76rem;
    font-weight: 700;
    color: var(--text2);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: all .3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #ff5252);
    border-radius: 999px;
    transition: all .4s cubic-bezier(.175,.885,.32,1.275);
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 80%; }
.nav-link.active { color: var(--primary); }
.nav-link.active::after { width: 80%; }

/* ==================== HERO ==================== */
.hero-new {
    padding: 30px 20px;
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-video {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
    background: #000;
    transition: transform .4s;
}
.hero-video:hover { transform: scale(1.02); }
.hero-text { text-align: right; }
.hero-typewriter {
    font-size: .85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    min-height: 24px;
}
.hero-text h1 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 12px;
}
.hero-text h1 span {
    color: var(--primary);
    position: relative;
}
.hero-text h1 span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(229,57,53,.15);
    border-radius: 999px;
    z-index: -1;
}
.hero-text p { color: var(--text2); font-size: .8rem; margin-bottom: 20px; line-height: 1.8; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .8rem;
    transition: all .3s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ff5252);
    color: #fff;
    box-shadow: 0 4px 15px rgba(229,57,53,.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229,57,53,.35);
}
.btn-outline {
    background: #fff;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ==================== SLIDER + ADS ==================== */
.hero-bottom {
    max-width: 1300px;
    margin: 30px auto 50px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 18px;
}
.slider-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #111;
    aspect-ratio: 16/7;
    min-height: 210px;
    box-shadow: var(--shadow-lg);
}
.slider-track { display: flex; height: 100%; transition: transform .5s ease; }
.slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 30px 36px;
}
.slide-content h3 { font-size: 1.2rem; font-weight: 900; color: #fff; }
.slide-content p { color: rgba(255,255,255,.75); font-size: .7rem; margin: 10px 0 14px; }
.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    cursor: pointer;
    transition: all .3s;
}
.slider-dot.active {
    background: #fff;
    width: 28px;
    border-radius: 999px;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    cursor: pointer;
    transition: all .3s;
}
.slider-arrow:hover { background: rgba(255,255,255,.25); }
.slider-arrow.prev { right: 12px; }
.slider-arrow.next { left: 12px; }

.ads-cards { display: flex; flex-direction: column; gap: 14px; }
.ad-card {
    flex: 1;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    transition: all .3s;
    cursor: pointer;
}
.ad-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.ad-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: all .3s;
}
.ad-card:hover .ad-icon { background: var(--primary); color: #fff; }
.ad-badge {
    font-size: .58rem;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 800;
    background: var(--primary-light);
    color: var(--primary);
}
.ad-badge.gold { background: #fff9db; color: var(--gold); }

/* ==================== CATEGORIES ==================== */
.cat-banners { max-width: 1300px; margin: 50px auto; padding: 0 20px; }
.section-title {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff5252);
    border-radius: 999px;
}
.cat-banners-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cat-banner-card {
    flex: 1;
    min-width: 230px;
    aspect-ratio: 20/9;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all .4s;
    box-shadow: var(--shadow);
}
.cat-banner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.cat-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}
.cat-banner-card:hover img { transform: scale(1.08); }
.cat-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.7), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.cat-banner-overlay span { color: #fff; font-weight: 900; font-size: 1rem; }
.cat-result {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all .5s ease;
}
.cat-result.show { max-height: 3000px; opacity: 1; margin-top: 24px; overflow: visible; }
.cat-result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cat-result-header h3 { font-size: 1rem; font-weight: 900; color: var(--primary); }
.cat-result-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .7rem;
    transition: all .3s;
}
.cat-result-close:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: rotate(90deg); }
.cat-view-all { display: block; text-align: center; font-weight: 700; color: var(--primary); margin-top: 12px; font-size: .72rem; }

/* ==================== PRODUCT CARD (Neshat Rokh Style) ==================== */
.product-card-new {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .4s cubic-bezier(.175,.885,.32,1.275);
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card-new:hover {
    border-color: transparent;
    box-shadow: 0 16px 45px rgba(229,57,53,.12);
    transform: translateY(-6px);
}
.product-card-new-img {
    position: relative;
    background: #fafafa;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    overflow: hidden;
}
.product-card-new-img img {
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
    transition: transform .6s ease;
}
.product-card-new:hover .product-card-new-img img { transform: scale(1.1); }
.discount-badge-new {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--primary), #ff5252);
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .64rem;
    font-weight: 900;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(229,57,53,.3);
    display: flex;
    align-items: center;
    gap: 4px;
    animation: discountShake 3s ease infinite;
}
@keyframes discountShake {
    0%, 100% { transform: rotate(0); }
    2% { transform: rotate(-5deg); }
    4% { transform: rotate(5deg); }
    6% { transform: rotate(0); }
}
.discount-percent-bar {
    position: absolute;
    left: 10px;
    top: 10px;
    background: linear-gradient(135deg, var(--primary), #ff5252);
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .66rem;
    font-weight: 900;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(229,57,53,.25);
}
.product-card-new-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.product-name {
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.7;
    color: var(--text);
    transition: color .3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-new:hover .product-name { color: var(--primary); }
.product-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}
.current-price-new { font-size: .95rem; font-weight: 900; color: var(--text); }
.old-price-new {
    font-size: .7rem;
    color: var(--text3);
    text-decoration: line-through;
    font-weight: 500;
}
.discount-percent-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 800;
}
.sales-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .64rem;
    color: var(--text3);
    padding-top: 10px;
    border-top: 1px solid #f5f5f5;
}
.sales-count i { color: var(--gold); font-size: .7rem; }
.sales-count .count-number { font-weight: 700; color: var(--text2); }
.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--primary), #ff5252);
    color: #fff;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    transition: all .3s;
    margin-top: 6px;
    box-shadow: 0 4px 12px rgba(229,57,53,.15);
}
.add-to-cart-btn:hover {
    gap: 10px;
    box-shadow: 0 8px 25px rgba(229,57,53,.3);
    transform: translateY(-2px);
}

/* ==================== DISCOUNT SECTION (Digikala Style) ==================== */
.dk-discount {
    max-width: 1300px;
    margin: 50px auto;
    padding: 0 20px;
}
.dk-discount-header {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 40%, #b91c1c 100%);
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.dk-discount-header::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.dk-discount-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 10%;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}
.dk-discount-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.dk-discount-badge {
    background: #fff;
    color: #dc2626;
    padding: 7px 18px;
    border-radius: 999px;
    font-weight: 900;
    font-size: .78rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
    animation: dk-pulse 2.5s ease infinite;
}
@keyframes dk-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(0,0,0,.15); }
    50% { box-shadow: 0 4px 20px rgba(0,0,0,.25), 0 0 0 6px rgba(255,255,255,.2); }
}
.dk-discount-title {
    font-size: 1.1rem;
    font-weight: 900;
}
.dk-discount-header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.dk-countdown {
    display: flex;
    align-items: center;
    gap: 4px;
}
.dk-countdown-box {
    background: rgba(0,0,0,.2);
    border-radius: 8px;
    padding: 6px 8px;
    text-align: center;
    min-width: 44px;
}
.dk-countdown-box span {
    display: block;
    font-size: .95rem;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.dk-countdown-box small {
    display: block;
    font-size: .5rem;
    opacity: .7;
    margin-top: 3px;
}
.dk-countdown-sep {
    font-size: 1rem;
    font-weight: 900;
    opacity: .6;
}
.dk-view-all {
    font-size: .75rem;
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    transition: all .3s;
    white-space: nowrap;
}
.dk-view-all:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.5);
}
.dk-discount-body {
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 20px;
    position: relative;
}
.dk-product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .3s;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.dk-product-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    transform: translateY(-4px);
}
.dk-product-img {
    position: relative;
    background: #fafafa;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    overflow: hidden;
}
.dk-product-img img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform .5s ease;
}
.dk-product-card:hover .dk-product-img img {
    transform: scale(1.08);
}
.dk-discount-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc2626;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .68rem;
    font-weight: 900;
    z-index: 2;
}
.dk-product-info {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.dk-product-name {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .3s;
}
.dk-product-card:hover .dk-product-name {
    color: var(--primary);
}
.dk-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}
.dk-price-old {
    font-size: .72rem;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 500;
}
.dk-price-old small {
    font-size: .6rem;
}
.dk-price-new {
    font-size: .95rem;
    font-weight: 900;
    color: var(--text);
}
.dk-price-new small {
    font-size: .65rem;
    font-weight: 600;
}
.dk-add-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    cursor: pointer;
    transition: all .3s;
    align-self: flex-start;
}
.dk-add-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
.dk-swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    cursor: pointer;
    transition: all .3s;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.dk-swiper-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.dk-swiper-prev { right: 6px; }
.dk-swiper-next { left: 6px; }
.dk-discount-body .swiper { overflow: hidden !important; }

/* ==================== BESTSELLER ==================== */
.special-section { max-width: 1300px; margin: 50px auto; padding: 0 20px; }
.special-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.special-header h2 {
    font-size: 1.3rem;
    font-weight: 900;
    position: relative;
    padding-right: 16px;
}
.special-header h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary), #ff5252);
    border-radius: 999px;
}
.special-header .view-all-link { color: var(--primary); font-size: .74rem; font-weight: 700; }

/* ==================== BRANDS ==================== */
.partners-section { max-width: 1300px; margin: 50px auto; padding: 0 20px; }
.partners-section .section-title { text-align: center; display: block; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.partner-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    transition: all .4s;
    cursor: pointer;
}
.partner-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.partner-card-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    transition: all .4s;
    overflow: hidden;
}
.partner-card:hover .partner-card-logo {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(229,57,53,.15);
}
.partner-card-logo img { width: 42px; height: 42px; object-fit: contain; transition: transform .4s; }
.partner-card:hover .partner-card-logo img { transform: scale(1.12); }
.partner-card-name { font-size: .74rem; font-weight: 700; }
.partner-card-count {
    font-size: .62rem;
    color: var(--text3);
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 999px;
    transition: all .3s;
}
.partner-card:hover .partner-card-count { background: var(--primary-light); color: var(--primary); }

/* ==================== CASHBACK ==================== */
.cashback { max-width: 650px; margin: 50px auto; padding: 0 20px; text-align: center; }
.cashback-inner {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: var(--radius);
    padding: 42px 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cashback-inner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,.03);
    border-radius: 50%;
}
.cashback-inner h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: 10px; position: relative; }
.cashback-inner p { opacity: .85; margin-bottom: 20px; font-size: .78rem; position: relative; }

/* ==================== CONSULT ==================== */
.consult { max-width: 450px; margin: 50px auto; padding: 0 20px; text-align: center; }
.consult-inner {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 32px 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all .3s;
}
.consult-inner:hover { box-shadow: var(--shadow-lg); }
.consult-inner h2 { font-size: 1.05rem; font-weight: 900; margin-bottom: 16px; }
.consult-inner input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 999px;
    font-size: .78rem;
    margin-bottom: 12px;
    transition: all .3s;
}
.consult-inner input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 5px rgba(229,57,53,.05);
}

/* ==================== BRAND MARQUEE (T94) ==================== */
.brand-marquee-section { max-width: 1300px; margin: 50px auto; padding: 0 20px; }
.brand-marquee-section .section-title { text-align: center; display: block; }
.brand-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.brand-marquee-track { display: flex; gap: 14px; width: max-content; animation: brandMarquee 32s linear infinite; }
.brand-marquee:hover .brand-marquee-track { animation-play-state: paused; }
.brand-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 18px;
    white-space: nowrap;
    transition: all .3s;
    text-decoration: none;
    color: inherit;
}
.brand-chip:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.brand-chip-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: .68rem; font-weight: 800; flex-shrink: 0;
}
.brand-chip-name { font-size: .78rem; font-weight: 700; }
.brand-chip-count { font-size: .64rem; color: var(--text3); }
@keyframes brandMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .brand-marquee-track { animation: none; }
    .brand-marquee { overflow-x: auto; }
}

/* ==================== FLOATING CHAT TEASER (T94) ==================== */
.chat-teaser {
    position: fixed;
    bottom: 90px;
    right: 16px;
    max-width: 230px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 12px 34px 12px 14px;
    z-index: 999999;
    animation: chatTeaserIn .3s ease;
}
.chat-teaser-body { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; cursor: pointer; color: var(--text); }
.chat-teaser-body i { color: var(--primary); font-size: 1rem; }
.chat-teaser-close {
    position: absolute; top: 4px; left: 6px;
    background: none; border: none; font-size: 1.1rem; line-height: 1;
    color: var(--text3); cursor: pointer; padding: 4px 8px;
}
@keyframes chatTeaserIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) { .chat-teaser { right: 10px; bottom: 82px; max-width: 200px; } }
@media (prefers-reduced-motion: reduce) { .chat-teaser { animation: none; } }

/* ==================== FOOTER ==================== */
.footer {
    background: #fff;
    color: var(--hip-ink, #24272e);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    padding: 60px 0 0;
}
#footerParticles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.footer-main { position: relative; z-index: 2; max-width: 1300px; margin: 0 auto; padding: 0 20px 50px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 35px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(229,57,53,.2);
    background: #fff;
    padding: 2px;
}
.footer-logo strong { display: block; color: var(--hip-ink, #24272e); font-size: .95rem; font-weight: 900; }
.footer-logo small { display: block; color: var(--hip-muted, #626874); font-size: .6rem; margin-top: 3px; }
.footer-desc { color: var(--hip-muted, #626874); font-size: .72rem; line-height: 2; margin-bottom: 20px; }
.footer-heading {
    font-size: .8rem;
    font-weight: 900;
    color: var(--hip-ink, #24272e);
    margin-bottom: 18px;
    padding-bottom: 12px;
    position: relative;
    display: inline-block;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #ff5252);
    border-radius: 999px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--hip-muted, #626874);
    font-size: .7rem;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8d95a1;
    transition: all .3s;
    flex-shrink: 0;
}
.footer-links a:hover { color: var(--hip-red, #c91e32); padding-right: 6px; }
.footer-links a:hover::before { background: var(--primary); box-shadow: 0 0 10px rgba(229,57,53,.5); }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--hip-muted, #626874);
    font-size: .7rem;
    line-height: 1.7;
}
.fc-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    color: var(--primary);
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.06);
    transition: all .3s;
}
.footer-contact-list li:hover .fc-icon { background: var(--primary); color: #fff; border-color: var(--primary); }
.phone-link-large { font-size: .85rem; font-weight: 900; color: var(--hip-ink, #24272e); direction: ltr; display: inline-block; margin-top: 4px; }
.trust-badges { display: flex; gap: 12px; }
.enamad-preview-note { max-width: 160px; margin: 0; color: var(--hip-muted, #626874); font-size: .73rem; line-height: 1.9; }
.badge-card {
    width: 80px;
    height: 92px;
    border-radius: var(--radius-sm);
    background: rgb(222, 222, 222);
    border: 1px solid rgba(255,255,255,.06);
    overflow: hidden;
    transition: .4s;
    position: relative;
}
.badge-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.2); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.badge-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2px;
}
.badge-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.04) 50%, transparent 70%);
    transform: skewX(-20deg) translateX(-100%);
}
.badge-card:hover .badge-shimmer { animation: shimmer .8s forwards; }
@keyframes shimmer { to { transform: skewX(-20deg) translateX(200%); } }
.badge-img { width: 85%;  object-fit: contain; filter: grayscale(30%); transition: .4s; }
.badge-card:hover .badge-img { filter: grayscale(0); }
.badge-label { font-size: .52rem; font-weight: 800; color: rgba(255,255,255,.35); margin-top: 5px; transition: .3s; }
.badge-card:hover .badge-label { color: rgba(255,255,255,.7); }
.footer-social { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.social-dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.4);
    font-size: .85rem;
    transition: all .35s;
    border: 1px solid rgba(255,255,255,.06);
}
.social-dot i{
    width: 30px;
}

.social-dot:hover {
    background: linear-gradient(135deg, var(--primary), #ff5252);
    color: #fff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(229,57,53,.3);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.04);
    padding: 16px 20px;
    text-align: center;
    font-size: .66rem;
    color: var(--hip-muted, #626874);
    position: relative;
    z-index: 2;
}

/* ==================== SWIPER FIX ==================== */
.swiper { overflow: hidden !important; padding: 5px 0; }
.swiper-wrapper { align-items: stretch; }
.swiper-slide { height: auto !important; display: flex !important; }
.cat-result { overflow: hidden; }
.cat-result.show { overflow: visible; }

/* ==================== SWIPER NAVIGATION ==================== */
.swiper-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    cursor: pointer;
    color: var(--text);
    transition: all .3s;
    box-shadow: var(--shadow);
}
.swiper-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.swiper-nav { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }

/* ==================== PROMO BANNER SLIDER ==================== */
.promo-hero {
    padding: 20px 20px 0;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}
.promo-slider {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    aspect-ratio: 1672 / 941;
}
.promo-slide {
    width: 100%;
    height: 100%;
}
.promo-slide .swiper-slide {
    width: 100%;
    height: 100%;
}
.promo-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.promo-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.promo-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, transparent 100%);
    opacity: 0;
    transition: opacity .35s ease;
}
.promo-banner-link:hover .promo-banner-overlay {
    opacity: 1;
}
.promo-banner-title {
    color: #fff;
    font-size: clamp(.9rem, 1.8vw, 1.2rem);
    font-weight: 800;
}
.promo-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    padding: 8px 22px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background .3s;
}
.promo-banner-link:hover .promo-banner-btn {
    background: var(--primary-hover);
}
.promo-pagination {
    position: absolute;
    bottom: 16px !important;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 10;
}
.promo-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,.45);
    opacity: 1;
    transition: all .3s;
}
.promo-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 28px;
    border-radius: 999px;
}
.promo-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    cursor: pointer;
    transition: all .3s;
    z-index: 10;
    border: 1px solid rgba(255,255,255,.1);
    opacity: 0.1555;
}
.promo-arrow:hover { background: rgba(255,255,255,.25); transform: translateY(-50%) scale(1.08); }
.promo-prev { right: 14px; }
.promo-next { left: 14px; }

/* ==================== TRUST TYPEWRITER ==================== */
.trust-typewriter {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.trust-typewriter-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 14px;
}
.trust-typewriter-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), #ffebee);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.trust-typewriter-label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}
.trust-typewriter-sep {
    color: var(--border);
    font-weight: 300;
}
.trust-typewriter-text {
    font-size: .82rem;
    font-weight: 800;
    color: var(--primary);
    min-width: 180px;
    white-space: nowrap;
}
.trust-typewriter-cursor {
    font-size: .82rem;
    font-weight: 800;
    color: var(--primary);
    animation: tw-blink .7s step-end infinite;
}
@keyframes tw-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ==================== QUICK ACCESS CARDS ==================== */
.quick-access-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 20px;
}
.qa-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all .3s;
    cursor: pointer;
}
.qa-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.qa-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all .3s;
}
.qa-card:hover .qa-icon { transform: scale(1.08); }
.qa-text strong {
    display: block;
    font-size: .82rem;
    font-weight: 800;
    color: var(--text);
}
.qa-text small {
    display: block;
    font-size: .68rem;
    color: var(--text3);
    margin-top: 2px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; } .hero-text { text-align: center; }
    .hero-bottom { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; }
    .search-results.active { grid-template-columns: repeat(3, 1fr); }
    .quick-access-row { grid-template-columns: repeat(2, 1fr); }
    .dk-discount-header { padding: 14px 18px; flex-wrap: wrap; gap: 12px; }
    .dk-discount-title { font-size: .95rem; }
    .dk-countdown-box { min-width: 38px; padding: 5px 6px; }
    .dk-countdown-box span { font-size: .82rem; }
    .dk-swiper-btn { display: none; }
}
@media (max-width: 768px) {
    .header-top-inner { flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
    .search-wrapper { order: 3; flex-basis: 100%; max-width: 100%; }
    .logo img { width: 38px; height: 38px; } .logo-name { font-size: .82rem; }
    .btn-sm .hide-mobile { display: none; } .btn-sm { width: 38px; padding: 0; justify-content: center; }
    .search-box { height: 42px; }
    .search-results.active { grid-template-columns: repeat(2, 1fr); }
    .hero-new { padding: 20px 12px; } .hero-text h1 { font-size: 1.2rem; }
    .slider-wrap { aspect-ratio: 16/10; min-height: 160px; } .slide { padding: 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer { padding: 40px 0 0; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .cat-banner-card { min-width: 100%; }
    .promo-hero { padding: 12px 12px 0; }
    .promo-arrow { width: 36px; height: 36px; font-size: .7rem; }
    .promo-banner-overlay { opacity: 1; padding: 16px 20px; }
    .promo-banner-title { font-size: .85rem; }
    .promo-banner-btn { padding: 6px 16px; font-size: .7rem; }
    .quick-access-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .trust-typewriter-inner { padding: 12px 16px; gap: 10px; }
    .trust-typewriter-label { font-size: .72rem; }
    .trust-typewriter-text { font-size: .75rem; min-width: 140px; }
}
@media (max-width: 480px) {
    .header-top-inner { padding: 6px 8px; gap: 6px; }
    .logo img { width: 34px; height: 34px; } .logo-name { font-size: .76rem; }
    .btn-sm { width: 34px; height: 34px; } .btn-cart { width: 34px; }
    .search-results.active { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid { gap: 24px; }
    .promo-banner-overlay { padding: 12px 14px; flex-direction: column; align-items: flex-start; gap: 8px; }
    .promo-banner-title { font-size: .78rem; }
    .promo-banner-btn { padding: 5px 14px; font-size: .68rem; }
    .trust-typewriter-inner { flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px 12px; }
    .trust-typewriter-sep { display: none; }
    .trust-typewriter-label { font-size: .68rem; }
    .trust-typewriter-text { font-size: .72rem; min-width: auto; }
    .quick-access-row { grid-template-columns: 1fr 1fr; gap: 8px; }
    .qa-card { padding: 12px 14px; gap: 10px; }
    .qa-icon { width: 40px; height: 40px; font-size: .85rem; }
    .dk-discount { margin: 30px auto; padding: 0 12px; }
    .dk-discount-header { padding: 12px 14px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
    .dk-discount-badge { padding: 5px 12px; font-size: .7rem; }
    .dk-discount-title { font-size: .85rem; }
    .dk-countdown-box { min-width: 32px; padding: 4px 5px; }
    .dk-countdown-box span { font-size: .75rem; }
    .dk-countdown-box small { font-size: .45rem; }
    .dk-view-all { padding: 6px 12px; font-size: .68rem; }
    .dk-discount-body { padding: 12px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
    .dk-product-info { padding: 10px 12px; gap: 6px; }
    .dk-product-name { font-size: .72rem; }
    .dk-price-new { font-size: .85rem; }
}

/* Shared catalog search */
.skip-content { position: fixed; top: -100px; right: 16px; z-index: 100000; padding: 12px 18px; background: #fff; color: #a51629; border: 2px solid #a51629; border-radius: 8px; }
.skip-content:focus { top: 10px; }
#mainContent { scroll-margin-top: 150px; }
.search-submit { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; color: #626874; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.search-submit:focus-visible, #searchInput:focus-visible, #sdCloseBtn:focus-visible, .search-clear-btn:focus-visible { outline: 2px solid #b91930; outline-offset: 2px; }
.search-box input[type="search"] { min-width: 0; width: 100%; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box input::placeholder { color: #686e79; }
.search-box { margin: 0; }
.sd-products p { font-size: 12px; color: #5a626d; line-height: 1.9; }
.sr-item img, .sd-product img { object-fit: contain; }
.sd-section[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .search-clear-btn { transition: none; } }
