/* ═══════════════════════════════════════════════════════════════════════════════
   Arnex Theme — Main Stylesheet
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── Variables ──────────────────────────────────────────────────────────── */
:root {
    --arnex-primary: #2563eb;
    --arnex-primary-hover: #1d4ed8;
    --arnex-primary-light: #eff6ff;
    --arnex-dark: #0f172a;
    --arnex-dark-lighter: #1e293b;
    --arnex-text: #0f172a;
    --arnex-text-secondary: #475569;
    --arnex-text-muted: #64748b;
    --arnex-text-light: #94a3b8;
    --arnex-border: #e2e8f0;
    --arnex-border-light: #f1f5f9;
    --arnex-bg: #f8fafc;
    --arnex-bg-white: #ffffff;
    --arnex-success: #10b981;
    --arnex-danger: #ef4444;
    --arnex-warning: #f59e0b;
    --arnex-warning-bg: #fef3c7;
    --arnex-warning-border: #fde68a;
    --arnex-warning-text: #92400e;
    --arnex-radius-sm: 8px;
    --arnex-radius-md: 12px;
    --arnex-radius-lg: 16px;
    --arnex-radius-xl: 20px;
    --arnex-radius-full: 9999px;
    --arnex-shadow-sm: 0 1px 3px rgba(0,0,0,0.03);
    --arnex-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05);
    --arnex-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --arnex-shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --arnex-font: 'Vazirmatn', sans-serif;
    --arnex-transition: 0.2s ease;
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--arnex-font);
    color: var(--arnex-text);
    background: var(--arnex-bg);
    line-height: 1.6;
    direction: rtl;
}

a { color: inherit; text-decoration: none; transition: color var(--arnex-transition); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--arnex-font); cursor: pointer; }
ul, ol { list-style: none; }

.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
    width: 1px; word-wrap: normal !important;
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.arnex-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.arnex-section { padding: 80px 24px; }
.arnex-section-title { font-size: 32px; font-weight: 900; color: var(--arnex-text); margin-bottom: 8px; }
.arnex-text-accent { color: var(--arnex-primary); }
.arnex-section-subtitle { color: var(--arnex-text-muted); font-size: 15px; margin: 0; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.arnex-header {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.arnex-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.arnex-header__brand { display: flex; align-items: center; gap: 12px; }

.arnex-header__text-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arnex-header__logo-img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }

.arnex-header__brand-text { display: flex; flex-direction: column; }

.arnex-header__brand-name {
    font-weight: 900;
    font-size: 22px;
    color: var(--arnex-text);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.arnex-header__brand-accent { color: var(--arnex-primary); }

.arnex-header__brand-tagline {
    font-size: 11px;
    color: var(--arnex-text-muted);
    font-weight: 600;
}

.arnex-header__nav { display: flex; align-items: center; gap: 32px; }

.arnex-header__menu {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.arnex-header__menu li a {
    color: var(--arnex-text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: color var(--arnex-transition);
}

.arnex-header__menu li a:hover { color: var(--arnex-primary); }

.arnex-header__actions { display: flex; align-items: center; gap: 8px; }

.arnex-header__cart {
    background: var(--arnex-bg-white);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-md);
    padding: 10px 20px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: all var(--arnex-transition);
}

.arnex-header__cart:hover { border-color: var(--arnex-primary); }

.arnex-header__cart-count {
    background: var(--arnex-primary);
    color: #fff;
    border-radius: var(--arnex-radius-full);
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 800;
}

.arnex-header__mobile-toggle {
    display: none;
    background: var(--arnex-bg-white);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-md);
    padding: 10px;
    cursor: pointer;
}

.arnex-header__mobile-nav { display: none; }

.arnex-header__mobile-menu {
    padding: 12px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.arnex-header__mobile-menu li a {
    color: var(--arnex-text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid var(--arnex-border-light);
}

/* ─── Hero Section ───────────────────────────────────────────────────────── */
.arnex-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--arnex-dark);
}

.arnex-hero__bg {
    position: absolute;
    inset: 0;
}

.arnex-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.arnex-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.5) 100%);
}

.arnex-hero__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
    z-index: 10;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.arnex-hero__tagline {
    display: inline-block;
    background: rgba(59,130,246,0.2);
    border: 1px solid rgba(59,130,246,0.5);
    color: #93c5fd;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--arnex-radius-full);
    margin-bottom: 24px;
}

.arnex-hero__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 24px;
    letter-spacing: -1px;
}

.arnex-hero__title-accent { color: #3b82f6; }

.arnex-hero__subtitle {
    color: #94a3b8;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 0;
    max-width: 520px;
}

.arnex-hero__search-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--arnex-radius-xl);
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.arnex-hero__search-title {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
}

