/*
 * آریاز صنعت — استایل‌های کامپوننت‌ها
 * رنگ‌ها از ariaz-theme-mode.css می‌آیند (light/dark)
 * این فایل فقط ساختار layout و animation است
 */

/* ─── RESET INSIDE ARIAZ CONTAINERS ─── */
.ariaz-wrap *, .ariaz-wrap *::before, .ariaz-wrap *::after {
    box-sizing: border-box;
}

.ariaz-wrap {
    font-family: var(--az-font);
    direction: rtl;
    background: var(--az-bg-deep);
    color: var(--az-text);
    position: relative;
}

/* ─── HERO ─── */
.ariaz-hero {
    display: flex;
    align-items: center;
    padding: 70px 60px 50px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--az-bg-deep) 0%, var(--az-bg-glass) 100%);
}

.ariaz-hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--az-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--az-border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
    opacity: 0.5;
}

.ariaz-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: az-pulse 6s ease-in-out infinite;
}

.ariaz-hero__glow--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(11,79,108,0.07) 0%, transparent 70%);
    top: -100px; right: -150px;
}

.ariaz-hero__glow--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,159,28,0.06) 0%, transparent 70%);
    bottom: 0; left: -80px;
    animation-delay: 3s;
}

@keyframes az-pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.08); opacity: 0.7; }
}

.ariaz-hero__content { position: relative; z-index: 2; max-width: 680px; }

.ariaz-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--az-accent-dim);
    border: 1px solid var(--az-border-accent);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 12px;
    color: var(--az-brand);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.ariaz-hero__badge-dot {
    width: 6px; height: 6px;
    background: var(--az-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--az-accent-glow);
    animation: az-blink 2s ease-in-out infinite;
}

@keyframes az-blink {
    0%,100% { opacity:1; }
    50%      { opacity:0.3; }
}

.ariaz-hero__title {
    font-size: clamp(26px, 3.5vw, 50px);
    font-weight: 900;
    line-height: 1.4;
    color: var(--az-text);
    margin-bottom: 18px;
}

.ariaz-hero__title .hl {
    color: var(--az-brand);
    position: relative;
    display: inline;
}

.ariaz-hero__title .hl::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--az-brand), rgba(11,79,108,0.2));
    border-radius: 1px;
    transform-origin: right;
    animation: az-underline-in 0.8s cubic-bezier(0.16,1,0.3,1) 0.4s both;
}

@keyframes az-underline-in {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.ariaz-hero__sub {
    font-size: 16px;
    color: var(--az-text-sec);
    line-height: 1.8;
    margin-bottom: 36px;
    font-weight: 400;
}

.ariaz-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── BUTTONS ─── */
.az-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--az-accent);
    color: #fff;
    font-family: var(--az-font);
    font-size: 14px;
    font-weight: 800;
    padding: 14px 26px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 4px 18px var(--az-accent-glow);
}

.az-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px var(--az-accent-glow);
    color: #fff;
}

.az-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(11,79,108,0.07);
    color: var(--az-brand);
    font-family: var(--az-font);
    font-size: 14px;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 10px;
    border: 1.5px solid rgba(11,79,108,0.3);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.az-btn-secondary:hover {
    border-color: var(--az-brand);
    background: rgba(11,79,108,0.12);
    transform: translateY(-2px);
    color: var(--az-brand);
}

.az-pulse-dot {
    width: 8px; height: 8px;
    background: var(--az-accent);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.az-pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--az-accent);
    border-radius: 50%;
    animation: az-ring 1.5s ease-out infinite;
    opacity: 0;
}

@keyframes az-ring {
    from { transform: scale(0.8); opacity: 0.8; }
    to   { transform: scale(2.2); opacity: 0; }
}

/* ─── FILTER MATRIX ─── */
.ariaz-filter-section { padding: 0 60px 50px; }

.ariaz-filter-label {
    font-size: 11px;
    color: var(--az-text-muted);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
}

.ariaz-filter-main { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }

.ariaz-filter-btn {
    flex: 1;
    min-width: 160px;
    background: var(--az-bg-glass);
    border: 1px solid var(--az-border);
    border-radius: var(--az-radius-lg);
    padding: 22px 18px;
    cursor: pointer;
    text-align: center;
    color: var(--az-text-sec);
    font-family: var(--az-font);
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ariaz-filter-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--az-accent-dim), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
}

.ariaz-filter-btn:hover,
.ariaz-filter-btn.is-active {
    border-color: var(--az-border-accent);
    color: var(--az-brand);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(11,79,108,0.15);
}

.ariaz-filter-btn:hover::before,
.ariaz-filter-btn.is-active::before { opacity: 1; }

.ariaz-filter-btn__icon { font-size: 34px; display: block; margin-bottom: 8px; }
.ariaz-filter-btn__title { font-size: 14px; font-weight: 700; display: block; margin-bottom: 3px; }
.ariaz-filter-btn__count { font-size: 11px; color: var(--az-text-muted); }

.ariaz-sub-filters {
    display: none;
    gap: 8px;
    flex-wrap: wrap;
    padding: 14px 0 0;
    animation: az-slide-down 0.3s cubic-bezier(0.16,1,0.3,1) both;
}

.ariaz-sub-filters.is-visible { display: flex; }

@keyframes az-slide-down {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ariaz-sub-chip {
    background: var(--az-bg-glass);
    border: 1px solid var(--az-border);
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 12px;
    color: var(--az-text-sec);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--az-font);
}

.ariaz-sub-chip:hover,
.ariaz-sub-chip.is-active {
    border-color: var(--az-border-accent);
    color: var(--az-brand);
    background: var(--az-accent-dim);
}

/* ─── PRODUCTS GRID ─── */
.ariaz-products-section { padding: 50px 60px; }

.ariaz-section-header { text-align: center; margin-bottom: 40px; }
.ariaz-section-tag    { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: var(--az-brand); text-transform: uppercase; display: block; margin-bottom: 10px; }
.ariaz-section-title  { font-size: clamp(20px, 2.5vw, 34px); font-weight: 800; color: var(--az-text); margin-bottom: 10px; }
.ariaz-section-desc   { font-size: 14px; color: var(--az-text-sec); line-height: 1.7; }

.ariaz-products-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.ariaz-product-card {
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    border-radius: var(--az-radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ariaz-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(11,79,108,0.25);
    box-shadow: 0 14px 36px rgba(11,79,108,0.12), 0 0 0 1px rgba(11,79,108,0.08);
}

.ariaz-product-card__thumb {
    height: 160px;
    background: var(--az-bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    position: relative;
    overflow: hidden;
}

.ariaz-product-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.ariaz-product-card__body { padding: 18px; }
.ariaz-product-card__cat  { font-size: 10px; color: var(--az-brand); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.ariaz-product-card__name { font-size: 14px; font-weight: 700; color: var(--az-text); margin-bottom: 10px; line-height: 1.4; }

.ariaz-product-card__specs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }

.az-spec-chip {
    background: var(--az-bg-deep);
    border: 1px solid var(--az-border);
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 11px;
    color: var(--az-text-muted);
}

.ariaz-product-card__actions { display: flex; gap: 8px; }

.az-btn-add-cart, .az-btn-rfq {
    flex: 1;
    background: var(--az-accent);
    color: #fff;
    font-family: var(--az-font);
    font-size: 12px;
    font-weight: 800;
    padding: 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: block;
    transition: all 0.2s;
}

.az-btn-add-cart:hover, .az-btn-rfq:hover {
    box-shadow: 0 0 16px var(--az-accent-glow);
    color: #fff;
    transform: translateY(-1px);
}

.az-btn-datasheet {
    background: transparent;
    color: var(--az-text-sec);
    font-family: var(--az-font);
    font-size: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--az-border);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.az-btn-datasheet:hover {
    border-color: var(--az-border-accent);
    color: var(--az-brand);
}

/* ─── STATS ─── */
.ariaz-stats-section { padding: 50px 60px; }

.ariaz-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

.ariaz-stat-card {
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    border-radius: var(--az-radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ariaz-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--az-accent), transparent);
    transition: width 0.35s;
}

.ariaz-stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--az-border-accent);
    box-shadow: 0 12px 32px rgba(11,79,108,0.12);
}

.ariaz-stat-card:hover::before { width: 90%; }

.ariaz-stat-card__num {
    font-size: 42px;
    font-weight: 900;
    color: var(--az-brand);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
    transition: color 0.3s;
}

.ariaz-stat-card:hover .ariaz-stat-card__num {
    color: var(--az-accent);
    text-shadow: 0 0 20px var(--az-accent-glow);
}

.ariaz-stat-card__label {
    font-size: 12px;
    color: var(--az-text-sec);
    font-weight: 500;
    margin-top: 6px;
    display: block;
}

.ariaz-brands-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.ariaz-brand-badge {
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    border-radius: 7px;
    padding: 9px 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--az-text-sec);
    letter-spacing: 1.5px;
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
    cursor: default;
    -webkit-tap-highlight-color: transparent;
}

.ariaz-brand-badge:hover {
    border-color: var(--az-border-accent);
    color: var(--az-brand);
    background: var(--az-accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ariaz-certs-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ariaz-cert-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--az-text-muted);
}

