/* === Amber Storefront v1.0.3 === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --brand:        #5C1010;
    --brand-hover:  #7a1515;
    --dark:         #111111;
    --dark-2:       #1a1a1a;
    --white:        #ffffff;
    --off-white:    #f8f6f3;
    --text-dark:    #1a1a1a;
    --text-mid:     #6b6b6b;
    --text-light:   #9b9b9b;
    --border:       #e8e8e8;
    --radius:       12px;
    --radius-sm:    8px;
    --header-h:     72px;
    --container:    1240px;
    --serif:        'Cormorant Garamond', Georgia, serif;
    --sans:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --status-blue:  #1a6fbc;
    --status-amber: #c47d17;
    --status-green: #1a8c55;
    --status-red:   #bc1a1a;
}

html { scroll-behavior: smooth; }
body.asf-storefront,
body.asf-auth-page {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

/* ── Container ──────────────────────────────────────── */
.asf-container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }

/* ── Typography ─────────────────────────────────────── */
.asf-page-title { font-family: var(--serif); font-size: 36px; font-weight: 400; letter-spacing: -0.5px; margin-bottom: 32px; }

/* ── Logo ───────────────────────────────────────────── */
.asf-logo-text {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--dark);
    display: block;
    line-height: 1;
}
.asf-logo-sub {
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--text-mid);
    text-transform: uppercase;
    display: block;
    text-align: center;
    margin-top: 2px;
}

/* ── Buttons ────────────────────────────────────────── */
.asf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    border: 1.5px solid transparent;
    white-space: nowrap;
}
.asf-btn--dark    { background: var(--dark); color: var(--white); border-color: var(--dark); }
.asf-btn--dark:hover { background: var(--dark-2); }
.asf-btn--outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.asf-btn--outline:hover { background: var(--dark); color: var(--white); }
.asf-btn--ghost   { background: transparent; color: var(--text-mid); border-color: var(--border); }
.asf-btn--ghost:hover { border-color: var(--dark); color: var(--dark); }
.asf-btn--full    { width: 100%; }
.asf-btn--sm      { padding: 8px 16px; font-size: 11px; }
.asf-btn--arrow   { letter-spacing: 1.5px; }

/* ── Header ─────────────────────────────────────────── */
.asf-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    gap: 24px;
}
.asf-header__logo {
    text-decoration: none;
    flex-shrink: 0;
}
.asf-header__logo .asf-logo-text { font-size: 24px; color: var(--brand); }
.asf-header__logo .asf-logo-sub  { color: var(--brand); opacity: .7; }

.asf-header__nav { flex: 1; display: flex; justify-content: center; }
.asf-nav-pill {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    background: var(--dark);
    border-radius: 99px;
    padding: 0 4px;
}
.asf-nav-pill li a {
    display: block;
    padding: 10px 18px;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .3px;
    border-radius: 99px;
    transition: background .15s;
    white-space: nowrap;
}
.asf-nav-pill li a:hover,
.asf-nav-pill li a.asf-nav-active { background: rgba(255,255,255,.15); }

.asf-header__actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.asf-header__icon {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--dark);
    position: relative;
    transition: background .15s;
}
.asf-header__icon:hover { background: var(--off-white); }

.asf-cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--brand);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 99px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}
.asf-cart-badge:empty,
.asf-cart-badge[data-count="0"] { display: none; }

/* ── Search bar ─────────────────────────────────────── */
.asf-search-bar {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 40px;
    display: none;
    align-items: center;
    gap: 16px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.asf-search-bar.asf-open { display: flex; }
.asf-search-bar form { flex: 1; display: flex; align-items: center; gap: 12px; max-width: 600px; }
.asf-search-bar input[type=search] {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 14px;
    font-family: var(--sans);
    outline: none;
}
.asf-search-bar input[type=search]:focus { border-color: var(--dark); }
.asf-search-bar button[type=submit] { background: none; border: none; cursor: pointer; color: var(--text-mid); }
.asf-search-close { background: none; border: none; cursor: pointer; font-size: 16px; color: var(--text-mid); }

/* ── Mobile nav drawer ──────────────────────────────── */
.asf-mobile-nav {
    position: fixed;
    top: 0; right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1100;
    transition: right .3s ease;
    padding: 24px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
}
.asf-mobile-nav.asf-open { right: 0; }
.asf-mobile-nav__close { align-self: flex-end; background: none; border: none; cursor: pointer; font-size: 20px; margin-bottom: 24px; }
.asf-mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.asf-mobile-nav a { display: block; padding: 12px 0; font-size: 16px; color: var(--dark); text-decoration: none; border-bottom: 1px solid var(--border); }
.asf-mobile-nav__divider { height: 16px; }

.asf-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1050;
}
.asf-overlay.asf-open { display: block; }