.arnex-hero__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: rgba(0,0,0,0.2);
    padding: 6px;
    border-radius: var(--arnex-radius-md);
}

.arnex-hero__tab {
    flex: 1;
    background: var(--arnex-primary);
    border: none;
    border-radius: var(--arnex-radius-sm);
    padding: 10px 0;
    color: #fff;
    font-weight: 700;
    font-family: var(--arnex-font);
    cursor: pointer;
}

.arnex-hero__tab--disabled {
    background: transparent;
    color: #4b5563;
    cursor: not-allowed;
    opacity: 0.5;
}

.arnex-hero__tab-badge {
    font-size: 9px;
    background: rgba(255,255,255,0.15);
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
}

.arnex-hero__filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.arnex-hero__filter-label {
    color: #cbd5e1;
    font-size: 13px;
    margin-bottom: 8px;
    display: block;
}

.arnex-hero__select-wrap { position: relative; }

.arnex-hero__select {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--arnex-radius-md);
    padding: 12px 36px 12px 12px;
    color: #fff;
    outline: none;
    appearance: none;
    cursor: pointer;
    font-family: var(--arnex-font);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
}

.arnex-hero__select option { color: #0f172a; background: #fff; }

.arnex-hero__search-btn {
    width: 100%;
    background: var(--arnex-primary);
    border: none;
    border-radius: var(--arnex-radius-md);
    padding: 14px;
    color: #fff;
    font-family: var(--arnex-font);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(59,130,246,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all var(--arnex-transition);
}

.arnex-hero__search-btn:hover { background: var(--arnex-primary-hover); transform: translateY(-1px); }

/* ─── Brands Marquee ─────────────────────────────────────────────────────── */
.arnex-brands-marquee {
    background: var(--arnex-bg-white);
    border-bottom: 1px solid var(--arnex-border);
    padding: 20px 0;
    overflow: hidden;
}

@keyframes arnex-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.arnex-brands-marquee__track {
    display: flex;
    direction: ltr;
    animation: arnex-marquee 90s linear infinite;
    width: max-content;
}

.arnex-brands-marquee__track:hover { animation-play-state: paused; }

.arnex-brands-marquee__set {
    display: flex;
    align-items: center;
}

.arnex-brands-marquee__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 40px;
    white-space: nowrap;
}

.arnex-brands-marquee__logo {
    width: 48px;
    height: 48px;
    background: var(--arnex-bg);
    border-radius: var(--arnex-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--arnex-border);
}

.arnex-brands-marquee__logo img { width: 32px; height: 32px; object-fit: contain; }

.arnex-brands-marquee__name {
    font-size: 14px;
    font-weight: 800;
    color: #1e3a8a;
}

.arnex-brands-marquee__divider {
    width: 1px;
    height: 32px;
    background: var(--arnex-border);
    margin-right: 20px;
}

/* ─── Products Grid ──────────────────────────────────────────────────────── */
.arnex-products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.arnex-products-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arnex-select-wrap {
    position: relative;
}

.arnex-select-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--arnex-text-light);
    pointer-events: none;
}

.arnex-select {
    padding: 10px 34px 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--arnex-border);
    background: var(--arnex-bg-white);
    outline: none;
    font-family: var(--arnex-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--arnex-text-secondary);
    appearance: none;
    cursor: pointer;
}

.arnex-search-wrap {
    position: relative;
}

.arnex-search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--arnex-text-light);
}

.arnex-search-input {
    padding: 10px 34px 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--arnex-border);
    background: var(--arnex-bg-white);
    outline: none;
    font-family: var(--arnex-font);
    width: 200px;
    font-size: 13px;
}

.arnex-search-input:focus { border-color: var(--arnex-primary); }

.arnex-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* ─── Product Card ───────────────────────────────────────────────────────── */
.arnex-product-card {
    background: var(--arnex-bg-white);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-xl);
    overflow: hidden;
    box-shadow: var(--arnex-shadow-md);
    display: flex;
    flex-direction: column;
    transition: transform var(--arnex-transition), box-shadow var(--arnex-transition);
}

.arnex-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--arnex-shadow-lg);
}

.arnex-product-card__top { display: flex; }

.arnex-product-card__image {
    position: relative;
    width: 160px;
    min-height: 180px;
    background: var(--arnex-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.arnex-product-card__img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.arnex-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--arnex-radius-full);
    z-index: 2;
}

.arnex-badge--sale { background: var(--arnex-danger); }