.ariaz-cert-item__icon { color: var(--az-brand); }

/* ─── SERVICES FORM ─── */
.ariaz-services-section { padding: 60px; }

.ariaz-services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ariaz-services-info h2 {
    font-size: clamp(18px, 2.2vw, 30px);
    font-weight: 800;
    color: var(--az-text);
    line-height: 1.4;
    margin-bottom: 16px;
}

.ariaz-services-info p {
    font-size: 14px;
    color: var(--az-text-sec);
    line-height: 1.8;
    margin-bottom: 24px;
}

.ariaz-services-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.ariaz-services-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--az-text-sec);
}

.ariaz-services-list li::before {
    content: '';
    width: 20px; height: 20px;
    background: var(--az-accent-dim)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4F6C' stroke-width='2.5'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")
        center/14px no-repeat;
    border: 1px solid var(--az-border-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ─── 3-STEP FORM CARD ─── */
.ariaz-form-card {
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    border-radius: var(--az-radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ariaz-form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 50%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--az-accent), transparent);
}

.ariaz-form-steps { display: flex; gap: 6px; margin-bottom: 28px; }

.ariaz-step-bar {
    flex: 1; height: 3px;
    background: var(--az-border);
    border-radius: 2px;
    transition: background 0.45s ease, box-shadow 0.45s ease;
    position: relative;
    overflow: hidden;
}

.ariaz-step-bar.is-active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--az-accent), rgba(255,159,28,0.4));
    animation: az-bar-fill 0.5s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes az-bar-fill {
    from { transform: scaleX(0); transform-origin: right; }
    to   { transform: scaleX(1); transform-origin: right; }
}

.ariaz-step-bar.is-done { background: var(--az-accent); box-shadow: 0 0 8px var(--az-accent-glow); }
.ariaz-step-bar.is-active { background: rgba(255,159,28,0.25); }

.ariaz-step-content { display: none; }
.ariaz-step-content.is-active {
    display: block;
    animation: az-step-in 0.38s cubic-bezier(0.16,1,0.3,1) both;
}
.ariaz-step-content.is-leaving { animation: az-step-out 0.25s ease both; }

@keyframes az-step-in {
    from { opacity: 0; transform: translateX(-18px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes az-step-out {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(18px); }
}

.ariaz-step-num {
    font-size: 10px;
    color: var(--az-brand);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ariaz-step-num::before {
    content: '';
    width: 16px; height: 1px;
    background: var(--az-accent);
    opacity: 0.5;
}

.ariaz-step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--az-text);
    margin-bottom: 18px;
}

.ariaz-device-opts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.ariaz-device-opt {
    background: var(--az-bg-deep);
    border: 1.5px solid var(--az-border);
    border-radius: 10px;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    font-family: var(--az-font);
    color: var(--az-text-sec);
    font-size: 11px;
    font-weight: 600;
    transition: all 0.22s cubic-bezier(0.16,1,0.3,1);
    -webkit-tap-highlight-color: transparent;
}

.ariaz-device-opt:hover {
    border-color: rgba(255,159,28,0.4);
    color: var(--az-brand);
    background: var(--az-accent-dim);
    transform: translateY(-2px);
}

.ariaz-device-opt.is-selected {
    border-color: var(--az-accent);
    color: #fff;
    background: var(--az-accent);
    box-shadow: 0 0 16px var(--az-accent-glow);
    transform: translateY(-1px);
}

.ariaz-device-opt__icon {
    font-size: 22px;
    display: block;
    margin-bottom: 5px;
    transition: transform 0.2s;
}

.ariaz-device-opt:hover .ariaz-device-opt__icon { transform: scale(1.15); }
.ariaz-device-opt.is-selected .ariaz-device-opt__icon { transform: scale(1.1); }

.ariaz-form-input {
    width: 100%;
    background: var(--az-bg-deep);
    border: 1.5px solid var(--az-border);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--az-text);
    font-family: var(--az-font);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    direction: rtl;
    margin-bottom: 12px;
}

.ariaz-form-input:focus {
    border-color: var(--az-accent);
    box-shadow: 0 0 0 3px rgba(255,159,28,0.08);
}

.ariaz-form-input::placeholder { color: var(--az-text-muted); }

.ariaz-btn-next {
    width: 100%;
    background: var(--az-accent);
    color: #fff;
    font-family: var(--az-font);
    font-size: 14px;
    font-weight: 800;
    padding: 13px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.ariaz-btn-next:hover {
    box-shadow: 0 0 22px var(--az-accent-glow);
    transform: translateY(-2px);
}

.ariaz-form-success {
    display: none;
    text-align: center;
    padding: 16px 0;
    animation: az-step-in 0.4s both;
}

.ariaz-form-success.is-show { display: block; }
.ariaz-form-success__icon  { font-size: 44px; display: block; margin-bottom: 10px; }
.ariaz-form-success h3     { font-size: 17px; color: var(--az-text); margin-bottom: 6px; }
.ariaz-form-success p      { font-size: 12px; color: var(--az-text-sec); line-height: 1.6; }

/* ─── BOTTOM SHEET ─── */
.ariaz-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 9000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.ariaz-overlay.is-open { opacity: 1; pointer-events: all; }

.ariaz-sheet {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--az-bg-panel);
    border-radius: 22px 22px 0 0;
    border-top: 2px solid var(--az-accent);
    padding: 28px 40px 36px;
    z-index: 9001;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    max-height: 85vh;
    overflow-y: auto;
    direction: rtl;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
}

.ariaz-sheet.is-open { transform: translateY(0); }

.ariaz-sheet__handle {
    width: 40px; height: 4px;
    background: var(--az-border);
    border-radius: 2px;
    margin: 0 auto 22px;
}

.ariaz-sheet__title { font-size: 18px; font-weight: 800; color: var(--az-text); margin-bottom: 4px; }
.ariaz-sheet__sub   { font-size: 13px; color: var(--az-text-sec); margin-bottom: 24px; }

.ariaz-sheet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }

.ariaz-sheet__field label {
    display: block;
    font-size: 11px;
    color: var(--az-text-muted);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.ariaz-sheet__submit {
    width: 100%;
    background: var(--az-accent);
    color: #fff;
    font-family: var(--az-font);
    font-size: 15px;
    font-weight: 800;
    padding: 15px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 6px;
}

.ariaz-sheet__submit:hover {
    box-shadow: 0 0 24px var(--az-accent-glow);
    transform: translateY(-2px);
}

/* ─── DIVIDER ─── */
.ariaz-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--az-border), transparent);
    margin: 28px 60px;
}

/* ─── SCROLL REVEAL ─── */
.az-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.az-reveal.is-visible { opacity: 1; transform: none; }

/* ─── PRODUCT PAGE SPECS TABLE ─── */
.ariaz-specs-table-wrap { margin: 16px 0; overflow: hidden; border-radius: var(--az-radius); border: 1px solid var(--az-border); }

.ariaz-specs-table { width: 100%; border-collapse: collapse; direction: rtl; }

.ariaz-specs-table th,
.ariaz-specs-table td {
    padding: 11px 16px;
    font-size: 13px;
    border-bottom: 1px solid var(--az-border);
    text-align: right;
}

.ariaz-specs-table th {
    background: var(--az-bg-deep);
    color: var(--az-text-sec);
    font-weight: 600;
    width: 35%;
}

.ariaz-specs-table td { color: var(--az-text); }
.ariaz-specs-table tr:last-child th,
.ariaz-specs-table tr:last-child td { border-bottom: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
    .ariaz-hero                { padding: 60px 24px 40px; }
    .ariaz-filter-section,
    .ariaz-products-section,
    .ariaz-stats-section,
    .ariaz-services-section    { padding-left: 24px; padding-right: 24px; }
    .ariaz-products-grid       { grid-template-columns: 1fr; }
    .ariaz-stats-grid          { grid-template-columns: repeat(2,1fr); }
    .ariaz-services-layout     { grid-template-columns: 1fr; gap: 28px; }
    .ariaz-sheet               { padding: 22px 20px 30px; }
    .ariaz-sheet__grid         { grid-template-columns: 1fr; }
    .ariaz-divider             { margin: 20px 24px; }
}

/* ══════════════════════════════════════════════════════════
   QUICK CATEGORIES — Ring Carousel (RTL pulse, 4s interval)
══════════════════════════════════════════════════════════ */

.ariaz-quick-cats {
    padding: 0 60px 60px;
    position: relative;
    overflow: hidden;
}

.ariaz-qcat-carousel {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to left,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(to left,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
}

.ariaz-qcat-track {
    display: flex;
    flex-direction: row;
    gap: 24px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.15, 1);
    will-change: transform;
    padding: 16px 6px 24px;
    direction: ltr; /* LTR تا translateX درست کار کنه — آیتم‌ها هنوز RTL هستن */
}

.ariaz-qcat-item {
    flex: 0 0 170px;
    width: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.ariaz-qcat-item:hover  { transform: translateY(-5px); }
.ariaz-qcat-item:active { transform: translateY(-1px) scale(0.97); transition-duration: 0.1s; }

.ariaz-qcat-ring {
    position: relative;
    width: 152px;
    height: 152px;
    flex-shrink: 0;
}

.ariaz-qcat-ring__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
    z-index: 3;
}