/* ── Side Cart ──────────────────────────────────────── */
.asf-side-cart {
    position: fixed;
    top: 0; right: -420px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 1200;
    transition: right .3s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
    box-shadow: -4px 0 24px rgba(0,0,0,.08);
}
.asf-side-cart.asf-open { right: 0; }
.asf-side-cart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.asf-side-cart__head h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.asf-side-cart__close { background: none; border: none; cursor: pointer; color: var(--text-mid); }
.asf-side-cart__items { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.asf-side-cart__empty { text-align: center; color: var(--text-light); padding: 40px 0; }

.asf-sc-item { display: flex; gap: 12px; align-items: flex-start; }
.asf-sc-item__img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.asf-sc-item__info { flex: 1; }
.asf-sc-item__name { font-size: 13px; font-weight: 500; }
.asf-sc-item__price { font-size: 14px; font-weight: 600; margin-top: 4px; }
.asf-sc-item__row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.asf-sc-item__remove {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-light);
    text-decoration: underline;
    padding: 0;
}
.asf-sc-item__remove:hover { color: var(--brand); }

.asf-side-cart__foot {
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
}
.asf-side-cart__subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}
.asf-side-cart__note { font-size: 11px; color: var(--text-light); margin-bottom: 16px; }
.asf-side-cart__actions { display: flex; gap: 12px; }
.asf-side-cart__actions .asf-btn { flex: 1; font-size: 11px; padding: 11px 16px; }

/* ── Breadcrumb ─────────────────────────────────────── */
.asf-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 28px;
    padding-top: 28px;
}
.asf-breadcrumb a { color: var(--text-light); text-decoration: none; }
.asf-breadcrumb a:hover { color: var(--dark); }

/* ── Product Grid ───────────────────────────────────── */
.asf-product-grid { display: grid; gap: 24px; }
.asf-product-grid--4col { grid-template-columns: repeat(4, 1fr); }
.asf-product-grid--3col { grid-template-columns: repeat(3, 1fr); }

/* ── Product Card ───────────────────────────────────── */
.asf-card { display: flex; flex-direction: column; }
.asf-card__image-wrap { display: block; position: relative; overflow: hidden; border-radius: var(--radius); text-decoration: none; aspect-ratio: 4/5; background: var(--off-white); }
.asf-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.asf-card__image-wrap:hover .asf-card__img { transform: scale(1.04); }
.asf-card__wish {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    opacity: 0;
    transition: opacity .2s;
}
.asf-card__image-wrap:hover .asf-card__wish { opacity: 1; }
.asf-card__wish:hover { color: var(--brand); }

.asf-card__body { padding: 12px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.asf-card__rating { display: flex; align-items: center; gap: 2px; font-size: 12px; color: #e6a817; }
.asf-star--full,
.asf-star--half { color: #e6a817; }
.asf-card__rating-count { color: var(--text-light); font-size: 11px; margin-left: 4px; }
.asf-card__vendor { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; }
.asf-card__title { font-size: 14px; font-weight: 500; }
.asf-card__title a { color: var(--dark); text-decoration: none; }
.asf-card__title a:hover { color: var(--brand); }
.asf-card__price { font-size: 14px; }
.asf-card__price del { color: var(--text-light); margin-right: 6px; font-weight: 400; }
.asf-card__price ins { text-decoration: none; font-weight: 600; }
.asf-card__price .amount { font-weight: 600; }
.asf-card__atc {
    margin-top: 8px;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .8px;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    font-family: var(--sans);
}
.asf-card__atc:hover { border-color: var(--dark); background: var(--dark); color: var(--white); }

/* ── Shop page ──────────────────────────────────────── */
.asf-shop-page { padding-bottom: 80px; }
.asf-shop-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; gap: 24px; flex-wrap: wrap; }
.asf-cat-tabs { display: flex; gap: 0; flex-wrap: wrap; }
.asf-cat-tab {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 13px;
    color: var(--text-mid);
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
    font-weight: 400;
}
.asf-cat-tab:hover { color: var(--dark); }
.asf-cat-tab--active { color: var(--dark); font-weight: 600; border-bottom-color: var(--dark); }
.asf-shop-count { font-size: 12px; color: var(--text-light); letter-spacing: .5px; white-space: nowrap; }

.asf-pagination { margin-top: 48px; display: flex; justify-content: center; }
.asf-pagination .page-numbers { display: flex; gap: 8px; list-style: none; }
.asf-pagination .page-numbers li a,
.asf-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 13px;
    color: var(--text-mid);
    border: 1.5px solid var(--border);
    transition: all .15s;
}
.asf-pagination .page-numbers li a:hover { border-color: var(--dark); color: var(--dark); }
.asf-pagination .page-numbers li .current { background: var(--dark); color: var(--white); border-color: var(--dark); }

.asf-no-products { text-align: center; padding: 80px 0; }
.asf-no-products p { font-size: 16px; color: var(--text-mid); margin-bottom: 24px; }

/* ── Product detail ─────────────────────────────────── */
.asf-product-page { padding-bottom: 80px; }
.asf-product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 80px; }

