/* ==========================================================================
   Avand E-Commerce Design System & Main Styles
   ========================================================================== */

@font-face {
    font-family: "Vazirmatn FD";
    src: url("../fonts/Vazirmatn-FD-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn FD";
    src: url("../fonts/Vazirmatn-FD-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn FD";
    src: url("../fonts/Vazirmatn-FD-Bold.woff2") format("woff2");
    font-weight: 600 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn FD";
    src: url("../fonts/Vazirmatn-FD-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Brand Colors */
    --av-primary: #0C68E9;
    --av-primary-rgb: 12, 104, 233;
    --av-accent: #EF4056;
    --av-plus: #7928CA;
    --av-success: #10B981;
    --av-warning: #F59E0B;
    --av-danger: #EF4444;

    /* Neutrals */
    --av-bg: #F8FAFC;
    --av-surface: #FFFFFF;
    --av-surface-2: #F1F5F9;
    --av-border: #E2E8F0;
    --av-text: #0F172A;
    --av-muted: #64748B;

    /* Typography */
    --av-font: "Vazirmatn FD", Tahoma, -apple-system, sans-serif;
    
    /* Layout */
    --av-container: 1320px;
    --av-r: 12px;
    --av-r-lg: 18px;
    --av-r-pill: 9999px;
    --av-shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --av-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
    --av-shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
    --av-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; }
body.av-body {
    margin: 0;
    font-family: var(--av-font);
    background-color: var(--av-bg);
    color: var(--av-text);
    line-height: 1.8;
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: var(--av-transition); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; }

.av-container {
    max-width: var(--av-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.av-skip-link {
    position: absolute;
    top: -999px;
    left: 0;
    background: var(--av-primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
}
.av-skip-link:focus { top: 0; }

/* Icons */
.av-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* Buttons */
.av-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--av-r);
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--av-transition);
}
.av-btn--primary { background: var(--av-primary); color: #fff; }
.av-btn--primary:hover { background: color-mix(in srgb, var(--av-primary) 85%, #000); }
.av-btn--ghost { background: var(--av-surface-2); color: var(--av-text); }
.av-btn--ghost:hover { background: var(--av-border); }
.av-btn--sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; }
.av-btn--lg { padding: 14px 28px; font-size: 16px; border-radius: var(--av-r-lg); }
.av-btn--block { width: 100%; }

/* Badges */
.av-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--av-r-pill);
    background: var(--av-accent);
    color: #fff;
}
.av-badge--soft { background: var(--av-surface-2); color: var(--av-muted); }
.av-badge--sale { position: absolute; top: 12px; right: 12px; z-index: 2; }

/* Header - Floating Pill Style */
.av-header--floating-pill {
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.av-header--floating-pill .av-header__inner {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--av-r-pill);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--av-shadow);
}
.av-brand-title { font-size: 20px; font-weight: 800; color: var(--av-primary); }

.av-header__search { flex: 1; max-width: 520px; }
.av-search-form {
    position: relative;
    display: flex;
    align-items: center;
}
.av-search-input {
    width: 100%;
    padding: 10px 42px 10px 16px;
    background: var(--av-surface-2);
    border: 1px solid transparent;
    border-radius: var(--av-r-pill);
    font-size: 13.5px;
    outline: none;
    transition: var(--av-transition);
}
.av-search-input:focus {
    background: #fff;
    border-color: var(--av-primary);
    box-shadow: 0 0 0 3px rgba(var(--av-primary-rgb), 0.15);
}
.av-search-icon { position: absolute; right: 14px; color: var(--av-muted); pointer-events: none; }

.av-header__actions { display: flex; align-items: center; gap: 12px; }
.av-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--av-r-pill);
    font-size: 13px;
    font-weight: 600;
    background: var(--av-surface-2);
    border: none;
    cursor: pointer;
    transition: var(--av-transition);
}
.av-header-btn:hover { background: var(--av-border); }

.av-plus-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #7928CA, #FF0080);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--av-r-pill);
}

.av-points-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FEF3C7;
    color: #D97706;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--av-r-pill);
}

.av-cart-icon-wrap { position: relative; }
.av-cart-count-badge {
    position: absolute;
    top: -6px;
    left: -8px;
    padding: 1px 5px;
    font-size: 10px;
}
.av-cart-count-badge.is-empty { display: none; }

/* Shop Header Banner & Breadcrumbs */
.av-shop-header-banner {
    background: #fff;
    border-bottom: 1px solid var(--av-border);
    padding: 24px 0 20px 0;
    margin-bottom: 24px;
}
.av-breadcrumbs {
    font-size: 13px;
    color: var(--av-muted);
    margin-bottom: 12px;
}
.av-breadcrumb-nav a {
    color: var(--av-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.av-breadcrumb-nav a:hover {
    color: var(--av-primary);
}
.av-bc-sep {
    margin: 0 8px;
    color: #CBD5E1;
}
.av-shop-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.av-shop-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--av-text);
}
.av-shop-total-badge {
    background: #F1F5F9;
    color: var(--av-muted);
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
}

/* Shop Toolbar */
.av-shop-toolbar {
    background: #fff;
    border: 1px solid var(--av-border);
    border-radius: var(--av-r);
    padding: 12px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--av-shadow-sm);
}
.av-shop-toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.av-grid-switcher {
    display: flex;
    gap: 6px;
    align-items: center;
    background: #F8FAFC;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}
.av-switcher-btn {
    border: none;
    background: transparent;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    color: var(--av-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.av-switcher-btn:hover {
    color: var(--av-primary);
    background: rgba(12, 104, 233, 0.08);
}
.av-switcher-btn.is-active {
    background: var(--av-primary);
    color: #fff;
    box-shadow: 0 2px 6px rgba(12, 104, 233, 0.3);
}
.av-shop-result-count {
    font-size: 13.5px;
    color: var(--av-muted);
    margin: 0;
}
.av-shop-ordering select,
.woocommerce-ordering select {
    border: 1px solid var(--av-border);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13.5px;
    font-family: inherit;
    background: #fff;
    color: var(--av-text);
    outline: none;
}

/* Shop Layout with Sidebar */
.av-shop-layout {
    display: grid;
    gap: 28px;
    align-items: start;
}
.av-shop-layout.has-sidebar-right {
    grid-template-columns: 280px 1fr;
}
.av-shop-layout.has-sidebar-left {
    grid-template-columns: 1fr 280px;
}
.av-shop-layout.has-sidebar-none {
    grid-template-columns: 1fr !important;
}
.av-shop-main {
    width: 100%;
    min-width: 0;
}
@media (min-width: 992px) {
    .av-shop-layout.has-sidebar-right .av-shop-sidebar { grid-column: 1; }
    .av-shop-layout.has-sidebar-right .av-shop-main { grid-column: 2; }
}
@media (max-width: 991px) {
    .av-shop-layout.has-sidebar-right,
    .av-shop-layout.has-sidebar-left {
        grid-template-columns: 1fr;
    }
}
.av-shop-sidebar {
    background: #fff;
    border: 1px solid var(--av-border);
    border-radius: var(--av-r);
    padding: 24px;
    box-shadow: var(--av-shadow-sm);
}

/* Empty State */
.av-empty-shop-state {
    background: #fff;
    border: 1px dashed #CBD5E1;
    border-radius: var(--av-r-lg);
    padding: 60px 24px;
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
}
.av-empty-icon {
    font-size: 54px;
    margin-bottom: 14px;
}
.av-empty-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: var(--av-text);
}
.av-empty-desc {
    font-size: 14px;
    color: var(--av-muted);
    margin: 0 0 24px 0;
    line-height: 1.7;
}

/* Product Cards Grid */
.av-products-grid,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(var(--av-shop-cols-desktop, 4), minmax(0, 1fr)) !important;
    gap: 20px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
@media (max-width: 1024px) {
    .av-products-grid,
    ul.products {
        grid-template-columns: repeat(var(--av-shop-cols-tablet, 3), minmax(0, 1fr)) !important;
        gap: 16px;
    }
}
@media (max-width: 640px) {
    .av-products-grid,
    ul.products {
        grid-template-columns: repeat(var(--av-shop-cols-mobile, 2), minmax(0, 1fr)) !important;
        gap: 12px;
    }
}

.av-product-card {
    background: var(--av-surface);
    border-radius: var(--av-r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--av-transition);
    position: relative;
}

/* Card Styles */
.av-card--shadow {
    border: 1px solid var(--av-border);
    box-shadow: var(--av-shadow-sm);
}
.av-card--shadow:hover {
    box-shadow: var(--av-shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(var(--av-primary-rgb), 0.3);
}
.av-card--bordered {
    border: 1.5px solid var(--av-border);
    box-shadow: none;
}
.av-card--bordered:hover {
    border-color: var(--av-primary);
    transform: translateY(-2px);
}
.av-card--flat {
    border: none;
    background: #F8FAFC;
}
.av-card--flat:hover {
    background: #F1F5F9;
}

.av-card-thumb-wrap {
    position: relative;
    padding-top: 100%;
    background: #fff;
    overflow: hidden;
}
.av-card-thumb-link img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: all 0.35s ease;
}

/* Hover Effects */
.av-hover--zoom:hover .av-card-thumb-link img {
    transform: scale(1.08);
}
.av-hover--swap .av-secondary-img {
    opacity: 0;
    position: absolute;
    inset: 0;
    transition: opacity 0.35s ease;
}
.av-hover--swap:hover .av-secondary-img {
    opacity: 1;
}
.av-hover--swap:hover .av-primary-img {
    opacity: 0;
}

.av-card-plus-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(121, 40, 202, 0.08);
    color: var(--av-plus);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.av-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.av-card-title {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    height: 44px;
    overflow: hidden;
}
.av-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #F59E0B;
    font-size: 12px;
    margin-bottom: 12px;
}
.av-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.av-card-price { font-weight: 700; font-size: 15px; color: var(--av-text); }

/* Interactive Stepper */
.av-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--av-border);
    border-radius: var(--av-r-pill);
    background: #fff;
    padding: 4px;
    gap: 4px;
}
.av-stepper--sm { padding: 2px; }
.av-stepper__btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--av-surface-2);
    color: var(--av-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--av-transition);
}
.av-stepper--sm .av-stepper__btn { width: 26px; height: 26px; }
.av-stepper__btn:hover { background: var(--av-border); }

/* Trash icon swap at value 1 */
.av-stepper__btn--minus .icon-trash { display: none; color: var(--av-danger); }
.av-stepper__btn--minus.is-trash { background: rgba(239, 68, 68, 0.1); }
.av-stepper__btn--minus.is-trash .icon-minus { display: none; }
.av-stepper__btn--minus.is-trash .icon-trash { display: block; }

