/* =============================================================
   audiotools.vip — main.css
   Organized by section. Uses CSS variables from style.css.
   ============================================================= */

/* ─────────────────────────────────────────────────────────────
   ANIMATIONS
   ───────────────────────────────────────────────────────────── */
@keyframes at-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

@keyframes at-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────────────────────
   LOGO
   ───────────────────────────────────────────────────────────── */
.at-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--at-ink);
    flex-shrink: 0;
}

.at-logo svg { flex-shrink: 0; }

.at-logo__wordmark {
    font-family: var(--at-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.5px;
    white-space: nowrap;
    color: inherit;
}

.at-logo__badge {
    font-family: var(--at-display);
    font-weight: 800;
    font-size: 12px;
    background: var(--at-accent);
    color: #0d0c11;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

/* ─────────────────────────────────────────────────────────────
   UTILITY BAR — always dark
   ───────────────────────────────────────────────────────────── */
.at-utility-bar {
    background: #0d0c11 !important;
    color: #fbf8f1 !important;
    padding: 8px 0;
    font-family: var(--at-mono);
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    position: relative;
    z-index: 60;
}

.at-utility-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.at-utility-bar__left {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.at-utility-bar__dot {
    opacity: 0.4;
}

.at-utility-bar__right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.at-utility-bar__wa {
    color: #fbf8f1;
    text-decoration: none;
}

.at-utility-bar__wa:hover {
    color: var(--at-accent2);
}

/* ─────────────────────────────────────────────────────────────
   MAIN NAV
   ───────────────────────────────────────────────────────────── */
.at-nav {
    background: color-mix(in srgb, var(--at-paper) 92%, transparent);
    background: var(--at-paper);
    border-bottom: 1px solid var(--at-rule);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.at-nav.is-scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.at-nav__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.at-nav__center {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

/* Nav links (from wp_nav_menu) */
.at-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.at-nav__links li {
    position: relative;
    display: flex;
    align-items: center;
    /* reset any Ecomall top-border trick that shifts the active item */
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    top: 0 !important;
}

.at-nav__links a {
    font-family: var(--at-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--at-ink2);
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s, background 0.15s;
    position: relative !important;
    top: 0 !important;
}

.at-nav__links a:hover,
.at-nav__links .current-menu-item > a,
.at-nav__links .current-page-ancestor > a {
    color: var(--at-ink);
    background: var(--at-surface2);
}

/* Search */
.at-search {
    flex: 1;
    max-width: 420px;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--at-surface2);
    border: 1px solid var(--at-rule);
    border-radius: 10px;
    padding: 8px 12px;
    min-width: 200px;
}

.at-search:focus-within {
    border-color: var(--at-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--at-accent) 20%, transparent);
}

.at-search__icon { color: var(--at-muted); flex-shrink: 0; }

.at-search__form { flex: 1; display: flex; }

.at-search__input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--at-body);
    font-size: 13px;
    color: var(--at-ink);
    width: 100%;
}

.at-search__input::placeholder { color: var(--at-muted); }

.at-search__kbd {
    font-family: var(--at-mono);
    font-size: 10px;
    color: var(--at-muted);
    border: 1px solid var(--at-rule);
    border-radius: 4px;
    padding: 1px 5px;
    flex-shrink: 0;
}

/* Nav actions */
.at-nav__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.at-cart-count {
    background: var(--at-accent);
    color: #fff;
    font-family: var(--at-mono);
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 99px;
    min-width: 16px;
    text-align: center;
}

/* Mobile toggle */
.at-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--at-rule);
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
}

.at-nav__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--at-ink);
    border-radius: 2px;
    transition: transform 0.2s;
}

/* ─────────────────────────────────────────────────────────────
   CATEGORY BAR
   ───────────────────────────────────────────────────────────── */
.at-cat-bar {
    border-bottom: 1px solid var(--at-rule);
    background: var(--at-paper);
    overflow: hidden;
}

.at-cat-bar__inner {
    display: flex;
    gap: 22px;
    align-items: center;
    overflow-x: auto;
    padding: 12px 28px;
    scrollbar-width: none;
    max-width: 1280px;
    margin: 0 auto;
}

.at-cat-bar__inner::-webkit-scrollbar { display: none; }

