/* ═══════════════════════════════════════════════
   AutoSoftHub - Dark Theme CSS
   ═══════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    /* ── Dark backgrounds (slightly lighter for readability) ── */
    --ash-bg:           #0d0f1a;
    --ash-bg-card:      #141728;
    --ash-bg-card-hover:#1a1e30;
    --ash-bg-elevated:  #1e2234;
    --ash-bg-input:     #181b2c;
    /* ── Borders (more visible) ── */
    --ash-border:       #252840;
    --ash-border-hover: #323659;
    /* ── Text (brighter, easier to read) ── */
    --ash-text:         #eaedf5;
    --ash-text-muted:   #9ca3b8;
    --ash-text-dim:     #6b7491;
    /* ── Accent colors ── */
    --ash-accent:       #3b82f6;
    --ash-accent-hover: #2563eb;
    --ash-accent-glow:  rgba(59, 130, 246, 0.18);
    --ash-accent2:      #f97316;
    --ash-green:        #22c55e;
    --ash-red:          #ef4444;
    --ash-yellow:       #eab308;
    /* ── Radii ── */
    --ash-radius:       12px;
    --ash-radius-sm:    8px;
    --ash-radius-lg:    16px;
    /* ── Shadows ── */
    --ash-shadow:       0 4px 24px rgba(0,0,0,0.28);
    --ash-shadow-lg:    0 8px 40px rgba(0,0,0,0.38);
    /* ── Transition ── */
    --ash-transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* ── Fonts ── */
    --ash-font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ash-mono:         'JetBrains Mono', monospace;
    --ash-container:    1280px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.ash-body {
    font-family: var(--ash-font);
    background: var(--ash-bg);
    color: var(--ash-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--ash-accent); text-decoration: none; transition: var(--ash-transition); }
a:hover { color: var(--ash-accent-hover); }

img { max-width: 100%; height: auto; display: block; }

.ash-container { max-width: var(--ash-container); margin: 0 auto; padding: 0 20px; }

.ash-skip-link {
    position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
    z-index: 9999; background: var(--ash-accent); color: #fff; padding: 12px 24px;
}
.ash-skip-link:focus { left: 20px; top: 20px; width: auto; height: auto; }

/* ── Top Bar ── */
.ash-topbar {
    background: linear-gradient(90deg, var(--ash-accent) 0%, #7c3aed 100%);
    padding: 8px 0; font-size: 13px; color: #fff;
}
.ash-topbar .ash-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.ash-topbar__text { display: flex; align-items: center; gap: 6px; }
.ash-topbar__right { display: flex; gap: 16px; }
.ash-topbar__link { color: rgba(255,255,255,0.9); font-size: 13px; display: flex; align-items: center; gap: 4px; }
.ash-topbar__link:hover { color: #fff; }

/* ── Header ── */
.ash-header {
    background: rgba(10, 12, 20, 0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ash-border); position: sticky; top: 0; z-index: 100;
    padding: 16px 0;
}
.ash-header__inner { display: flex; align-items: center; gap: 24px; }
.ash-header__logo { flex-shrink: 0; }
.ash-logo__text { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.ash-logo__auto { color: var(--ash-text); }
.ash-logo__soft { color: var(--ash-accent); }
.ash-logo__hub { color: var(--ash-accent2); }
.ash-logo__img { max-height: 40px; width: auto; }

.ash-nav { flex: 1; }
.ash-nav__list { list-style: none; display: flex; gap: 8px; }
.ash-nav__list li a {
    color: var(--ash-text-muted); font-size: 14px; font-weight: 500;
    padding: 8px 14px; border-radius: var(--ash-radius-sm); transition: var(--ash-transition);
}
.ash-nav__list li a:hover,
.ash-nav__list li.current-menu-item a { color: #fff; background: var(--ash-accent-glow); }

/* ── Search ── */
.ash-header__search { flex: 0 1 360px; }
.ash-search { position: relative; }
.ash-search__input {
    width: 100%; padding: 10px 44px 10px 16px; background: var(--ash-bg-input);
    border: 1px solid var(--ash-border); border-radius: var(--ash-radius);
    color: var(--ash-text); font-size: 14px; outline: none; transition: var(--ash-transition);
}
.ash-search__input:focus { border-color: var(--ash-accent); box-shadow: 0 0 0 3px var(--ash-accent-glow); }
.ash-search__input::placeholder { color: var(--ash-text-dim); }
.ash-search__btn {
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--ash-text-muted); cursor: pointer; padding: 8px;
}
.ash-search__results {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--ash-bg-elevated); border: 1px solid var(--ash-border);
    border-radius: var(--ash-radius); box-shadow: var(--ash-shadow-lg);
    max-height: 400px; overflow-y: auto; z-index: 200;
}

/* Cart Icon */
.ash-cart-icon { position: relative; color: var(--ash-text-muted); display: flex; }
.ash-cart-icon:hover { color: var(--ash-accent); }
.ash-cart-icon__count {
    position: absolute; top: -6px; right: -8px; background: var(--ash-accent2);
    color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px;
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
}

/* Mobile Toggle */
.ash-header__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.ash-hamburger { display: flex; flex-direction: column; gap: 5px; }
.ash-hamburger span { width: 22px; height: 2px; background: var(--ash-text); transition: var(--ash-transition); }

/* ── Breadcrumbs ── */
.ash-breadcrumbs-bar { padding: 12px 0; border-bottom: 1px solid var(--ash-border); }
.ash-breadcrumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; }
.ash-breadcrumbs__item { display: flex; align-items: center; color: var(--ash-text-dim); }
.ash-breadcrumbs__item:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--ash-text-dim); }
.ash-breadcrumbs__item a { color: var(--ash-text-muted); }
.ash-breadcrumbs__item a:hover { color: var(--ash-accent); }