.asf-gallery__main { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); background: var(--off-white); }
.asf-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.asf-gallery__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.asf-gallery__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: none;
    padding: 0;
    transition: border-color .15s;
}
.asf-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.asf-gallery__thumb--active,
.asf-gallery__thumb:hover { border-color: var(--dark); }

.asf-product-info { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.asf-product-info__vendor { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.asf-product-info__title { font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.2; }
.asf-product-info__price { font-size: 22px; font-weight: 600; }
.asf-product-info__price del { color: var(--text-light); font-size: 16px; font-weight: 400; margin-right: 8px; }
.asf-product-info__desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.asf-product-info__option { display: flex; flex-direction: column; gap: 10px; }
.asf-option-label { font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--text-mid); }

.asf-color-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.asf-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .15s;
    padding: 0;
}
.asf-color-swatch:hover,
.asf-color-swatch.asf-selected { border-color: var(--dark); box-shadow: 0 0 0 2px white, 0 0 0 4px var(--dark); }

.asf-size-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.asf-size-chip {
    padding: 8px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    background: white;
    transition: all .15s;
    font-family: var(--sans);
}
.asf-size-chip:hover { border-color: var(--dark); }
.asf-size-chip.asf-selected { background: var(--dark); color: var(--white); border-color: var(--dark); }

.asf-size-row { display: flex; align-items: center; gap: 16px; }
.asf-size-row__divider { width: 1px; height: 24px; background: var(--border); flex-shrink: 0; }
.asf-size-custom-btn { padding: 8px 18px; font-size: 11px; white-space: nowrap; }
.asf-size-chart-link {
    display: inline-block;
    margin-top: 10px;
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: var(--text-mid);
    text-decoration: underline;
    cursor: pointer;
    font-family: var(--sans);
}
.asf-size-chart-link:hover { color: var(--dark); }

.asf-product-info__add { display: flex; gap: 16px; align-items: center; margin-top: 8px; }
.asf-btn--atc { flex: 1; padding: 14px 24px; font-size: 13px; }

.asf-out-of-stock { color: var(--text-light); font-size: 14px; }

/* ── Quantity stepper ───────────────────────────────── */
.asf-qty-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
}
.asf-qty-btn {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .1s, color .1s;
}
.asf-qty-btn:hover { background: var(--off-white); color: var(--dark); }
.asf-qty-input {
    width: 48px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    font-size: 14px;
    font-family: var(--sans);
    outline: none;
}
.asf-qty-input::-webkit-inner-spin-button,
.asf-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.asf-qty-stepper--sm .asf-qty-btn { width: 28px; height: 28px; font-size: 14px; }
.asf-qty-stepper--sm .asf-qty-input { width: 36px; height: 28px; font-size: 12px; }

/* ── Related products ───────────────────────────────── */
.asf-related { padding: 60px 0; background: var(--off-white); }
.asf-related__heading {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 32px;
}
.asf-related__heading em { font-style: italic; font-weight: 300; }

/* ── Cart page ──────────────────────────────────────── */
.asf-cart-page { padding: 40px 0 80px; }
.asf-cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.asf-cart-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.asf-cart-item:last-of-type { border-bottom: none; }
.asf-cart-item__img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.asf-cart-item__info { flex: 1; }
.asf-cart-item__name { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.asf-cart-item__price { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.asf-cart-item__remove {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    text-decoration: underline;
    margin-top: 8px;
}
.asf-cart-item__remove:hover { color: var(--brand); }
.asf-cart-actions { display: flex; gap: 12px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.asf-empty-cart { text-align: center; padding: 80px 0; }
.asf-empty-cart p { color: var(--text-mid); margin-bottom: 24px; }

/* ── Summary box (cart + checkout) ─────────────────── */
.asf-cart-summary,
.asf-checkout-summary {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 28px;
    position: sticky;
    top: calc(var(--header-h) + 20px);
}
.asf-cart-summary h2,
.asf-checkout-summary h2 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 20px; }
.asf-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.asf-summary-row:last-of-type { border-bottom: none; }
.asf-summary-row--total { font-weight: 700; font-size: 16px; margin-top: 8px; }
.asf-cart-summary .asf-btn--dark,
.asf-checkout-summary .asf-btn--dark { margin-top: 20px; }

/* ── Checkout page ──────────────────────────────────── */
.asf-checkout-page { padding: 40px 0 80px; }
.asf-checkout-login-prompt { font-size: 13px; color: var(--text-mid); margin-bottom: 32px; }
.asf-checkout-login-prompt a { color: var(--dark); font-weight: 500; }
.asf-checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.asf-checkout-billing h2 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 24px; }

/* WooCommerce form field overrides for checkout */
.asf-checkout-billing .form-row { margin-bottom: 16px; }
.asf-checkout-billing .form-row label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 6px; color: var(--text-mid); letter-spacing: .3px; }
.asf-checkout-billing .form-row input,
.asf-checkout-billing .form-row select,
.asf-checkout-billing .form-row textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 14px;
    font-family: var(--sans);
    color: var(--dark);
    background: white;
    transition: border-color .15s;
    outline: none;
    appearance: none;
}
.asf-checkout-billing .form-row input:focus,
.asf-checkout-billing .form-row select:focus,
.asf-checkout-billing .form-row textarea:focus { border-color: var(--dark); }
.asf-checkout-billing .form-row textarea { resize: vertical; min-height: 80px; }