.ariaz-qcat-ring__track {
    fill: none;
    stroke: var(--az-border);
    stroke-width: 2;
    transition: stroke 0.4s;
}

.ariaz-qcat-item:hover .ariaz-qcat-ring__track {
    stroke: rgba(255,159,28,0.25);
}

.ariaz-qcat-ring__progress {
    fill: none;
    stroke: var(--az-brand);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 358;
    stroke-dashoffset: 358;
    transition: stroke-dashoffset 4s linear, stroke 0.4s, filter 0.4s;
    filter: drop-shadow(0 0 3px color-mix(in srgb, var(--az-brand) 40%, transparent));
}

.ariaz-qcat-ring__progress-glow {
    fill: none;
    stroke: rgba(255,255,255,0.2);
    stroke-width: 0.75;
    stroke-linecap: round;
    stroke-dasharray: 358;
    stroke-dashoffset: 358;
    transition: stroke-dashoffset 4s linear;
    pointer-events: none;
}

.ariaz-qcat-item.is-active .ariaz-qcat-ring__progress      { stroke-dashoffset: 0; }
.ariaz-qcat-item.is-active .ariaz-qcat-ring__progress-glow { stroke-dashoffset: 0; }

.ariaz-qcat-ring__img-wrap {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    z-index: 2;
    transition:
        transform 0.45s cubic-bezier(0.34,1.56,0.64,1),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.06);
}

/* shimmer نور ملایم دایره‌ای */
.ariaz-qcat-ring__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(255,255,255,0.18) 20%,
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 3;
    animation: none;
}

.ariaz-qcat-item.is-active .ariaz-qcat-ring__img-wrap::after {
    opacity: 1;
    animation: az-ring-shimmer 4s linear infinite;
}

@keyframes az-ring-shimmer {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.ariaz-qcat-ring__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition:
        transform 0.55s cubic-bezier(0.34,1.56,0.64,1),
        filter 0.45s ease;
    filter: saturate(0.82) brightness(0.96);
    will-change: transform;
}

.ariaz-qcat-item:hover .ariaz-qcat-ring__img-wrap img,
.ariaz-qcat-item.is-active .ariaz-qcat-ring__img-wrap img {
    transform: scale(1.1);
    filter: saturate(1.08) brightness(1.04);
}

.ariaz-qcat-ring__icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--az-bg-deep), var(--az-bg-panel));
}

.ariaz-qcat-item:hover .ariaz-qcat-ring__img-wrap,
.ariaz-qcat-item.is-active .ariaz-qcat-ring__img-wrap {
    border-color: color-mix(in srgb, var(--az-brand) 40%, transparent);
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--az-brand) 10%, transparent),
        0 8px 24px color-mix(in srgb, var(--az-brand) 12%, transparent),
        inset 0 2px 8px rgba(0,0,0,0.06);
    transform: scale(1.04);
}

.ariaz-qcat-ring__pulse,
.ariaz-qcat-ring__pulse2 { display: none; }

.ariaz-qcat-label {
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

.ariaz-qcat-item:hover .ariaz-qcat-label { transform: translateY(-2px); }

.ariaz-qcat-label__title {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--az-text);
    line-height: 1.3;
    margin-bottom: 3px;
    transition: color 0.25s ease;
}

.ariaz-qcat-label__count {
    display: block;
    font-size: 10px;
    color: var(--az-text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
}

.ariaz-qcat-item:hover .ariaz-qcat-label__title,
.ariaz-qcat-item.is-active .ariaz-qcat-label__title { color: var(--az-brand); }

.ariaz-qcat-item:hover .ariaz-qcat-label__count,
.ariaz-qcat-item.is-active .ariaz-qcat-label__count { color: var(--az-accent); }

.ariaz-qcat-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
}

.ariaz-qcat-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--az-border);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
    border: none;
    padding: 0;
}

.ariaz-qcat-dot:hover          { background: rgba(255,159,28,0.5); transform: scale(1.3); }
.ariaz-qcat-dot.is-active      { background: var(--az-accent); width: 26px; border-radius: 4px; box-shadow: 0 0 10px var(--az-accent-glow); }

@media (max-width: 1200px) {
    .ariaz-qcat-item { flex: 0 0 148px; width: 148px; }
    .ariaz-qcat-ring { width: 132px; height: 132px; }
    .ariaz-qcat-ring__progress,
    .ariaz-qcat-ring__progress-glow { stroke-dasharray: 402; stroke-dashoffset: 402; }
    .ariaz-qcat-item.is-active .ariaz-qcat-ring__progress,
    .ariaz-qcat-item.is-active .ariaz-qcat-ring__progress-glow { stroke-dashoffset: 0; }
}
@media (max-width: 960px) {
    .ariaz-quick-cats { padding: 0 24px 44px; }
    .ariaz-qcat-track { gap: 16px; }
    .ariaz-qcat-item  { flex: 0 0 128px; width: 128px; }
    .ariaz-qcat-ring  { width: 112px; height: 112px; }
    .ariaz-qcat-ring__progress,
    .ariaz-qcat-ring__progress-glow { stroke-dasharray: 339; stroke-dashoffset: 339; }
    .ariaz-qcat-item.is-active .ariaz-qcat-ring__progress,
    .ariaz-qcat-item.is-active .ariaz-qcat-ring__progress-glow { stroke-dashoffset: 0; }
    .ariaz-qcat-label__title { font-size: 13px; }
}
@media (max-width: 600px) {
    .ariaz-qcat-item  { flex: 0 0 108px; width: 108px; }
    .ariaz-qcat-ring  { width: 92px; height: 92px; }
    .ariaz-qcat-ring__progress,
    .ariaz-qcat-ring__progress-glow { stroke-dasharray: 276; stroke-dashoffset: 276; }
    .ariaz-qcat-item.is-active .ariaz-qcat-ring__progress,
    .ariaz-qcat-item.is-active .ariaz-qcat-ring__progress-glow { stroke-dashoffset: 0; }
    .ariaz-qcat-label__title { font-size: 12px; }
}

/* ══════════════════════════════════════════════════════
   QCAT ITEM WRAP + SUB BUTTON
══════════════════════════════════════════════════════ */

.ariaz-qcat-item-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 0 0 170px;
    width: 170px;
}

.ariaz-qcat-sub-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: var(--az-bg-glass);
    border: 1.5px solid var(--az-border);
    border-radius: 100px;
    font-family: var(--az-font);
    font-size: 11px;
    font-weight: 700;
    color: var(--az-text-sec);
    cursor: pointer;
    transition:
        background 0.22s cubic-bezier(0.16,1,0.3,1),
        border-color 0.22s,
        color 0.22s,
        transform 0.22s,
        box-shadow 0.22s;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(8px);
}

.ariaz-qcat-sub-btn svg {
    transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
    flex-shrink: 0;
    opacity: 0.6;
}

.ariaz-qcat-sub-btn:hover {
    background: var(--az-accent-dim);
    border-color: var(--az-border-accent);
    color: var(--az-brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,159,28,0.15);
}

.ariaz-qcat-sub-btn:hover svg,
.ariaz-qcat-sub-btn.is-open svg { opacity: 1; transform: rotate(180deg); }

.ariaz-qcat-sub-btn.is-open {
    background: var(--az-accent);
    border-color: var(--az-accent);
    color: #fff;
    box-shadow: 0 4px 14px var(--az-accent-glow);
}

@media (max-width: 1200px) { .ariaz-qcat-item-wrap { flex: 0 0 148px; width: 148px; } }
@media (max-width: 960px)  { .ariaz-qcat-item-wrap { flex: 0 0 128px; width: 128px; } }
@media (max-width: 600px)  { .ariaz-qcat-item-wrap { flex: 0 0 108px; width: 108px; } .ariaz-qcat-sub-btn { font-size: 10px; padding: 5px 10px; } }

/* ══════════════════════════════════════════════════════
   SUB-CATEGORY DRAWER — مینیمال
══════════════════════════════════════════════════════ */

/* ── Cat Popover — inline floating card زیر هر دسته ── */
.ariaz-cat-popover {
    position: fixed;   /* با JS top/left set می‌شه */
    z-index: 9900;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    border-radius: 18px;
    box-shadow:
        0 2px 0 color-mix(in srgb, var(--az-accent) 30%, transparent),
        0 12px 40px rgba(0,0,0,0.14),
        0 4px 16px rgba(0,0,0,0.08);
    padding: 0;
    direction: rtl;
    /* شروع از invisible */
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
    pointer-events: none;
    transition:
        opacity  0.22s cubic-bezier(0.16,1,0.3,1),
        transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
    overflow: hidden;
}

.ariaz-cat-popover.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* نوار accent بالا */
.ariaz-cat-popover::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--az-accent), var(--az-brand));
    border-radius: 18px 18px 0 0;
}

/* ── head: دسته اصلی + close ── */
.ariaz-cat-popover__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 10px;
    border-bottom: 1px solid color-mix(in srgb, var(--az-border) 60%, transparent);
}