/* ── Buttons ── */
.ash-btn {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
    font-size: 14px; padding: 10px 20px; border-radius: var(--ash-radius-sm);
    border: none; cursor: pointer; transition: var(--ash-transition); font-family: var(--ash-font);
    text-decoration: none;
}
.ash-btn--primary { background: var(--ash-accent); color: #fff; }
.ash-btn--primary:hover { background: var(--ash-accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(59,130,246,0.3); }
.ash-btn--accent { background: var(--ash-accent2); color: #fff; }
.ash-btn--accent:hover { background: #ea580c; color: #fff; }
.ash-btn--outline { background: transparent; color: var(--ash-text); border: 1px solid var(--ash-border); }
.ash-btn--outline:hover { border-color: var(--ash-accent); color: var(--ash-accent); }
.ash-btn--sm { padding: 6px 14px; font-size: 13px; }
.ash-btn--lg { padding: 14px 28px; font-size: 16px; }
.ash-btn--full { width: 100%; justify-content: center; }

/* ── Hero ── */
.ash-hero {
    position: relative; padding: 100px 0 80px; overflow: hidden;
    background: linear-gradient(135deg, #0a0c14 0%, #0f1423 50%, #0a0c14 100%);
}
.ash-hero__bg { position: absolute; inset: 0; }
.ash-hero__gradient {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(59,130,246,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(249,115,22,0.06) 0%, transparent 60%);
}
.ash-hero__content { position: relative; max-width: 800px; text-align: center; margin: 0 auto; }
.ash-hero__badge {
    display: inline-block; background: var(--ash-accent-glow); color: var(--ash-accent);
    padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
    margin-bottom: 20px; border: 1px solid rgba(59,130,246,0.2);
}
.ash-hero__title { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.ash-text-accent { color: var(--ash-accent); }
.ash-hero__subtitle { font-size: 18px; color: var(--ash-text-muted); line-height: 1.6; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.ash-hero__actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }

.ash-hero__stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.ash-stat { text-align: center; }
.ash-stat__number { font-size: 28px; font-weight: 800; color: var(--ash-accent); display: block; }
.ash-stat__label { font-size: 13px; color: var(--ash-text-dim); text-transform: uppercase; letter-spacing: 1px; }

/* ── Section Headers ── */
.ash-section-header { text-align: center; margin-bottom: 48px; }
.ash-section-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.ash-section-subtitle { color: var(--ash-text-muted); font-size: 16px; }
.ash-section-link { color: var(--ash-accent); font-weight: 600; font-size: 14px; }

section { padding: 80px 0; }
.ash-products-section--alt { background: var(--ash-bg-card); }

/* ── Brand Cards ── */
.ash-brands__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
.ash-brand-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 24px 16px; background: var(--ash-bg-card); border: 1px solid var(--ash-border);
    border-radius: var(--ash-radius); transition: var(--ash-transition); text-align: center;
}
.ash-brand-card:hover { border-color: var(--ash-accent); background: var(--ash-bg-card-hover); transform: translateY(-2px); color: var(--ash-text); }
.ash-brand-card__icon img { width: 60px; height: 60px; object-fit: contain; }
.ash-brand-card__letter { font-size: 28px; font-weight: 800; color: var(--ash-accent); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--ash-accent-glow); border-radius: 50%; }
.ash-brand-card__name { font-weight: 600; font-size: 14px; }
.ash-brand-card__count { font-size: 12px; color: var(--ash-text-dim); }

/* ── Category Cards ── */
.ash-categories__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.ash-category-card {
    padding: 28px; background: var(--ash-bg-card); border: 1px solid var(--ash-border);
    border-radius: var(--ash-radius); transition: var(--ash-transition);
    display: flex; flex-direction: column; gap: 12px;
}
.ash-category-card:hover { border-color: var(--ash-accent); transform: translateY(-3px); box-shadow: var(--ash-shadow); color: var(--ash-text); }
.ash-category-card__icon { color: var(--ash-accent); }
.ash-category-card__title { font-size: 16px; font-weight: 700; }
.ash-category-card__count { font-size: 13px; color: var(--ash-text-dim); }

/* ── Product Cards ── */
.ash-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.ash-product-card {
    background: var(--ash-bg-card); border: 1px solid var(--ash-border);
    border-radius: var(--ash-radius); overflow: hidden; transition: var(--ash-transition);
    position: relative;
}
.ash-product-card:hover { border-color: var(--ash-accent); transform: translateY(-3px); box-shadow: var(--ash-shadow-lg); }

.ash-product-card__badge {
    position: absolute; top: 12px; left: 12px; z-index: 10;
    padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.ash-product-card__badge--sale { background: var(--ash-red); color: #fff; }
.ash-product-card__badge--new { background: var(--ash-green); color: #fff; }

.ash-product-card__image { display: block; position: relative; overflow: hidden; aspect-ratio: 4/3; background: #0d0f1a; }
.ash-product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ash-product-card:hover .ash-product-card__img { transform: scale(1.05); }
.ash-product-card__overlay {
    position: absolute; inset: 0; background: rgba(10,12,20,0.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--ash-transition);
}
.ash-product-card:hover .ash-product-card__overlay { opacity: 1; }

.ash-product-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.ash-product-card__category { font-size: 12px; color: var(--ash-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.ash-product-card__title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.ash-product-card__title a { color: var(--ash-text); }
.ash-product-card__title a:hover { color: var(--ash-accent); }

.ash-product-card__rating { display: flex; align-items: center; gap: 6px; }
.ash-product-card__rating-text { font-size: 12px; color: var(--ash-text-dim); }

.ash-product-card__meta-row { display: flex; gap: 12px; font-size: 12px; color: var(--ash-text-dim); }
.ash-product-card__version { font-family: var(--ash-mono); background: var(--ash-accent-glow); color: var(--ash-accent); padding: 2px 8px; border-radius: 4px; font-size: 11px; }

.ash-product-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--ash-border); margin-top: 4px; }
.ash-product-card__price { font-size: 20px; font-weight: 800; color: var(--ash-accent2); }
.ash-product-card__price del { font-size: 14px; color: var(--ash-text-dim); font-weight: 400; }
.ash-product-card__price ins { text-decoration: none; }

/* Stars */
.ash-stars { display: flex; gap: 2px; color: var(--ash-yellow); }
.ash-star--empty { color: var(--ash-text-dim); }

/* ── Features ── */
.ash-features { background: var(--ash-bg-card); }
.ash-features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.ash-feature-card {
    padding: 32px; background: var(--ash-bg-elevated); border: 1px solid var(--ash-border);
    border-radius: var(--ash-radius); transition: var(--ash-transition);
}
.ash-feature-card:hover { border-color: var(--ash-accent); transform: translateY(-2px); }
.ash-feature-card__icon { color: var(--ash-accent); margin-bottom: 16px; }
.ash-feature-card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.ash-feature-card__text { color: var(--ash-text-muted); font-size: 14px; line-height: 1.6; }

/* ── Testimonials ── */
.ash-testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.ash-testimonial-card {
    padding: 28px; background: var(--ash-bg-card); border: 1px solid var(--ash-border);
    border-radius: var(--ash-radius);
}
.ash-testimonial-card__stars { margin-bottom: 16px; }
.ash-testimonial-card__text { font-size: 15px; line-height: 1.7; color: var(--ash-text-muted); margin-bottom: 20px; font-style: italic; }
.ash-testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.ash-testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ash-testimonial-card__author strong { display: block; font-size: 14px; }
.ash-testimonial-card__author span { font-size: 12px; color: var(--ash-text-dim); }

/* ── Blog Cards ── */
.ash-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.ash-blog-card { background: var(--ash-bg-card); border: 1px solid var(--ash-border); border-radius: var(--ash-radius); overflow: hidden; transition: var(--ash-transition); }
.ash-blog-card:hover { border-color: var(--ash-accent); transform: translateY(-2px); }
.ash-blog-card__image img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.ash-blog-card__content { padding: 20px; }
.ash-blog-card__meta { display: flex; gap: 12px; font-size: 12px; color: var(--ash-text-dim); margin-bottom: 8px; }
.ash-blog-card__title { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.ash-blog-card__title a { color: var(--ash-text); }
.ash-blog-card__title a:hover { color: var(--ash-accent); }
.ash-blog-card__excerpt { font-size: 14px; color: var(--ash-text-muted); line-height: 1.5; }

/* ── Newsletter ── */
.ash-newsletter {
    background: linear-gradient(135deg, #1a1e2e 0%, #0f1423 100%);
    border-top: 1px solid var(--ash-border); border-bottom: 1px solid var(--ash-border);
    padding: 60px 0;
}
.ash-newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ash-newsletter__title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.ash-newsletter__text { color: var(--ash-text-muted); font-size: 14px; }
.ash-newsletter__field { display: flex; gap: 0; }
.ash-newsletter__field input[type="email"] {
    padding: 12px 20px; background: var(--ash-bg-input); border: 1px solid var(--ash-border);
    border-radius: var(--ash-radius-sm) 0 0 var(--ash-radius-sm); color: var(--ash-text);
    font-size: 14px; min-width: 280px; outline: none;
}
.ash-newsletter__field input:focus { border-color: var(--ash-accent); }
.ash-newsletter__field .ash-btn { border-radius: 0 var(--ash-radius-sm) var(--ash-radius-sm) 0; }

/* ── Footer ── */
.ash-footer { background: #080a12; padding: 64px 0 0; border-top: 1px solid var(--ash-border); }
.ash-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.ash-footer__desc { color: var(--ash-text-muted); font-size: 14px; line-height: 1.6; margin: 16px 0; }
.ash-footer__social { display: flex; gap: 12px; }
.ash-social-link { color: var(--ash-text-dim); padding: 8px; background: var(--ash-bg-card); border-radius: var(--ash-radius-sm); transition: var(--ash-transition); }
.ash-social-link:hover { color: var(--ash-accent); background: var(--ash-accent-glow); }
.ash-footer__title { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.ash-footer__menu { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ash-footer__menu li { display: flex; align-items: center; gap: 8px; }
.ash-footer__menu a { color: var(--ash-text-muted); font-size: 14px; }
.ash-footer__menu a:hover { color: var(--ash-accent); }
.ash-count { font-size: 12px; color: var(--ash-text-dim); }

.ash-footer__trust { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.ash-trust-badge { display: flex; align-items: center; gap: 8px; color: var(--ash-text-muted); font-size: 13px; }

.ash-footer__bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
    padding: 24px 0; border-top: 1px solid var(--ash-border); gap: 16px;
}
.ash-footer__copyright { color: var(--ash-text-dim); font-size: 13px; }
.ash-footer__legal { display: flex; gap: 24px; }
.ash-footer__legal a { color: var(--ash-text-dim); font-size: 13px; }
.ash-footer__legal a:hover { color: var(--ash-accent); }

/* ── Back to Top ── */
.ash-back-to-top {
    position: fixed; bottom: 24px; right: 24px; background: var(--ash-accent);
    color: #fff; border: none; width: 44px; height: 44px; border-radius: var(--ash-radius-sm);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--ash-shadow); transition: var(--ash-transition); z-index: 50;
}
.ash-back-to-top:hover { background: var(--ash-accent-hover); transform: translateY(-2px); }

/* ── Shop Page ── */
.ash-shop { padding: 40px 0 80px; }
.ash-shop__header { margin-bottom: 32px; }
.ash-shop__title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.ash-shop__description { color: var(--ash-text-muted); font-size: 14px; margin-bottom: 8px; }
.ash-shop__count { color: var(--ash-text-dim); font-size: 13px; }

.ash-shop__layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; }

/* Filters */
.ash-filter-panel { background: var(--ash-bg-card); border: 1px solid var(--ash-border); border-radius: var(--ash-radius); padding: 20px; position: sticky; top: 100px; }
.ash-filter-panel__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ash-border); }
.ash-filter-panel__header h3 { font-size: 16px; font-weight: 700; }
.ash-filter-reset { background: none; border: none; color: var(--ash-accent); font-size: 13px; cursor: pointer; }

.ash-filter-group { margin-bottom: 20px; }
.ash-filter-group__title { font-size: 14px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.ash-filter-group__body { padding-top: 8px; }
.ash-filter-group__scroll { max-height: 200px; overflow-y: auto; }

.ash-filter-checkbox { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; font-size: 13px; }
.ash-filter-checkbox input { display: none; }
.ash-filter-checkbox__mark {
    width: 18px; height: 18px; border: 2px solid var(--ash-border); border-radius: 4px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--ash-transition);
}
.ash-filter-checkbox input:checked + .ash-filter-checkbox__mark { background: var(--ash-accent); border-color: var(--ash-accent); }
.ash-filter-checkbox input:checked + .ash-filter-checkbox__mark::after { content: '✓'; color: #fff; font-size: 12px; }
.ash-filter-checkbox__count { color: var(--ash-text-dim); font-size: 12px; margin-left: auto; }

.ash-filter-search {
    width: 100%; padding: 8px 12px; background: var(--ash-bg-input); border: 1px solid var(--ash-border);
    border-radius: 6px; color: var(--ash-text); font-size: 13px; margin-bottom: 8px; outline: none;
}

.ash-price-range { display: flex; align-items: center; gap: 8px; }
.ash-price-range__input { width: 100%; padding: 8px; background: var(--ash-bg-input); border: 1px solid var(--ash-border); border-radius: 6px; color: var(--ash-text); font-size: 13px; outline: none; }
.ash-price-range__sep { color: var(--ash-text-dim); }

/* Toolbar */
.ash-shop__toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding: 12px 16px; background: var(--ash-bg-card); border: 1px solid var(--ash-border); border-radius: var(--ash-radius-sm); }
.ash-filter-toggle { display: none; }
.ash-shop__sort { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; color: var(--ash-text-muted); }
.ash-select { padding: 6px 12px; background: var(--ash-bg-input); border: 1px solid var(--ash-border); border-radius: 6px; color: var(--ash-text); font-size: 13px; }
.ash-shop__view { display: flex; gap: 4px; }
.ash-view-btn { background: none; border: none; color: var(--ash-text-dim); cursor: pointer; padding: 6px; border-radius: 4px; }
.ash-view-btn--active { color: var(--ash-accent); background: var(--ash-accent-glow); }

/* Pagination */
.ash-pagination { margin-top: 40px; text-align: center; }
.ash-pagination ul { list-style: none; display: flex; justify-content: center; gap: 6px; }
.ash-pagination li a, .ash-pagination li span { padding: 8px 14px; background: var(--ash-bg-card); border: 1px solid var(--ash-border); border-radius: 6px; color: var(--ash-text-muted); font-size: 14px; display: block; }
.ash-pagination li .current { background: var(--ash-accent); color: #fff; border-color: var(--ash-accent); }
.ash-pagination li a:hover { border-color: var(--ash-accent); color: var(--ash-accent); }

/* ── Single Product ── */
.ash-single-product { padding: 40px 0 80px; }
.ash-single-product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 60px; }

.ash-gallery__main { border-radius: var(--ash-radius); overflow: hidden; background: var(--ash-bg-card); border: 1px solid var(--ash-border); }
.ash-gallery__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ash-gallery__thumbs { display: flex; gap: 8px; margin-top: 12px; }
.ash-gallery__thumb { width: 72px; height: 56px; border: 2px solid var(--ash-border); border-radius: 6px; overflow: hidden; cursor: pointer; background: none; padding: 0; }
.ash-gallery__thumb--active { border-color: var(--ash-accent); }
.ash-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.ash-product-tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--ash-accent-glow); color: var(--ash-accent); }
.ash-product-tag--sale { background: rgba(239,68,68,0.15); color: var(--ash-red); }

.ash-single-product__top { display: flex; gap: 8px; margin-bottom: 12px; }
.ash-single-product__title { font-size: 28px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.ash-single-product__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 14px; color: var(--ash-text-muted); }
.ash-single-product__price { font-size: 32px; font-weight: 800; color: var(--ash-accent2); margin-bottom: 16px; }
.ash-single-product__price del { font-size: 18px; color: var(--ash-text-dim); }
.ash-single-product__excerpt { color: var(--ash-text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }

.ash-software-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.ash-software-info__item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--ash-bg-card); border: 1px solid var(--ash-border); border-radius: var(--ash-radius-sm); }
.ash-software-info__item svg { color: var(--ash-accent); flex-shrink: 0; }
.ash-software-info__label { font-size: 11px; color: var(--ash-text-dim); text-transform: uppercase; letter-spacing: 0.5px; display: block; }

.ash-single-product__cart { margin-bottom: 20px; }
.ash-trust-row { display: flex; gap: 16px; flex-wrap: wrap; }
.ash-trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ash-text-muted); }

/* Tabs */
.ash-product-tabs { margin-bottom: 60px; }
.ash-product-tabs__nav { display: flex; gap: 0; border-bottom: 2px solid var(--ash-border); margin-bottom: 32px; overflow-x: auto; }
.ash-tab-btn { background: none; border: none; color: var(--ash-text-muted); font-size: 14px; font-weight: 600; padding: 12px 24px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--ash-transition); white-space: nowrap; font-family: var(--ash-font); }
.ash-tab-btn--active, .ash-tab-btn:hover { color: var(--ash-accent); border-bottom-color: var(--ash-accent); }
.ash-tab-count { font-size: 12px; color: var(--ash-text-dim); }

.ash-prose { font-size: 15px; line-height: 1.8; color: var(--ash-text-muted); }
.ash-prose h2, .ash-prose h3 { color: var(--ash-text); margin: 24px 0 12px; }
.ash-prose p { margin-bottom: 16px; }
.ash-prose ul, .ash-prose ol { padding-left: 20px; margin-bottom: 16px; }

.ash-compat-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; padding: 0; }
.ash-compat-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--ash-bg-card); border-radius: 6px; font-size: 14px; color: var(--ash-text-muted); }
.ash-compat-item svg { color: var(--ash-green); flex-shrink: 0; }

/* FAQ */
.ash-faq__item { border: 1px solid var(--ash-border); border-radius: var(--ash-radius-sm); margin-bottom: 8px; }
.ash-faq__question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: none; border: none; color: var(--ash-text); font-size: 15px; font-weight: 600; cursor: pointer; text-align: left; font-family: var(--ash-font); }
.ash-faq__question svg { transition: transform 0.3s; flex-shrink: 0; color: var(--ash-text-dim); }
.ash-faq__question[aria-expanded="true"] svg { transform: rotate(180deg); }
.ash-faq__answer { padding: 0 20px 16px; color: var(--ash-text-muted); font-size: 14px; line-height: 1.7; }