.asf-checkout-summary { margin-top: 44px; }
.asf-checkout-summary #order_review { margin-top: 16px; }
.asf-checkout-summary .woocommerce-checkout-review-order-table { display: none; }
.asf-checkout-summary .woocommerce-checkout-payment { margin-top: 16px; }
.asf-checkout-summary .place-order { margin-top: 0; }
.asf-checkout-summary .button#place_order {
    width: 100%;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--sans);
}
.asf-create-account { margin: 20px 0; }
.asf-create-account label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.asf-create-account .create-account { margin-top: 16px; }

/* ── My Account ─────────────────────────────────────── */
.asf-account-page { padding: 40px 0 80px; }
.asf-account-layout { display: grid; grid-template-columns: 180px 1fr; gap: 48px; align-items: start; }
.asf-account-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--header-h) + 20px); }
.asf-account-nav__item {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid transparent;
    transition: color .15s;
}
.asf-account-nav__item:hover { color: var(--dark); }
.asf-account-nav__item--active { color: var(--dark); font-weight: 600; }
.asf-account-nav__item--logout { margin-top: 24px; color: var(--text-light); font-size: 13px; }

.asf-account-section { margin-bottom: 48px; }
.asf-account-section__title { font-family: var(--serif); font-size: 20px; font-weight: 400; margin-bottom: 20px; color: var(--brand); }

.asf-info-table { border-collapse: collapse; font-size: 14px; }
.asf-info-table td { padding: 8px 0; vertical-align: top; }
.asf-info-table td:first-child { width: 100px; color: var(--text-light); }
.asf-info-table td:last-child { font-weight: 500; }

.asf-address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; }
.asf-address-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.asf-address-card h3 { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--text-mid); }
.asf-address-card p,
.asf-address-card address { font-size: 13px; color: var(--text-mid); font-style: normal; }

/* ── Tables (account orders) ────────────────────────── */
.asf-table-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.asf-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.asf-table th { background: var(--off-white); padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .5px; color: var(--text-mid); text-transform: uppercase; }
.asf-table td { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: middle; }
.asf-table tr:hover td { background: rgba(248,246,243,.5); }