.av-stepper__input {
    width: 36px;
    text-align: center;
    border: none;
    font-weight: 700;
    font-size: 14px;
    background: transparent;
    -moz-appearance: textfield;
}
.av-stepper__input::-webkit-outer-spin-button,
.av-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.av-buybox-actions { display: flex; align-items: center; gap: 16px; margin: 24px 0; }

/* Cart Layout & Save for later */
.av-cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    margin: 32px 0;
}
@media (max-width: 991px) { .av-cart-layout { grid-template-columns: 1fr; } }

.av-cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--av-surface);
    border: 1px solid var(--av-border);
    border-radius: var(--av-r);
    margin-bottom: 12px;
}
.av-cart-item__thumb { width: 80px; height: 80px; flex-shrink: 0; }
.av-cart-item__details { flex: 1; }
.av-cart-item__title { margin: 0 0 8px 0; font-size: 14px; }
.av-cart-item__actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.av-link-danger { color: var(--av-danger); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* Save for Later Box */
.av-later-box {
    margin-top: 36px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--av-border);
    border-radius: var(--av-r-lg);
}
.av-later-header { margin-bottom: 20px; }
.av-later-title { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--av-primary); }
.av-later-title h3 { margin: 0; font-size: 17px; }
.av-later-subtitle { margin: 0; color: var(--av-muted); font-size: 13px; }
.av-later-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.av-later-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--av-border);
    border-radius: var(--av-r);
    background: var(--av-bg);
}
.av-later-card__thumb { width: 64px; height: 64px; flex-shrink: 0; }
.av-later-card__body { flex: 1; }
.av-later-card__title { margin: 0 0 6px 0; font-size: 13px; }
.av-later-card__actions { display: flex; gap: 8px; margin-top: 8px; }
.av-later-empty { text-align: center; padding: 32px 0; color: var(--av-muted); }

/* OTP Modal */
.av-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--av-transition);
}
.av-modal-overlay.is-active { opacity: 1; visibility: visible; }
.av-modal-container {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.25);
}
.av-modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    border: none;
    background: var(--av-surface-2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.av-field-group { margin-bottom: 18px; }
.av-field-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 13px; }
.av-input-wrap { position: relative; }
.av-input-wrap input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--av-border);
    border-radius: var(--av-r);
    font-size: 15px;
    outline: none;
}
.av-input-wrap input:focus { border-color: var(--av-primary); }
.av-code-input {
    letter-spacing: 12px;
    text-align: center;
    font-size: 20px !important;
    font-weight: 800;
}
.av-form-error {
    background: #FEE2E2;
    color: #DC2626;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    margin-bottom: 14px;
}
.av-resend-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 16px;
    color: var(--av-muted);
}
.av-link-btn { background: none; border: none; color: var(--av-primary); font-weight: 600; cursor: pointer; padding: 0; }

/* Q&A & Reviews */
.av-qa-wrapper, .av-reviews-area {
    background: #fff;
    border: 1px solid var(--av-border);
    border-radius: var(--av-r-lg);
    padding: 24px;
    margin: 24px 0;
}
.av-qa-header, .av-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--av-border);
}
.av-qa-item {
    border-bottom: 1px solid var(--av-border);
    padding: 16px 0;
}
.av-qa-q, .av-qa-reply { display: flex; gap: 12px; }
.av-qa-badge {
    background: var(--av-primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    align-self: flex-start;
}
.av-qa-badge--answer { background: var(--av-success); }
.av-qa-replies { margin-right: 48px; margin-top: 12px; }

/* Customer Dashboard */
.av-account-hero {
    background: #fff;
    border: 1px solid var(--av-border);
    border-radius: var(--av-r-lg);
    padding: 24px;
    margin-bottom: 24px;
}
.av-account-user-info { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.av-account-avatar img { border-radius: 50%; }
.av-account-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.av-account-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--av-bg);
    border-radius: var(--av-r);
}
.av-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.av-stat-icon--coin { background: #FEF3C7; color: #D97706; }
.av-stat-icon--plus { background: #F3E8FF; color: var(--av-plus); }
.av-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.av-shortcut-item {
    background: #fff;
    border: 1px solid var(--av-border);
    border-radius: var(--av-r);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 13.5px;
}
.av-shortcut-item:hover { border-color: var(--av-primary); transform: translateY(-2px); }
.av-shortcut-item--logout { color: var(--av-danger); }

/* Footer */
.av-footer { background: #fff; border-top: 1px solid var(--av-border); margin-top: 64px; }
.av-footer-features { border-bottom: 1px solid var(--av-border); padding: 32px 0; }
.av-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.av-feat-item { display: flex; align-items: center; gap: 14px; color: var(--av-primary); }
.av-feat-item h4 { margin: 0 0 2px 0; color: var(--av-text); font-size: 14px; font-weight: 700; }
.av-feat-item p { margin: 0; color: var(--av-muted); font-size: 12px; }

.av-footer-body { padding: 48px 0 24px 0; }
.av-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px;
}
@media (max-width: 868px) { .av-footer-grid { grid-template-columns: 1fr; } }
.av-footer-heading { margin-top: 0; font-size: 18px; font-weight: 800; color: var(--av-primary); }
.av-footer-title { margin-top: 0; font-size: 15px; font-weight: 700; }
.av-footer-links { list-style: none; padding: 0; margin: 0; }
.av-footer-links li { margin-bottom: 8px; font-size: 13px; color: var(--av-muted); }
.av-footer-links a:hover { color: var(--av-primary); }
.av-trust-badges { display: flex; gap: 10px; }
.av-badge-placeholder {
    width: 68px;
    height: 84px;
    border: 1px dashed var(--av-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--av-muted);
}
.av-footer-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--av-border);
    text-align: center;
    font-size: 12.5px;
    color: var(--av-muted);
}

/* Front Page Rich Layout & Showcase */
.av-hero-section { padding: 32px 0 20px 0; }
.av-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
@media (max-width: 991px) { .av-hero-grid { grid-template-columns: 1fr; } }

.av-hero-main {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 24px;
    padding: 48px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.3);
}
.av-badge--hero {
    background: linear-gradient(135deg, #EF4056, #F43F5E);
    color: #fff;
    font-size: 13px;
    padding: 6px 14px;
    margin-bottom: 20px;
    align-self: flex-start;
}
.av-hero-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 900;
    line-height: 1.4;
    margin: 0 0 16px 0;
}
.av-hero-desc {
    color: #94A3B8;
    font-size: 15px;
    line-height: 1.8;
    max-width: 540px;
    margin: 0 0 28px 0;
}
.av-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.av-hero-aside { display: flex; flex-direction: column; gap: 20px; }
.av-promo-card {
    background: #fff;
    border: 1px solid var(--av-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--av-shadow);
    transition: var(--av-transition);
}
.av-promo-card:hover { transform: translateY(-3px); box-shadow: var(--av-shadow-lg); }
.av-promo-card--plus { border-right: 4px solid var(--av-plus); }
.av-promo-card--club { border-right: 4px solid var(--av-warning); }
.av-promo-icon { margin-bottom: 12px; }
.av-promo-card--plus .av-promo-icon { color: var(--av-plus); }
.av-promo-card--club .av-promo-icon { color: var(--av-warning); }
.av-promo-card h3 { margin: 0 0 8px 0; font-size: 17px; font-weight: 800; }
.av-promo-card p { margin: 0 0 12px 0; color: var(--av-muted); font-size: 13px; line-height: 1.6; }
.av-link-arrow { font-size: 13px; font-weight: 700; color: var(--av-primary); }

/* Features Strip Row */
.av-strip-features { padding: 16px 0; }
.av-features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--av-border);
    box-shadow: var(--av-shadow-sm);
}
.av-feat-pill { display: flex; align-items: center; gap: 12px; color: var(--av-primary); }
.av-feat-pill strong { display: block; color: var(--av-text); font-size: 14px; }
.av-feat-pill small { color: var(--av-muted); font-size: 12px; }

/* Bento Categories */
.av-cats-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 868px) { .av-cats-bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .av-cats-bento { grid-template-columns: 1fr; } }
.av-cat-box {
    background: #fff;
    border: 1px solid var(--av-border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: var(--av-transition);
}
.av-cat-box:hover { border-color: var(--av-primary); transform: translateY(-3px); box-shadow: var(--av-shadow); }
.av-cat-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--av-surface-2);
    color: var(--av-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}
.av-cat-box h3 { margin: 10px 0 6px 0; font-size: 16px; font-weight: 800; }
.av-cat-box p { margin: 0; color: var(--av-muted); font-size: 12.5px; }

/* Deals Section */
.av-deals-section { margin-top: 32px; }
.av-deals-banner {
    background: linear-gradient(135deg, #EF4056 0%, #E11D48 100%);
    border-radius: 24px;
    padding: 32px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    color: #fff;
}
@media (max-width: 991px) { .av-deals-banner { grid-template-columns: 1fr; } }
.av-deals-info h2 { font-size: 24px; font-weight: 900; margin: 12px 0 8px 0; }
.av-deals-info p { font-size: 13.5px; opacity: 0.9; line-height: 1.6; }
.av-deal-timer {
    background: rgba(0,0,0,0.2);
    padding: 10px 16px;
    border-radius: 12px;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.av-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}
.av-deals-grid .av-product-card { background: #fff; color: var(--av-text); }
.av-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    color: var(--av-muted);
    background: var(--av-surface-2);
}

/* CTA Banner */
.av-cta-banner {
    background: linear-gradient(135deg, #0C68E9 0%, #1D4ED8 100%);
    border-radius: 24px;
    padding: 48px;
    color: #fff;
    text-align: center;
    box-shadow: 0 20px 40px -10px rgba(12, 104, 233, 0.3);
}
.av-cta-content { max-width: 580px; margin: 0 auto; }
.av-cta-content h2 { font-size: 26px; font-weight: 900; margin: 14px 0 10px 0; }
.av-cta-content p { font-size: 14.5px; opacity: 0.9; margin-bottom: 24px; }
.av-cta-content .av-btn { background: #fff; color: var(--av-primary); font-weight: 800; }


/* ==========================================================================
   Single Product Page, Gallery, Tabs & Sticky Buy Bar
   ========================================================================== */
.av-single-product-wrapper {
    padding: 30px 0 60px 0;
}
.av-product-breadcrumb {
    margin-bottom: 24px;
}
.av-single-hero-grid {
    display: grid;
    grid-template-columns: 440px 1fr 300px;
    gap: 28px;
    align-items: start;
    background: #fff;
    border: 1px solid var(--av-border);
    border-radius: var(--av-r-lg);
    padding: 30px;
    box-shadow: var(--av-shadow-sm);
    margin-bottom: 36px;
}
@media (max-width: 1200px) {
    .av-single-hero-grid {
        grid-template-columns: 380px 1fr;
    }
    .av-single-seller-col {
        grid-column: 1 / -1;
    }
}
@media (max-width: 868px) {
    .av-single-hero-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

.av-single-gallery-card {
    position: relative;
    border-radius: var(--av-r);
    overflow: hidden;
    background: #F8FAFC;
    padding: 16px;
    text-align: center;
}
.av-single-gallery-card img {
    max-width: 100%;
    height: auto;
    border-radius: var(--av-r);
    object-fit: contain;
}

.av-single-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 14px 0;
    color: var(--av-text);
}
.av-single-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--av-border);
}
.av-single-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #F59E0B;
    font-size: 13.5px;
    font-weight: 700;
}
.av-rating-score {
    color: var(--av-text);
}
.av-rating-count {
    color: var(--av-muted);
    font-weight: normal;
    font-size: 12.5px;
}
.av-single-sku {
    font-size: 12.5px;
    color: var(--av-muted);
}
.av-single-sku code {
    background: #F1F5F9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: inherit;
    color: var(--av-text);
}