/* ── 404 ── */
.ash-404 { text-align: center; padding: 120px 20px; }
.ash-404__code { font-size: 120px; font-weight: 900; color: var(--ash-accent); line-height: 1; opacity: 0.3; }
.ash-404__title { font-size: 28px; font-weight: 700; margin: 16px 0; }
.ash-404__text { color: var(--ash-text-muted); margin-bottom: 32px; }

/* No Results */
.ash-no-results { text-align: center; padding: 60px 20px; grid-column: 1 / -1; }
.ash-no-results svg { color: var(--ash-text-dim); margin-bottom: 16px; }
.ash-no-results h3 { font-size: 20px; margin-bottom: 8px; }
.ash-no-results p { color: var(--ash-text-muted); }

/* License Key */
.ash-license-key { font-family: var(--ash-mono); font-size: 14px; background: var(--ash-bg-input); padding: 6px 12px; border-radius: 6px; letter-spacing: 1px; }
.ash-copy-btn { background: none; border: none; color: var(--ash-text-dim); cursor: pointer; padding: 4px; vertical-align: middle; }
.ash-copy-btn:hover { color: var(--ash-accent); }

/* ── Mobile Menu ── */
.ash-mobile-menu { position: fixed; inset: 0; z-index: 999; pointer-events: none; }
.ash-mobile-menu[aria-hidden="false"] { pointer-events: all; }
.ash-mobile-menu__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; transition: opacity 0.3s; }
.ash-mobile-menu[aria-hidden="false"] .ash-mobile-menu__overlay { opacity: 1; }
.ash-mobile-menu__panel {
    position: absolute; top: 0; right: 0; width: 300px; height: 100%;
    background: var(--ash-bg-elevated); transform: translateX(100%); transition: transform 0.3s ease;
    overflow-y: auto; padding: 24px;
}
.ash-mobile-menu[aria-hidden="false"] .ash-mobile-menu__panel { transform: translateX(0); }
.ash-mobile-menu__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.ash-mobile-menu__close { background: none; border: none; color: var(--ash-text); cursor: pointer; }
.ash-mobile-menu__search input { width: 100%; padding: 10px 16px; background: var(--ash-bg-input); border: 1px solid var(--ash-border); border-radius: var(--ash-radius-sm); color: var(--ash-text); margin-bottom: 16px; }
.ash-mobile-menu__list { list-style: none; }
.ash-mobile-menu__list li a { display: block; padding: 12px 0; color: var(--ash-text-muted); font-size: 15px; border-bottom: 1px solid var(--ash-border); }
.ash-mobile-menu__list li a:hover { color: var(--ash-accent); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ash-shop__layout { grid-template-columns: 1fr; }
    .ash-shop__sidebar { display: none; }
    .ash-shop__sidebar.ash-sidebar--open { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 500; background: var(--ash-bg); overflow-y: auto; padding: 20px; }
    .ash-filter-toggle { display: flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--ash-border); color: var(--ash-text-muted); padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; }
    .ash-single-product__grid { grid-template-columns: 1fr; gap: 32px; }
    .ash-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .ash-header__search { display: none; }
    .ash-nav { display: none; }
    .ash-header__toggle { display: block; }
    .ash-hero { padding: 60px 0 50px; }
    .ash-hero__stats { gap: 20px; }
    .ash-hero__actions { flex-direction: column; align-items: center; }
    .ash-products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
    .ash-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .ash-newsletter__inner { flex-direction: column; text-align: center; }
    .ash-newsletter__field { flex-direction: column; }
    .ash-newsletter__field input[type="email"] { min-width: auto; border-radius: var(--ash-radius-sm); }
    .ash-newsletter__field .ash-btn { border-radius: var(--ash-radius-sm); }
    .ash-topbar__left { display: none; }
    .ash-software-info { grid-template-columns: 1fr; }
    .ash-product-tabs__nav { gap: 0; }
    .ash-tab-btn { padding: 10px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
    .ash-products-grid { grid-template-columns: 1fr; }
    .ash-brands__grid { grid-template-columns: repeat(3, 1fr); }
    .ash-categories__grid { grid-template-columns: 1fr; }
}