.arnex-product-card__oos {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.arnex-product-card__oos span {
    color: var(--arnex-text);
    font-weight: 800;
    font-size: 16px;
    background: #fff;
    padding: 6px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.arnex-product-card__info {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.arnex-product-card__brand {
    color: #1e3a8a;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 2px;
}

.arnex-product-card__name {
    color: var(--arnex-text-secondary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.arnex-product-card__name a { color: inherit; }
.arnex-product-card__name a:hover { color: var(--arnex-primary); }

.arnex-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.arnex-rating__star { color: var(--arnex-warning); font-size: 14px; }
.arnex-rating__value { font-size: 13px; font-weight: 700; }
.arnex-rating__count { font-size: 12px; color: var(--arnex-text-light); }

.arnex-product-card__country {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--arnex-text-muted);
}

.arnex-product-card__flag { font-size: 16px; }

.arnex-product-card__bottom {
    background: var(--arnex-bg);
    border-top: 1px solid var(--arnex-border);
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.arnex-product-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.arnex-product-card__size-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.arnex-product-card__meta-label {
    font-size: 12px;
    color: var(--arnex-text-muted);
}

.arnex-product-card__size {
    background: var(--arnex-border);
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
}

.arnex-product-card__warranty {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--arnex-success);
}

.arnex-product-card__warranty span { font-weight: 600; }

/* Stock Status */
.arnex-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
}

.arnex-stock--in { color: var(--arnex-success); }
.arnex-stock--low { background: var(--arnex-warning-bg); border: 1px solid var(--arnex-warning-border); border-radius: 8px; padding: 6px 10px; color: var(--arnex-warning-text); font-size: 12px; }
.arnex-stock--out { color: var(--arnex-text-secondary); }

.arnex-dot {
    width: 8px;
    height: 8px;
    background: var(--arnex-success);
    border-radius: 50%;
    display: inline-block;
}

/* Price */
.arnex-product-card__price { margin-bottom: 16px; flex: 1; }

.arnex-product-card__discount {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.arnex-product-card__old-price {
    color: var(--arnex-text-light);
    font-size: 14px;
    text-decoration: line-through;
}

.arnex-product-card__current-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.arnex-product-card__price-value {
    color: var(--arnex-text);
    font-weight: 900;
    font-size: 22px;
}

.arnex-product-card__per-unit {
    font-size: 12px;
    color: var(--arnex-text-light);
    margin-top: 2px;
}

/* Actions */
.arnex-product-card__actions {
    display: flex;
    gap: 10px;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.arnex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: var(--arnex-radius-md);
    font-family: var(--arnex-font);
    font-size: 13px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: all var(--arnex-transition);
    text-decoration: none;
}

.arnex-btn--primary {
    background: var(--arnex-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}

.arnex-btn--primary:hover { background: var(--arnex-primary-hover); transform: translateY(-1px); }

.arnex-btn--outline {
    background: var(--arnex-bg-white);
    border: 1px solid var(--arnex-border);
    color: var(--arnex-text-secondary);
}

.arnex-btn--outline:hover { border-color: var(--arnex-primary); color: var(--arnex-primary); }

.arnex-btn--disabled {
    background: #cbd5e1;
    color: #fff;
    cursor: not-allowed;
}

.arnex-btn--full { width: 100%; flex: 1; }

.arnex-btn--sm { padding: 8px 16px; font-size: 12px; }

/* ─── Advantages ─────────────────────────────────────────────────────────── */
.arnex-advantages-section {
    background: var(--arnex-bg-white);
    border-top: 1px solid var(--arnex-border);
    border-bottom: 1px solid var(--arnex-border);
    padding: 60px 24px;
}

.arnex-advantages-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.arnex-advantage {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    animation: arnex-fadeInUp 0.5s ease-out both;
    animation-delay: var(--delay, 0s);
}

@keyframes arnex-fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.arnex-advantage__icon {
    background: var(--arnex-primary-light);
    color: var(--arnex-primary);
    padding: 16px;
    border-radius: var(--arnex-radius-lg);
    flex-shrink: 0;
}

.arnex-advantage__title {
    color: var(--arnex-text);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.arnex-advantage__desc {
    color: var(--arnex-text-muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* ─── Stats ──────────────────────────────────────────────────────────────── */
.arnex-stats-section {
    background: var(--arnex-bg);
    padding: 60px 24px;
    border-bottom: 1px solid var(--arnex-border);
}

.arnex-stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.arnex-stat-card { text-align: center; padding: 24px; }

.arnex-stat-card__icon {
    color: var(--arnex-primary);
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.arnex-stat-card__value {
    font-size: 36px;
    font-weight: 900;
    color: var(--arnex-text);
    margin-bottom: 4px;
}

.arnex-stat-card__label {
    color: var(--arnex-text-muted);
    font-size: 14px;
    font-weight: 600;
}

/* ─── Installment ────────────────────────────────────────────────────────── */
.arnex-installment-section {
    padding: 80px 24px;
    background: var(--arnex-bg);
}

.arnex-installment-card {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 32px;
    padding: 60px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(37,99,235,0.3);
}

.arnex-installment-card__bg-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    filter: blur(40px);
}

.arnex-installment-card__bg-2 {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(59,130,246,0.5);
    border-radius: 50%;
    filter: blur(40px);
}

.arnex-installment-card__header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 10;
}

.arnex-installment-card__badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: var(--arnex-radius-full);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.arnex-installment-card__title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 900;
    margin-bottom: 16px;
}

.arnex-installment-card__desc {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.arnex-installment-card__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 10;
}

.arnex-installment-step {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--arnex-radius-xl);
    padding: 24px;
    text-align: center;
}

.arnex-installment-step__number {
    width: 48px;
    height: 48px;
    background: #fff;
    color: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    margin: 0 auto 16px;
}

.arnex-installment-step__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.arnex-installment-step__desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.6;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.arnex-faq-section {
    padding: 80px 24px;
    background: var(--arnex-bg-white);
}

.arnex-faq-inner { max-width: 800px; margin: 0 auto; }

.arnex-faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.arnex-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.arnex-faq-item {
    background: var(--arnex-bg-white);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-lg);
    overflow: hidden;
    transition: box-shadow var(--arnex-transition);
}

.arnex-faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.arnex-faq-item__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--arnex-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--arnex-text);
    text-align: right;
}

.arnex-faq-item__question { flex: 1; text-align: right; }

.arnex-faq-item__icon {
    background: var(--arnex-border-light);
    color: var(--arnex-text-muted);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 12px;
    transition: all var(--arnex-transition);
}

.arnex-faq-item--open .arnex-faq-item__icon {
    background: var(--arnex-primary);
    color: #fff;
    transform: rotate(180deg);
}

.arnex-faq-item__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.arnex-faq-item--open .arnex-faq-item__content { max-height: 300px; }

.arnex-faq-item__answer {
    padding: 0 24px 20px;
    color: var(--arnex-text-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.arnex-footer {
    background: var(--arnex-dark);
    color: #fff;
    padding: 40px 24px 24px;
}

.arnex-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 24px;
}

.arnex-footer__brand { flex: 1 1 350px; }

.arnex-footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.arnex-footer__logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
}

.arnex-footer__brand-text { display: flex; flex-direction: column; }

.arnex-footer__brand-name {
    font-weight: 900;
    font-size: 20px;
    line-height: 1.2;
}

.arnex-footer__brand-accent { color: var(--arnex-primary); }

.arnex-footer__brand-tagline {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

.arnex-footer__desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 420px;
}

.arnex-footer__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 14px;
}

.arnex-footer__links { flex: 1 1 150px; }

.arnex-footer__title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #f8fafc;
}