.at-cat-bar__links {
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.at-cat-bar__links a,
.at-cat-bar__all {
    font-family: var(--at-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--at-ink2);
    text-decoration: none;
    white-space: nowrap;
    padding: 4px 0;
    transition: color 0.15s;
}

.at-cat-bar__links a:hover,
.at-cat-bar__all:hover { color: var(--at-ink); }

.at-cat-bar__links .current-menu-item > a,
.at-cat-bar__all { font-weight: 600; color: var(--at-ink); }

.at-cat-bar__promo {
    font-family: var(--at-mono);
    font-size: 11px;
    color: var(--at-accent);
    letter-spacing: 1px;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────── */
.at-btn {
    font-family: var(--at-body);
    font-weight: 600;
    letter-spacing: -0.1px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, opacity 0.15s;
    white-space: nowrap;
    border: none;
    line-height: 1;
}

.at-btn:hover { transform: translateY(-1px); opacity: 0.9; }
.at-btn:active { transform: translateY(0); }

/* Sizes */
.at-btn--sm  { padding: 8px 14px; font-size: 13px; }
.at-btn--md  { padding: 11px 18px; font-size: 14px; }
.at-btn--lg  { padding: 14px 24px; font-size: 15px; }
.at-btn--full { width: 100%; }

/* Kinds */
.at-btn--primary {
    background: var(--at-accent);
    color: #fff;
    border: 1px solid var(--at-accent);
}

.at-btn--secondary {
    background: var(--at-ink);
    color: var(--at-paper);
    border: 1px solid var(--at-ink);
}

.at-btn--ghost {
    background: transparent;
    color: var(--at-ink);
    border: 1px solid var(--at-rule);
}

.at-btn--outline {
    background: transparent;
    color: var(--at-ink);
    border: 1.5px solid var(--at-ink);
}

/* ─────────────────────────────────────────────────────────────
   BADGES
   ───────────────────────────────────────────────────────────── */
.at-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--at-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1;
}

.at-badge--default  { background: transparent; color: var(--at-ink);   border: 1px solid var(--at-rule); }
.at-badge--solid    { background: var(--at-ink); color: var(--at-paper); border: 1px solid var(--at-ink); }
.at-badge--accent   { background: var(--at-accent); color: #fff;        border: 1px solid var(--at-accent); }
.at-badge--free     { background: var(--at-accent2); color: #0d0c11;    border: 1px solid #0d0c11; }
.at-badge--sale     { background: var(--at-accent2); color: #0d0c11;    border: 1px solid #0d0c11; }
.at-badge--soft     { background: var(--at-surface2); color: var(--at-ink); border: 1px solid var(--at-rule); }

/* ─────────────────────────────────────────────────────────────
   PRICE
   ───────────────────────────────────────────────────────────── */
.at-price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.at-price__now {
    font-family: var(--at-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: var(--at-accent);
    line-height: 1;
}

.at-price__now .woocommerce-Price-amount { color: inherit; }

.at-price__was {
    font-family: var(--at-body);
    font-size: 13px;
    color: var(--at-muted);
    text-decoration: line-through;
}

.at-price__was .woocommerce-Price-amount { color: inherit; }

.at-price__free {
    font-family: var(--at-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: var(--at-ink);
}

/* ─────────────────────────────────────────────────────────────
   SECTION TITLE
   ───────────────────────────────────────────────────────────── */
.at-section-title {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--at-rule);
}

.at-section-title__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.at-section-title h2 {
    font-family: var(--at-display);
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--at-ink);
    margin: 0;
}

.at-section-title__sub {
    font-family: var(--at-body);
    font-size: 14px;
    color: var(--at-muted);
    margin: 8px 0 0;
}

.at-see-all {
    font-family: var(--at-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--at-ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1.5px solid var(--at-ink);
    padding-bottom: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.15s, border-color 0.15s;
}

.at-see-all:hover {
    color: var(--at-accent);
    border-bottom-color: var(--at-accent);
}

/* Kicker */
.at-kicker {
    font-family: var(--at-mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--at-accent);
    margin-bottom: 8px;
    display: block;
}

/* ─────────────────────────────────────────────────────────────
   SECTIONS — common
   ───────────────────────────────────────────────────────────── */
.at-section {
    padding: 48px 0;
}

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.at-hero {
    padding: 64px 0 56px;
    border-bottom: 1px solid var(--at-rule);
    background: var(--at-paper);
    position: relative;
    overflow: hidden;
}

.at-hero__layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 56px;
    align-items: center;
}

.at-hero__kicker {
    font-family: var(--at-mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--at-accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.at-hero__pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--at-accent);
    display: inline-block;
    animation: at-pulse 2s ease-in-out infinite;
}

.at-hero__heading {
    font-family: var(--at-display);
    font-weight: 700;
    font-size: 88px;
    line-height: 0.9;
    letter-spacing: -3px;
    color: var(--at-ink);
    margin: 0;
}

.at-hero__accent { color: var(--at-accent); }

.at-hero__sub {
    font-family: var(--at-body);
    font-size: 18px;
    line-height: 1.55;
    color: var(--at-ink2);
    margin-top: 28px;
    max-width: 540px;
}

.at-hero__actions {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.at-hero__social-proof {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.at-hero__avatars {
    display: flex;
}

.at-hero__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--at-paper);
    background: var(--at-surface2);
    flex-shrink: 0;
}

.at-hero__avatar:not(:first-child) { margin-left: -10px; }
.at-hero__avatar:nth-child(1) { background: #fbeed6; }
.at-hero__avatar:nth-child(2) { background: #e7e0f4; }
.at-hero__avatar:nth-child(3) { background: #dbe9da; }
.at-hero__avatar:nth-child(4) { background: #f6d5cf; }

.at-hero__review-text {
    font-family: var(--at-body);
    font-size: 13px;
    color: var(--at-ink2);
}

.at-hero__stars {
    color: var(--at-accent);
    letter-spacing: -1px;
    font-size: 14px;
}

/* Deal of the week card — always dark */
.at-hero__deal {
    background: #0d0c11 !important;
    color: #fbf8f1 !important;
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.at-hero__deal-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--at-accent);
    opacity: 0.18;
    pointer-events: none;
}

.at-hero__deal .at-badge--accent { margin-bottom: 16px; display: inline-flex; }

.at-hero__deal-img-wrap {
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    width: 100%;
    margin-bottom: 16px;
}

.at-hero__deal-img-link {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.at-hero__deal-img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 12px;
}

.at-hero__deal-title {
    font-family: var(--at-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.1;
    margin-top: 18px;
    color: #fbf8f1;
}

.at-hero__deal-title a { color: inherit; text-decoration: none; }

.at-hero__deal-sub {
    font-family: var(--at-body);
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin-top: 6px;
    line-height: 1.4;
}

.at-hero__deal-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 18px;
}

.at-hero__deal-now {
    font-family: var(--at-display);
    font-weight: 700;
    font-size: 34px;
    color: var(--at-accent2);
    letter-spacing: -1px;
}

.at-hero__deal-now .woocommerce-Price-amount { color: inherit; }

.at-hero__deal-was {
    font-family: var(--at-body);
    font-size: 16px;
    text-decoration: line-through;
    color: rgba(255,255,255,0.45);
}

.at-hero__deal-was .woocommerce-Price-amount { color: inherit; }

.at-hero__deal-pct {
    font-family: var(--at-mono);
    font-size: 11px;
    color: var(--at-accent2);
    letter-spacing: 1px;
    margin-left: auto;
}

.at-hero__deal .at-btn--primary { margin-top: 14px; width: 100%; }

/* ─────────────────────────────────────────────────────────────
   TRUST STRIP
   ───────────────────────────────────────────────────────────── */
.at-trust-strip {
    border-bottom: 1px solid var(--at-rule);
    background: var(--at-surface2);
    padding: 20px 0;
}

.at-trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.at-trust-strip__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.at-trust-strip__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--at-surface);
    border: 1px solid var(--at-rule);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.at-trust-strip__label {
    font-family: var(--at-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--at-ink);
    line-height: 1.2;
}

.at-trust-strip__sub {
    font-family: var(--at-body);
    font-size: 11px;
    color: var(--at-muted);
    line-height: 1.3;
}

/* ─────────────────────────────────────────────────────────────
   CATEGORIES SECTION
   ───────────────────────────────────────────────────────────── */
.at-categories-section { padding: 72px 0 24px; }

.at-categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.at-cat-tile {
    background: var(--at-surface);
    border: 1px solid var(--at-rule);
    border-radius: 14px;
    padding: 16px;
    text-decoration: none;
    color: var(--at-ink);
    display: flex;
    flex-direction: column;
    gap: 12px;
    aspect-ratio: 1 / 1.05;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
    position: relative;
    overflow: hidden;
}

.at-cat-tile:hover {
    border-color: var(--at-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.at-cat-tile__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--at-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--at-accent);
    flex-shrink: 0;
}

.at-cat-tile__body { margin-top: auto; }

.at-cat-tile__name {
    font-family: var(--at-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.2px;
    color: var(--at-ink);
}

.at-cat-tile__count {
    font-family: var(--at-mono);
    font-size: 10px;
    color: var(--at-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ─────────────────────────────────────────────────────────────
   FEATURED RELEASE
   ───────────────────────────────────────────────────────────── */
.at-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.at-featured-card {
    background: var(--at-surface);
    border: 1px solid var(--at-rule);
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: center;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.at-featured-card:hover {
    border-color: color-mix(in srgb, var(--at-accent) 40%, var(--at-rule));
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.at-featured-card__img img,
.at-featured-card__img .at-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 14px;
    object-fit: cover;
    display: block;
}

.at-featured-card__body { display: flex; flex-direction: column; gap: 6px; }

.at-featured-card__title {
    font-family: var(--at-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.1;
    color: var(--at-ink);
    margin: 12px 0 4px;
}

.at-featured-card__title a { color: inherit; text-decoration: none; }
.at-featured-card__title a:hover { color: var(--at-accent); }

.at-featured-card__meta {
    font-family: var(--at-mono);
    font-size: 11px;
    color: var(--at-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.at-featured-card__desc {
    font-family: var(--at-body);
    font-size: 14px;
    color: var(--at-ink2);
    line-height: 1.5;
}

.at-featured-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

/* ─────────────────────────────────────────────────────────────
   PRODUCT GRIDS
   ───────────────────────────────────────────────────────────── */
.at-product-grid {
    display: grid;
    gap: 16px;
    align-items: stretch; /* explicit: all grid cells stretch to row height */
}

.at-product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.at-product-grid--5 { grid-template-columns: repeat(5, 1fr); }
.at-product-grid--6 { grid-template-columns: repeat(6, 1fr); }

/* Force grid items to fill their cell — overrides any Ecomall .product rules */
.at-product-grid > .at-product-card,
.at-archive-grid > .at-product-card {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0;
}

/* ─────────────────────────────────────────────────────────────
   PRODUCT CARD
   ───────────────────────────────────────────────────────────── */
.at-product-card {
    background: var(--at-surface);
    border: 1px solid var(--at-rule);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* fill grid cell so flex layout can pin footer to bottom */
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    position: relative;
}

.at-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    border-color: color-mix(in srgb, var(--at-accent) 30%, var(--at-rule));
}

.at-product-card__ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.at-product-card__img {
    padding: 14px;
    position: relative;
}

.at-product-card__img img,
.at-product-card__thumb {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.at-product-card__wishlist {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--at-surface);
    border: 1px solid var(--at-rule);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--at-muted);
    transition: color 0.15s, border-color 0.15s;
    cursor: pointer;
    opacity: 0;
    z-index: 3;
}

.at-product-card:hover .at-product-card__wishlist { opacity: 1; }
.at-product-card__wishlist:hover { color: var(--at-accent); border-color: var(--at-accent); }

.at-product-card__body {
    padding: 4px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.at-product-card__meta {
    font-family: var(--at-mono);
    font-size: 10px;
    color: var(--at-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.at-product-card__title {
    font-family: var(--at-display);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.3px;
    color: var(--at-ink);
    margin: 0;
}

.at-product-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.at-product-card__title a:hover { color: var(--at-accent); }

.at-product-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--at-muted);
    font-family: var(--at-body);
}

.at-product-card__stars {
    color: var(--at-accent);
    letter-spacing: -1px;
    font-size: 11px;
}

.at-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: auto; /* pin footer to bottom of card — aligns buttons across all cards */
    padding-top: 10px;
}

/* Price in card context: column layout so sale+original never wrap weirdly */
.at-product-card .at-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex-shrink: 0;
}
.at-product-card .at-price__now,
.at-product-card .at-price__free {
    font-size: 16px;
    line-height: 1.2;
}
.at-product-card .at-price__was {
    font-size: 11px;
    line-height: 1.2;
    order: 2; /* strikethrough always below current price */
}

/* List view variant */
.at-archive-grid.list-view {
    grid-template-columns: 1fr;
}

.at-archive-grid.list-view .at-product-card {
    flex-direction: row;
    border-radius: 12px;
    align-items: center;
    gap: 0;
}

.at-archive-grid.list-view .at-product-card__img {
    width: 100px;
    flex-shrink: 0;
    padding: 12px;
}

.at-archive-grid.list-view .at-product-card__img img { aspect-ratio: 1/1; }

.at-archive-grid.list-view .at-product-card__body {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 16px;
}

.at-archive-grid.list-view .at-product-card__title { flex: 1; min-width: 160px; }
.at-archive-grid.list-view .at-product-card__rating { flex-shrink: 0; }
.at-archive-grid.list-view .at-product-card__footer { margin-top: 0; }

/* ─────────────────────────────────────────────────────────────
   BUNDLES BAND
   ───────────────────────────────────────────────────────────── */
.at-bundles-band {
    background: var(--at-surface2);
    border-top: 1px solid var(--at-rule);
    border-bottom: 1px solid var(--at-rule);
    padding: 48px 0;
}

.at-bundles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.at-bundle-card {
    background: var(--at-surface);
    border: 1px solid var(--at-rule);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
}

.at-bundle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.at-bundle-card__img {
    background: var(--at-surface2);
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.at-bundle-card__img a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.at-bundle-card__img img,
.at-bundle-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 12px;
}

.at-bundle-card__body { padding: 18px; }

.at-bundle-card__title {
    font-family: var(--at-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.1;
    color: var(--at-ink);
    margin: 0 0 6px;
}

.at-bundle-card__title a { color: inherit; text-decoration: none; }
.at-bundle-card__title a:hover { color: var(--at-accent); }

.at-bundle-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.at-bundle-card__price {
    font-family: var(--at-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--at-ink);
}

/* ─────────────────────────────────────────────────────────────
   FREE VST BAND — always #eef1d6
   ───────────────────────────────────────────────────────────── */
.at-free-vst-band {
    padding: 64px 0;
    background: #eef1d6 !important;
    border-top: 1px solid rgba(13,12,17,0.1);
    border-bottom: 1px solid rgba(13,12,17,0.1);
    color: #0d0c11 !important;
    position: relative;
    overflow: hidden;
}

.at-free-vst-band .at-product-card {
    background: #fff;
    border-color: rgba(13,12,17,0.12);
}

.at-free-vst-band .at-product-card__title,
.at-free-vst-band .at-product-card__meta,
.at-free-vst-band .at-price__now,
.at-free-vst-band .at-price__free {
    color: #0d0c11;
}

.at-free-vst-band__bg-text {
    position: absolute;
    right: -40px;
    bottom: -100px;
    font-family: var(--at-display);
    font-weight: 700;
    font-size: 360px;
    line-height: 0.8;
    letter-spacing: -10px;
    color: rgba(13,12,17,0.06);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.at-free-vst-band__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.at-free-vst-band__heading {
    font-family: var(--at-display);
    font-weight: 700;
    font-size: 52px;
    line-height: 0.95;
    letter-spacing: -1.5px;
    color: #0d0c11 !important;
    margin: 0;
}

.at-free-vst-band__sub {
    font-family: var(--at-body);
    font-size: 15px;
    color: #1a1820 !important;
    margin-top: 12px;
    max-width: 540px;
    line-height: 1.5;
}

.at-free-vst-band .at-kicker { color: #0d0c11 !important; }

.at-free-vst-band .at-product-card__title a,
.at-free-vst-band .at-product-card__title,
.at-free-vst-band .at-product-card__meta,
.at-free-vst-band .at-product-card__desc,
.at-free-vst-band p,
.at-free-vst-band h3,
.at-free-vst-band .at-price__now,
.at-free-vst-band .at-price__free {
    color: #0d0c11 !important;
}

.at-free-vst-band .at-product-grid { position: relative; z-index: 1; }

/* Override buttons inside free band */
.at-free-vst-band .at-btn--secondary {
    background: #0d0c11;
    color: #fbf8f1;
    border-color: #0d0c11;
}

/* ─────────────────────────────────────────────────────────────
   BLOG SECTION
   ───────────────────────────────────────────────────────────── */
.at-blog-section { padding: 72px 0; }

.at-blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.at-blog-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.at-blog-card--no-img {
    background: var(--at-surface);
    border: 1px solid var(--at-rule);
    border-radius: 16px;
    padding: 28px;
    gap: 12px;
    transition: border-color 0.2s;
}

.at-blog-card--no-img:hover {
    border-color: var(--at-accent);
}

.at-blog-card__img {
    overflow: hidden;
    border-radius: 14px;
    background: var(--at-surface2);
}

.at-blog-card__img a {
    display: block;
    overflow: hidden;
    border-radius: 14px;
}

.at-blog-card__img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
}

.at-blog-card__meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.at-blog-card__date {
    font-family: var(--at-mono);
    font-size: 11px;
    color: var(--at-muted);
    letter-spacing: 0.6px;
}

.at-blog-card__title {
    font-family: var(--at-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin: 0;
    color: var(--at-ink);
}

.at-blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.at-blog-card__title a:hover { color: var(--at-accent); }

.at-blog-card__excerpt {
    font-family: var(--at-body);
    font-size: 14px;
    color: var(--at-ink2);
    line-height: 1.55;
    margin: 0;
}

.at-blog-card__read-more {
    font-family: var(--at-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--at-ink);
    text-decoration: none;
    border-bottom: 1.5px solid var(--at-ink);
    padding-bottom: 2px;
    align-self: flex-start;
    transition: color 0.15s, border-color 0.15s;
}

.at-blog-card__read-more:hover {
    color: var(--at-accent);
    border-color: var(--at-accent);
}

/* ─────────────────────────────────────────────────────────────
   PLACEHOLDERS (fallback when no image)
   ───────────────────────────────────────────────────────────── */
.at-placeholder {
    background: linear-gradient(135deg, var(--at-surface2) 0%, var(--at-rule) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.at-placeholder--product { aspect-ratio: 1/1; width: 100%; border-radius: 8px; }
.at-placeholder--featured { aspect-ratio: 1/1; width: 100%; border-radius: 14px; display: block; }
.at-placeholder--deal { aspect-ratio: 16/10; width: 100%; border-radius: 12px; }
.at-placeholder--bundle { aspect-ratio: 16/10; width: 100%; border-radius: 0; }
.at-placeholder--blog { aspect-ratio: 16/10; width: 100%; border-radius: 14px; display: block; }

/* ─────────────────────────────────────────────────────────────
   FOOTER — always dark
   ───────────────────────────────────────────────────────────── */
.at-footer {
    background: #0d0c11 !important;
    color: #fbf8f1 !important;
    padding: 64px 0 24px;
    margin-top: 80px;
}

.at-footer .at-logo { color: #fbf8f1; }

.at-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.at-footer__brand .at-logo { margin-bottom: 18px; }

.at-footer__tagline {
    font-family: var(--at-body);
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.65);
    margin: 18px 0 0;
    max-width: 320px;
}

.at-footer__tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.at-footer__tag {
    font-family: var(--at-mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.7);
}

.at-footer__col-title {
    font-family: var(--at-mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--at-accent2);
    margin-bottom: 18px;
}

.at-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.at-footer__links a {
    font-family: var(--at-body);
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.15s;
}

.at-footer__links a:hover { color: #fff; }

/* Newsletter band */
.at-footer__newsletter {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 32px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.at-footer__newsletter-headline {
    font-family: var(--at-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fbf8f1;
    line-height: 1.2;
}

.at-footer__newsletter-accent { color: var(--at-accent2); }

.at-footer__newsletter .at-footer__newsletter-copy p {
    font-family: var(--at-body);
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 6px 0 0;
}

.at-footer__newsletter-form,
.at-newsletter-form {
    display: flex;
    gap: 8px;
}

.at-newsletter-input,
.at-footer__newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fbf8f1;
    font-family: var(--at-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s;
}

.at-newsletter-input:focus,
.at-footer__newsletter-form input[type="email"]:focus {
    border-color: var(--at-accent2);
}

/* Bottom bar */
.at-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-family: var(--at-mono);
    font-size: 11px;
    letter-spacing: 0.4px;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
    gap: 12px;
}

.at-footer__payments {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────
   CATEGORY PAGE — Header
   ───────────────────────────────────────────────────────────── */
.at-cat-header {
    padding: 32px 0 28px;
    background: var(--at-paper);
    border-bottom: 1px solid var(--at-rule);
}

.at-breadcrumb {
    font-family: var(--at-mono);
    font-size: 11px;
    color: var(--at-muted);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.at-breadcrumb a {
    color: var(--at-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.at-breadcrumb a:hover { color: var(--at-ink); }
.at-breadcrumb span[aria-current] { color: var(--at-ink); }

.at-cat-header__layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: flex-end;
}

.at-cat-header__title {
    font-family: var(--at-display);
    font-weight: 700;
    font-size: 76px;
    line-height: 0.9;
    letter-spacing: -2.5px;
    margin: 0;
    color: var(--at-ink);
}

.at-cat-header__desc {
    font-family: var(--at-body);
    font-size: 16px;
    color: var(--at-ink2);
    line-height: 1.5;
    margin-top: 16px;
    max-width: 600px;
}

.at-cat-header__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.at-stat-tile {
    background: var(--at-surface);
    border: 1px solid var(--at-rule);
    border-radius: 12px;
    padding: 14px 16px;
}

.at-stat-tile__label {
    font-family: var(--at-mono);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--at-muted);
    text-transform: uppercase;
}

.at-stat-tile__value {
    font-family: var(--at-display);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.8px;
    line-height: 1;
    margin-top: 6px;
    color: var(--at-ink);
}

.at-stat-tile__value--accent { color: var(--at-accent); }

.at-stat-tile--link {
    text-decoration: none;
    display: block;
    transition: border-color 0.18s, transform 0.18s;
    cursor: pointer;
}
.at-stat-tile--link:hover {
    border-color: var(--at-accent);
    transform: translateY(-2px);
}

.at-stat-tile__value .woocommerce-Price-amount { color: inherit; font: inherit; }

/* ─────────────────────────────────────────────────────────────
   SUB-CATEGORY CHIPS
   ───────────────────────────────────────────────────────────── */
.at-sub-cats {
    border-bottom: 1px solid var(--at-rule);
    background: var(--at-paper);
}

.at-sub-cats__chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 28px;
    scrollbar-width: none;
    max-width: 1280px;
    margin: 0 auto;
}

.at-sub-cats__chips::-webkit-scrollbar { display: none; }

.at-chip {
    font-family: var(--at-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--at-ink2);
    background: var(--at-surface2);
    border: 1px solid var(--at-rule);
    border-radius: 6px;
    padding: 7px 14px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.at-chip:hover, .at-chip.is-active {
    color: var(--at-ink);
    border-color: var(--at-ink);
    background: var(--at-surface);
}

/* ─────────────────────────────────────────────────────────────
   ARCHIVE LAYOUT
   ───────────────────────────────────────────────────────────── */
.at-archive-layout { padding: 32px 0 72px; }

.at-archive-body {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

/* ─────────────────────────────────────────────────────────────
   FILTER RAIL
   ───────────────────────────────────────────────────────────── */
.at-filter-rail {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid var(--at-rule);
    background: var(--at-paper);
    padding: 24px 24px 24px 0;
    position: sticky;
    top: 72px; /* nav height */
    align-self: flex-start;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.at-filter-rail__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.at-filter-rail__title {
    font-family: var(--at-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--at-ink);
}

.at-filter-rail__reset {
    font-family: var(--at-body);
    font-size: 12px;
    color: var(--at-muted);
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.15s;
}

.at-filter-rail__reset:hover { color: var(--at-ink); }

/* Active chips */
.at-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 6px;
}

.at-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--at-body);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--at-ink);
    color: var(--at-paper);
    cursor: pointer;
    text-decoration: none;
}

/* Filter groups */
.at-filter-group {
    border-bottom: 1px solid var(--at-rule);
    padding-bottom: 12px;
    padding-top: 16px;
}

.at-filter-group__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-family: var(--at-mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--at-ink);
    margin-bottom: 12px;
}

.at-filter-group[data-open="false"] .at-filter-group__toggle { margin-bottom: 0; }

.at-filter-group__arrow { color: var(--at-muted); font-size: 14px; }

.at-filter-group__body {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

/* Filter items */
.at-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--at-body);
    font-size: 13px;
    color: var(--at-ink);
    cursor: pointer;
}

.at-filter-item input[type="checkbox"],
.at-filter-item input[type="radio"] {
    display: none;
}

.at-filter-item__check,
.at-filter-item__radio {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--at-ink);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

.at-filter-item__check { border-radius: 4px; }
.at-filter-item__radio { border-radius: 50%; position: relative; }

.at-filter-item input[type="checkbox"]:checked + .at-filter-item__check {
    background: var(--at-ink);
}

.at-filter-item input[type="checkbox"]:checked + .at-filter-item__check::after {
    content: '';
    display: block;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--at-paper);
    border-bottom: 2px solid var(--at-paper);
    transform: rotate(-45deg) translateY(-2px);
}

.at-filter-item input[type="radio"]:checked + .at-filter-item__radio {
    background: var(--at-ink);
}

.at-filter-item input[type="radio"]:checked + .at-filter-item__radio::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--at-paper);
}

.at-filter-item__label { flex: 1; }

.at-filter-item__count {
    font-family: var(--at-mono);
    font-size: 10px;
    color: var(--at-muted);
}

/* ─────────────────────────────────────────────────────────────
   ARCHIVE MAIN
   ───────────────────────────────────────────────────────────── */
.at-archive-main {
    flex: 1;
    min-width: 0;
    padding-left: 32px;
    background: var(--at-paper);
}

/* Toolbar */
.at-archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0 16px;
    border-bottom: 1px solid var(--at-rule);
    margin-bottom: 24px;
}

.at-archive-toolbar__count strong {
    font-family: var(--at-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--at-ink);
}

.at-archive-toolbar__count span {
    font-family: var(--at-body);
    font-size: 14px;
    color: var(--at-muted);
}

.at-archive-toolbar__controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.at-archive-toolbar__sort-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--at-body);
    font-size: 13px;
    color: var(--at-ink2);
}

.at-select {
    font-family: var(--at-body);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--at-surface);
    border: 1px solid var(--at-rule);
    color: var(--at-ink);
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}

.at-select:focus { border-color: var(--at-accent); }

/* View toggle */
.at-view-toggle {
    display: flex;
    align-items: center;
    border: 1px solid var(--at-rule);
    border-radius: 8px;
    padding: 2px;
    gap: 0;
}

.at-view-toggle__btn {
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--at-ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.at-view-toggle__btn--active,
.at-view-toggle__btn[aria-pressed="true"] {
    background: var(--at-ink);
    color: var(--at-paper);
}

/* Promo strip — always dark */
.at-promo-strip {
    background: #0d0c11 !important;
    color: #fbf8f1 !important;
    border-radius: 16px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.at-promo-strip__glow {
    position: absolute;
    right: 200px;
    top: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--at-accent);
    opacity: 0.15;
    pointer-events: none;
}

.at-promo-strip__copy { position: relative; }

.at-promo-strip__title {
    font-family: var(--at-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.1;
    color: #fbf8f1;
}

.at-promo-strip__sub {
    font-family: var(--at-body);
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}

.at-promo-strip__action {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.at-promo-strip__price {
    font-family: var(--at-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--at-accent2);
    letter-spacing: -0.8px;
    white-space: nowrap;
}

.at-promo-strip__price .woocommerce-Price-amount { color: inherit; font: inherit; }

/* No products message */
.at-no-products {
    font-family: var(--at-body);
    font-size: 15px;
    color: var(--at-muted);
    padding: 48px 0;
    text-align: center;
    grid-column: 1 / -1;
}

/* ─────────────────────────────────────────────────────────────
   PAGINATION
   ───────────────────────────────────────────────────────────── */
.at-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--at-rule);
    flex-wrap: wrap;
}

.at-pagination__page {
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--at-rule);
    background: transparent;
    color: var(--at-ink);
    font-family: var(--at-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.at-pagination__page:hover {
    border-color: var(--at-ink);
}

.at-pagination__page.is-active {
    border-color: var(--at-ink);
    background: var(--at-ink);
    color: var(--at-paper);
}

.at-pagination__gap {
    padding: 0 6px;
    color: var(--at-muted);
    font-family: var(--at-body);
}

.at-pagination__info {
    margin-left: 16px;
    font-family: var(--at-mono);
    font-size: 11px;
    color: var(--at-muted);
    letter-spacing: 0.6px;
}

/* Mobile filter toggle */
.at-filter-toggle {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    background: var(--at-ink);
    color: var(--at-paper);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-family: var(--at-body);
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    cursor: pointer;
}

/* ─────────────────────────────────────────────────────────────
   WOOCOMMERCE OVERRIDES
   ───────────────────────────────────────────────────────────── */
.woocommerce-Price-amount bdi { font: inherit; color: inherit; }
.woocommerce-Price-currencySymbol { font: inherit; color: inherit; }

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    font-family: var(--at-body);
    border-radius: 10px;
    padding: 14px 18px;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .at-hero__heading { font-size: 68px; }
    .at-categories-grid { grid-template-columns: repeat(4, 1fr); }
    .at-product-grid--5,
    .at-product-grid--6 { grid-template-columns: repeat(4, 1fr); }
    .at-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
    .at-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    .at-nav__inner { gap: 16px; }
    .at-cat-header__title { font-size: 56px; }
    .at-featured-card { grid-template-columns: 140px 1fr; }
    .at-archive-body { flex-direction: column; }
    .at-filter-rail {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--at-rule);
        padding: 24px 0;
        display: none; /* toggled by JS */
    }
    .at-filter-rail.is-open { display: block; }
    .at-archive-main { padding-left: 0; }
    .at-filter-toggle { display: inline-flex; }
    .at-bundles-grid { grid-template-columns: repeat(2, 1fr); }
    .at-blog-grid { grid-template-columns: 1fr 1fr; }
    .at-trust-strip__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .at-hero__layout { grid-template-columns: 1fr; }
    .at-hero__heading { font-size: 52px; letter-spacing: -2px; }
    .at-hero__deal { display: none; }
    .at-hero__sub { font-size: 15px; }
    .at-categories-grid { grid-template-columns: repeat(4, 1fr); }
    .at-featured-grid { grid-template-columns: 1fr; }
    .at-featured-card { grid-template-columns: 1fr; }
    .at-featured-card__img img { aspect-ratio: 16/9; }
    .at-product-grid--4,
    .at-product-grid--5,
    .at-product-grid--6 { grid-template-columns: repeat(2, 1fr); }
    .at-cat-header__layout { grid-template-columns: 1fr; }
    .at-cat-header__title { font-size: 40px; }
    .at-cat-header__stats { grid-template-columns: repeat(2, 1fr); }
    .at-footer__grid { grid-template-columns: 1fr 1fr; }
    .at-footer__newsletter { grid-template-columns: 1fr; }
    .at-nav__toggle { display: flex; }
    .at-nav__center,
    .at-nav__actions {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--at-paper);
        border-top: 1px solid var(--at-rule);
        padding: 16px 28px;
        flex-direction: column;
        align-items: flex-start;
        z-index: 99;
    }
    .at-nav.is-open .at-nav__center,
    .at-nav.is-open .at-nav__actions { display: flex; }
    .at-nav__links { flex-direction: column; }
    .at-search { max-width: 100%; }
    .at-utility-bar__left { display: none; }
    .at-promo-strip { grid-template-columns: 1fr; }
    .at-promo-strip__action { flex-direction: column; align-items: flex-start; }
    .at-free-vst-band__heading { font-size: 36px; }
    .at-free-vst-band__header { flex-direction: column; align-items: flex-start; }
    .at-free-vst-band__bg-text { font-size: 180px; }
    .at-trust-strip__grid { grid-template-columns: 1fr 1fr; }
    .at-blog-grid { grid-template-columns: 1fr; }
    .at-bundles-grid { grid-template-columns: 1fr; }
    .at-section-title h2 { font-size: 28px; }
}

@media (max-width: 480px) {
    .at-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .at-product-grid--4,
    .at-product-grid--5,
    .at-product-grid--6 { grid-template-columns: 1fr; }
    .at-hero__heading { font-size: 40px; letter-spacing: -1.5px; }
    .at-footer__grid { grid-template-columns: 1fr; }
    .at-cat-header__stats { grid-template-columns: 1fr 1fr; }
    .at-trust-strip__grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   WOOCOMMERCE SINGLE PRODUCT — dark theme overrides
   (Ecomall renders its own single product template; patch colours here)
   ───────────────────────────────────────────────────────────── */
.single-product #page,
.single-product .site-content,
.single-product #primary,
.single-product #main,
.single-product .entry-content,
.woocommerce-page.single-product .woocommerce {
    background: var(--at-paper) !important;
    color: var(--at-ink) !important;
}

/* Product title, price, meta */
.single-product .product_title,
.single-product h1, .single-product h2, .single-product h3 {
    color: var(--at-ink) !important;
    font-family: var(--at-display) !important;
}

.single-product .price, .single-product .amount,
.single-product .woocommerce-Price-amount {
    color: var(--at-ink) !important;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-product-details__short-description p,
.single-product .product .entry-summary p,
.single-product .product .entry-summary li {
    color: var(--at-ink2) !important;
}

/* Tabs / product description panel */
.single-product .wc-tabs-wrapper,
.single-product .woocommerce-tabs,
.single-product .woocommerce-Tabs-panel,
.single-product .panel,
.single-product ul.tabs,
.single-product ul.tabs li,
.single-product .woocommerce-tabs .panel {
    background: var(--at-surface) !important;
    color: var(--at-ink) !important;
    border-color: var(--at-rule) !important;
}

.single-product .woocommerce-tabs ul.tabs li a,
.single-product .woocommerce-tabs .panel h2,
.single-product .woocommerce-tabs .panel p,
.single-product .woocommerce-tabs .panel li,
.single-product .woocommerce-tabs .panel td,
.single-product .woocommerce-tabs .panel th {
    color: var(--at-ink) !important;
}

/* Related products */
.single-product .related h2,
.single-product .upsells h2 {
    color: var(--at-ink) !important;
    font-family: var(--at-display) !important;
}

/* Add to cart button */
.single-product .single_add_to_cart_button {
    background: var(--at-accent) !important;
    color: #fff !important;
    border-color: var(--at-accent) !important;
    font-family: var(--at-display) !important;
    font-weight: 600 !important;
}

/* White backgrounds Ecomall injects */
.single-product .summary,
.single-product .product,
.single-product .woocommerce-product-gallery {
    background: transparent !important;
}

/* ─────────────────────────────────────────────────────────────
   STANDARD PAGE TEMPLATE (page.php)
   ───────────────────────────────────────────────────────────── */
.at-page-main {
    background: var(--at-paper);
    padding: 60px 0 80px;
    min-height: 60vh;
    color: var(--at-ink);
}

.at-page-main__header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--at-rule);
}

.at-page-main__title {
    font-family: var(--at-display);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: var(--at-ink);
    margin: 0;
    line-height: 1.2;
}

.at-page-main__body {
    color: var(--at-ink);
    line-height: 1.75;
    font-size: 16px;
    max-width: 820px;
}

.at-page-main__body h2,
.at-page-main__body h3,
.at-page-main__body h4 {
    font-family: var(--at-display);
    color: var(--at-ink);
    margin-top: 2em;
}

.at-page-main__body p,
.at-page-main__body li,
.at-page-main__body td,
.at-page-main__body th {
    color: var(--at-ink);
}

.at-page-main__body a {
    color: var(--at-accent);
    text-decoration: underline;
}

.at-page-main__body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 24px auto;
}

.at-page-main__body table {
    width: 100%;
    border-collapse: collapse;
    background: var(--at-surface);
    border: 1px solid var(--at-rule);
    border-radius: 8px;
    overflow: hidden;
}

.at-page-main__body th,
.at-page-main__body td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--at-rule);
    text-align: left;
}

/* ─────────────────────────────────────────────────────────────
   SINGLE BLOG POST (single.php)
   ───────────────────────────────────────────────────────────── */
.at-single-post {
    background: linear-gradient(160deg, #1a1628 0%, #0f0d12 40%, #12100f 100%);
    padding: 60px 0 80px;
    min-height: 60vh;
    color: var(--at-ink);
    position: relative;
}

.at-single-post::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 80% 10%, rgba(255,77,31,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.at-single-post__article {
    width: 100%;
    background: #181620;
    border: 1px solid #2a2838;
    border-radius: 16px;
    padding: 48px;
    position: relative;
    z-index: 1;
}

.at-single-post__header {
    margin-bottom: 32px;
}

.at-single-post__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--at-accent);
    margin-bottom: 12px;
}

.at-single-post__title {
    font-family: var(--at-display);
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 800;
    color: #f5f1e8 !important;
    line-height: 1.2;
    margin: 0 0 16px;
}

.at-single-post__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--at-muted);
}

.at-single-post__sep { color: var(--at-rule); }

.at-single-post__thumb {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.at-single-post__thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.at-single-post__body {
    color: #cfcabe !important;
    font-size: 16px;
    line-height: 1.8;
    max-width: 100%;
}

.at-single-post__body h2,
.at-single-post__body h3,
.at-single-post__body h4 {
    font-family: var(--at-display);
    color: #f5f1e8 !important;
    margin-top: 2em;
}

.at-single-post__body p,
.at-single-post__body li {
    color: #cfcabe !important;
}

.at-single-post__body a {
    color: var(--at-accent);
    text-decoration: underline;
}

.at-single-post__body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.at-single-post__body blockquote {
    border-left: 3px solid var(--at-accent);
    margin: 24px 0;
    padding: 12px 20px;
    background: var(--at-surface);
    border-radius: 0 6px 6px 0;
    color: var(--at-muted);
    font-style: italic;
}

.at-single-post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--at-rule);
}

.at-single-post__tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--at-muted);
    background: var(--at-surface);
    border: 1px solid var(--at-rule);
    border-radius: 20px;
    padding: 4px 12px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.at-single-post__tag:hover {
    border-color: var(--at-accent);
    color: var(--at-accent);
}