.asf-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
}
.asf-status--green { background: #e8f5e9; color: var(--status-green); }
.asf-status--blue  { background: #e3f2fd; color: var(--status-blue); }
.asf-status--amber { background: #fff8e1; color: var(--status-amber); }
.asf-status--red   { background: #fce4ec; color: var(--status-red); }
.asf-status--grey  { background: #f5f5f5; color: var(--text-mid); }

.asf-empty-orders { text-align: center; padding: 60px 20px; }
.asf-empty-orders p { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.asf-text-light { color: var(--text-light); font-size: 13px; }
.asf-empty-orders .asf-btn { margin-top: 24px; }

/* ── Auth pages (login / register) ─────────────────── */
body.asf-auth-page { background: var(--white); }
.asf-auth-shell { display: grid; grid-template-columns: 1fr 1fr; height: 100vh; overflow: hidden; }
.asf-auth-photo {
    position: relative;
    overflow: hidden;
    background: #2a1a12;
    height: 100vh;
}
.asf-auth-photo img,
.asf-auth-photo::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.asf-auth-photo--login   { background-image: url('images/banners/marketplace-login-signup.jpg'); background-size: cover; background-position: center top; }
.asf-auth-photo--register{ background-image: url('images/banners/marketplace-signup.jpg'); background-size: cover; background-position: center; }
.asf-auth-photo__logo {
    position: absolute;
    top: 32px;
    left: 32px;
    text-decoration: none;
    z-index: 1;
}
.asf-auth-photo__logo .asf-logo-text { color: var(--white); font-size: 28px; }
.amber-logo { display: block; }
.amber-logo--header { height: 44px; width: auto; }
.amber-logo--footer { height: 160px; width: auto; }
.amber-logo--auth   { height: 80px; width: auto; }
.asf-header__logo { display: flex; align-items: center; text-decoration: none; }
.asf-footer__logo img { display: block; }
.asf-vendor-link { color: inherit; text-decoration: none; }
.asf-vendor-link:hover { text-decoration: underline; }

.asf-auth-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 60px;
    height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
}
.asf-auth-form-inner { width: 100%; max-width: 400px; }
.asf-auth-heading { font-family: var(--serif); font-size: 40px; font-weight: 300; margin-bottom: 8px; line-height: 1.1; }
.asf-auth-subheading { color: var(--text-mid); font-size: 14px; margin-bottom: 36px; }
.asf-auth-error { background: #fce4ec; color: #c62828; border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13px; margin-bottom: 20px; }

.asf-form-field { margin-bottom: 20px; }
.asf-form-field label { display: block; font-size: 12px; font-weight: 500; color: var(--text-mid); margin-bottom: 8px; letter-spacing: .3px; }
.asf-form-field input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--sans);
    color: var(--dark);
    background: white;
    transition: border-color .15s;
    outline: none;
}
.asf-form-field input:focus { border-color: var(--dark); }
.asf-form-field__pw-wrap { position: relative; }
.asf-form-field__pw-wrap input { padding-right: 48px; }
.asf-pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    display: flex;
    align-items: center;
}
.asf-pw-toggle:hover { color: var(--dark); }

.asf-auth-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.asf-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.asf-checkbox input { width: auto; margin: 0; }
.asf-auth-link { font-size: 12px; color: var(--text-mid); text-decoration: none; }
.asf-auth-link:hover { color: var(--dark); }
.asf-auth-switch { text-align: center; margin-top: 24px; font-size: 13px; color: var(--text-mid); }
.asf-auth-switch a { color: var(--dark); font-weight: 500; text-decoration: none; }
.asf-auth-switch a:hover { text-decoration: underline; }

/* ── Footer ─────────────────────────────────────────── */
.asf-footer { background: var(--dark); color: var(--white); }
.asf-footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    padding: 60px 80px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.asf-footer__newsletter p { font-size: 20px; font-family: var(--serif); font-weight: 300; line-height: 1.5; margin-bottom: 24px; }
.asf-newsletter-form { display: flex; gap: 0; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-sm); overflow: hidden; width: 320px; }
.asf-newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    font-size: 13px;
    color: white;
    font-family: var(--sans);
    outline: none;
}
.asf-newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.asf-newsletter-form button {
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255,255,255,.3);
    padding: 12px 16px;
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: var(--sans);
    white-space: nowrap;
    transition: background .15s;
}
.asf-newsletter-form button:hover { background: rgba(255,255,255,.1); }

.asf-footer__links { display: flex; gap: 80px; }
.asf-footer__col h4 { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.asf-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.asf-footer__col a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 13px; transition: color .15s; }
.asf-footer__col a:hover { color: white; }

.asf-footer__brand {
    padding: 48px 80px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: center;
    align-items: center;
}
.asf-footer__logo { text-align: center; }
.asf-footer__logo-text {
    display: block;
    font-family: var(--serif);
    font-size: 100px;
    font-weight: 300;
    letter-spacing: 4px;
    color: rgba(255,255,255,.15);
    line-height: 1;
}
.asf-footer__logo-dots {
    display: block;
    font-size: 11px;
    letter-spacing: 6px;
    color: rgba(255,255,255,.4);
    text-align: center;
    margin-top: 8px;
}

.asf-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
}
.asf-footer__bottom p { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .5px; }
.asf-footer__social { display: flex; gap: 16px; }
.asf-footer__social a { color: rgba(255,255,255,.5); transition: color .15s; }
.asf-footer__social a:hover { color: white; }

/* ── Homepage ───────────────────────────────────────── */
.asf-home { overflow-x: hidden; }

/* Hero */
.asf-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
}
.asf-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('images/banners/marketplace-hero.jpg');
    background-size: cover;
    background-position: center top;
    opacity: .45;
}
.asf-hero__content {
    position: relative;
    z-index: 1;
    padding: 0 80px;
    max-width: 680px;
}
.asf-hero__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255,255,255,.6);
    margin-bottom: 20px;
}
.asf-hero__heading {
    font-family: var(--serif);
    font-size: 68px;
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}
.asf-hero__heading em { font-style: italic; }
.asf-hero__sub {
    font-size: 16px;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 460px;
}
.asf-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.asf-btn--white         { background: var(--white); color: var(--dark); border-color: var(--white); }
.asf-btn--white:hover   { background: var(--off-white); }
.asf-btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.asf-btn--outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* Sections */
.asf-section { }
.asf-section--pad { padding: 80px 0; }
.asf-section--light { background: var(--off-white); }
.asf-section__header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; }
.asf-section__heading {
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 36px;
}
.asf-section__heading em { font-style: italic; }
.asf-section__header .asf-section__heading { margin-bottom: 0; }
.asf-section__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-mid); text-decoration: none; }
.asf-section__link:hover { color: var(--dark); }