/* Trust Pills */
.av-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.av-trust-pill {
    background: #F8FAFC;
    border: 1px solid var(--av-border);
    border-radius: 99px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--av-text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.av-trust-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--av-success);
}
.av-trust-pill--plus {
    background: rgba(121, 40, 202, 0.08);
    border-color: rgba(121, 40, 202, 0.2);
    color: var(--av-plus);
}

/* Buybox */
.av-single-buybox {
    background: #F8FAFC;
    border: 1.5px solid var(--av-border);
    border-radius: var(--av-r);
    padding: 24px;
    margin-bottom: 24px;
}
.av-buybox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.av-buybox-label {
    font-size: 13.5px;
    color: var(--av-muted);
    font-weight: 600;
}
.av-single-price-wrap {
    font-size: 24px;
    font-weight: 800;
    color: var(--av-text);
}
.av-single-price-wrap ins {
    text-decoration: none;
    color: var(--av-accent);
}
.av-single-price-wrap del {
    color: var(--av-muted);
    font-size: 16px;
    margin-left: 10px;
}
.av-club-earn-pill {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: var(--av-primary);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.av-single-cart-form-wrap .cart {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}
.av-single-cart-form-wrap .single_add_to_cart_button {
    flex: 1;
    height: 48px;
    font-size: 15px;
    font-weight: 700;
}

/* Seller Card */
.av-seller-card {
    background: #fff;
    border: 1px solid var(--av-border);
    border-radius: var(--av-r);
    padding: 22px;
}
.av-seller-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--av-border);
    margin-bottom: 18px;
}
.av-seller-avatar {
    width: 44px;
    height: 44px;
    background: #F1F5F9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.av-seller-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--av-text);
    margin-bottom: 2px;
}
.av-seller-score {
    font-size: 12px;
    color: var(--av-muted);
}
.av-seller-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.av-benefit-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.av-benefit-icon {
    font-size: 20px;
}
.av-benefit-item strong {
    display: block;
    font-size: 13px;
    color: var(--av-text);
    margin-bottom: 2px;
}
.av-benefit-item p {
    margin: 0;
    font-size: 12px;
    color: var(--av-muted);
    line-height: 1.5;
}

/* Tabs & Related */
.av-single-tabs-section {
    background: #fff;
    border: 1px solid var(--av-border);
    border-radius: var(--av-r-lg);
    padding: 30px;
    margin-bottom: 36px;
    box-shadow: var(--av-shadow-sm);
}
.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid #F1F5F9;
    padding: 0 0 12px 0;
    margin: 0 0 24px 0;
    list-style: none;
}
.woocommerce-tabs ul.tabs li a {
    color: var(--av-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: var(--av-primary);
    background: #EFF6FF;
}

/* Sticky Buy Bar */
.av-sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--av-border);
    box-shadow: 0 -4px 18px rgba(0,0,0,0.08);
    padding: 12px 0;
    z-index: 999;
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.av-sticky-buy-bar.is-visible {
    transform: translateY(0);
}
.av-sticky--mobile_only {
    display: none;
}
@media (max-width: 768px) {
    .av-sticky--mobile_only {
        display: block;
    }
}
.av-sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.av-sticky-product-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.av-sticky-thumb img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid var(--av-border);
}
.av-sticky-title {
    margin: 0 0 2px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--av-text);
}
.av-sticky-price {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--av-accent);
}


/* ==========================================================================
   Two-Tier E-Commerce Header (Digikala / WoodMart Style)
   ========================================================================== */
.av-topbar {
    background: #0F172A;
    color: #94A3B8;
    font-size: 12.5px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.av-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.av-topbar__left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.av-topbar__badge {
    background: var(--av-accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
}
.av-topbar__text {
    color: #E2E8F0;
    font-weight: 500;
}
.av-topbar__link {
    color: #93C5FD;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}
.av-topbar__link:hover { color: #fff; }
.av-topbar__right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.av-topbar__phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #CBD5E1;
}

/* Primary Header Row */
.av-header-primary {
    background: #fff;
    border-bottom: 1px solid var(--av-border);
    padding: 16px 0;
}
.av-header-primary__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* Brand Logo */
.av-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.av-brand-logo-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--av-primary) 0%, #2563EB 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(12, 104, 233, 0.3);
}
.av-brand-text {
    display: flex;
    flex-direction: column;
}
.av-brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--av-text);
    line-height: 1.2;
}
.av-brand-tagline {
    font-size: 11.5px;
    color: var(--av-muted);
}

/* Wide Search Bar with Category Select */
.av-header__search-wrap {
    flex: 1;
    max-width: 620px;
}
.av-ecommerce-search-form {
    display: flex;
    align-items: center;
    background: #F1F5F9;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s;
}
.av-ecommerce-search-form:focus-within {
    border-color: var(--av-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(12, 104, 233, 0.12);
}
.av-search-cat-select {
    border-left: 1px solid #CBD5E1;
    background: transparent;
    padding: 0 4px 0 12px;
}
.av-cat-dropdown {
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    outline: none;
    font-family: inherit;
    cursor: pointer;
    padding: 10px 4px;
}
.av-search-input-box {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}
.av-search-input-field {
    width: 100%;
    border: none;
    background: transparent;
    padding: 11px 16px;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--av-text);
    outline: none;
}
.av-search-submit-btn {
    border: none;
    background: transparent;
    padding: 0 16px;
    color: var(--av-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.av-search-submit-btn:hover {
    color: var(--av-primary);
}

/* Action Buttons (User & Cart) */
.av-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.av-header-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--av-border);
    background: #fff;
    color: var(--av-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.av-header-action-btn:hover {
    border-color: var(--av-primary);
    background: #F8FAFC;
    color: var(--av-primary);
}
.av-actions-divider {
    width: 1px;
    height: 28px;
    background: #E2E8F0;
}
.av-header-action--cart {
    border-color: #BFDBFE;
    background: #EFF6FF;
    color: var(--av-primary);
}
.av-header-action--cart:hover {
    background: #DBEAFE;
    border-color: var(--av-primary);
}
.av-cart-icon-bubble {
    position: relative;
    display: flex;
    align-items: center;
}
.av-cart-info-text {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.3;
}
.av-cart-title {
    font-size: 12px;
    font-weight: 600;
}
.av-cart-price-val {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--av-text);
}

/* Navigation Row 2 & Mega Menu */
.av-header-nav-bar {
    background: #fff;
    border-bottom: 1px solid var(--av-border);
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.av-header-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.av-megamenu-trigger-wrap {
    position: relative;
}
.av-megamenu-btn {
    border: none;
    background: #F8FAFC;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 800;
    color: var(--av-text);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border-left: 1px solid var(--av-border);
    transition: all 0.2s;
    font-family: inherit;
}
.av-megamenu-btn:hover {
    background: #EFF6FF;
    color: var(--av-primary);
}
.av-hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 16px;
}
.av-hamburger-icon span {
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

/* Categories Dropdown */
.av-categories-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background: #fff;
    border: 1px solid var(--av-border);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
    display: none;
    z-index: 1000;
    padding: 8px 0;
}
.av-megamenu-trigger-wrap:hover .av-categories-dropdown {
    display: block;
}
.av-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.av-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    color: var(--av-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s;
}
.av-cat-link:hover {
    background: #EFF6FF;
    color: var(--av-primary);
    padding-right: 22px;
}
.av-cat-arrow {
    color: #94A3B8;
    font-size: 14px;
}

/* Nav Links */
.av-nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    flex: 1;
}
.av-nav-item a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    padding: 14px 0;
    transition: color 0.2s;
}
.av-nav-item a:hover {
    color: var(--av-primary);
}
.av-nav-item--hot a {
    color: var(--av-accent);
    font-weight: 700;
}
.av-nav-extras {
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.av-city-selector {
    font-size: 12.5px;
    color: var(--av-muted);
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================================================
   E-Commerce Hero Showcase (Slider + 2 Side Banners) - Perfectly Leveled
   ========================================================================== */
.av-hero-showcase {
    padding: 20px 0 24px;
}
.av-hero-showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: stretch;
}
@media (max-width: 991px) {
    .av-hero-showcase-grid {
        grid-template-columns: 1fr;
    }
}

.av-main-slider {
    position: relative;
    border-radius: var(--av-r-lg);
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}
.av-slider-slides {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1;
    display: flex;
}
.av-slide-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 44px 44px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.97);
    z-index: 1;
}
.av-slide-card.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 2;
}
.av-slide-content {
    max-width: 520px;
    z-index: 3;
}
.av-slide-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 4px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}
.av-slide-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 14px 0;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.av-slide-desc {
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.7;
    margin: 0 0 24px 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.av-slide-actions {
    display: flex;
    gap: 14px;
    align-items: center;
}
.av-slide-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    padding-left: 20px;
}
.av-visual-device-mockup {
    font-size: 110px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.35));
    animation: avFloat 3s ease-in-out infinite;
}
@keyframes avFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.av-visual-badge-floating {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--av-accent);
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(239, 64, 86, 0.4);
    border: 2px solid #fff;
}
.av-badge-num { font-size: 16px; line-height: 1; }
.av-badge-sub { font-size: 10px; }

/* Slider Controls (Arrows & Dots) */
.av-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--av-transition);
    z-index: 6;
    padding: 0;
}
.av-slider-nav:hover {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.08);
}
.av-slider-prev { right: 16px; }
.av-slider-next { left: 16px; }