.arnex-footer__menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.arnex-footer__menu li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
}

.arnex-footer__menu li a:hover { color: #fff; }

.arnex-footer__trust { flex: 1 1 200px; }

.arnex-footer__trust-badges {
    display: flex;
    gap: 16px;
}

.arnex-footer__badge {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: var(--arnex-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.arnex-footer__badge img { width: 80%; opacity: 0.5; }

.arnex-footer__copyright {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: var(--arnex-text-muted);
    font-size: 13px;
}

/* ─── WhatsApp Button ────────────────────────────────────────────────────── */
.arnex-whatsapp {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 90;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    text-decoration: none;
    animation: arnex-pulse 2s ease-out infinite;
}

@keyframes arnex-pulse {
    0% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
    100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
}

/* ─── WooCommerce Overrides ──────────────────────────────────────────────── */
.woocommerce-notices-wrapper { margin-bottom: 24px; }
.woocommerce .woocommerce-notices-wrapper .wc-block-components-notice-banner { border-radius: var(--arnex-radius-md); }
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    border-radius: var(--arnex-radius-md) !important;
    font-family: var(--arnex-font) !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.woocommerce ul.products li.product a img {
    border-radius: var(--arnex-radius-md);
    border: none;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-family: var(--arnex-font) !important;
    border-radius: var(--arnex-radius-md) !important;
    font-weight: 800 !important;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: var(--arnex-primary) !important;
    border-color: var(--arnex-primary) !important;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: var(--arnex-primary-hover) !important;
}

.woocommerce table.shop_table {
    border-collapse: collapse;
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-lg);
}

.woocommerce .quantity .qty {
    border-radius: var(--arnex-radius-sm);
    border: 1px solid var(--arnex-border);
    font-family: var(--arnex-font);
}

/* Cart */
.arnex-cart-table-wrap {
    overflow-x: auto;
}

.arnex-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.arnex-cart-table th {
    background: var(--arnex-bg);
    padding: 16px;
    text-align: right;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid var(--arnex-border);
}

.arnex-cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--arnex-border);
    vertical-align: middle;
}