/* Shop by Style grid */
.asf-style-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.asf-style-card {
    display: block;
    text-decoration: none;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
}
.asf-style-card__img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform .4s ease;
}
.asf-style-card:hover .asf-style-card__img { transform: scale(1.05); }
.asf-style-card__label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
    color: white;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .5px;
}

/* Get Styled CTA */
.asf-styled-cta {
    background: var(--dark);
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.asf-styled-cta__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255,255,255,.4);
    margin-bottom: 16px;
}
.asf-styled-cta__heading {
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 300;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
}
.asf-styled-cta__heading em { font-style: italic; }
.asf-styled-cta__sub {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 440px;
}
.asf-styled-cta__cards {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.asf-stylist-card {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255,255,255,.08);
}
.asf-stylist-card--offset { margin-top: 40px; }
.asf-stylist-card__img {
    height: 240px;
    background-size: cover;
    background-position: center top;
}
.asf-stylist-card__info { padding: 16px; }
.asf-stylist-card__name { font-size: 15px; font-weight: 600; color: white; }
.asf-stylist-card__role { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* Vendor grid */
.asf-vendor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.asf-vendor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: box-shadow .2s, border-color .2s;
}
.asf-vendor-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); border-color: var(--dark); }
.asf-vendor-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--off-white);
}
.asf-vendor-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.asf-vendor-card__name { font-size: 14px; font-weight: 600; color: var(--dark); text-align: center; }
.asf-vendor-card__meta { font-size: 11px; color: var(--text-light); letter-spacing: .5px; text-transform: uppercase; }

/* Homepage responsive */
@media (max-width: 1100px) {
    .asf-style-grid { grid-template-columns: repeat(3, 1fr); }
    .asf-vendor-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .asf-hero__content { padding: 0 24px; }
    .asf-hero__heading { font-size: 48px; }
    .asf-styled-cta { padding: 60px 24px; grid-template-columns: 1fr; }
    .asf-style-grid { grid-template-columns: repeat(2, 1fr); }
    .asf-vendor-grid { grid-template-columns: repeat(2, 1fr); }
    .asf-section--pad { padding: 60px 0; }
}
@media (max-width: 600px) {
    .asf-hero__heading { font-size: 36px; }
    .asf-style-grid { grid-template-columns: repeat(2, 1fr); }
    .asf-vendor-grid { grid-template-columns: repeat(2, 1fr); }
    .asf-styled-cta__cards { flex-direction: column; }
    .asf-stylist-card--offset { margin-top: 0; }
}