.at-single-post__back {
    margin-top: 32px;
}

/* ─────────────────────────────────────────────────────────────
   BLOG INDEX
   ───────────────────────────────────────────────────────────── */
.at-blog-index {
    padding: 60px 0 80px;
    background: var(--at-paper);
    min-height: 60vh;
}

.at-blog-index__header {
    margin-bottom: 40px;
}

.at-blog-index__title {
    font-family: var(--at-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--at-ink);
    margin: 0 0 8px;
}

.at-blog-index__sub {
    color: var(--at-muted);
    font-size: 16px;
    margin: 0;
}

.at-blog-index__empty {
    color: var(--at-muted);
    font-size: 16px;
    padding: 40px 0;
}

.at-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

@media (max-width: 900px) {
    .at-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .at-blog-grid { grid-template-columns: 1fr; }
}

.at-blog-card {
    background: var(--at-surface);
    border: 1px solid var(--at-rule);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.18s, transform 0.18s;
}

.at-blog-card:hover {
    border-color: var(--at-accent);
    transform: translateY(-3px);
}

a.at-blog-card__thumb {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

a.at-blog-card__thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s;
}

.at-blog-card:hover a.at-blog-card__thumb img {
    transform: scale(1.04);
}

.at-blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
    gap: 8px;
}