/* ── Header Scroll States ── */
.ash-header--scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); background: rgba(10, 12, 20, 0.98); }
.ash-header--hidden { transform: translateY(-100%); }

/* ── Search Results Dropdown ── */
.ash-search__item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--ash-border); transition: var(--ash-transition); color: var(--ash-text); }
.ash-search__item:hover { background: var(--ash-bg-card-hover); }
.ash-search__item img { border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.ash-search__item strong { display: block; font-size: 14px; }
.ash-search__item span { font-size: 13px; color: var(--ash-accent2); }
.ash-search__empty { padding: 20px; text-align: center; color: var(--ash-text-dim); font-size: 14px; }

/* ── List View ── */
.ash-products-grid--list { grid-template-columns: 1fr !important; }
.ash-products-grid--list .ash-product-card { display: grid; grid-template-columns: 200px 1fr; }
.ash-products-grid--list .ash-product-card__image { aspect-ratio: auto; height: 100%; }

/* ── Filter Collapsed State ── */
.ash-filter-group__title--collapsed svg { transform: rotate(-90deg); }

/* ── Active Filters Bar ── */
.ash-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ash-active-filter { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; background: var(--ash-accent-glow); color: var(--ash-accent); border-radius: 20px; font-size: 12px; }

/* ── Related Products ── */
.ash-related-products { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--ash-border); }