/* ── WooCommerce overrides ──────────────────────────── */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info { border-radius: var(--radius-sm) !important; font-family: var(--sans) !important; }
.woocommerce-message { background: #e8f5e9 !important; border-top-color: var(--status-green) !important; }
.woocommerce-error   { background: #fce4ec !important; border-top-color: var(--status-red) !important; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
    .asf-product-grid--4col { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .asf-header { padding: 0 24px; }
    .asf-header__nav { display: none; }
    .asf-container { padding: 0 24px; }
    .asf-product-grid--4col { grid-template-columns: repeat(2, 1fr); }
    .asf-product-detail { grid-template-columns: 1fr; gap: 32px; }
    .asf-cart-layout,
    .asf-checkout-layout { grid-template-columns: 1fr; }
    .asf-account-layout { grid-template-columns: 1fr; }
    .asf-account-nav { flex-direction: row; gap: 0; position: static; border-bottom: 1px solid var(--border); }
    .asf-account-nav__item { border-bottom: 2px solid transparent; padding-bottom: 12px; }
    .asf-account-nav__item--active { border-bottom-color: var(--dark); }
    .asf-auth-shell { grid-template-columns: 1fr; height: auto; overflow: visible; }
    .asf-auth-photo { display: none; }
    .asf-auth-form-wrap { height: auto; overflow-y: visible; }
    .asf-footer__top { flex-direction: column; padding: 40px 24px; gap: 40px; }
    .asf-footer__links { gap: 40px; }
    .asf-footer__brand { padding: 32px 24px; }
    .asf-footer__logo-text { font-size: 60px; }
    .amber-logo--footer { height: 90px; }
    .asf-footer__bottom { padding: 16px 24px; flex-direction: column; gap: 12px; }
    .asf-address-grid { grid-template-columns: 1fr; }
    .asf-side-cart { width: 100%; right: -100%; }
    .asf-side-cart.asf-open { right: 0; }
    .asf-newsletter-form { width: 100%; }
}

@media (max-width: 600px) {
    .asf-product-grid--4col,
    .asf-product-grid--3col { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .asf-page-title { font-size: 28px; }
    .asf-auth-form-wrap { padding: 40px 24px; }
    .asf-cat-tabs { overflow-x: auto; }
    .asf-vs-hero { min-height: 260px; padding: 24px 16px; }
    .asf-vs-hero__row { flex-direction: column; align-items: flex-start; gap: 16px; }
    .asf-vs-toolbar__row { flex-direction: column; align-items: stretch; gap: 12px; }
    .asf-vs-search { width: 100%; }
    .asf-vs-review-row__top { flex-direction: column; }
    .asf-vs-review-row__photos { width: 100%; }
    .asf-footer__links { grid-template-columns: repeat(2,1fr); }
}

/* ── Vendor store page ────────────────────────────────── */
.asf-vs-hero {
    position: relative;
    min-height: 340px;
    background: #2a1a12 center / cover no-repeat;
    display: flex;
    align-items: flex-end;
}
.asf-vs-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 55%);
}
.asf-vs-hero__row {
    position: relative; z-index: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 28px;
}
.asf-vs-identity { display: flex; align-items: center; gap: 16px; }
.asf-vs-avatar-wrap { width: 72px; height: 72px; border-radius: 50%; background: var(--off-white); border: 3px solid var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.2); flex-shrink: 0; overflow: hidden; }
.asf-vs-avatar { width: 100%; height: 100%; object-fit: cover; }
.asf-vs-store-name { color: var(--white); font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.asf-vs-rating { display: flex; align-items: center; gap: 3px; color: var(--white); }
.asf-vs-rating .asf-star { font-size: 13px; color: rgba(255,255,255,.4); }
.asf-vs-rating .asf-star--full { color: #ffc84d; }
.asf-vs-rating__num { font-size: 13px; color: rgba(255,255,255,.85); margin-left: 6px; }

.asf-vs-follow-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    background: var(--dark, #111);
    color: var(--white);
    border: none; border-radius: 30px;
    font-size: 12px; font-weight: 600; letter-spacing: .5px;
    text-decoration: none; cursor: pointer;
    transition: background .2s;
}
.asf-vs-follow-btn:hover { background: #000; }
.asf-vs-follow-btn--active { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.5); }
.asf-vs-follow-btn__icon { font-size: 15px; line-height: 1; }

.asf-vs-toolbar { border-bottom: 1px solid var(--border); background: var(--white); }
.asf-vs-toolbar__row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.asf-vs-filter-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: none; cursor: pointer;
    font-size: 12px; font-weight: 600; letter-spacing: .5px;
    color: var(--text-dark);
}
.asf-vs-search { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 30px; padding: 8px 8px 8px 18px; gap: 8px; }
.asf-vs-search input { border: none; outline: none; font-size: 13px; width: 180px; background: none; }
.asf-vs-search button { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--off-white); color: var(--text-dark); cursor: pointer; flex-shrink: 0; }

.asf-vs-tabs { border-bottom: 1px solid var(--border); background: var(--white); }
.asf-vs-tabs .asf-container { display: flex; gap: 28px; padding-top: 20px; }
.asf-vs-tab { display: inline-block; padding-bottom: 16px; font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--text-mid); text-decoration: none; border-bottom: 2px solid transparent; transition: color .2s; }
.asf-vs-tab--active { color: var(--text-dark); font-weight: 500; }
.asf-vs-body { padding: 40px 0 80px; }
.asf-vs-empty { text-align: center; padding: 80px 0; color: var(--text-mid); }

.asf-vs-reviews { display: flex; flex-direction: column; gap: 2px; }
.asf-vs-review-row { background: var(--off-white); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.asf-vs-review-row__top { display: flex; justify-content: space-between; gap: 24px; padding: 20px 24px; }
.asf-vs-review-row__left { flex: 1; min-width: 0; }
.asf-vs-review-row__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.asf-vs-review-row__author { font-weight: 600; font-size: 13px; color: var(--text-dark); }
.asf-vs-review-row__stars { display: flex; gap: 2px; color: var(--brand); font-size: 13px; }
.asf-vs-review-row__num { font-size: 13px; color: var(--text-mid); }
.asf-vs-review-row__text { font-size: 13px; color: var(--text-mid); line-height: 1.6; max-width: 480px; }
.asf-vs-review-row__photos { display: flex; gap: 8px; flex-shrink: 0; }
.asf-vs-review-row__photo { width: 90px; height: 108px; object-fit: cover; border-radius: var(--radius-sm); }
.asf-vs-review-row__product {
    display: flex; align-items: center; gap: 14px;
    background: #f3e4d3;
    padding: 14px 24px;
}
.asf-vs-review-row__product-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.asf-vs-review-row__product-info { flex: 1; min-width: 0; }
.asf-vs-review-row__product-name { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); text-decoration: none; margin-bottom: 2px; }
.asf-vs-review-row__product-name:hover { color: var(--brand); }
.asf-vs-review-row__product-meta { font-size: 12px; color: var(--text-mid); }
.asf-vs-review-row__atc { padding: 8px 18px; font-size: 11px; white-space: nowrap; }