.ariaz-cat-popover__img {
    width: 40px; height: 40px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--az-border);
    background: var(--az-bg-deep);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ariaz-cat-popover__img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.ariaz-cat-popover__img-icon {
    font-size: 20px;
    opacity: .7;
}

.ariaz-cat-popover__meta {
    flex: 1;
    min-width: 0;
}
.ariaz-cat-popover__title {
    font-size: 13px;
    font-weight: 800;
    color: var(--az-text);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ariaz-cat-popover__count {
    font-size: 11px;
    color: var(--az-text-muted);
    display: block;
    margin-top: 2px;
    font-weight: 500;
}

.ariaz-cat-popover__view-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--az-brand);
    text-decoration: none;
    padding: 6px 10px;
    border: 1px solid color-mix(in srgb, var(--az-brand) 18%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--az-brand) 5%, transparent);
    transition: background 0.18s, border-color 0.18s;
    flex-shrink: 0;
    white-space: nowrap;
}
.ariaz-cat-popover__view-all:hover {
    background: color-mix(in srgb, var(--az-brand) 10%, transparent);
    border-color: var(--az-brand);
}
.ariaz-cat-popover__view-all svg {
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.ariaz-cat-popover__view-all:hover svg { transform: translateX(-3px); }

/* ── sub-grid: زیردسته‌ها ── */
.ariaz-cat-popover__body {
    padding: 12px 14px 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* وقتی ≤ 2 آیتم — یه ردیف */
.ariaz-cat-popover__body:has(> :nth-child(3)) {
    grid-template-columns: repeat(2, 1fr);
}

.ariaz-cat-popover__child {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--az-bg-deep);
    border: 1px solid color-mix(in srgb, var(--az-border) 70%, transparent);
    border-radius: 12px;
    text-decoration: none;
    transition:
        background   0.18s ease,
        border-color 0.18s ease,
        transform    0.24s cubic-bezier(0.34,1.56,0.64,1),
        box-shadow   0.18s ease;
    animation: az-pop-child 0.3s cubic-bezier(0.16,1,0.3,1) both;
    cursor: pointer;
}

.ariaz-cat-popover__child:nth-child(1) { animation-delay: 0.04s; }
.ariaz-cat-popover__child:nth-child(2) { animation-delay: 0.07s; }
.ariaz-cat-popover__child:nth-child(3) { animation-delay: 0.10s; }
.ariaz-cat-popover__child:nth-child(4) { animation-delay: 0.13s; }
.ariaz-cat-popover__child:nth-child(5) { animation-delay: 0.16s; }
.ariaz-cat-popover__child:nth-child(n+6) { animation-delay: 0.19s; }

@keyframes az-pop-child {
    from { opacity: 0; transform: translateY(5px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.ariaz-cat-popover__child:hover {
    background: var(--az-bg-panel);
    border-color: color-mix(in srgb, var(--az-brand) 25%, transparent);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--az-brand) 8%, transparent);
}
.ariaz-cat-popover__child:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.08s;
}

/* تصویر کوچک در چپ */
.ariaz-cat-popover__child-thumb {
    width: 32px; height: 32px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--az-border);
    background: var(--az-bg-panel);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ariaz-cat-popover__child-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.ariaz-cat-popover__child-fallback {
    font-size: 14px;
    opacity: .6;
}

.ariaz-cat-popover__child-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.ariaz-cat-popover__child-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--az-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s;
    line-height: 1.2;
}
.ariaz-cat-popover__child:hover .ariaz-cat-popover__child-name { color: var(--az-brand); }

.ariaz-cat-popover__child-count {
    font-size: 10px;
    color: var(--az-text-muted);
    font-weight: 500;
}

/* ── overlay backdrop ── */
.ariaz-cat-popover-overlay {
    position: fixed;
    inset: 0;
    z-index: 9899;
    background: transparent;
    display: none;
}
.ariaz-cat-popover-overlay.is-open { display: block; }

/* ── mobile: bottom sheet style ── */
@media (max-width: 600px) {
    .ariaz-cat-popover {
        position: fixed;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 20px 20px 0 0;
        transform: translateY(20px) !important;
    }
    .ariaz-cat-popover.is-open {
        transform: translateY(0) !important;
    }
    .ariaz-cat-popover__body {
        grid-template-columns: repeat(2, 1fr);
        max-height: 55vh;
        overflow-y: auto;
    }
    .ariaz-cat-popover-overlay.is-open {
        background: rgba(0,0,0,0.35);
    }
}

/* dark mode */
[data-theme="dark"] .ariaz-cat-popover {
    box-shadow:
        0 2px 0 color-mix(in srgb, var(--az-accent) 35%, transparent),
        0 16px 48px rgba(0,0,0,0.5),
        0 4px 16px rgba(0,0,0,0.3);
}
[data-theme="dark"] .ariaz-cat-popover__child:hover {
    box-shadow: 0 4px 14px color-mix(in srgb, var(--az-accent) 10%, transparent);
    border-color: color-mix(in srgb, var(--az-accent) 25%, transparent);
}

.ariaz-subcat-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: transparent;
    border: 1px solid var(--az-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--az-text-sec);
    font-family: var(--az-font);
    font-size: 12px;
    font-weight: 600;
    transition:
        background  0.18s ease,
        border-color 0.18s ease,
        color        0.18s ease,
        transform    0.22s cubic-bezier(0.16,1,0.3,1);
    animation: az-chip-pop 0.32s cubic-bezier(0.16,1,0.3,1) both;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.ariaz-subcat-chip::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--az-border);
    flex-shrink: 0;
    transition: background 0.18s ease, transform 0.22s;
}

.ariaz-subcat-chip:nth-child(1)  { animation-delay: 0.02s; }
.ariaz-subcat-chip:nth-child(2)  { animation-delay: 0.05s; }
.ariaz-subcat-chip:nth-child(3)  { animation-delay: 0.08s; }
.ariaz-subcat-chip:nth-child(4)  { animation-delay: 0.11s; }
.ariaz-subcat-chip:nth-child(5)  { animation-delay: 0.14s; }
.ariaz-subcat-chip:nth-child(6)  { animation-delay: 0.17s; }
.ariaz-subcat-chip:nth-child(n+7){ animation-delay: 0.20s; }

@keyframes az-chip-pop {
    from { opacity: 0; transform: translateY(6px) scale(0.92); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.ariaz-subcat-chip:hover {
    background: var(--az-accent-dim);
    border-color: var(--az-border-accent);
    color: var(--az-brand);
    transform: translateY(-2px);
}

.ariaz-subcat-chip:hover::before { background: var(--az-accent); transform: scale(1.4); }
.ariaz-subcat-chip:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }

.ariaz-subcat-chip__count { font-size: 10px; color: var(--az-text-muted); font-weight: 500; opacity: 0.7; }
.ariaz-subcat-chip__img,
.ariaz-subcat-chip__icon  { display: none; }

.ariaz-subcat-chip__body { display: inline-flex; align-items: center; gap: 5px; }
.ariaz-subcat-chip__name { font-size: 12px; font-weight: 700; color: inherit; line-height: 1; }

/* ── panel جدید زیردسته ── */
.ariaz-subcat-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.ariaz-subcat-panel__parent {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: var(--az-brand);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid color-mix(in srgb, var(--az-brand) 20%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--az-brand) 5%, transparent);
    transition: background 0.18s, border-color 0.18s;
}
.ariaz-subcat-panel__parent:hover {
    background: color-mix(in srgb, var(--az-brand) 10%, transparent);
    border-color: var(--az-brand);
}

.ariaz-subcat-panel__close {
    width: 28px; height: 28px;
    background: transparent;
    border: 1px solid var(--az-border);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--az-text-muted);
    cursor: pointer;
    transition: all 0.18s;
    flex-shrink: 0;
}
.ariaz-subcat-panel__close:hover {
    background: #e54;
    border-color: #e54;
    color: #fff;
}

.ariaz-subcat-panel__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
}

.ariaz-subcat-panel__child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    background: var(--az-bg-deep);
    border: 1px solid var(--az-border);
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), border-color 0.18s, box-shadow 0.18s;
    animation: az-chip-pop 0.28s cubic-bezier(0.16,1,0.3,1) both;
}
.ariaz-subcat-panel__child:nth-child(1)  { animation-delay: .03s; }
.ariaz-subcat-panel__child:nth-child(2)  { animation-delay: .06s; }
.ariaz-subcat-panel__child:nth-child(3)  { animation-delay: .09s; }
.ariaz-subcat-panel__child:nth-child(4)  { animation-delay: .12s; }
.ariaz-subcat-panel__child:nth-child(n+5){ animation-delay: .15s; }

.ariaz-subcat-panel__child:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--az-brand) 30%, transparent);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--az-brand) 8%, transparent);
}