.arnex-cart-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.arnex-cart-item__thumb {
    width: 70px;
    height: 70px;
    background: var(--arnex-bg);
    border-radius: var(--arnex-radius-md);
    padding: 8px;
    flex-shrink: 0;
}

.arnex-cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.arnex-cart-item__brand {
    color: var(--arnex-primary);
    font-weight: 800;
    font-size: 11px;
}

.arnex-cart-item__name {
    color: var(--arnex-text);
    font-weight: 800;
    font-size: 14px;
}

.arnex-cart-remove {
    color: var(--arnex-danger);
    font-size: 20px;
    text-decoration: none;
    padding: 4px;
}

.arnex-cart-totals {
    margin-top: 32px;
    max-width: 500px;
    margin-left: auto;
}

.arnex-cart-totals__inner {
    background: var(--arnex-bg);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-lg);
    padding: 24px;
}

.arnex-cart-totals__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.arnex-cart-totals__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.arnex-cart-coupon {
    display: flex;
    gap: 8px;
}

.arnex-cart-coupon__input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-md);
    font-family: var(--arnex-font);
    font-size: 13px;
    outline: none;
}

.arnex-empty-cart {
    text-align: center;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Checkout */
.arnex-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    margin-top: 32px;
}

.arnex-checkout-section {
    background: var(--arnex-bg-white);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-lg);
    padding: 24px;
}

.arnex-checkout-section__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.arnex-checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.arnex-checkout-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.arnex-checkout-label .required { color: var(--arnex-danger); }

.arnex-checkout-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-md);
    font-family: var(--arnex-font);
    font-size: 14px;
    outline: none;
}

.arnex-checkout-input:focus { border-color: var(--arnex-primary); }

.arnex-checkout-sidebar {
    background: var(--arnex-bg);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-lg);
    padding: 24px;
    position: sticky;
    top: 96px;
}

.arnex-checkout-sidebar__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.arnex-checkout-sidebar__table {
    width: 100%;
    border-collapse: collapse;
}

.arnex-checkout-sidebar__table th,
.arnex-checkout-sidebar__table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--arnex-border);
    font-size: 14px;
}

.arnex-checkout-sidebar__table th { text-align: right; font-weight: 700; }

.arnex-checkout-total th,
.arnex-checkout-total td {
    font-weight: 900 !important;
    font-size: 16px !important;
    border-bottom: none !important;
    padding-top: 16px !important;
}

/* ─── Page Templates ─────────────────────────────────────────────────────── */
.arnex-page-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 24px;
}

.arnex-page__content {
    line-height: 1.8;
    font-size: 16px;
}

.arnex-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.arnex-post-card {
    background: var(--arnex-bg-white);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-lg);
    overflow: hidden;
}

.arnex-post-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.arnex-post-card__content { padding: 20px; }

.arnex-post-card__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.arnex-post-card__title a:hover { color: var(--arnex-primary); }

.arnex-post-card__meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--arnex-text-muted);
    margin-bottom: 12px;
}