.av-slider-dots {
    position: absolute;
    bottom: 18px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 8px;
    z-index: 6;
}
.av-dot {
    width: 22px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.av-dot.is-active {
    width: 42px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* 2 Side Promo Banners - Height Equalized to 100% of Grid */
.av-side-banners {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    justify-content: space-between;
}
.av-side-banner {
    border-radius: var(--av-r-lg);
    padding: 24px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    height: calc(50% - 8px);
    min-height: 195px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.av-side-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.av-banner--plus {
    background: linear-gradient(135deg, #2E0854 0%, #4C1D95 100%);
    color: #fff;
}
.av-banner--club {
    background: linear-gradient(135deg, #78350F 0%, #B45309 100%);
    color: #fff;
}
.av-side-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}
.av-side-title {
    margin: 0 0 6px 0;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
}
.av-side-desc {
    margin: 0 0 14px 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}
.av-side-link {
    color: #fff;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.av-side-link:hover { text-decoration: underline; }
.av-side-icon-bubble {
    font-size: 46px;
    opacity: 0.9;
}

/* ==========================================================================
   Story / Circular Category Bubbles (Digikala Style)
   ========================================================================== */
.av-story-categories {
    padding: 10px 0 24px 0;
}
.av-story-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 4px;
}
.av-story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--av-text);
    min-width: 90px;
    transition: transform 0.2s;
}
.av-story-item:hover {
    transform: translateY(-4px);
}
.av-story-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2.5px solid transparent;
    transition: all 0.2s;
}
.av-story-icon { font-size: 32px; }
.av-story-badge {
    position: absolute;
    bottom: -2px;
    background: var(--av-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 99px;
    border: 1.5px solid #fff;
}
.av-badge--hot { background: var(--av-accent); }

.av-story--blue { background: #EFF6FF; border-color: #3B82F6; }
.av-story--purple { background: #FAF5FF; border-color: #8B5CF6; }
.av-story--pink { background: #FDF2F8; border-color: #EC4899; }
.av-story--amber { background: #FFFBEB; border-color: #F59E0B; }
.av-story--emerald { background: #ECFDF5; border-color: #10B981; }
.av-story--indigo { background: #EEF2FF; border-color: #6366F1; }
.av-story--rose { background: #FFF1F2; border-color: #F43F5E; }
.av-story--orange { background: #FFF7ED; border-color: #F97316; }

.av-story-name {
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

/* ==========================================================================
   Incredible Offers / Flash Deals Showcase
   ========================================================================== */
.av-flash-deals-section {
    padding: 16px 0 32px 0;
}
.av-deals-wrapper {
    background: linear-gradient(135deg, #EF4056 0%, #D32F2F 100%);
    border-radius: var(--av-r-lg);
    padding: 24px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: center;
    box-shadow: 0 10px 25px -4px rgba(239, 64, 86, 0.35);
}
@media (max-width: 900px) {
    .av-deals-wrapper {
        grid-template-columns: 1fr;
    }
}
.av-deals-lead-box {
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.av-deals-brand-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.av-deals-flame { font-size: 38px; }
.av-deals-brand-title h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}
.av-deals-countdown {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px 14px;
    width: 100%;
}
.av-cd-label {
    display: block;
    font-size: 11.5px;
    color: #FECDD3;
    margin-bottom: 6px;
}
.av-countdown-boxes {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}
.av-cd-unit {
    background: #fff;
    color: #0F172A;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 15px;
}
.av-deals-all-btn {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    transition: all 0.2s;
}
.av-deals-all-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}
.av-deals-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 1100px) {
    .av-deals-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .av-deals-products-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Footer Top Row, Contacts & Badges
   ========================================================================== */
.av-footer-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 28px;
}
.av-footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.av-footer-logo-badge {
    width: 38px;
    height: 38px;
    background: var(--av-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}
.av-footer-brand-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--av-text);
}
.av-back-to-top-btn {
    border: 1px solid #CBD5E1;
    background: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--av-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: inherit;
}
.av-back-to-top-btn:hover {
    border-color: var(--av-primary);
    color: var(--av-primary);
    background: #EFF6FF;
}
.av-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
    font-size: 13px;
    color: var(--av-muted);
}
.av-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.av-social-links {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.av-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
}
.av-social-btn:hover {
    background: var(--av-primary);
    transform: translateY(-2px);
}
.av-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.av-badge-card {
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 12px 14px;
    background: #F8FAFC;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    text-align: center;
}
.av-badge-card .av-badge-icon { font-size: 24px; }
.av-badge-card .av-badge-name { font-size: 11px; font-weight: 700; color: #475569; }

/* ==========================================================================
   Professional App-Style My Account Dashboard
   ========================================================================== */
.av-wc-special-page {
    background-color: #F8FAFC;
    padding: 30px 0 60px;
    min-height: calc(100vh - 280px);
}
.av-account-page-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}
.av-account-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}
.av-account-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748B;
}
.av-account-breadcrumbs a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s;
}
.av-account-breadcrumbs a:hover {
    color: var(--av-primary);
}
.av-bc-sep {
    color: #CBD5E1;
}
.av-account-page-title {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

/* 2-Column Grid Layout */
.av-account-grid-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 991px) {
    .av-account-grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Sidebar Column */
.av-account-sidebar-col {
    position: sticky;
    top: 100px;
    z-index: 10;
}
.av-account-nav-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}
.av-account-profile-header {
    padding: 24px 20px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}
.av-profile-avatar-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
}
.av-profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.av-avatar-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #10B981;
    border: 2.5px solid #FFFFFF;
    border-radius: 50%;
}
.av-profile-name {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 4px 0;
}
.av-profile-phone {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 12px;
    font-feature-settings: "ss01";
    direction: ltr;
}
.av-profile-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.av-user-tag {
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.av-tag--plus {
    background: linear-gradient(135deg, #7928CA 0%, #FF0080 100%);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(121, 40, 202, 0.25);
}
.av-tag--standard {
    background: #F1F5F9;
    color: #475569;
}
.av-tag--club {
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid #FDE68A;
}
.av-account-divider {
    height: 1px;
    background: #F1F5F9;
    margin: 0;
}

/* Nav Menu List */
.av-account-menu-list {
    list-style: none !important;
    padding: 12px 10px !important;
    margin: 0 !important;
}
.av-acc-menu-item {
    margin-bottom: 4px;
    list-style: none !important;
}
.av-acc-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-radius: 12px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.av-acc-menu-icon {
    font-size: 17px;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}
.av-acc-menu-text {
    flex: 1;
}
.av-acc-menu-arrow {
    color: #94A3B8;
    font-size: 14px;
    transition: transform 0.2s ease;
}
.av-acc-menu-link:hover {
    background: #F8FAFC;
    color: var(--av-primary);
    transform: translateX(-3px);
}
.av-acc-menu-link:hover .av-acc-menu-arrow {
    transform: translateX(-3px);
    color: var(--av-primary);
}
.av-acc-menu-item.is-active .av-acc-menu-link {
    background: linear-gradient(90deg, rgba(2, 132, 199, 0.08) 0%, rgba(2, 132, 199, 0.02) 100%);
    color: #0284C7;
    font-weight: 700;
    border-right: 3px solid #0284C7;
}
.av-acc-menu-item.is-active .av-acc-menu-arrow {
    color: #0284C7;
}
.av-acc-menu-item.woocommerce-MyAccount-navigation-link--customer-logout .av-acc-menu-link {
    color: #EF4444;
}
.av-acc-menu-item.woocommerce-MyAccount-navigation-link--customer-logout .av-acc-menu-link:hover {
    background: rgba(239, 68, 68, 0.08);
}

/* Main Content Column */
.av-account-content-col {
    min-width: 0;
}
.av-account-card-panel {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    padding: 28px 32px;
}
@media (max-width: 768px) {
    .av-account-card-panel {
        padding: 20px 16px;
    }
}

/* Dashboard Greeting */
.av-dash-greeting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 24px;
}
.av-dash-hello {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 6px 0;
}
.av-dash-desc {
    font-size: 13.5px;
    color: #64748B;
    margin: 0;
    line-height: 1.6;
}

/* 4 Metric Cards Grid */
.av-dash-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
@media (max-width: 1200px) {
    .av-dash-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .av-dash-metrics-grid {
        grid-template-columns: 1fr;
    }
}
.av-metric-box {
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}
.av-metric-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.av-metric--blue {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border-color: #BAE6FD;
}
.av-metric--emerald {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border-color: #A7F3D0;
}
.av-metric--amber {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border-color: #FDE68A;
}
.av-metric--purple {
    background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
    border-color: #E9D5FF;
}
.av-metric-icon {
    font-size: 28px;
}
.av-metric-info {
    flex: 1;
    margin: 0 12px;
}
.av-metric-count {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    display: block;
    line-height: 1.2;
}
.av-metric-label {
    font-size: 12px;
    color: #475569;
    font-weight: 600;
}
.av-metric-link {
    color: #64748B;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.2s;
}
.av-metric-box:hover .av-metric-link {
    color: #0F172A;
    transform: translateX(-3px);
}

/* Quick Actions Grid */
.av-dash-quick-shortcuts {
    margin-bottom: 28px;
}
.av-dash-section-title {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.av-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 900px) {
    .av-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.av-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    text-decoration: none;
    color: #334155;
    transition: all 0.2s ease;
}
.av-quick-card:hover {
    border-color: #0284C7;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.1);
    color: #0284C7;
}
.av-quick-icon {
    font-size: 24px;
    margin-bottom: 8px;
}
.av-quick-label {
    font-size: 13px;
    font-weight: 700;
}

/* Recent Orders Table */
.av-recent-orders-card {
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
}
.av-recent-orders-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
}
.av-recent-orders-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
}
.av-view-all-link {
    font-size: 12.5px;
    color: #0284C7;
    font-weight: 700;
    text-decoration: none;
}
.av-view-all-link:hover {
    text-decoration: underline;
}
.av-table-responsive {
    overflow-x: auto;
}
.av-orders-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 13.5px;
}
.av-orders-table th {
    padding: 12px 18px;
    background: #FAFAFA;
    color: #64748B;
    font-weight: 700;
    border-bottom: 1px solid #E2E8F0;
}
.av-orders-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #F1F5F9;
    color: #1E293B;
}
.av-orders-table tr:last-child td {
    border-bottom: none;
}
.av-status-badge {
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-block;
}
.av-status--processing { background: #E0F2FE; color: #0369A1; }
.av-status--completed { background: #DCFCE7; color: #15803D; }
.av-status--on-hold { background: #FEF3C7; color: #B45309; }
.av-status--cancelled, .av-status--failed { background: #FEE2E2; color: #B91C1C; }

/* My Account Sub-pages Forms & Tables (Orders, Addresses, Account Details) */
.woocommerce-account .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}
.woocommerce-account .woocommerce-orders-table th {
    background: #F8FAFC;
    padding: 12px 16px;
    font-weight: 700;
    color: #475569;
    border-bottom: 2px solid #E2E8F0;
    text-align: right;
}
.woocommerce-account .woocommerce-orders-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #F1F5F9;
    color: #1E293B;
}
.woocommerce-account .woocommerce-button,
.woocommerce-account .button {
    background: var(--av-primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.woocommerce-account .woocommerce-button:hover,
.woocommerce-account .button:hover {
    background: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}
.woocommerce-account .woocommerce-form-row {
    margin-bottom: 18px;
}
.woocommerce-account .woocommerce-form-row label {
    display: block;
    font-weight: 700;
    font-size: 13.5px;
    color: #334155;
    margin-bottom: 6px;
}
.woocommerce-account .woocommerce-Input,
.woocommerce-account .woocommerce-form-row input[type="text"],
.woocommerce-account .woocommerce-form-row input[type="email"],
.woocommerce-account .woocommerce-form-row input[type="password"],
.woocommerce-account .woocommerce-form-row input[type="tel"],
.woocommerce-account .woocommerce-form-row textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
}
.woocommerce-account .woocommerce-Input:focus,
.woocommerce-account .woocommerce-form-row input:focus,
.woocommerce-account .woocommerce-form-row textarea:focus {
    outline: none;
    border-color: var(--av-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}
.woocommerce-Address {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}
.woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.woocommerce-Address-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
}

/* Reset for default unstyled WooCommerce navigation */
.woocommerce-MyAccount-navigation.av-account-nav-card {
    display: block !important;
}
.woocommerce-MyAccount-navigation:not(.av-account-nav-card) {
    display: none !important;
}
.woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ==========================================================================
   Nexo-Style Unified Auth Modal & Standalone Login Page
   ========================================================================== */
.av-auth-modal-box {
    max-width: 440px !important;
    padding: 34px 32px 28px !important;
    border-radius: 24px !important;
}
.av-account-auth-page-container {
    min-height: calc(100vh - 340px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 80px;
    background: #F8FAFC;
}
.av-auth-card-standalone {
    width: 100%;
    max-width: 450px;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 36px 34px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid #E2E8F0;
}
.av-auth-modal-header {
    text-align: center;
    margin-bottom: 22px;
}
.av-auth-brand-badge {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%);
    border-radius: 18px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
}
.av-auth-brand-title {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 6px 0;
}
.av-auth-brand-sub {
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}
.av-auth-tabs-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: #F1F5F9;
    padding: 5px;
    border-radius: 14px;
    margin-bottom: 20px;
}
.av-auth-tab-btn {
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
}
.av-auth-tab-btn.is-active {
    background: #FFFFFF;
    color: #0284C7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.av-auth-alert {
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.5;
    text-align: right;
}
.av-auth-alert.is-error {
    background: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}
.av-auth-alert.is-success {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}
.av-field-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.av-link-forgot {
    font-size: 12px;
    color: #0284C7;
    text-decoration: none;
    font-weight: 600;
}
.av-link-forgot:hover { text-decoration: underline; }
.av-pwd-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 4px;
}
.av-pwd-toggle:hover { opacity: 1; }
.av-auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
    color: #475569;
}
.av-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    font-weight: 600;
}
.av-otp-sent-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #0369A1;
}
.av-auth-modal-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #F1F5F9;
    text-align: center;
    font-size: 13px;
    color: #64748B;
}
.av-auth-footer-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.av-auth-footer-toggle .av-link-btn {
    font-weight: 800;
    color: #0284C7;
}