.ariaz-subcat-panel__child-img {
    width: 52px; height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ariaz-subcat-panel__child-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.ariaz-subcat-panel__fallback {
    font-size: 20px;
    opacity: .6;
}
.ariaz-subcat-panel__child-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--az-text);
    line-height: 1.3;
    transition: color 0.18s;
}
.ariaz-subcat-panel__child:hover .ariaz-subcat-panel__child-name { color: var(--az-brand); }
.ariaz-subcat-panel__child-count {
    font-size: 10px;
    color: var(--az-text-muted);
    background: var(--az-bg-panel);
    border-radius: 4px;
    padding: 1px 5px;
}
@media (max-width: 600px) { .ariaz-subcat-drawer__grid { gap: 6px; } .ariaz-subcat-chip { font-size: 11px; padding: 6px 11px; } }

/* ══════════════════════════════════════════════════════════════════
   DEALS SECTION — پرفروش‌ترین‌ها + شگفت‌انگیزها
══════════════════════════════════════════════════════════════════ */

.ariaz-deals-section { padding: 50px 60px; }

.ariaz-deals-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--az-border);
    padding-bottom: 0;
}

.ariaz-deals-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px 12px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: var(--az-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--az-text-muted);
    cursor: pointer;
    transition: color 0.22s ease, border-color 0.22s ease;
    white-space: nowrap;
}

.ariaz-deals-tab svg { opacity: 0.5; transition: opacity 0.2s; }
.ariaz-deals-tab:hover { color: var(--az-text); }
.ariaz-deals-tab.is-active { color: var(--az-brand); border-bottom-color: var(--az-accent); }
.ariaz-deals-tab.is-active svg { opacity: 1; }

.ariaz-deals-tab__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--az-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 100px;
    animation: az-blink 3s ease-in-out infinite;
}

.ariaz-deals-panel { display: none; }
.ariaz-deals-panel.is-active {
    display: block;
    animation: az-deals-panel-in 0.32s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes az-deals-panel-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ariaz-deals-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 6px 4px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* mask حذف — نمایش طبیعی */
}

.ariaz-deals-track::-webkit-scrollbar { display: none; }

.ariaz-deal-card {
    flex: 0 0 210px;
    width: 210px;
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: start;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, border-color 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ariaz-deal-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11,79,108,0.2);
    box-shadow: 0 12px 32px rgba(11,79,108,0.1);
}

.ariaz-deal-card--deal { border-top: 2px solid var(--az-accent); }

.ariaz-deal-card__rank {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 4;
    width: 24px; height: 24px;
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
    color: var(--az-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ariaz-deal-card:nth-child(1) .ariaz-deal-card__rank { background: #FFD700; border-color: #FFD700; color: #7a5a00; }
.ariaz-deal-card:nth-child(2) .ariaz-deal-card__rank { background: #C0C0C0; border-color: #C0C0C0; color: #555; }
.ariaz-deal-card:nth-child(3) .ariaz-deal-card__rank { background: #CD7F32; border-color: #CD7F32; color: #fff; }

.ariaz-deal-card__discount {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 4;
    background: var(--az-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 100px;
    box-shadow: 0 2px 8px var(--az-accent-glow);
    animation: az-deal-pulse 2.5s ease-in-out infinite;
}

@keyframes az-deal-pulse {
    0%,100% { box-shadow: 0 2px 8px var(--az-accent-glow); }
    50%      { box-shadow: 0 2px 18px var(--az-accent-glow), 0 0 0 3px rgba(255,159,28,0.15); }
}

.ariaz-deal-card__sales-badge {
    position: absolute;
    bottom: 8px; left: 8px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.ariaz-deal-card__thumb {
    height: 140px;
    background: var(--az-bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ariaz-deal-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}

.ariaz-deal-card:hover .ariaz-deal-card__thumb img { transform: scale(1.06); }
.ariaz-deal-card__fallback { font-size: 42px; opacity: 0.4; }

.ariaz-deal-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ariaz-deal-card__cat { font-size: 9px; color: var(--az-brand); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }

.ariaz-deal-card__name { font-size: 12px; font-weight: 700; color: var(--az-text); line-height: 1.4; margin: 0; }
.ariaz-deal-card__name a { color: inherit; text-decoration: none; transition: color 0.2s; }
.ariaz-deal-card__name a:hover { color: var(--az-brand); }

.ariaz-deal-card__specs { display: flex; gap: 5px; flex-wrap: wrap; }

.az-deal-spec {
    background: var(--az-bg-deep);
    border: 1px solid var(--az-border);
    border-radius: 5px;
    padding: 2px 7px;
    font-size: 10px;
    color: var(--az-text-muted);
}

.ariaz-deal-card__price { font-size: 13px; color: var(--az-text); font-weight: 700; line-height: 1.3; }
.ariaz-deal-card__price del { opacity: 0.45; font-size: 11px; }
.ariaz-deal-card__price ins { text-decoration: none; color: var(--az-brand); }

.az-deal-btn {
    display: block;
    text-align: center;
    padding: 8px 10px;
    background: var(--az-bg-deep);
    border: 1px solid var(--az-border);
    border-radius: 8px;
    font-family: var(--az-font);
    font-size: 11px;
    font-weight: 700;
    color: var(--az-text-sec);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(0.16,1,0.3,1);
    margin-top: 2px;
}

.az-deal-btn:hover {
    background: var(--az-accent-dim);
    border-color: var(--az-border-accent);
    color: var(--az-brand);
    transform: translateY(-2px);
}

.az-deal-btn--accent { background: var(--az-accent); border-color: var(--az-accent); color: #fff; box-shadow: 0 3px 12px var(--az-accent-glow); }
.az-deal-btn--accent:hover { background: var(--az-accent); color: #fff; box-shadow: 0 6px 20px var(--az-accent-glow); transform: translateY(-2px); }

.ariaz-deal-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    background: rgba(255,159,28,0.07);
    border: 1px solid rgba(255,159,28,0.2);
    border-radius: 7px;
    font-family: var(--az-font);
    direction: ltr;
    width: fit-content;
}

.ariaz-deal-timer__label { font-size: 9px; color: var(--az-text-muted); font-weight: 600; direction: rtl; white-space: nowrap; }

.ariaz-deal-timer__seg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    background: var(--az-bg-deep);
    border: 1px solid var(--az-border);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
    color: var(--az-accent);
    letter-spacing: 0.5px;
    transition: transform 0.15s ease;
}

.ariaz-deal-timer__seg[data-unit="d"]            { display: none; }
.ariaz-deal-timer__seg[data-unit="d"].is-visible { display: inline-flex; }

.ariaz-deal-timer__sep { font-size: 10px; color: var(--az-text-muted); font-weight: 800; margin-bottom: 1px; }

.ariaz-deals-empty { text-align: center; padding: 44px 20px; color: var(--az-text-muted); }
.ariaz-deals-empty span { font-size: 36px; display: block; margin-bottom: 10px; opacity: 0.5; }
.ariaz-deals-empty p { font-size: 13px; line-height: 1.6; }

@media (max-width: 960px) {
    .ariaz-deals-section { padding: 40px 24px; }
    .ariaz-deal-card { flex: 0 0 180px; width: 180px; }
    .ariaz-deal-card__thumb { height: 120px; }
}

@media (max-width: 600px) {
    .ariaz-deals-tabs { gap: 4px; }
    .ariaz-deals-tab  { padding: 9px 14px 11px; font-size: 12px; }
    .ariaz-deal-card  { flex: 0 0 160px; width: 160px; }
}

/* ══════════════════════════════════════════════════════════════════
   MAGAZINE SECTION — مجله آریاز صنعت
══════════════════════════════════════════════════════════════════ */

.ariaz-magazine-section {
    padding: 50px 60px 60px;
    direction: rtl;
}

.ariaz-magazine-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.ariaz-magazine-header__text { flex: 1; min-width: 200px; }
.ariaz-magazine-header__text .ariaz-section-title { margin-bottom: 6px; }
.ariaz-magazine-header__link { flex-shrink: 0; align-self: flex-end; }

.ariaz-magazine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
}

.ariaz-mag-card--featured { grid-row: 1 / 3; }

.ariaz-mag-card {
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, border-color 0.25s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.ariaz-mag-card:hover {
    transform: translateY(-4px);
    border-color: rgba(11,79,108,0.2);
    box-shadow: 0 10px 28px rgba(11,79,108,0.09);
}

.ariaz-mag-card__thumb-link { display: block; flex-shrink: 0; }

.ariaz-mag-card__thumb {
    position: relative;
    overflow: hidden;
    background: var(--az-bg-deep);
    height: 160px;
}

.ariaz-mag-card--featured .ariaz-mag-card__thumb { height: 240px; }

.ariaz-mag-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.ariaz-mag-card:hover .ariaz-mag-card__thumb img { transform: scale(1.05); }

.ariaz-mag-card__thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 40px;
    opacity: 0.25;
}

.ariaz-mag-card__cat-badge {
    position: absolute;
    bottom: 10px; right: 10px;
    background: var(--az-brand);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.ariaz-mag-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.ariaz-mag-card__meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.ariaz-mag-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--az-text-muted);
    font-weight: 500;
}

.ariaz-mag-card__meta-item svg { flex-shrink: 0; opacity: 0.7; }
.ariaz-mag-card__meta-sep { font-size: 10px; color: var(--az-border); }

.ariaz-mag-card__title { font-size: 14px; font-weight: 800; color: var(--az-text); line-height: 1.5; margin: 0; }
.ariaz-mag-card--featured .ariaz-mag-card__title { font-size: 17px; }

.ariaz-mag-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ariaz-mag-card--featured .ariaz-mag-card__title a { -webkit-line-clamp: 3; }
.ariaz-mag-card__title a:hover { color: var(--az-brand); }

.ariaz-mag-card__excerpt {
    font-size: 13px;
    color: var(--az-text-sec);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ariaz-mag-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--az-border);
}

.ariaz-mag-card__author { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--az-text-muted); font-weight: 600; }

.ariaz-mag-card__author-avatar {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--az-accent-dim);
    border: 1px solid var(--az-border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--az-brand);
    flex-shrink: 0;
}

.ariaz-mag-card__read-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--az-brand);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s;
    white-space: nowrap;
}

.ariaz-mag-card__read-link:hover { color: var(--az-accent); gap: 7px; }
.ariaz-mag-card__read-link svg   { flex-shrink: 0; transition: transform 0.2s; }
.ariaz-mag-card__read-link:hover svg { transform: translateX(-3px); }

@media (max-width: 1100px) {
    .ariaz-magazine-grid { grid-template-columns: 1fr 1fr; }
    .ariaz-mag-card--featured { grid-column: 1 / 3; grid-row: auto; flex-direction: row; }
    .ariaz-mag-card--featured .ariaz-mag-card__thumb-link { width: 260px; flex-shrink: 0; }
    .ariaz-mag-card--featured .ariaz-mag-card__thumb { height: 100%; }
}

@media (max-width: 960px) {
    .ariaz-magazine-section { padding: 40px 24px 50px; }
    .ariaz-magazine-grid    { grid-template-columns: 1fr 1fr; }
    .ariaz-mag-card--featured { grid-column: 1 / 3; flex-direction: column; }
    .ariaz-mag-card--featured .ariaz-mag-card__thumb-link { width: 100%; }
    .ariaz-mag-card--featured .ariaz-mag-card__thumb { height: 200px; }
    .ariaz-magazine-header { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 600px) {
    .ariaz-magazine-grid  { grid-template-columns: 1fr; }
    .ariaz-mag-card--featured { grid-column: auto; }
    .ariaz-mag-card__thumb { height: 180px; }
    .ariaz-mag-card--featured .ariaz-mag-card__title { font-size: 15px; }
}

/* ══════════════════════════════════════════════════
   PRODUCT STRIPS — نوارهای محصول لندینگ
   [ariaz-strips-v1]
══════════════════════════════════════════════════ */

/* ── Section wrapper ── */
.ariaz-strip {
    --strip-accent: var(--az-brand);
    --strip-glow:   color-mix(in srgb, var(--az-brand) 18%, transparent);
    padding: 40px 0;
}
.ariaz-strip .az-container { padding-inline: 24px; }

/* Themes */
.ariaz-strip--fire  { --strip-accent: var(--az-accent); --strip-glow: color-mix(in srgb, var(--az-accent) 20%, transparent); }
.ariaz-strip--dark  { --strip-accent: #38BDF8; --strip-glow: color-mix(in srgb, #38BDF8 15%, transparent); }
.ariaz-strip--green { --strip-accent: #22c55e; --strip-glow: color-mix(in srgb, #22c55e 18%, transparent); }

/* ── Header ── */
.ariaz-strip__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-inline: 24px;
}
.ariaz-strip__header-text { display: flex; flex-direction: column; gap: 4px; }
.ariaz-strip__tag {
    display: inline-block;
    width: 32px; height: 3px;
    background: var(--strip-accent);
    border-radius: 2px;
    margin-bottom: 6px;
}

/* Deal badge — بادج تخفیف ویژه */
.ariaz-strip--deal .ariaz-strip__header {
    padding: 20px 24px 16px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--az-accent) 6%, var(--az-bg-panel)),
        var(--az-bg-panel)
    );
    border-radius: 16px 16px 0 0;
    border: 1px solid color-mix(in srgb, var(--az-accent) 18%, transparent);
    border-bottom: none;
    margin-bottom: 0;
}
.ariaz-strip__deal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: linear-gradient(135deg, #FF4500, #FF9F1C);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
    width: fit-content;
}
.ariaz-strip__deal-badge-fire { font-size: 14px; }
.ariaz-strip__deal-badge-pulse {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    animation: strip-shimmer 2.2s ease-in-out infinite;
}
@keyframes strip-shimmer {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.ariaz-strip__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--az-text);
    margin: 0;
    line-height: 1.3;
}
.ariaz-strip__subtitle {
    font-size: 12px;
    color: var(--az-text-sec);
    margin: 0;
}