.arnex-post-card__excerpt {
    color: var(--arnex-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* 404 */
.arnex-404 { text-align: center; padding: 120px 24px; }

.arnex-404__code {
    font-size: 120px;
    font-weight: 900;
    color: var(--arnex-border);
    line-height: 1;
    margin-bottom: 24px;
}

.arnex-404__title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
}

.arnex-404__desc {
    color: var(--arnex-text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

/* Search */
.arnex-search-header {
    margin-bottom: 32px;
}

.arnex-search-title {
    font-size: 28px;
    font-weight: 900;
}

.arnex-search-title span { color: var(--arnex-primary); }

/* No Products */
.arnex-no-products {
    text-align: center;
    padding: 60px 0;
    color: var(--arnex-text-muted);
}

.arnex-no-results {
    text-align: center;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Specs Table */
.arnex-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.arnex-specs-table tr { border-bottom: 1px solid var(--arnex-border); }

.arnex-specs-table th,
.arnex-specs-table td {
    padding: 12px 16px;
    text-align: right;
    font-size: 14px;
}

.arnex-specs-table th {
    font-weight: 700;
    color: var(--arnex-text);
    width: 40%;
}

.arnex-specs-table td { color: var(--arnex-text-secondary); }

/* Single Product */
.arnex-single-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.arnex-single-product__gallery {
    position: sticky;
    top: 96px;
}

.arnex-single-product__main-image {
    background: var(--arnex-border-light);
    border-radius: var(--arnex-radius-lg);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.arnex-single-product__img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.arnex-single-product__brand-name {
    color: var(--arnex-primary);
    font-size: 14px;
    font-weight: 800;
}

.arnex-single-product__title {
    font-size: 28px;
    font-weight: 900;
    margin: 8px 0 16px;
}

.arnex-single-product__country {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--arnex-text-muted);
    margin-bottom: 16px;
}

.arnex-single-product__current-price {
    font-size: 28px;
    font-weight: 900;
}

.arnex-single-product__per-unit {
    font-size: 14px;
    color: var(--arnex-text-muted);
    margin-right: 8px;
}

.arnex-single-product__cart { margin: 24px 0; }

.arnex-single-product__stock { margin-bottom: 16px; }

.arnex-single-product__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--arnex-bg);
    border-radius: var(--arnex-radius-md);
}

.arnex-single-product__meta-item {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.arnex-single-product__meta-label { font-weight: 700; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .arnex-container { padding: 0 16px; }
    .arnex-section { padding: 40px 16px; }
    .arnex-section-title { font-size: 24px; }

    /* Header */
    .arnex-header__inner { padding: 0 16px; height: 60px; }
    .arnex-header__brand-name { font-size: 18px; }
    .arnex-header__nav { display: none; }
    .arnex-header__mobile-toggle { display: flex; }
    .arnex-header__mobile-nav.is-open { display: block; }
    .arnex-header__cart-label { display: none; }

    /* Hero */
    .arnex-hero { min-height: auto; }
    .arnex-hero__grid {
        grid-template-columns: 1fr;
        padding: 40px 16px;
        gap: 24px;
    }
    .arnex-hero__title { font-size: 32px; }
    .arnex-hero__subtitle { font-size: 15px; }
    .arnex-hero__filters { grid-template-columns: 1fr; }

    /* Products */
    .arnex-products-grid { grid-template-columns: 1fr; gap: 16px; }
    .arnex-products-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .arnex-products-controls { flex-direction: column; width: 100%; gap: 10px; }
    .arnex-search-input { width: 100%; }
    .arnex-product-card__top { flex-direction: column; }
    .arnex-product-card__image { width: 100%; height: 180px; }

    /* Stats */
    .arnex-stats-grid { grid-template-columns: 1fr 1fr; }

    /* Installment */
    .arnex-installment-card { padding: 40px 20px; }
    .arnex-installment-card__title { font-size: 24px; }

    /* Footer */
    .arnex-footer__inner { flex-direction: column; }

    /* Single Product */
    .arnex-single-product { grid-template-columns: 1fr; gap: 24px; }
    .arnex-single-product__gallery { position: static; }

    /* Checkout */
    .arnex-checkout-grid { grid-template-columns: 1fr; }
    .arnex-checkout-row { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .arnex-hero__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .arnex-products-grid { grid-template-columns: repeat(2, 1fr); }
    .arnex-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Scrollbar ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ─── Animations ─────────────────────────────────────────────────────────── */
.arnex-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.arnex-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Icons ──────────────────────────────────────────────────────────────── */
.arnex-icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* ─── Skip Link ──────────────────────────────────────────────────────────── */
.skip-link:focus {
    position: fixed;
    top: 8px;
    right: 8px;
    z-index: 100000;
    clip: auto;
    clip-path: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 12px 20px;
    background: var(--arnex-bg-white);
    color: var(--arnex-primary);
    border-radius: var(--arnex-radius-sm);
    box-shadow: var(--arnex-shadow-lg);
    font-weight: 700;
}

/* Visible keyboard focus, since the reset strips UA defaults in places. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--arnex-primary);
    outline-offset: 2px;
}

/* ─── Button States (driven by assets/js/woocommerce.js) ─────────────────── */
.arnex-btn--loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.arnex-btn--loading > * { visibility: hidden; }

.arnex-btn--loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: var(--arnex-radius-full);
    animation: arnex-spin 0.6s linear infinite;
}

.arnex-btn--outline.arnex-btn--loading::after {
    border-color: rgba(37, 99, 235, 0.25);
    border-top-color: var(--arnex-primary);
}

@keyframes arnex-spin { to { transform: rotate(360deg); } }

.arnex-btn--success {
    background: var(--arnex-success) !important;
    border-color: var(--arnex-success) !important;
    color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .arnex-btn--loading::after { animation-duration: 2s; }
    .arnex-brands-marquee__track { animation: none !important; }
}

/* ─── Cart Count Badge ───────────────────────────────────────────────────── */
/* Rendered even at zero so the AJAX fragment always has a node to replace. */
.arnex-cart-count--empty { display: none !important; }

/* ─── Pagination ─────────────────────────────────────────────────────────── */
.arnex-pagination { margin-top: 48px; display: flex; justify-content: center; }

.arnex-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.arnex-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-sm);
    background: var(--arnex-bg-white);
    color: var(--arnex-text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--arnex-transition);
}

.arnex-pagination .page-numbers:hover { border-color: var(--arnex-primary); color: var(--arnex-primary); }

.arnex-pagination .page-numbers.current {
    background: var(--arnex-primary);
    border-color: var(--arnex-primary);
    color: #fff;
}

.arnex-pagination .page-numbers.dots { border: none; background: transparent; }

/* ─── Archive & Search Headers ───────────────────────────────────────────── */
.arnex-archive-header,
.arnex-search-header { margin-bottom: 32px; }

.arnex-archive-title,
.arnex-search-title { font-size: 30px; font-weight: 900; color: var(--arnex-text); }

.arnex-search-title span { color: var(--arnex-primary); }

.arnex-archive-desc { margin-top: 8px; color: var(--arnex-text-muted); font-size: 15px; }

/* ─── Blog: Post Cards ───────────────────────────────────────────────────── */
.arnex-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.arnex-post-card {
    background: var(--arnex-bg-white);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-lg);
    overflow: hidden;
    transition: box-shadow var(--arnex-transition), transform var(--arnex-transition);
}

.arnex-post-card:hover { box-shadow: var(--arnex-shadow-lg); transform: translateY(-2px); }
.arnex-post-card__image img { width: 100%; height: 190px; object-fit: cover; }
.arnex-post-card__content { padding: 20px; }

.arnex-post-card__title { font-size: 17px; font-weight: 700; line-height: 1.6; margin-bottom: 8px; }
.arnex-post-card__title a:hover { color: var(--arnex-primary); }

.arnex-post-card__meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--arnex-text-muted);
    margin-bottom: 10px;
}