/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness Overhaul (App-Style)
   ========================================================================== */

/* Mobile Bottom Navigation Bar */
.av-mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid #E2E8F0;
    z-index: 9998;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
}
@media (max-width: 991px) {
    .av-mobile-bottom-bar {
        display: grid;
    }
    body {
        padding-bottom: 64px !important;
    }
}
.av-mobile-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748B;
    font-size: 11px;
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
    transition: all 0.2s ease;
    padding: 0;
    font-family: inherit;
}
.av-mobile-bar-item.is-active,
.av-mobile-bar-item:hover {
    color: #0284C7;
}
.av-bar-icon {
    font-size: 20px;
    line-height: 1.2;
}
.av-bar-cart-wrap {
    position: relative;
    display: inline-block;
}
.av-bar-cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #EF4444;
    color: #fff;
    border-radius: 99px;
    padding: 1px 5px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
}

/* Header Responsiveness */
@media (max-width: 991px) {
    .av-topbar__inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .av-topbar__right {
        display: none;
    }
    .av-header-primary__inner {
        flex-wrap: wrap;
        gap: 10px;
    }
    .av-header__brand {
        order: 1;
    }
    .av-header__actions {
        order: 2;
        gap: 8px;
    }
    .av-header__search-wrap {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 6px 0 0;
    }
    .av-search-cat-select {
        display: none;
    }
    .av-user-name-text,
    .av-cart-info-text {
        display: none;
    }
    .av-header-action-btn {
        padding: 8px 10px;
    }
    .av-header-nav-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .av-header-nav__inner {
        width: max-content;
        min-width: 100%;
        gap: 16px;
        padding: 0 16px;
    }
    .av-nav-extras {
        display: none;
    }
}

/* Hero Showcase Responsive */
@media (max-width: 991px) {
    .av-hero-showcase {
        padding: 12px 0 20px;
    }
    .av-hero-showcase-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .av-main-slider {
        min-height: 340px;
        height: auto;
    }
    .av-slide-card {
        padding: 32px 24px;
    }
    .av-slide-title {
        font-size: 20px;
        line-height: 1.5;
    }
    .av-slide-desc {
        font-size: 13px;
        margin-bottom: 18px;
    }
    .av-visual-device-mockup {
        font-size: 70px;
    }
    .av-visual-badge-floating {
        width: 48px;
        height: 48px;
    }
    .av-badge-num {
        font-size: 13px;
    }
    .av-side-banners {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        height: auto;
    }
    .av-side-banner {
        height: auto;
        min-height: 140px;
        padding: 18px 20px;
    }
}
@media (max-width: 600px) {
    .av-slide-card {
        flex-direction: column;
        text-align: center;
        padding: 26px 16px 36px;
        gap: 16px;
    }
    .av-slide-content {
        max-width: 100%;
    }
    .av-slide-actions {
        justify-content: center;
    }
    .av-slide-visual {
        padding: 0;
        margin-top: 8px;
    }
    .av-side-banners {
        grid-template-columns: 1fr;
    }
    .av-side-icon-bubble {
        font-size: 36px;
    }
}

/* My Account Panel Responsive */
@media (max-width: 991px) {
    .av-account-grid-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .av-account-sidebar-col {
        position: static;
    }
    .av-account-profile-header {
        padding: 20px 16px;
    }
    .av-account-menu-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 10px !important;
    }
    .av-acc-menu-item {
        margin-bottom: 0;
    }
    .av-acc-menu-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    .av-acc-menu-arrow {
        display: none;
    }
    .av-account-card-panel {
        padding: 20px 16px;
    }
    .av-dash-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .av-metric-box {
        padding: 14px 12px;
    }
    .av-metric-count {
        font-size: 18px;
    }
    .av-quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .av-account-menu-list {
        grid-template-columns: 1fr;
    }
    .av-dash-metrics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Spotlight Flash Deals Responsive */
@media (max-width: 991px) {
    .av-spotlight-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .av-spotlight-view-all {
        align-self: flex-start;
    }
    .av-spotlight-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .av-super-deal-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .av-super-deal-pricing {
        flex-direction: column;
        gap: 14px;
    }
}

/* Products Grid Responsive */
@media (max-width: 1200px) {
    .av-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .av-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}
@media (max-width: 420px) {
    .av-products-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   SIDE CART DRAWER (Modern Off-Canvas - Matching Reference Design)
   ========================================================================== */
.av-side-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.av-side-cart-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.av-side-cart-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 420px;
    max-width: 90vw;
    background: #FFFFFF;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
    text-align: right;
    font-family: var(--av-font-body, "Vazirmatn FD", sans-serif);
}
.av-side-cart-drawer.is-open {
    transform: translateX(0);
}

/* Header */
.av-side-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #F1F5F9;
    flex-shrink: 0;
}
.av-side-cart-title {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}
.av-side-cart-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.av-side-cart-close:hover {
    background: #F8FAFC;
    color: #0F172A;
    border-color: #CBD5E1;
    transform: scale(1.05);
}

/* Body (Scrollable) */
.av-side-cart-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
}

/* Empty State (Exact match to uploaded design) */
.av-side-cart-empty {
    text-align: center;
    padding: 30px 10px 24px 10px;
}
.av-empty-bag-icon-wrap {
    width: 76px;
    height: 76px;
    background: #E6F7F4;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
}
.av-empty-cart-heading {
    font-size: 17px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 8px 0;
}
.av-empty-cart-text {
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
    margin: 0 0 20px 0;
}
.av-empty-shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E6F7F4;
    color: #0D9488;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 28px;
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.2s;
}
.av-empty-shop-btn:hover {
    background: #CCF0EA;
    color: #0F766E;
    transform: translateY(-1px);
}

/* Filled State */
.av-side-cart-items-wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}
.av-cart-shipping-bar {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.av-shipping-text {
    font-size: 12.5px;
    color: #166534;
    margin-bottom: 8px;
    display: block;
}
.av-shipping-text strong {
    color: #15803D;
    font-weight: 800;
}
.av-shipping-progress {
    height: 6px;
    background: #DCFCE7;
    border-radius: 99px;
    overflow: hidden;
}
.av-shipping-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #059669);
    border-radius: 99px;
    transition: width 0.3s ease;
}

.av-side-cart-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.av-side-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #E2E8F0;
}
.av-cart-item-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    background: #F8FAFC;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.av-cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
.av-cart-item-info {
    flex: 1;
    min-width: 0;
}
.av-cart-item-title {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.av-cart-item-title a {
    color: #0F172A;
    text-decoration: none;
}
.av-cart-item-title a:hover {
    color: #0284C7;
}
.av-cart-item-price {
    font-size: 13px;
    font-weight: 800;
    color: #0284C7;
    margin-bottom: 8px;
}
.av-cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.av-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    background: #FFFFFF;
    overflow: hidden;
}
.av-qty-btn {
    width: 26px;
    height: 26px;
    border: none;
    background: #F8FAFC;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.av-qty-btn:hover {
    background: #E2E8F0;
}
.av-qty-num {
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
}
.av-cart-item-remove {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}
.av-cart-item-remove:hover {
    color: #EF4444;
}