/* nav buttons */
.ariaz-strip__header-nav { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.ariaz-strip__nav-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid color-mix(in srgb, var(--strip-accent) 30%, transparent);
    background: var(--az-bg-panel);
    color: var(--strip-accent);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 220ms ease;
    flex-shrink: 0;
}
.ariaz-strip__nav-btn:hover {
    background: var(--strip-accent);
    color: #fff;
    border-color: var(--strip-accent);
    box-shadow: 0 4px 14px var(--strip-glow);
}

/* ── Scroll wrapper ── */
.ariaz-strip__scroll-wrap {
    overflow: hidden;
    position: relative;
}
/* edge fade removed — کارت نیمه‌بریده به جای محو */
.ariaz-strip__scroll-wrap::before,
.ariaz-strip__scroll-wrap::after { display: none; }

.ariaz-strip--deal .ariaz-strip__scroll-wrap {
    border: 1px solid color-mix(in srgb, var(--az-accent) 18%, transparent);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 20px 0;
    background: color-mix(in srgb, var(--az-accent) 3%, var(--az-bg-panel));
}

/* ═══ جلوهٔ حرفه‌ای نوار تخفیف ویژه ═══ */
.ariaz-strip--deal {
    position: relative;
    isolation: isolate;
    padding: 4px;
    border-radius: 20px;
    background: linear-gradient(125deg, #FF4500, #FF9F1C, #FFD166, #FF4500);
    background-size: 300% 300%;
    animation: deal-border-flow 8s ease infinite;
}
@keyframes deal-border-flow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* هالهٔ گرم پشت نوار */
.ariaz-strip--deal::before {
    content: '';
    position: absolute; inset: -24px;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 0%,
        color-mix(in srgb, var(--az-accent) 22%, transparent),
        transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    animation: deal-glow-pulse 3.2s ease-in-out infinite;
}
@keyframes deal-glow-pulse {
    0%, 100% { opacity: .55; }
    50%      { opacity: 1; }
}
/* لایهٔ داخلی تا متن/کارت‌ها روی قاب گرادیانی شناور بمانند */
.ariaz-strip--deal .ariaz-strip__header {
    border-radius: 16px 16px 0 0;
    border: none;
}
.ariaz-strip--deal .ariaz-strip__scroll-wrap {
    border: none;
    border-radius: 0 0 16px 16px;
    background: var(--az-bg-panel);
}
/* بادج «تخفیف ویژه» — درخشان‌تر و سه‌بعدی */
.ariaz-strip--deal .ariaz-strip__deal-badge {
    box-shadow: 0 4px 14px color-mix(in srgb, var(--az-accent) 45%, transparent),
                inset 0 1px 0 rgba(255,255,255,.35);
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.ariaz-strip--deal .ariaz-strip__deal-badge-fire {
    animation: deal-fire-bounce 1.6s ease-in-out infinite;
}
@keyframes deal-fire-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-2px) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
    .ariaz-strip--deal,
    .ariaz-strip--deal::before,
    .ariaz-strip--deal .ariaz-strip__deal-badge-fire { animation: none; }
}

.ariaz-strip__track {
    display: flex;
    gap: 16px;
    padding: 8px 24px 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}
.ariaz-strip__track:active { cursor: grabbing; }
.ariaz-strip__track::-webkit-scrollbar { display: none; }

/* ── Strip Card (ariaz-sc) ── */
.ariaz-sc {
    flex: 0 0 200px;
    min-width: 200px;
    background: var(--az-bg-panel);
    border: 1px solid color-mix(in srgb, var(--az-brand) 10%, transparent);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.ariaz-sc:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px color-mix(in srgb, var(--az-brand) 12%, transparent);
    border-color: color-mix(in srgb, var(--strip-accent) 35%, transparent);
}

/* Hot card — تخفیف بیش از 18٪ */
.ariaz-sc--hot {
    border-color: color-mix(in srgb, var(--az-accent) 30%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--az-accent) 20%, transparent),
                0 4px 20px color-mix(in srgb, var(--az-accent) 12%, transparent);
}
.ariaz-sc--hot::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF4500, #FF9F1C, #FF4500);
    background-size: 200% 100%;
    animation: strip-heat 3s linear infinite;
}
@keyframes strip-heat {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Discount badge */
.ariaz-sc__discount-badge {
    position: absolute;
    top: 10px; left: 10px;
    display: flex; align-items: center; gap: 3px;
    background: linear-gradient(135deg, #FF4500, #FF9F1C);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 100px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(255,69,0,.35);
}
.ariaz-sc__discount-flame { font-size: 12px; }

/* Urgency badge */
.ariaz-sc__urgency {
    position: absolute;
    top: 10px; right: 10px;
    display: flex; align-items: center; gap: 4px;
    font-size: 9px;
    font-weight: 700;
    color: var(--az-accent);
    background: color-mix(in srgb, var(--az-accent) 10%, var(--az-bg-panel));
    border: 1px solid color-mix(in srgb, var(--az-accent) 25%, transparent);
    padding: 3px 7px;
    border-radius: 100px;
    z-index: 2;
    letter-spacing: .02em;
}
.ariaz-sc__urgency-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--az-accent);
    animation: sc-blink 1.2s ease-in-out infinite;
}
@keyframes sc-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .2; }
}