.arnex-post-card__excerpt { font-size: 14px; color: var(--arnex-text-secondary); line-height: 1.9; }

/* ─── Blog: Single Post ──────────────────────────────────────────────────── */
.arnex-single-post {
    max-width: 820px;
    margin: 0 auto;
    background: var(--arnex-bg-white);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-lg);
    padding: 40px;
}

.arnex-single-post__header { margin-bottom: 24px; }
.arnex-single-post__title { font-size: 30px; font-weight: 900; line-height: 1.5; margin-bottom: 12px; }

.arnex-single-post__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--arnex-text-muted);
}

.arnex-single-post__thumbnail { margin-bottom: 24px; }
.arnex-single-post__thumbnail img { width: 100%; border-radius: var(--arnex-radius-md); }

.arnex-single-post__content { font-size: 16px; line-height: 2.1; color: var(--arnex-text-secondary); }
.arnex-single-post__content > * + * { margin-top: 20px; }
.arnex-single-post__content h2 { font-size: 22px; font-weight: 800; color: var(--arnex-text); }
.arnex-single-post__content h3 { font-size: 19px; font-weight: 700; color: var(--arnex-text); }
.arnex-single-post__content ul,
.arnex-single-post__content ol { padding-right: 22px; list-style: revert; }
.arnex-single-post__content a { color: var(--arnex-primary); text-decoration: underline; }
.arnex-single-post__content img { border-radius: var(--arnex-radius-md); }

.arnex-single-post__content blockquote {
    border-right: 3px solid var(--arnex-primary);
    padding: 8px 16px;
    background: var(--arnex-bg);
    border-radius: var(--arnex-radius-sm);
}

.arnex-single-post__footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--arnex-border); }

/* ─── Post Navigation ────────────────────────────────────────────────────── */
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.post-navigation a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-md);
    background: var(--arnex-bg);
    transition: border-color var(--arnex-transition);
    max-width: 48%;
}

.post-navigation a:hover { border-color: var(--arnex-primary); }
.arnex-nav-label { font-size: 11px; color: var(--arnex-text-muted); font-weight: 600; }
.arnex-nav-title { font-size: 14px; font-weight: 700; color: var(--arnex-text); }

/* ─── Static Page ────────────────────────────────────────────────────────── */
.arnex-page {
    background: var(--arnex-bg-white);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-lg);
    padding: 40px;
}

.arnex-page__header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--arnex-border); }
.arnex-page__title { font-size: 28px; font-weight: 900; }
.arnex-page__content { font-size: 15px; line-height: 2.1; color: var(--arnex-text-secondary); }
.arnex-page__content > * + * { margin-top: 18px; }
.arnex-page__content h2 { font-size: 22px; font-weight: 800; color: var(--arnex-text); }
.arnex-page__content h3 { font-size: 18px; font-weight: 700; color: var(--arnex-text); }
.arnex-page__content ul,
.arnex-page__content ol { padding-right: 22px; list-style: revert; }
.arnex-page__content a { color: var(--arnex-primary); text-decoration: underline; }