.asf-pagination { display: flex; justify-content: center; gap: 4px; margin-top: 40px; }
.asf-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; color: var(--text-dark); text-decoration: none; }
.asf-pagination .page-numbers.current { background: var(--brand); color: var(--white); border-color: var(--brand); }
.asf-footer__links { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }

/* ── Collection landing page ─────────────────────────────── */
.asf-cl-hero {
    position: relative;
    height: 68vh;
    min-height: 420px;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: flex-end;
}
.asf-cl-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.72) 100%);
}
.asf-cl-hero__content {
    position: relative; z-index: 1;
    width: 100%; padding: 0 0 56px;
    text-align: center;
    color: var(--white);
}
.asf-cl-hero__title {
    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 400;
    letter-spacing: -.5px;
    line-height: 1;
    margin-bottom: 16px;
    color: var(--white);
}
.asf-cl-hero__title em { font-style: italic; font-weight: 300; }
.asf-cl-hero__badge {
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.asf-cl-hero__sub { font-size: 14px; color: rgba(255,255,255,.65); max-width: 420px; margin: 0 auto; line-height: 1.6; }

.asf-cl-section { padding: 64px 0 80px; background: var(--off-white); }
.asf-cl-eyebrow { font-size: 10px; letter-spacing: 3px; font-weight: 600; color: var(--brand); text-transform: uppercase; margin-bottom: 6px; }
.asf-cl-heading { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); font-weight: 400; margin-bottom: 36px; color: var(--text-dark); }
.asf-cl-heading em { font-style: italic; }
.asf-cl-empty { color: var(--text-mid); padding: 48px 0; }
.asf-cl-empty a { color: var(--brand); }

/* Bento grid — 4 tiles */
.asf-cl-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 300px 240px;
}
.asf-cl-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-end;
    background: #222;
    background-size: cover;
    background-position: center 15%;
    text-decoration: none;
    transition: transform .35s ease;
}
.asf-cl-tile:hover { transform: scale(1.015); }
.asf-cl-tile__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%);
    transition: background .3s;
}
.asf-cl-tile:hover .asf-cl-tile__overlay { background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 60%); }
.asf-cl-tile__body {
    position: relative; z-index: 1;
    padding: 20px 24px;
    color: var(--white);
}
.asf-cl-tile__name {
    font-family: var(--serif);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 400;
    margin-bottom: 6px;
    line-height: 1.1;
}
.asf-cl-tile__name em { font-style: italic; font-weight: 300; }
.asf-cl-tile__desc { font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.5; max-width: 260px; }

/* Tile positions — 4 tile layout */
.asf-cl-grid--4 .asf-cl-tile--1 { grid-row: span 2; }
.asf-cl-grid--4 .asf-cl-tile--2 { }
.asf-cl-grid--4 .asf-cl-tile--3 { }
.asf-cl-grid--4 .asf-cl-tile--4 { grid-column: span 2; }

/* 3 tile layout: left tall, right 1, full-width bottom */
.asf-cl-grid--3 {
    grid-template-rows: 300px 240px;
}
.asf-cl-grid--3 .asf-cl-tile--1 { grid-row: span 1; }
.asf-cl-grid--3 .asf-cl-tile--3 { grid-column: span 2; }

/* 2 tile layout: side by side */
.asf-cl-grid--2 { grid-template-rows: 360px; }
.asf-cl-grid--1 { grid-template-rows: 400px; grid-template-columns: 1fr; }

@media (max-width: 768px) {
    .asf-cl-grid, .asf-cl-grid--4, .asf-cl-grid--3, .asf-cl-grid--2 {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
    .asf-cl-tile, .asf-cl-grid--4 .asf-cl-tile--1, .asf-cl-grid--4 .asf-cl-tile--4,
    .asf-cl-grid--3 .asf-cl-tile--3 {
        grid-row: span 1; grid-column: span 1;
        height: 260px;
    }
    .asf-cl-hero { height: 56vh; min-height: 320px; }
    .asf-footer__links { grid-template-columns: repeat(2,1fr); }
}