/* Thumb */
.ariaz-sc__thumb-link { display: block; overflow: hidden; }
.ariaz-sc__thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: color-mix(in srgb, var(--az-brand) 6%, var(--az-bg-deep));
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.ariaz-sc__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
    display: block;
}
.ariaz-sc:hover .ariaz-sc__thumb img { transform: scale(1.06); }
.ariaz-sc__thumb-fallback { font-size: 36px; opacity: .4; }

/* Body */
.ariaz-sc__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.ariaz-sc__cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--strip-accent);
    display: block;
}
.ariaz-sc__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: var(--az-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ariaz-sc__name a { color: inherit; text-decoration: none; }
.ariaz-sc__name a:hover { color: var(--strip-accent); }

/* Price */
.ariaz-sc__price {
    font-size: 13px;
    font-weight: 800;
    color: var(--az-brand);
    line-height: 1.3;
    margin-top: auto;
}
.ariaz-sc__price del {
    display: block;
    font-size: 11px;
    color: var(--az-text-sec);
    font-weight: 400;
    text-decoration: line-through;
    opacity: .7;
}
.ariaz-sc__price ins {
    text-decoration: none;
    color: var(--az-accent);
    font-size: 15px;
}

/* Timer */
.ariaz-strip-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--az-accent);
    direction: ltr;
    padding: 4px 8px;
    background: color-mix(in srgb, var(--az-accent) 8%, transparent);
    border-radius: 6px;
    width: fit-content;
}
.ariaz-strip-timer svg { color: var(--az-accent); }

/* Add to cart button */
.ariaz-sc__btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: var(--strip-accent);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 200ms, transform 150ms, box-shadow 200ms;
    box-shadow: 0 3px 12px var(--strip-glow);
    margin-top: auto;
}
.ariaz-sc__btn:hover {
    background: color-mix(in srgb, var(--strip-accent) 82%, black);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--strip-glow);
}
.ariaz-sc__btn--rfq {
    background: transparent;
    border: 1.5px solid var(--strip-accent);
    color: var(--strip-accent);
    box-shadow: none;
}
.ariaz-sc__btn--rfq:hover {
    background: var(--strip-accent);
    color: #fff;
}

/* ── کارت «مشاهده بیشتر» ── */
.ariaz-sc--more {
    text-decoration: none;
    background: color-mix(in srgb, var(--strip-accent) 5%, var(--az-bg-panel));
    border: 1.5px dashed color-mix(in srgb, var(--strip-accent) 30%, transparent);
    justify-content: center;
    align-items: center;
    min-height: 240px;
    transition: background 220ms, border-color 220ms, transform 220ms;
}
.ariaz-sc--more:hover {
    background: color-mix(in srgb, var(--strip-accent) 10%, var(--az-bg-panel));
    border-color: color-mix(in srgb, var(--strip-accent) 55%, transparent);
    transform: translateY(-3px);
}
.ariaz-sc__more-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
}
.ariaz-sc__more-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--strip-accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: transform 250ms ease;
    box-shadow: 0 4px 16px var(--strip-glow);
}
.ariaz-sc--more:hover .ariaz-sc__more-icon { transform: scale(1.12); }
.ariaz-sc__more-label {
    font-size: 14px;
    font-weight: 800;
    color: var(--az-text);
    text-align: center;
}
.ariaz-sc__more-sub {
    font-size: 11px;
    color: var(--az-text-sec);
    text-align: center;
}

/* ── Dark mode ── */
[data-theme="dark"] .ariaz-sc {
    background: var(--az-bg-panel);
    border-color: color-mix(in srgb, var(--az-brand) 14%, transparent);
}
[data-theme="dark"] .ariaz-strip--deal .ariaz-strip__header {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--az-accent) 8%, var(--az-bg-panel)),
        var(--az-bg-panel)
    );
}
[data-theme="dark"] .ariaz-strip--deal .ariaz-strip__scroll-wrap {
    background: color-mix(in srgb, var(--az-accent) 4%, var(--az-bg-panel));
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .ariaz-strip { padding: 28px 0; }
    .ariaz-sc { flex: 0 0 168px; min-width: 168px; }
    .ariaz-strip__title { font-size: 17px; }
    .ariaz-strip__scroll-wrap::before,
    .ariaz-strip__scroll-wrap::after { width: 24px; }
}
@media (max-width: 480px) {
    .ariaz-sc { flex: 0 0 150px; min-width: 150px; }
    .ariaz-sc__name { font-size: 12px; }
    .ariaz-sc__price { font-size: 12px; }
    .ariaz-strip__header { flex-direction: column; align-items: flex-start; }
    .ariaz-strip__header-nav { align-self: flex-end; }
}

/* ============================================================
   FILTER BAR — Minimal & Accessible (RTL-aware)
   ============================================================ */

/* ── Wrapper ──────────────────────────────────────────────── */
.ariaz-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: var(--az-bg-panel);
    border: 1px solid color-mix(in srgb, var(--az-text) 10%, transparent);
    border-radius: 10px;
    margin-block-end: 1.75rem;
}

/* ── Label ────────────────────────────────────────────────── */
.ariaz-filter-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--az-text-sec);
    letter-spacing: 0.03em;
    white-space: nowrap;
    padding-inline-end: 0.25rem;
}

/* ── Divider between label and chips ─────────────────────── */
.ariaz-filter-divider {
    width: 1px;
    height: 1.25rem;
    background: color-mix(in srgb, var(--az-text) 15%, transparent);
    flex-shrink: 0;
}

/* ── Group of chips ───────────────────────────────────────── */
.ariaz-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ── Single chip / button ─────────────────────────────────── */
.ariaz-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
    color: var(--az-text-sec);
    background: transparent;
    border: 1.5px solid color-mix(in srgb, var(--az-text) 15%, transparent);
    border-radius: 99px;
    cursor: pointer;
    transition: color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.ariaz-filter-chip:hover {
    color: var(--az-brand);
    border-color: var(--az-brand);
    background: color-mix(in srgb, var(--az-brand) 6%, transparent);
}

.ariaz-filter-chip.is-active,
.ariaz-filter-chip[aria-pressed="true"],
.ariaz-filter-chip[aria-current="true"] {
    color: #fff;
    background: var(--az-brand);
    border-color: var(--az-brand);
    font-weight: 600;
}

.ariaz-filter-chip:focus-visible {
    outline: 2.5px solid var(--az-accent);
    outline-offset: 2px;
    box-shadow: none;
}

/* ── Reset chip ───────────────────────────────────────────── */
.ariaz-filter-chip--reset {
    border-style: dashed;
}
.ariaz-filter-chip--reset:hover {
    color: var(--az-accent);
    border-color: var(--az-accent);
    background: color-mix(in srgb, var(--az-accent) 6%, transparent);
}

/* ── Select dropdown ──────────────────────────────────────── */
.ariaz-filter-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 0.3rem 2rem 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--az-text);
    background-color: var(--az-bg-panel);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A6578' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.6rem center;
    border: 1.5px solid color-mix(in srgb, var(--az-text) 15%, transparent);
    border-radius: 99px;
    cursor: pointer;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.ariaz-filter-select:hover   { border-color: var(--az-brand); }
.ariaz-filter-select:focus-visible {
    outline: 2.5px solid var(--az-accent);
    outline-offset: 2px;
    border-color: var(--az-brand);
}

/* ── Result count ─────────────────────────────────────────── */
.ariaz-filter-count {
    margin-inline-start: auto;
    font-size: 0.75rem;
    color: var(--az-text-sec);
    white-space: nowrap;
}

/* ── Active filters bar ───────────────────────────────────── */
.ariaz-filter-active-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    margin-block-end: 1rem;
    font-size: 0.78rem;
    color: var(--az-text-sec);
}
.ariaz-filter-active-bar .ariaz-filter-chip {
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
}

.ariaz-filter-chip__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.9rem;
    height: 0.9rem;
    font-size: 0.7rem;
    line-height: 1;
    border-radius: 50%;
    background: color-mix(in srgb, currentColor 15%, transparent);
    cursor: pointer;
    transition: background 0.15s;
}
.ariaz-filter-chip__remove:hover {
    background: color-mix(in srgb, currentColor 30%, transparent);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
    .ariaz-filter-wrap   { gap: 0.4rem; padding: 0.75rem; }
    .ariaz-filter-divider { display: none; }
    .ariaz-filter-count  { width: 100%; margin-inline-start: 0; }
}