.av-side-cart-footer {
    padding-top: 16px;
    margin-top: auto;
}
.av-side-cart-subtotal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #F8FAFC;
    border-radius: 12px;
}
.av-subtotal-val {
    color: #0284C7;
    font-size: 16px;
}
.av-side-cart-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.av-side-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}
.av-btn--checkout {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}
.av-btn--checkout:hover {
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
    transform: translateY(-1px);
}
.av-btn--view-cart {
    background: #F1F5F9;
    color: #334155 !important;
}
.av-btn--view-cart:hover {
    background: #E2E8F0;
    color: #0F172A !important;
}

/* Recommendations (Exact Match to Reference Card Layout) */
.av-side-cart-recommendations {
    border-top: 1px solid #F1F5F9;
    padding-top: 20px;
    margin-top: 10px;
}
.av-recom-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.av-recom-title {
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}
.av-recom-more-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 700;
    color: #0D9488;
    text-decoration: none;
    transition: color 0.15s;
}
.av-recom-more-link:hover {
    color: #0F766E;
}
.av-recom-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.av-recom-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}
.av-recom-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.av-recom-thumb {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    overflow: hidden;
    background: #F8FAFC;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.av-recom-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}
.av-recom-details {
    flex: 1;
    min-width: 0;
}
.av-recom-name {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.av-recom-name a {
    color: #0F172A;
    text-decoration: none;
}
.av-recom-name a:hover {
    color: #0284C7;
}
.av-recom-price {
    font-size: 12.5px;
    font-weight: 800;
    color: #0D9488;
}
.av-recom-price del {
    color: #94A3B8;
    font-weight: 400;
    font-size: 11px;
    margin-right: 6px;
}
.av-recom-price ins {
    text-decoration: none;
    color: #0D9488;
}
.av-recom-action {
    flex-shrink: 0;
}
.av-recom-add-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.av-recom-add-btn:hover {
    background: #0284C7;
    color: #FFFFFF;
    border-color: #0284C7;
    transform: scale(1.05);
}


/* ==========================================================================
   SPOTLIGHT FLASH RADAR & TIMED DEALS (Ultra-Modern Bento Redesign)
   ========================================================================== */
.av-spotlight-deals-section {
    padding: 32px 0 48px 0;
}
.av-spotlight-deals-card {
    background: linear-gradient(135deg, #0B132B 0%, #172554 50%, #0F172A 100%);
    border-radius: 28px;
    padding: 32px 36px;
    box-shadow: 0 20px 50px -10px rgba(11, 19, 43, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}
.av-spotlight-deals-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.av-spotlight-deals-card::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Header Row */
.av-spotlight-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}
.av-spotlight-title-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.av-live-pulsing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #FCA5A5;
    padding: 4px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 800;
    width: fit-content;
}
.av-pulsing-dot {
    width: 8px;
    height: 8px;
    background: #EF4444;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: avPulseRing 1.8s infinite;
}
@keyframes avPulseRing {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.av-spotlight-heading {
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}
.av-spotlight-sub {
    font-size: 13.5px;
    color: #94A3B8;
}

/* Cyber Countdown Glass */
.av-cyber-countdown-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 8px 16px;
}
.av-countdown-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #CBD5E1;
}
.av-cyber-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
}
.av-timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    min-width: 44px;
    padding: 4px 6px;
}
.av-timer-num {
    font-size: 18px;
    font-weight: 900;
    color: #F8FAFC;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.av-timer-label {
    font-size: 10px;
    color: #94A3B8;
    margin-top: 2px;
}
.av-timer-sep {
    font-size: 18px;
    font-weight: 900;
    color: #EF4444;
    animation: avBlink 1s infinite;
}
@keyframes avBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.av-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.av-btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-2px);
}

/* Bento Grid */
.av-spotlight-bento {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* Big Hero Deal */
.av-super-deal-hero {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 24px;
    color: #0F172A;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.av-super-deal-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 800;
    color: #475569;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #E2E8F0;
}
.av-super-fire {
    color: #EF4444;
    background: #FEE2E2;
    padding: 2px 10px;
    border-radius: 99px;
}

.av-super-deal-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: center;
}
.av-super-deal-thumb-wrap {
    position: relative;
    width: 200px;
    height: 200px;
    background: #F8FAFC;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
}
.av-super-deal-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s ease;
}
.av-super-deal-thumb-wrap:hover img {
    transform: scale(1.06);
}
.av-super-deal-pct {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}

.av-super-deal-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.av-super-deal-live-ping {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #0284C7;
    font-weight: 700;
}
.av-ping-dot {
    width: 6px;
    height: 6px;
    background: #0284C7;
    border-radius: 50%;
    animation: avPulseRing 1.5s infinite;
}
.av-super-deal-title {
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0;
}
.av-super-deal-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.15s;
}
.av-super-deal-title a:hover {
    color: #0284C7;
}

/* Stock Progress */
.av-stock-progress-wrap {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
}
.av-stock-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 6px;
}
.av-stock-rem {
    color: #EF4444;
}
.av-stock-progress-bar {
    height: 7px;
    background: #E2E8F0;
    border-radius: 99px;
    overflow: hidden;
}
.av-stock-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #EF4444, #F97316);
    border-radius: 99px;
}

.av-super-deal-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}
.av-super-deal-price {
    font-size: 18px;
    font-weight: 900;
    color: #0284C7;
}
.av-super-deal-price del {
    color: #94A3B8;
    font-size: 13px;
    font-weight: 400;
    margin-left: 8px;
}
.av-super-deal-price ins {
    text-decoration: none;
    color: #0284C7;
}

/* 3 Side Flash Cards */
.av-flash-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.av-flash-mini-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.av-flash-mini-card:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(-4px);
}
.av-flash-thumb-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 14px;
    overflow: hidden;
    background: #FFFFFF;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.av-flash-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
.av-flash-pill-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
}
.av-flash-fast-ship {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(15, 23, 42, 0.85);
    color: #38BDF8;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
}
.av-flash-info {
    flex: 1;
    min-width: 0;
}
.av-flash-title {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.av-flash-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.15s;
}
.av-flash-title a:hover {
    color: #38BDF8;
}
.av-flash-mini-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #94A3B8;
    margin-bottom: 6px;
}
.av-mini-stock-bar {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 99px;
    overflow: hidden;
}
.av-mini-stock-fill {
    height: 100%;
    background: #EF4444;
    border-radius: 99px;
}
.av-flash-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.av-flash-price {
    font-size: 14px;
    font-weight: 800;
    color: #38BDF8;
}
.av-flash-price del {
    color: #94A3B8;
    font-size: 11.5px;
    font-weight: 400;
    margin-left: 6px;
}
.av-flash-price ins {
    text-decoration: none;
    color: #38BDF8;
}

/* My Account Navigation Fix */
.woocommerce-MyAccount-navigation:not(.av-account-nav-card) {
    display: none !important;
}
.woocommerce-account h1.page-title,
.woocommerce-account .entry-title {
    display: none !important;
}

/* ==========================================================================
   GLOBAL RESPONSIVENESS ENHANCEMENTS
   ========================================================================== */
@media (max-width: 991px) {
    .av-spotlight-bento {
        grid-template-columns: 1fr;
    }
    .av-spotlight-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .av-super-deal-body {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .av-super-deal-thumb-wrap {
        margin: 0 auto;
    }
    .av-super-deal-price-row {
        flex-direction: column;
        gap: 12px;
    }
}
@media (max-width: 640px) {
    .av-spotlight-deals-card {
        padding: 20px 16px;
        border-radius: 20px;
    }
    .av-spotlight-heading {
        font-size: 19px;
    }
    .av-cyber-countdown-wrap {
        width: 100%;
        justify-content: space-between;
    }
    .av-flash-mini-card {
        padding: 10px 12px;
        gap: 12px;
    }
    .av-flash-thumb-wrap {
        width: 65px;
        height: 65px;
    }
    .av-side-cart-drawer {
        width: 100%;
        max-width: 100%;
    }
}


/* ==========================================================================
   HEADER ACTION BUTTONS & USER DROPDOWN (Strict Equal Height 42px)
   ========================================================================== */
.av-header-action-btn {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    border: 1.5px solid #E2E8F0 !important;
    background: #FFFFFF !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    line-height: 1 !important;
    margin: 0 !important;
}
.av-header-action-btn:hover {
    border-color: #0284C7 !important;
    color: #0284C7 !important;
    background: #F0F9FF !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12) !important;
}
.av-header-action--cart {
    background: #EFF6FF !important;
    border-color: #BFDBFE !important;
    color: #0284C7 !important;
}
.av-header-action--cart:hover {
    background: #DBEAFE !important;
    border-color: #0284C7 !important;
}
.av-cart-price-pill {
    background: #DBEAFE;
    color: #0369A1;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 800;
    margin-right: 2px;
}
.av-caret-icon {
    margin-right: 2px;
    color: #94A3B8;
    transition: transform 0.2s;
}
.av-user-dropdown-wrap.is-open .av-caret-icon {
    transform: rotate(180deg);
}

/* User Popup Dropdown Menu */
.av-user-dropdown-wrap {
    position: relative;
    display: inline-block;
}
.av-user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 250px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 14px 35px -5px rgba(15, 23, 42, 0.16);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
    direction: rtl;
    text-align: right;
}
.av-user-dropdown-wrap.is-open .av-user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.av-user-dd-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 6px 10px 6px;
}
.av-user-dd-avatar img {
    border-radius: 50%;
    border: 2px solid #E0F2FE;
    display: block;
}
.av-user-dd-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.av-user-dd-name {
    font-size: 13.5px;
    font-weight: 800;
    color: #0F172A;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.av-user-dd-sub {
    font-size: 11.5px;
    color: #64748B;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.av-user-dd-divider {
    height: 1px;
    background: #F1F5F9;
    margin: 8px -14px;
}
.av-user-dd-nav {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}
.av-user-dd-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.15s;
}
.av-user-dd-nav li a:hover {
    background: #F1F5F9;
    color: #0284C7;
    transform: translateX(-3px);
}
.av-dd-badge {
    margin-right: auto;
    background: #FEF3C7;
    color: #B45309;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 800;
}
.av-user-dd-footer {
    padding-top: 4px;
}
.av-user-dd-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: #EF4444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.15s;
}
.av-user-dd-logout:hover {
    background: #FEE2E2;
    color: #DC2626;
}


/* ==========================================================================
   PRODUCT GRID UNIFORM IMAGE SIZE (All Photos Exact 1:1 Matching Height)
   ========================================================================== */
.av-card-thumb-wrap {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    padding-top: 0 !important;
    background: #F8FAFC !important;
    overflow: hidden !important;
    border-radius: 16px 16px 0 0 !important;
}
.av-card-thumb-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}
.av-card-thumb-link img,
.av-card-thumb-wrap img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    transition: transform 0.35s ease !important;
}
.av-card--shadow:hover .av-card-thumb-link img {
    transform: scale(1.08) !important;
}