.at-blog-card__cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--at-accent);
}

.at-blog-card__title {
    font-family: var(--at-display);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: var(--at-ink);
}

.at-blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.at-blog-card__title a:hover {
    color: var(--at-accent);
}

.at-blog-card__excerpt {
    font-size: 14px;
    color: var(--at-muted);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.at-blog-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--at-rule);
}

.at-blog-card__date {
    font-size: 12px;
    color: var(--at-muted);
}

.at-blog-card__read {
    font-size: 13px;
    font-weight: 600;
    color: var(--at-accent);
    text-decoration: none;
}

.at-blog-card__read:hover {
    text-decoration: underline;
}

.at-blog-pagination {
    display: flex;
    justify-content: center;
}

.at-blog-pagination .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.at-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid var(--at-rule);
    background: var(--at-surface);
    color: var(--at-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.at-blog-pagination .page-numbers.current,
.at-blog-pagination .page-numbers:hover {
    background: var(--at-accent);
    border-color: var(--at-accent);
    color: #fff;
}

/* ─────────────────────────────────────────────────────────────
   PRINT
   ───────────────────────────────────────────────────────────── */
@media print {
    .at-utility-bar,
    .at-nav,
    .at-cat-bar,
    .at-filter-rail,
    .at-footer { display: none !important; }
}