/* ── Dark mode ────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
    .ariaz-filter-chip.is-active,
    .ariaz-filter-chip[aria-pressed="true"] { color: var(--az-bg-deep); }
}

/* ============================================================
   FILTER STANDALONE — کلاس‌های واقعی filter-block.php
   ============================================================ */

.ariaz-filter-standalone {
    margin-block-end: 2rem;
}

/* ── label بالای هر بخش ── */
.ariaz-filter-standalone .ariaz-filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--az-text-sec);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-block-end: 0.625rem;
    padding-inline-start: 0.25rem;
    border-inline-start: 3px solid var(--az-brand);
    padding-inline-start: 0.5rem;
}

/* ── ردیف دکمه‌های دسته اصلی ── */
.ariaz-filter-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--az-bg-panel);
    border: 1px solid color-mix(in srgb, var(--az-text) 8%, transparent);
    border-radius: 12px;
    margin-block-end: 0.75rem;
}

/* ── دکمه دسته‌بندی اصلی ── */
.ariaz-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.375rem 0.875rem;
    font-family: var(--az-font);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--az-text-sec);
    background: transparent;
    border: 1.5px solid color-mix(in srgb, var(--az-text) 12%, transparent);
    border-radius: 99px;
    cursor: pointer;
    transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.15s;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.ariaz-filter-btn:hover {
    color: var(--az-brand);
    border-color: var(--az-brand);
    background: color-mix(in srgb, var(--az-brand) 6%, transparent);
    transform: translateY(-1px);
}

.ariaz-filter-btn.is-active {
    color: #fff;
    background: var(--az-brand);
    border-color: var(--az-brand);
    font-weight: 600;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--az-brand) 35%, transparent);
}

.ariaz-filter-btn:focus-visible {
    outline: 2.5px solid var(--az-accent);
    outline-offset: 2px;
}

.ariaz-filter-btn__icon {
    font-size: 1em;
    line-height: 1;
    flex-shrink: 0;
}

.ariaz-filter-btn__title {
    line-height: 1;
}

/* ── زیردسته‌ها و برندها (sub chips) ── */
.ariaz-sub-filters {
    display: none;
    flex-wrap: wrap;
    gap: 0.375rem;
    padding: 0.625rem 0.75rem;
    background: color-mix(in srgb, var(--az-brand) 4%, var(--az-bg-panel));
    border: 1px solid color-mix(in srgb, var(--az-brand) 15%, transparent);
    border-radius: 10px;
    margin-block-end: 0.75rem;
    animation: az-fade-in 0.2s ease;
}

.ariaz-sub-filters.is-visible {
    display: flex;
}

@keyframes az-fade-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── chip زیردسته و برند ── */
.ariaz-sub-chip,
.ariaz-brand-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.7rem;
    font-family: var(--az-font);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--az-text-sec);
    background: transparent;
    border: 1.5px solid color-mix(in srgb, var(--az-text) 12%, transparent);
    border-radius: 99px;
    cursor: pointer;
    transition: color 0.18s, background 0.18s, border-color 0.18s;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.ariaz-sub-chip:hover,
.ariaz-brand-filter-chip:hover {
    color: var(--az-brand);
    border-color: var(--az-brand);
    background: color-mix(in srgb, var(--az-brand) 6%, transparent);
}

.ariaz-sub-chip.is-active,
.ariaz-brand-filter-chip.is-active {
    color: #fff;
    background: var(--az-brand);
    border-color: var(--az-brand);
    font-weight: 600;
}

.ariaz-sub-chip:focus-visible,
.ariaz-brand-filter-chip:focus-visible {
    outline: 2.5px solid var(--az-accent);
    outline-offset: 2px;
}

/* ── ردیف برندها ── */
.ariaz-filter-brands {
    margin-block-start: 0.75rem;
}

/* ============================================================
   BRANDS SHOWCASE — برندهای تعریف‌شده (2026 style)
   ============================================================ */

.ariaz-brands-showcase {
    padding: 60px 60px 50px;
}

.ariaz-brands-showcase__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.ariaz-brands-showcase__header-text { flex: 1; min-width: 220px; }
.ariaz-brands-showcase__header-text .ariaz-section-title { margin-bottom: 6px; }

/* ── Grid کارت‌های برند ── */
.ariaz-brands-grid,
.ariaz-brands-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 24px 14px;
    margin-bottom: 24px;
}
.ariaz-brands-grid::-webkit-scrollbar,
.ariaz-brands-strip::-webkit-scrollbar { display: none; }
.ariaz-brands-grid .ariaz-brand-card,
.ariaz-brands-strip .ariaz-brand-card {
    flex: 0 0 220px;
    min-width: 220px;
}

.ariaz-brand-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    border-radius: 14px;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
        box-shadow 0.25s ease,
        border-color 0.22s ease;
    position: relative;
    overflow: hidden;
}

/* subtle shimmer on hover */
.ariaz-brand-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 0%,
        color-mix(in srgb, var(--az-brand) 4%, transparent) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s;
}
.ariaz-brand-card:hover::before { opacity: 1; }

.ariaz-brand-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--az-brand) 25%, transparent);
    box-shadow:
        0 8px 28px color-mix(in srgb, var(--az-brand) 8%, transparent),
        0 0 0 1px color-mix(in srgb, var(--az-brand) 12%, transparent);
}

.ariaz-brand-card__logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--az-bg-deep);
    border: 1px solid var(--az-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}
.ariaz-brand-card:hover .ariaz-brand-card__logo { transform: scale(1.06); }

.ariaz-brand-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: filter 0.25s;
}
.ariaz-brand-card:hover .ariaz-brand-card__logo img { filter: brightness(1.05); }

.ariaz-brand-card__initial {
    font-size: 22px;
    font-weight: 800;
    color: var(--az-brand);
    line-height: 1;
}

.ariaz-brand-card__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ariaz-brand-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--az-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}
.ariaz-brand-card:hover .ariaz-brand-card__name { color: var(--az-brand); }

.ariaz-brand-card__bio {
    font-size: 11px;
    color: var(--az-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ariaz-brand-card__arrow {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--az-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--az-text-muted);
    transition: all 0.22s ease;
}
.ariaz-brand-card:hover .ariaz-brand-card__arrow {
    background: var(--az-brand);
    border-color: var(--az-brand);
    color: #fff;
    transform: translateX(-2px);
}

/* ── Marquee ── */
.ariaz-brands-marquee {
    overflow: hidden;
    direction: ltr; /* RTL fix: جهت LTR تا translateX(-50%) درست کار کنه */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    margin-bottom: 48px;
    padding: 4px 0;
}

.ariaz-brands-marquee__track {
    display: flex;
    gap: 12px;
    animation: az-marquee 28s linear infinite;
    width: max-content;
}

.ariaz-brands-marquee:hover .ariaz-brands-marquee__track {
    animation-play-state: paused;
}

@keyframes az-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.ariaz-brands-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--az-text-sec);
    white-space: nowrap;
    flex-shrink: 0;
}

.ariaz-brands-marquee__item img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

.ariaz-brands-marquee__initial {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--az-brand) 10%, var(--az-bg-deep));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--az-brand);
}

/* آمارهای عددی brands section حذف شد */

@media (max-width: 960px) {
    .ariaz-brands-showcase { padding: 40px 24px; }
    .ariaz-brands-grid { grid-template-columns: 1fr 1fr; }

}
@media (max-width: 600px) {
    .ariaz-brands-grid { grid-template-columns: 1fr; }

    .ariaz-brands-showcase__header { flex-direction: column; align-items: flex-start; }
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .ariaz-filter-main  { gap: 0.375rem; padding: 0.625rem; }
    .ariaz-filter-btn   { font-size: 0.78rem; padding: 0.3rem 0.65rem; }
    .ariaz-sub-chip,
    .ariaz-brand-filter-chip { font-size: 0.75rem; }
}
/* ══ STRIP HEADER RIGHT (view-all + nav) ══ */
.ariaz-strip__header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ══ RANK BADGE برای پرفروش‌ترین‌ها ══ */
.ariaz-sc__rank-badge {
    position: absolute;
    top: 8px; right: 8px;
    z-index: 4;
    width: 22px; height: 22px;
    background: var(--az-bg-panel);
    border: 1px solid var(--az-border);
    border-radius: 6px;
    font-size: 10px; font-weight: 800;
    color: var(--az-text-muted);
    display: flex; align-items: center; justify-content: center;
}
#strip-track-bs .ariaz-sc:nth-child(1) .ariaz-sc__rank-badge { background:#FFD700;border-color:#FFD700;color:#7a5a00; }
#strip-track-bs .ariaz-sc:nth-child(2) .ariaz-sc__rank-badge { background:#C0C0C0;border-color:#C0C0C0;color:#555; }
#strip-track-bs .ariaz-sc:nth-child(3) .ariaz-sc__rank-badge { background:#CD7F32;border-color:#CD7F32;color:#fff; }

/* ══ BRANDS responsive override ══ */
@media (max-width: 960px) {
    .ariaz-brands-grid,
    .ariaz-brands-strip { padding: 4px 16px 12px; }
}