/* ==========================================================================
   DEALS CAROUSEL SLIDER (اسلایدی - 100% Responsive)
   ========================================================================== */
.av-deals-slider-box {
    background: linear-gradient(135deg, #881337 0%, #be123c 45%, #e11d48 100%);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 20px 50px -10px rgba(190, 18, 60, 0.4);
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: stretch;
    overflow: hidden;
    color: #FFFFFF;
}
.av-deals-lead-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 12px;
}
.av-deals-lead-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 4px 14px;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 800;
    width: fit-content;
    margin-bottom: 12px;
}
.av-deals-lead-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #FFFFFF;
}
.av-deals-lead-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0 0 16px 0;
}
.av-deals-timer-wrap {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 10px 14px;
    margin-bottom: 18px;
}
.av-deals-timer-caption {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}
.av-deals-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}
.av-deals-arrows {
    display: flex;
    gap: 8px;
}
.av-deals-arrow {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.av-deals-arrow:hover {
    background: #FFFFFF;
    color: #BE123C;
}
.av-deals-all-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s;
}
.av-deals-all-link:hover {
    transform: translateX(-3px);
}

/* Carousel Track */
.av-deals-carousel-wrap {
    overflow: hidden;
    min-width: 0;
}
.av-deals-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 12px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.av-deals-carousel-track::-webkit-scrollbar {
    display: none;
}
.av-deals-item-card {
    flex: 0 0 215px;
    scroll-snap-align: start;
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}
.av-deals-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}
.av-deals-item-thumb {
    position: relative;
    width: 100%;
    height: 180px;
    background: #F8FAFC;
    overflow: hidden;
}
.av-deals-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: transform 0.35s ease;
}
.av-deals-item-card:hover .av-deals-item-thumb img {
    transform: scale(1.08);
}
.av-deals-pct-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}
.av-deals-ship-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.75);
    color: #38BDF8;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}
.av-deals-item-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    color: #0F172A;
}
.av-deals-item-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 10px 0;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.av-deals-item-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.15s;
}
.av-deals-item-title a:hover {
    color: #BE123C;
}
.av-deals-mini-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    color: #64748B;
    margin-bottom: 12px;
}
.av-mini-stock-bar {
    flex: 1;
    height: 4px;
    background: #E2E8F0;
    border-radius: 99px;
    overflow: hidden;
}
.av-mini-stock-fill {
    height: 100%;
    background: #EF4444;
    border-radius: 99px;
}
.av-deals-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed #F1F5F9;
}
.av-deals-item-pricing {
    font-size: 13.5px;
    font-weight: 800;
    color: #BE123C;
}
.av-deals-item-pricing del {
    font-size: 11px;
    color: #94A3B8;
    margin-left: 4px;
    font-weight: 400;
}
.av-deals-item-pricing ins {
    text-decoration: none;
    color: #BE123C;
}
.av-deals-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #BE123C;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}
.av-deals-add-btn:hover {
    background: #9F1239;
    transform: scale(1.08);
}

/* Responsive Deals & Header */
@media (max-width: 991px) {
    .av-deals-slider-box {
        grid-template-columns: 1fr;
        padding: 20px 16px;
        gap: 16px;
    }
    .av-deals-lead-card {
        padding: 8px 4px;
    }
    .av-deals-item-card {
        flex: 0 0 180px;
    }
    .av-header-primary__inner {
        flex-wrap: wrap;
        gap: 12px;
    }
    .av-header-search {
        order: 3;
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 640px) {
    .av-deals-item-card {
        flex: 0 0 160px;
    }
    .av-deals-item-thumb {
        height: 145px;
    }
    .av-site-footer {
        padding-bottom: 90px !important;
    }
}


/* ==========================================================================
   AVAND ADVANCED STYLES: MOBILE DRAWER, STORY MODAL, SAAS ACCOUNT & SKINS
   ========================================================================== */

/* 1. Global Zoom Prevention & Mobile Touch Control */
html, body {
    overflow-x: hidden !important;
    touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
}

/* 2. Mobile Header & Compact Action Buttons */
.av-mobile-menu-trigger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 8px;
    flex-shrink: 0;
}
.av-mobile-menu-trigger:hover {
    background: #EEF2F6;
    border-color: #CBD5E1;
}

@media (max-width: 991px) {
    .av-mobile-menu-trigger {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .av-header-primary__inner {
        padding: 8px 12px;
        gap: 8px;
    }
    .av-header__brand {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .av-header-actions {
        gap: 8px;
    }
    .av-action-btn {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 12px !important;
        min-width: 40px !important;
    }
    .av-action-btn--user span:not(.av-user-tag),
    .av-action-btn--user .av-user-tag,
    .av-action-btn--cart .av-action-btn__text,
    .av-action-btn--cart .av-action-btn__sep,
    .av-action-btn--cart .av-action-btn__total {
        display: none !important;
    }
    .av-action-btn--cart {
        position: relative;
    }
    .av-action-btn--cart .av-cart-count-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        font-size: 10px;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        border: 2px solid #FFFFFF;
    }
}

/* 3. Off-Canvas Mobile Navigation Drawer */
.av-mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.av-mobile-drawer-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.av-mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 86vw;
    background: #FFFFFF;
    z-index: 99999;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.av-mobile-menu-drawer.is-active {
    transform: translateX(0);
}

.av-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #F1F5F9;
}
.av-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.av-drawer-brand-name {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
}
.av-mobile-drawer-close {
    background: #F1F5F9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}
.av-mobile-drawer-close:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.av-mobile-drawer-user {
    padding: 16px 20px;
    background: #F8FAFC;
    border-bottom: 1px solid #F1F5F9;
}
.av-m-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
}
.av-m-user-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2563EB;
}
.av-m-user-details {
    flex: 1;
    min-width: 0;
}
.av-m-user-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.av-m-user-sub {
    font-size: 12px;
    color: #64748B;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.av-m-user-link {
    width: 34px;
    height: 34px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563EB;
    font-size: 18px;
    text-decoration: none;
}
.av-m-login-btn {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: right;
    transition: all 0.2s;
}
.av-m-login-btn:hover {
    border-color: #2563EB;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}
.av-m-login-icon {
    font-size: 22px;
}
.av-m-login-text {
    flex: 1;
}
.av-m-login-text strong {
    display: block;
    font-size: 13px;
    color: #0F172A;
}
.av-m-login-text span {
    font-size: 11px;
    color: #64748B;
}
.av-m-login-arrow {
    font-size: 16px;
    color: #94A3B8;
}

.av-mobile-drawer-search {
    padding: 14px 20px;
    border-bottom: 1px solid #F1F5F9;
}
.av-mobile-drawer-search form {
    display: flex;
    align-items: center;
    background: #F1F5F9;
    border-radius: 12px;
    padding: 0 12px;
}
.av-mobile-drawer-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 4px;
    font-size: 13px;
    outline: none;
    color: #0F172A;
}
.av-mobile-drawer-search button {
    border: none;
    background: transparent;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.av-mobile-drawer-nav {
    flex: 1;
    padding: 12px 16px;
}
.av-m-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.av-m-nav-list li {
    margin-bottom: 4px;
}
.av-m-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.av-m-nav-link:hover {
    background: #F1F5F9;
    color: #2563EB;
}
.av-m-nav--fire {
    color: #E11D48;
}
.av-m-icon {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
}
.av-m-tag {
    font-size: 10.5px;
    padding: 2px 7px;
    background: #FFE4E6;
    color: #E11D48;
    border-radius: 20px;
    font-weight: 700;
    margin-right: auto;
}
.av-m-badge {
    font-size: 10.5px;
    padding: 2px 8px;
    background: #FEF3C7;
    color: #B45309;
    border-radius: 20px;
    font-weight: 700;
    margin-right: auto;
}
.av-m-submenu-arrow {
    margin-right: auto;
    font-size: 10px;
    transition: transform 0.25s ease;
    color: #94A3B8;
}
.av-m-has-submenu.is-open .av-m-submenu-arrow {
    transform: rotate(180deg);
}
.av-m-sub-list {
    list-style: none;
    padding: 4px 20px 8px 12px;
    margin: 0;
    display: none;
    background: #F8FAFC;
    border-radius: 8px;
}
.av-m-has-submenu.is-open .av-m-sub-list {
    display: block;
}
.av-m-sub-list li a {
    display: block;
    padding: 8px 12px;
    font-size: 12.5px;
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s;
}
.av-m-sub-list li a:hover {
    color: #2563EB;
}

.av-mobile-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid #F1F5F9;
    background: #FAFAFA;
}
.av-m-footer-phone {
    font-size: 12px;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.av-m-logout-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #EF4444;
    text-decoration: none;
    padding-top: 8px;
    font-weight: 600;
}

/* 4. Story Highlights & Video Popup Modal */
.av-story-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    z-index: 999998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.av-story-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.av-story-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.95);
}
.av-story-modal.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.av-story-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 720px;
    max-height: 92vh;
    background: #090D16;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.av-story-progress-wrap {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 30;
}
.av-story-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 99px;
    overflow: hidden;
}
.av-story-progress-fill {
    width: 0%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 99px;
    transition: width 0.1s linear;
}

.av-story-header {
    position: absolute;
    top: 24px;
    left: 16px;
    right: 16px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
}
.av-story-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.av-story-avatar-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EC4899, #8B5CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.av-story-author-info strong {
    display: block;
    font-size: 13.5px;
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.av-story-time-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}
.av-story-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s;
}
.av-story-close-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.av-story-media-box {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
    background: #000000;
    overflow: hidden;
}
.av-story-media-box video,
.av-story-media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.av-story-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    padding: 24px 20px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
    text-align: center;
}
.av-story-caption {
    font-size: 13.5px;
    color: #FFFFFF;
    margin: 0 0 14px;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.av-story-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    transition: all 0.2s;
}
.av-story-cta-btn:hover {
    background: linear-gradient(135deg, #1D4ED8, #1E40AF);
    transform: translateY(-2px);
}

/* 5. Modern SaaS My Account Redesign & CSS Reset */
.av-account-page-wrapper {
    max-width: 1280px;
    margin: 32px auto;
    padding: 0 20px 60px;
}
.av-account-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.av-account-breadcrumbs {
    font-size: 13px;
    color: #64748B;
    display: flex;
    gap: 6px;
}
.av-account-breadcrumbs a {
    color: #64748B;
    text-decoration: none;
}
.av-account-breadcrumbs a:hover {
    color: #2563EB;
}
.av-account-page-title {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.av-account-grid-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 991px) {
    .av-account-grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Reset any WooCommerce default lists */
.woocommerce-MyAccount-navigation ul,
.av-account-menu-list {
    list-style: none !important;
    padding: 8px !important;
    margin: 0 !important;
}

.av-account-nav-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.av-account-profile-header {
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    border-bottom: 1px solid #F1F5F9;
}
.av-profile-avatar-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    margin-bottom: 12px;
}
.av-profile-avatar img,
.av-profile-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
}
.av-avatar-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #10B981;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}
.av-profile-name {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 4px;
}
.av-profile-phone {
    font-size: 12.5px;
    color: #64748B;
    margin-bottom: 12px;
}
.av-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.av-user-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}
.av-tag--plus {
    background: #FAF5FF;
    color: #7C3AED;
    border: 1px solid #E9D5FF;
}
.av-tag--club {
    background: #FFFBEB;
    color: #B45309;
    border: 1px solid #FDE68A;
}
.av-tag--standard {
    background: #F1F5F9;
    color: #475569;
}