/* ─── Widgets ────────────────────────────────────────────────────────────── */
.widget-title { font-size: 16px; font-weight: 800; margin-bottom: 12px; color: var(--arnex-text); }
.widget { margin-bottom: 28px; }
.widget ul { display: flex; flex-direction: column; gap: 8px; }
.widget ul a { font-size: 14px; color: var(--arnex-text-secondary); }
.widget ul a:hover { color: var(--arnex-primary); }

/* ─── No Results ─────────────────────────────────────────────────────────── */
.arnex-no-results {
    text-align: center;
    padding: 64px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.arnex-no-results p { color: var(--arnex-text-muted); font-size: 15px; }

/* ─── Footer: Trust Placeholder ──────────────────────────────────────────── */
.arnex-footer__trust-empty { font-size: 12px; color: var(--arnex-text-light); }

@media (max-width: 768px) {
    .arnex-single-post,
    .arnex-page { padding: 24px 20px; }
    .arnex-single-post__title { font-size: 23px; }
    .post-navigation .nav-links { flex-direction: column; }
    .post-navigation a { max-width: 100%; width: 100%; }
}

/* ─── Blog Layout (2-col only once sidebar-1 has widgets) ────────────────── */
.arnex-blog-layout { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.arnex-blog-layout--has-sidebar { grid-template-columns: minmax(0, 1fr) 280px; }
.arnex-blog-layout__main { min-width: 0; }

.arnex-sidebar {
    background: var(--arnex-bg-white);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-lg);
    padding: 20px;
    position: sticky;
    top: 92px;
}

.arnex-sidebar .widget:last-child { margin-bottom: 0; }

/* ─── Footer Widget Row ──────────────────────────────────────────────────── */
.arnex-footer__widgets {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.arnex-footer__widgets .widget-title { color: #fff; font-size: 15px; }
.arnex-footer__widgets .widget ul a { color: rgba(255, 255, 255, 0.7); }
.arnex-footer__widgets .widget ul a:hover { color: #fff; }

/* ─── Comments ───────────────────────────────────────────────────────────── */
.arnex-comments {
    max-width: 820px;
    margin: 32px auto 0;
    background: var(--arnex-bg-white);
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-lg);
    padding: 32px;
}

.arnex-comments__title { font-size: 20px; font-weight: 800; margin-bottom: 24px; }

.arnex-comments__list { list-style: none; margin: 0 0 32px; padding: 0; }
.arnex-comments__list ol.children { list-style: none; margin: 16px 0 0; padding-right: 24px; }

.arnex-comments__list .comment-body {
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-md);
    padding: 16px;
    margin-bottom: 16px;
    background: var(--arnex-bg);
}

.arnex-comments__list .comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.arnex-comments__list .comment-author { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.arnex-comments__list .comment-author img { border-radius: var(--arnex-radius-full); }
.arnex-comments__list .comment-metadata { font-size: 12px; color: var(--arnex-text-muted); }
.arnex-comments__list .comment-content { font-size: 14px; line-height: 2; color: var(--arnex-text-secondary); }
.arnex-comments__list .reply { margin-top: 8px; }
.arnex-comments__list .reply a { font-size: 12px; font-weight: 700; color: var(--arnex-primary); }
.arnex-comments__closed { font-size: 13px; color: var(--arnex-text-muted); margin-bottom: 16px; }

.comment-respond .comment-reply-title { font-size: 18px; font-weight: 800; margin-bottom: 16px; }

.comment-form p { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.comment-form label { font-size: 13px; font-weight: 600; color: var(--arnex-text-secondary); }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    padding: 12px 14px;
    border: 1px solid var(--arnex-border);
    border-radius: var(--arnex-radius-md);
    background: var(--arnex-bg-white);
    font-family: var(--arnex-font);
    font-size: 14px;
    color: var(--arnex-text);
    width: 100%;
}

.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--arnex-primary); }

.comment-form .comment-form-cookies-consent { flex-direction: row; align-items: center; gap: 8px; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; font-size: 12px; }

.comment-form .form-submit input[type="submit"],
.comment-form .form-submit .arnex-btn {
    align-self: flex-start;
    padding: 12px 28px;
    border: none;
    border-radius: var(--arnex-radius-md);
    background: var(--arnex-primary);
    color: #fff;
    font-family: var(--arnex-font);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    width: auto;
}

.comment-form .form-submit input[type="submit"]:hover { background: var(--arnex-primary-hover); }

@media (max-width: 1024px) {
    .arnex-blog-layout--has-sidebar { grid-template-columns: 1fr; }
    .arnex-sidebar { position: static; }
}

@media (max-width: 768px) {
    .arnex-comments { padding: 24px 20px; }
    .arnex-comments__list ol.children { padding-right: 12px; }
}