/* ── Single Blog Post ── */
.ash-single-post { padding: 40px 0 80px; }
.ash-single-post__grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
.ash-single-post__content { min-width: 0; }
.ash-single-post__header { margin-bottom: 32px; }
.ash-single-post__title { font-size: 32px; font-weight: 800; line-height: 1.2; margin: 12px 0 16px; }
.ash-single-post__meta { display: flex; gap: 16px; font-size: 13px; color: var(--ash-text-dim); flex-wrap: wrap; }
.ash-single-post__featured { margin-bottom: 32px; border-radius: var(--ash-radius); overflow: hidden; }
.ash-single-post__img { width: 100%; height: auto; }
.ash-single-post__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ash-border); }
.ash-single-post__sidebar { position: sticky; top: 100px; align-self: start; }

.ash-tag { display: inline-block; padding: 4px 12px; background: var(--ash-bg-card); border: 1px solid var(--ash-border); border-radius: 20px; font-size: 12px; color: var(--ash-text-muted); transition: var(--ash-transition); }
.ash-tag:hover { border-color: var(--ash-accent); color: var(--ash-accent); }

/* ── Post Navigation ── */
.ash-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--ash-border); }
.ash-post-nav__link { padding: 20px; background: var(--ash-bg-card); border: 1px solid var(--ash-border); border-radius: var(--ash-radius-sm); transition: var(--ash-transition); }
.ash-post-nav__link:hover { border-color: var(--ash-accent); }
.ash-post-nav__link--next { text-align: right; }
.ash-post-nav__label { font-size: 12px; color: var(--ash-text-dim); display: block; margin-bottom: 4px; }
.ash-post-nav__title { font-size: 14px; font-weight: 600; color: var(--ash-text); }

/* ── Comments ── */
.ash-comments { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--ash-border); }
.ash-comments .comment-list { list-style: none; padding: 0; }
.ash-comments .comment { padding: 20px; background: var(--ash-bg-card); border: 1px solid var(--ash-border); border-radius: var(--ash-radius-sm); margin-bottom: 16px; }
.ash-comments .comment-author { font-weight: 600; margin-bottom: 8px; }
.ash-comments .comment-content { color: var(--ash-text-muted); font-size: 14px; line-height: 1.6; }
.ash-comments .comment-respond input[type="text"],
.ash-comments .comment-respond input[type="email"],
.ash-comments .comment-respond textarea { width: 100%; padding: 10px 16px; background: var(--ash-bg-input); border: 1px solid var(--ash-border); border-radius: var(--ash-radius-sm); color: var(--ash-text); font-family: var(--ash-font); margin-bottom: 12px; }
.ash-comments .comment-respond textarea { min-height: 120px; resize: vertical; }
.ash-comments .comment-respond .submit { background: var(--ash-accent); color: #fff; border: none; padding: 10px 24px; border-radius: var(--ash-radius-sm); cursor: pointer; font-weight: 600; }

/* ── Page Template ── */
.ash-page { padding: 40px 0 80px; }
.ash-page__title { font-size: 32px; font-weight: 800; margin-bottom: 32px; }

/* ── License Table ── */
.ash-licenses-title { font-size: 20px; font-weight: 700; margin: 24px 0 12px; }
.ash-licenses-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.ash-licenses-table th { background: var(--ash-bg-elevated); padding: 12px 16px; text-align: left; font-size: 13px; font-weight: 600; border-bottom: 2px solid var(--ash-border); }
.ash-licenses-table td { padding: 12px 16px; border-bottom: 1px solid var(--ash-border); }

/* ── Sticky Cart Bar (Single Product) ── */
.ash-sticky-cart { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ash-bg-elevated); border-top: 1px solid var(--ash-border); padding: 12px 20px; z-index: 90; display: flex; justify-content: center; box-shadow: 0 -4px 20px rgba(0,0,0,0.3); }
.ash-sticky-cart .ash-btn { max-width: 500px; }

/* ── Form Error State ── */
.ash-field--error { border-color: var(--ash-red) !important; box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }

/* ── Contact Page ── */
.ash-contact-page { padding: 60px 0 80px; }
.ash-contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-top: 40px; }
.ash-contact-info { display: flex; flex-direction: column; gap: 20px; }
.ash-contact-card { background: var(--ash-bg-card); border: 1px solid var(--ash-border); border-radius: var(--ash-radius); padding: 24px; transition: border-color 0.3s; }
.ash-contact-card:hover { border-color: var(--ash-accent); }
.ash-contact-card__icon { width: 48px; height: 48px; background: rgba(0,163,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--ash-accent); margin-bottom: 16px; }
.ash-contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ash-contact-card p { font-size: 14px; color: var(--ash-text-muted); margin-bottom: 8px; }
.ash-contact-card a { color: var(--ash-accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.ash-contact-card a:hover { text-decoration: underline; }

.ash-contact-form-wrap { background: var(--ash-bg-card); border: 1px solid var(--ash-border); border-radius: var(--ash-radius); padding: 32px; }
.ash-contact-form-wrap h2 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.ash-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ash-form-group { margin-bottom: 16px; }
.ash-form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ash-text); }
.ash-form-group label .required { color: var(--ash-red); }
.ash-form-group input,
.ash-form-group select,
.ash-form-group textarea { width: 100%; padding: 10px 14px; background: var(--ash-bg-input, var(--ash-bg)); border: 1px solid var(--ash-border); border-radius: var(--ash-radius-sm); color: var(--ash-text); font-family: var(--ash-font); font-size: 14px; transition: border-color 0.2s; }
.ash-form-group input:focus,
.ash-form-group select:focus,
.ash-form-group textarea:focus { outline: none; border-color: var(--ash-accent); box-shadow: 0 0 0 3px rgba(0,163,255,0.1); }
.ash-form-group textarea { resize: vertical; min-height: 120px; }
.ash-form-group select { appearance: none; 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='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.ash-contact-faq { margin-top: 60px; }
.ash-contact-faq .ash-section-title { text-align: center; margin-bottom: 32px; }

/* ── Comments (Enhanced) ── */
.ash-comments-area { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--ash-border); }
.ash-comments__title { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.ash-comments__list { list-style: none; padding: 0; margin: 0; }
.ash-comment { margin-bottom: 16px; }
.ash-comment__body { background: var(--ash-bg-card); border: 1px solid var(--ash-border); border-radius: var(--ash-radius-sm); padding: 20px; }
.ash-comment__header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ash-comment__avatar img { border-radius: 50%; }
.ash-comment__author { font-weight: 600; font-size: 14px; }
.ash-comment__author a { color: var(--ash-accent); text-decoration: none; }
.ash-comment__date { font-size: 12px; color: var(--ash-text-dim); display: block; }
.ash-comment__moderation { font-size: 13px; color: var(--ash-yellow, #eab308); font-style: italic; margin-bottom: 8px; }
.ash-comment__content { font-size: 14px; line-height: 1.7; color: var(--ash-text-muted); }
.ash-comment__content p { margin-bottom: 8px; }
.ash-comment__actions { margin-top: 12px; display: flex; gap: 16px; }
.ash-comment__reply a,
.ash-comment__edit a { font-size: 12px; color: var(--ash-accent); text-decoration: none; font-weight: 600; }
.ash-comment__reply a:hover,
.ash-comment__edit a:hover { text-decoration: underline; }
.ash-comments__nav { display: flex; justify-content: space-between; margin-top: 20px; }
.ash-comments__nav a { color: var(--ash-accent); font-size: 14px; text-decoration: none; }
.ash-comments__closed { color: var(--ash-text-dim); font-style: italic; }
.ash-comment .children { margin-left: 32px; padding-left: 16px; border-left: 2px solid var(--ash-border); }

.ash-comment-form { margin-top: 32px; }
.ash-comment-form .comment-reply-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.ash-comment-form__field { margin-bottom: 16px; }
.ash-comment-form__field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.ash-comment-form__field label .required { color: var(--ash-red); }
.ash-comment-form input[type="text"],
.ash-comment-form input[type="email"],
.ash-comment-form input[type="url"],
.ash-comment-form textarea { width: 100%; padding: 10px 14px; background: var(--ash-bg-input, var(--ash-bg)); border: 1px solid var(--ash-border); border-radius: var(--ash-radius-sm); color: var(--ash-text); font-family: var(--ash-font); font-size: 14px; }
.ash-comment-form textarea { min-height: 120px; resize: vertical; }
.ash-comment-form input:focus,
.ash-comment-form textarea:focus { outline: none; border-color: var(--ash-accent); box-shadow: 0 0 0 3px rgba(0,163,255,0.1); }
.ash-comment-form .form-submit { margin-top: 16px; }

@media (max-width: 768px) {
    .ash-single-post__grid { grid-template-columns: 1fr; }
    .ash-single-post__sidebar { display: none; }
    .ash-post-nav { grid-template-columns: 1fr; }
    .ash-products-grid--list .ash-product-card { grid-template-columns: 1fr; }
    .ash-contact-grid { grid-template-columns: 1fr; }
    .ash-form-row { grid-template-columns: 1fr; }
    .ash-comment .children { margin-left: 16px; }
}

/* ═══════════════════════════════════════════════
   ENHANCED PREMIUM STYLES — Professional Polish
   ═══════════════════════════════════════════════ */

/* ── CSS Variable Updates for Rich Look ── */
:root {
    --ash-topbar-grad: linear-gradient(90deg, #1d4ed8 0%, #7c3aed 50%, #1d4ed8 100%);
    --ash-card-glow:   0 0 0 1px rgba(59,130,246,0.10), 0 4px 24px rgba(0,0,0,0.28);
    --ash-product-bg:  #111326;
    --ash-hero-glow:   radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59,130,246,0.14) 0%, transparent 70%);
}

/* ── Top Bar — Animated Gradient ── */
.ash-topbar {
    background: var(--ash-topbar-grad) !important;
    background-size: 200% 100% !important;
    animation: topbar-shimmer 8s ease infinite !important;
    font-size: 12px !important;
    letter-spacing: 0.01em;
}
@keyframes topbar-shimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Header — Stronger Glass Effect ── */
.ash-header {
    background: rgba(8, 10, 18, 0.92) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}
.ash-header--scrolled {
    background: rgba(8, 10, 18, 0.98) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.5) !important;
}

/* ── Logo ── */
.ash-logo__text { font-size: 22px !important; }
.ash-logo__auto { color: var(--ash-text) !important; letter-spacing: -0.5px; }
.ash-logo__soft { color: var(--ash-accent) !important; }
.ash-logo__hub  {
    background: linear-gradient(90deg, var(--ash-accent2), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Nav Links ── */
.ash-nav__list li a { letter-spacing: 0.01em; }
.ash-nav__list li.current-menu-item a {
    color: var(--ash-accent) !important;
    background: var(--ash-accent-glow) !important;
}

/* ── Search Input ── */
.ash-search__input {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
}
.ash-search__input:focus {
    background: var(--ash-bg-input) !important;
}

/* ── Hero Section ── */
.ash-hero {
    background: linear-gradient(170deg, #0a0d18 0%, #0f1328 50%, #0c1020 100%) !important;
}
.ash-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ash-hero-glow);
    pointer-events: none;
}
.ash-hero__gradient {
    background:
        radial-gradient(ellipse at 20% 60%, rgba(59,130,246,0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 40%, rgba(124,58,237,0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(249,115,22,0.06) 0%, transparent 50%) !important;
}

/* Hero title gradient on accent words */
.ash-hero__title .ash-text-accent {
    background: linear-gradient(135deg, var(--ash-accent) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero badge */
.ash-hero__badge {
    backdrop-filter: blur(12px);
    background: rgba(59,130,246,0.12) !important;
    border: 1px solid rgba(59,130,246,0.25) !important;
    letter-spacing: 0.03em;
}

/* ── Section Dividers ── */
.ash-products-section--alt {
    background: linear-gradient(180deg, var(--ash-bg-card) 0%, #0e1120 100%) !important;
    border-top: 1px solid var(--ash-border);
    border-bottom: 1px solid var(--ash-border);
}

/* ── Product Cards — More Premium ── */
.ash-product-card {
    background: linear-gradient(145deg, #161930 0%, #12152a 100%) !important;
    box-shadow: var(--ash-card-glow) !important;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), border-color 0.25s, box-shadow 0.3s !important;
}
.ash-product-card:hover {
    border-color: rgba(59,130,246,0.5) !important;
    box-shadow: 0 0 0 1px rgba(59,130,246,0.2), 0 12px 40px rgba(0,0,0,0.5), 0 0 80px rgba(59,130,246,0.05) !important;
    transform: translateY(-5px) !important;
}
.ash-product-card__image { background: var(--ash-product-bg) !important; }
.ash-product-card__body { padding: 18px !important; }

/* Price — stronger orange accent */
.ash-product-card__price {
    font-size: 19px !important;
    font-weight: 800 !important;
    background: linear-gradient(90deg, var(--ash-accent2), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Add to cart button on cards */
.ash-add-to-cart {
    background: linear-gradient(135deg, var(--ash-accent2), #ea580c) !important;
    border: none !important;
    color: #fff !important;
    border-radius: var(--ash-radius-sm) !important;
    padding: 8px 14px !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}
.ash-add-to-cart:hover {
    transform: scale(1.06) !important;
    box-shadow: 0 4px 16px rgba(249,115,22,0.4) !important;
    color: #fff !important;
}

/* ── Feature Cards ── */
.ash-feature-card {
    background: linear-gradient(145deg, #171a2e 0%, #12152a 100%) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25) !important;
}
.ash-feature-card:hover {
    border-color: rgba(59,130,246,0.35) !important;
    background: linear-gradient(145deg, #1c2240 0%, #151930 100%) !important;
    box-shadow: 0 4px 24px rgba(59,130,246,0.08) !important;
}
.ash-feature-card__icon {
    background: rgba(59,130,246,0.08);
    border-radius: 12px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid rgba(59,130,246,0.12);
    color: var(--ash-accent) !important;
}

/* ── Testimonial Cards ── */
.ash-testimonial-card {
    background: linear-gradient(145deg, #161930 0%, #12152a 100%) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    position: relative;
    overflow: hidden;
}
.ash-testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 100px;
    color: rgba(59,130,246,0.06);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

/* ── Newsletter Section ── */
.ash-newsletter {
    background: linear-gradient(135deg, #111530 0%, #0d1020 50%, #111530 100%) !important;
    border-top: 1px solid rgba(59,130,246,0.12) !important;
    border-bottom: 1px solid rgba(59,130,246,0.12) !important;
    position: relative;
    overflow: hidden;
}
.ash-newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 20% 50%, rgba(59,130,246,0.06) 0%, transparent 60%),
                radial-gradient(ellipse 40% 80% at 80% 50%, rgba(124,58,237,0.05) 0%, transparent 60%);
    pointer-events: none;
}
.ash-newsletter__title {
    font-size: 26px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, var(--ash-text) 0%, #a8b5d2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ash-newsletter__field input[type="email"] {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.1) !important;
    min-width: 300px !important;
}
.ash-newsletter__field input[type="email"]:focus {
    border-color: var(--ash-accent) !important;
    background: var(--ash-bg-input) !important;
}
.ash-newsletter__field .ash-btn {
    background: linear-gradient(135deg, var(--ash-accent), #6366f1) !important;
    box-shadow: 0 4px 16px rgba(59,130,246,0.3) !important;
}
.ash-newsletter__field .ash-btn:hover {
    background: linear-gradient(135deg, var(--ash-accent-hover), #4f46e5) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 24px rgba(59,130,246,0.4) !important;
    color: #fff !important;
}

/* ── Primary Button — Gradient ── */
.ash-btn--primary {
    background: linear-gradient(135deg, var(--ash-accent) 0%, #4f46e5 100%) !important;
    box-shadow: 0 2px 12px rgba(59,130,246,0.2) !important;
    color: #fff !important;
}
.ash-btn--primary:hover {
    background: linear-gradient(135deg, var(--ash-accent-hover) 0%, #4338ca 100%) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(59,130,246,0.35) !important;
}

/* ── Footer ── */
.ash-footer {
    background: linear-gradient(180deg, #090c18 0%, #070916 100%) !important;
    border-top: 1px solid rgba(255,255,255,0.04) !important;
}
.ash-footer__title {
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--ash-text-dim) !important;
    margin-bottom: 16px !important;
}
.ash-footer__logo .ash-logo__text { font-size: 20px !important; }
.ash-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.04) !important;
}
.ash-social-link {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
}
.ash-social-link:hover {
    background: var(--ash-accent-glow) !important;
    border-color: rgba(59,130,246,0.3) !important;
}

/* ── Back-to-top ── */
.ash-back-to-top {
    background: linear-gradient(135deg, var(--ash-accent), #6366f1) !important;
    box-shadow: 0 4px 16px rgba(59,130,246,0.3) !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
}
.ash-back-to-top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(59,130,246,0.5) !important;
}

/* ── Brand Cards Premium ── */
.ash-brand-card {
    background: linear-gradient(145deg, #161930 0%, #12152a 100%) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25) !important;
}
.ash-brand-card:hover {
    border-color: rgba(59,130,246,0.4) !important;
    box-shadow: 0 4px 20px rgba(59,130,246,0.1) !important;
    transform: translateY(-4px) !important;
}
.ash-brand-card__letter {
    background: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(99,102,241,0.12) 100%) !important;
    border: 1px solid rgba(59,130,246,0.2) !important;
}

/* ── Category Cards Premium ── */
.ash-category-card {
    background: linear-gradient(145deg, #161930 0%, #12152a 100%) !important;
    position: relative;
    overflow: hidden;
}
.ash-category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ash-accent), #6366f1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.ash-category-card:hover::after { transform: scaleX(1); }
.ash-category-card:hover {
    border-color: rgba(59,130,246,0.3) !important;
    transform: translateY(-4px) !important;
}
.ash-category-card__icon { 
    color: var(--ash-accent) !important;
    background: rgba(59,130,246,0.08);
    padding: 10px;
    border-radius: 10px;
    display: inline-flex;
    border: 1px solid rgba(59,130,246,0.1);
}

/* ── Breadcrumbs ── */
.ash-breadcrumbs-bar {
    background: rgba(8,10,18,0.6) !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}

/* ── All Input/Textarea/Select normalization ── */
input, textarea, select {
    background-color: var(--ash-bg-input);
    color: var(--ash-text);
    border-color: var(--ash-border);
    font-family: var(--ash-font);
}
input::placeholder,
textarea::placeholder {
    color: var(--ash-text-dim);
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--ash-accent);
    box-shadow: 0 0 0 3px var(--ash-accent-glow);
}
/* Prevent white autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--ash-bg-input) inset !important;
    -webkit-text-fill-color: var(--ash-text) !important;
    caret-color: var(--ash-text);
}

/* ── Section Title Gradient Underline ── */
.ash-section-title {
    position: relative;
    display: inline-block;
}
.ash-section-header { position: relative; }

/* ── Shop page layout — Remove white areas ── */
.ash-shop,
.ash-shop .ash-container,
.archive.woocommerce-page,
.woocommerce-page main,
.ash-main {
    background: transparent;
}

/* ── 404 Page Enhancements ── */
.ash-404__code {
    background: linear-gradient(135deg, var(--ash-accent) 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1 !important;
}

/* ── Filter Panel ── */
.ash-filter-panel {
    background: linear-gradient(145deg, #12151f 0%, #0e1020 100%) !important;
}

/* ── Sticky Cart ── */
.ash-sticky-cart {
    background: rgba(8,10,18,0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.4) !important;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0a0c14; }
::-webkit-scrollbar-thumb { background: #1e2235; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2a3050; }

/* ── Selection color ── */
::selection {
    background: rgba(59,130,246,0.35);
    color: #fff;
}

/* ── Animations: Fade-in on scroll (JS adds class) ── */
.ash-animate-in {
    animation: ash-fade-up 0.5s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes ash-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   TRUST BAR (below hero)
   ═══════════════════════════════════════════════ */
.ash-trust-bar {
    background: linear-gradient(90deg, #0b0e1a 0%, #0f1428 50%, #0b0e1a 100%);
    border-top: 1px solid rgba(59,130,246,0.1);
    border-bottom: 1px solid rgba(59,130,246,0.1);
    padding: 18px 0;
}
.ash-trust-bar__grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.ash-trust-bar__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ash-text-muted);
    transition: color 0.2s;
}
.ash-trust-bar__item svg { color: var(--ash-accent); flex-shrink: 0; }
.ash-trust-bar__item:hover { color: var(--ash-text); }

@media (max-width: 600px) {
    .ash-trust-bar__grid { gap: 20px; }
    .ash-trust-bar__item { font-size: 13px; }
}

/* ═══════════════════════════════════════════════
   SECTION SPACING UTILITY
   ═══════════════════════════════════════════════ */
.ash-section { padding: 80px 0; }
.ash-section + .ash-section { padding-top: 0; }

/* Section header flex for title + link side by side */
.ash-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.ash-section-header .ash-section-title,
.ash-section-header .ash-section-subtitle {
    flex: 1;
}
.ash-section-header .ash-section-link {
    flex-shrink: 0;
    margin-bottom: 4px;
}
/* When subtitle is present, center everything */
.ash-section-header:has(.ash-section-subtitle) {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ═══════════════════════════════════════════════
   DARK MODE GLOBAL CONSISTENCY FIXES
   ═══════════════════════════════════════════════ */

/* Ensure body is always dark */
html, body {
    background: var(--ash-bg) !important;
    color: var(--ash-text);
}

/* Any WordPress-injected white wrappers */
.site, .site-content, .entry-content,
#primary, #secondary, #content, #page,
.content-area, .widget-area {
    background: transparent !important;
    color: var(--ash-text) !important;
}

/* WP block editor styles injected inline */
.has-white-background-color { background-color: transparent !important; }
.has-black-color             { color: var(--ash-text) !important; }
.wp-block-group              { background: transparent !important; }

/* Gravity Forms / CF7 inputs */
.gform_wrapper input,
.gform_wrapper textarea,
.gform_wrapper select,
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
    background: var(--ash-bg-input) !important;
    border: 1px solid var(--ash-border) !important;
    color: var(--ash-text) !important;
    border-radius: var(--ash-radius-sm) !important;
    font-family: var(--ash-font) !important;
}

/* Admin bar compensation */
html.is-admin-bar-showing { margin-top: 0 !important; }
#wpadminbar { position: fixed !important; }

/* Tidy shop section spacing alongside ash-section */
.ash-products-section { padding: 80px 0; }
.ash-products-section--alt {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--ash-bg-card) 0%, #0e1120 100%) !important;
    border-top: 1px solid var(--ash-border);
    border-bottom: 1px solid var(--ash-border);
}

/* ═══════════════════════════════════════════════
   LIGHT MODE (Data-Theme Override)
   ═══════════════════════════════════════════════ */
html[data-theme="light"] {
    /* ── Light backgrounds ── */
    --ash-bg:           #f8fafc;
    --ash-bg-card:      #ffffff;
    --ash-bg-card-hover:#f1f5f9;
    --ash-bg-elevated:  #ffffff;
    --ash-bg-input:     #ffffff;
    
    /* ── Light borders ── */
    --ash-border:       #e2e8f0;
    --ash-border-hover: #cbd5e1;
    
    /* ── Dark text for light mode ── */
    --ash-text:         #0f172a;
    --ash-text-muted:   #475569;
    --ash-text-dim:     #64748b;
    
    /* ── Keep accents largely the same but remove glow ── */
    --ash-accent-glow:  rgba(59, 130, 246, 0.05);
    
    /* ── Adjust shadows for light mode ── */
    --ash-shadow:       0 4px 12px rgba(0,0,0,0.05);
    --ash-shadow-lg:    0 8px 24px rgba(0,0,0,0.08);
}

/* Hardcoded overrides for sections in light mode */
html[data-theme="light"] .ash-product-card,
html[data-theme="light"] .ash-feature-card,
html[data-theme="light"] .ash-brand-card,
html[data-theme="light"] .ash-category-card,
html[data-theme="light"] .ash-testimonial-card,
html[data-theme="light"] .woocommerce ul.products li.product {
    background: #ffffff !important;
    border: 1px solid var(--ash-border) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}

html[data-theme="light"] .ash-hero {
    background: linear-gradient(170deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
}

html[data-theme="light"] .ash-trust-bar {
    background: #ffffff !important;
    border-color: var(--ash-border) !important;
}

html[data-theme="light"] .ash-products-section--alt {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

html[data-theme="light"] .ash-newsletter {
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 50%, #f1f5f9 100%) !important;
    border-color: var(--ash-border) !important;
}

html[data-theme="light"] .ash-footer {
    background: #ffffff !important;
    border-top: 1px solid var(--ash-border) !important;
}

html[data-theme="light"] .ash-header {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid var(--ash-border) !important;
}

/* ═══════════════════════════════════════════════
   THEME TOGGLE BUTTON
   ═══════════════════════════════════════════════ */
.ash-theme-toggle {
    background: transparent;
    border: none;
    color: var(--ash-text);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border-radius: 50%;
    transition: var(--ash-transition);
}

.ash-theme-toggle:hover {
    background: var(--ash-bg-elevated);
    color: var(--ash-accent);
}

/* Hide sun in dark mode, hide moon in light mode */
html[data-theme="light"] .ash-theme-toggle__light { display: none; }
html:not([data-theme="light"]) .ash-theme-toggle__dark { display: none; }