.av-acc-menu-item {
    margin-bottom: 2px;
}
.av-acc-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}
.av-acc-menu-link:hover {
    background: #F8FAFC;
    color: #2563EB;
}
.is-active .av-acc-menu-link,
.woocommerce-MyAccount-navigation-link--is-active .av-acc-menu-link {
    background: #EFF6FF;
    color: #2563EB;
    font-weight: 700;
}
.av-acc-menu-icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
}
.av-acc-menu-text {
    flex: 1;
}
.av-acc-menu-arrow {
    font-size: 14px;
    color: #94A3B8;
    transition: transform 0.2s;
}
.av-acc-menu-link:hover .av-acc-menu-arrow {
    transform: translateX(-4px);
    color: #2563EB;
}

/* Dashboard App Hero & Content Panel */
.av-dashboard-app {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.av-dash-hero-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 24px;
    padding: 30px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}
.av-dash-hero-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
    pointer-events: none;
}
.av-dash-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.av-dash-user-meta h2 {
    font-size: 20px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 6px;
}
.av-dash-user-meta p {
    font-size: 13px;
    color: #94A3B8;
    margin: 0;
}
.av-dash-hero-badges {
    display: flex;
    gap: 10px;
}
.av-dash-plus-badge {
    background: linear-gradient(135deg, #8B5CF6, #6366F1);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}
.av-dash-tier-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #F8FAFC;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Dashboard KPIs Grid */
.av-dash-kpis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
    .av-dash-kpis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.av-dash-kpi-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s;
}
.av-dash-kpi-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.av-kpi-icon {
    font-size: 22px;
}
.av-kpi-val {
    font-size: 20px;
    font-weight: 800;
    color: #FFFFFF;
}
.av-kpi-label {
    font-size: 12px;
    color: #94A3B8;
}

/* Quick Actions Grid */
.av-dash-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 991px) {
    .av-dash-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.av-dash-action-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
}
.av-dash-action-card:hover {
    border-color: #2563EB;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
    transform: translateY(-3px);
}
.av-action-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
}
.av-action-title {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}
.av-action-desc {
    font-size: 11.5px;
    color: #64748B;
}

/* Recent Orders Card */
.av-dash-orders-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}
.av-dash-orders-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #F1F5F9;
}
.av-dash-orders-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}
.av-dash-orders-link {
    font-size: 12.5px;
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
}
.av-orders-table {
    width: 100%;
    border-collapse: collapse;
}
.av-orders-table th {
    font-size: 12px;
    font-weight: 700;
    color: #64748B;
    padding: 10px 12px;
    text-align: right;
    border-bottom: 1px solid #E2E8F0;
}
.av-orders-table td {
    font-size: 13px;
    color: #334155;
    padding: 14px 12px;
    border-bottom: 1px solid #F1F5F9;
}
.av-status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}
.av-status--completed {
    background: #ECFDF5;
    color: #059669;
}
.av-status--processing {
    background: #EFF6FF;
    color: #2563EB;
}
.av-status--cancelled {
    background: #FEF2F2;
    color: #DC2626;
}

/* 6. Mobile Footer Compact 2-Column Centered Layout */
@media (max-width: 768px) {
    .av-footer {
        text-align: center !important;
    }
    .av-footer-top-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
    }
    .av-footer-about-text {
        text-align: center;
        margin: 0 auto 16px;
    }
    .av-footer-contacts {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .av-contact-item {
        justify-content: center;
    }
    .av-social-links {
        justify-content: center;
    }

    /* Footer 2-Column Container wrapper on mobile */
    .av-footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        width: 100% !important;
        text-align: center !important;
    }
    .av-footer-col--about,
    .av-footer-col--trust {
        grid-column: span 2 !important;
        text-align: center !important;
    }
    .av-footer-col--guide {
        grid-column: 1 / 2 !important;
        text-align: center !important;
    }
    .av-footer-col--care {
        grid-column: 2 / 3 !important;
        text-align: center !important;
    }
    .av-footer-links {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .av-footer-title {
        text-align: center !important;
        font-size: 15px !important;
        margin-bottom: 12px !important;
    }
    .av-trust-badges {
        justify-content: center !important;
    }
    .av-footer-bottom {
        text-align: center !important;
    }
    .av-footer-bottom .av-container {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
    }
}


.av-mobile-drawer-overlay.is-open,
.av-mobile-drawer-overlay.is-active {
    opacity: 1 !important;
    pointer-events: auto !important;
}
.av-mobile-menu-drawer.is-open,
.av-mobile-menu-drawer.is-active {
    transform: translateX(0) !important;
}
.av-story-overlay.is-open,
.av-story-overlay.is-active {
    opacity: 1 !important;
    pointer-events: auto !important;
}
.av-story-modal.is-open,
.av-story-modal.is-active {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: scale(1) !important;
}
body.av-drawer-open,
body.av-story-open {
    overflow: hidden !important;
}


/* ==========================================================================
   MASTER MOBILE HEADER & SAFARI VIEWPORT ZOOM-OUT PREVENTION
   ========================================================================== */

/* 1. Strict Viewport & Overflow Containment for iOS Safari */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
    touch-action: pan-y !important;
    -webkit-text-size-adjust: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

.av-header,
.av-topbar,
.av-main,
.av-footer,
.av-container,
.av-hero-showcase,
.av-story-categories,
.av-deals-slider-box,
.av-spotlight-deals-box,
.av-cats-bento,
.av-account-page-wrapper,
.av-products-grid {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. Desktop Defaults */
.av-header-action--search {
    display: none !important;
}
.av-mobile-search-dropdown {
    display: none;
}

/* 3. Mobile Header Overhaul (@media max-width: 991px) */
@media (max-width: 991px) {
    /* USER REQUEST: منو و سرچ باید برداشته بشه */
    .av-header__search-wrap,
    .av-header-nav-bar {
        display: none !important;
    }

    /* Hide Top Announcement Bar on Mobile to prevent 600px+ overflow */
    .av-topbar {
        display: none !important;
    }

    /* Header Primary Inner: Single neat row */
    .av-header-primary {
        padding: 6px 0 !important;
        background: #FFFFFF !important;
        border-bottom: 1px solid #E2E8F0 !important;
    }
    .av-header-primary__inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 14px !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Brand & Hamburger Group (Right side in RTL) */
    .av-header__brand {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }
    .av-mobile-menu-trigger {
        display: inline-flex !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 10px !important;
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        color: #0F172A !important;
        justify-content: center !important;
        align-items: center !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
    }
    .av-brand-link {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        text-decoration: none !important;
    }
    .av-brand-logo-badge {
        font-size: 20px !important;
    }
    .av-brand-name {
        font-size: 15px !important;
        font-weight: 800 !important;
        color: #0F172A !important;
        line-height: 1.2 !important;
    }
    .av-brand-tagline {
        display: none !important;
    }

    /* Header Actions Group (Left side in RTL): Search + User + Cart */
    .av-header__actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    .av-actions-divider,
    .av-plus-badge {
        display: none !important;
    }

    /* USER REQUEST: باکس حساب کاربری و سبد تبدیل به آیکون بشه و آیکون سبد و حساب کاربری و سرچ باشه */
    .av-header-action-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        flex-shrink: 0 !important;
        border: 1px solid #E2E8F0 !important;
        background: #F8FAFC !important;
        color: #0F172A !important;
        box-shadow: none !important;
    }
    .av-header-action-btn:hover,
    .av-header-action-btn:active {
        background: #EFF6FF !important;
        border-color: #2563EB !important;
        color: #2563EB !important;
    }

    /* Search Icon Trigger on Mobile */
    .av-header-action--search {
        display: inline-flex !important;
    }

    /* Hide ALL text labels inside buttons on mobile */
    .av-user-name-text,
    .av-points-pill,
    .av-caret-icon,
    .av-action-label-text,
    .av-cart-title,
    .av-cart-price-pill,
    .av-header-action-btn span:not(.av-cart-count-badge) {
        display: none !important;
    }

    /* Cart Bubble & Count Badge */
    .av-cart-icon-bubble {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        position: static !important;
    }
    .av-cart-count-badge {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        font-size: 10.5px !important;
        min-width: 18px !important;
        height: 18px !important;
        line-height: 16px !important;
        padding: 0 4px !important;
        border-radius: 99px !important;
        background: #EF4444 !important;
        color: #FFFFFF !important;
        border: 2px solid #FFFFFF !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 800 !important;
        z-index: 5 !important;
    }
    .av-cart-count-badge.is-empty {
        display: none !important;
    }

    /* Collapsible Slide-Down Mobile Search Bar */
    .av-mobile-search-dropdown {
        display: none;
        background: #FFFFFF;
        border-bottom: 1px solid #E2E8F0;
        padding: 10px 14px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        position: relative;
        z-index: 998;
    }
    .av-mobile-search-dropdown.is-active {
        display: block !important;
        animation: avSlideDown 0.22s ease forwards;
    }
    @keyframes avSlideDown {
        from { opacity: 0; transform: translateY(-6px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .av-mobile-search-form {
        display: flex;
        align-items: center;
        background: #F1F5F9;
        border: 1.5px solid #E2E8F0;
        border-radius: 12px;
        padding: 0 12px;
        transition: border-color 0.2s;
    }
    .av-mobile-search-form:focus-within {
        border-color: #2563EB;
        background: #FFFFFF;
    }
    .av-mobile-search-form input[type="search"] {
        flex: 1;
        border: none;
        background: transparent;
        padding: 10px 6px;
        font-size: 13.5px;
        color: #0F172A;
        outline: none;
    }
    .av-mobile-search-form button {
        border: none;
        background: transparent;
        color: #64748B;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4px;
    }
}
