/* ============================================================
   WHITE AUDITION — Tasarım Sistemi
   Tüm .ah-* sınıflarını yeniden tanımlar; görsel kimlik değişir,
   view HTML'i Muzayede ile aynı kalır.
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
    --ah-color-dark:             #111010;
    --ah-color-primary:          var(--ah-color-primary);
    --ah-color-primary-dk:       var(--ah-color-primary-dk);
    --ah-color-primary-lt:       #F7F0E4;
    /* Gold for TEXT on light backgrounds (var(--ah-color-primary) is only 2.3:1 on white).
       var(--ah-color-primary) stays for fills, borders and text on dark backgrounds (see the dark-surface block at the end). */
    --ah-color-primary-text:     #806A43;
    --ah-color-text:             #1C1917;
    --ah-color-text-muted:       #6B6560;
    --ah-color-text-light:       #736C65;   /* 5:1 on white (was #9E9790, 2.9:1) */
    --ah-color-text-secondary:   #6B6560;
    --ah-color-bg:               #FFFFFF;
    --ah-color-bg-warm:          #FAFAF8;
    --ah-color-bg-light:         #F4F1EB;
    --ah-color-border:           #E9E4DC;
    --ah-color-border-lt:        #F0ECE5;
    --ah-color-border-md:        #E4DDD3;
    --ah-color-surface:          #FFFFFF;
    --ah-font-body:              var(--ah-font-body);
    --ah-font-serif:             var(--ah-font-serif);
    --ah-radius-sm:              6px;
    --ah-radius-md:              10px;
    --ah-radius-lg:              16px;
    --ah-radius-pill:            60px;
    --ah-shadow-sm:              0 1px 4px rgba(0,0,0,0.04);
    --ah-shadow-md:              0 4px 20px rgba(0,0,0,0.06);
    --ah-shadow-lg:              0 12px 40px rgba(0,0,0,0.08);
    --ah-transition:             0.18s ease;
    --ah-radius:                 var(--ah-radius-md);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--ah-font-body);
    background: var(--ah-color-bg);
    color: var(--ah-color-text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
a:hover { color: var(--ah-color-primary-text); }
h1, h2, h3, h4, .ah-serif { font-family: var(--ah-font-serif); }
img { max-width: 100%; height: auto; display: block; }

/* ---- Container ---- */
.ah-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---- Section Header ---- */
.ah-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--ah-color-border);
    padding-bottom: 10px;
    gap: 8px;
}
.ah-section-header h2,
.ah-section-title {
    font-size: 1.75rem;
    font-weight: 500;
    font-family: var(--ah-font-serif);
    color: var(--ah-color-text);
}
.ah-section-link {
    color: var(--ah-color-primary-text);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--ah-transition);
}
.ah-section-link:hover { text-decoration: underline; color: var(--ah-color-primary-dk); }
.ah-section-intro {
    color: var(--ah-color-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 680px;
    margin: -4px 0 20px;
}

/* ---- Buttons ---- */
.ah-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: var(--ah-radius-pill);
    font-family: var(--ah-font-body);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    border: none;
    transition: all var(--ah-transition);
    text-decoration: none;
    letter-spacing: 0.01em;
}
.ah-btn-primary {
    background: var(--ah-color-dark);
    color: #fff;
}
.ah-btn-primary:hover {
    background: #333;
    color: #fff;
    transform: translateY(-1px);
}
.ah-btn-dark {
    background: var(--ah-color-dark);
    color: #fff;
}
.ah-btn-dark:hover { background: #333; color: #fff; }
.ah-btn-outline {
    background: transparent;
    border: 1px solid var(--ah-color-border);
    color: var(--ah-color-text);
}
.ah-btn-outline:hover {
    background: var(--ah-color-dark);
    color: #fff;
    border-color: var(--ah-color-dark);
}
.ah-btn-ghost {
    background: var(--ah-color-bg-light);
    color: var(--ah-color-text);
    border: none;
}
.ah-btn-ghost:hover { background: var(--ah-color-dark); color: #fff; }
.ah-btn-white {
    background: #fff;
    color: var(--ah-color-dark);
    border: none;
}
.ah-btn-white:hover { background: var(--ah-color-bg-warm); }
.ah-btn-outline-white {
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    background: transparent;
}
.ah-btn-outline-white:hover { background: rgba(255,255,255,0.12); }
.ah-btn:disabled, .ah-btn[disabled] { opacity: 0.45; pointer-events: none; }
.ah-btn-sm { padding: 7px 16px; font-size: 0.78rem; }
.ah-btn-full { width: 100%; }

/* ---- Section ---- */
.ah-section { padding: 40px 0; }
.ah-section-sm { padding: 24px 0; }
.ah-section-lg { padding: 72px 0; }
.ah-section-footer { text-align: center; margin-top: 32px; }

/* ---- Banner ---- */
.ah-banner {
    background: var(--ah-color-bg-warm);
    border-radius: var(--ah-radius-lg);
    padding: 40px 28px;
    text-align: center;
    border: 1px solid var(--ah-color-border);
    margin: 48px 0;
}
.ah-banner h4 { font-size: 1.5rem; font-family: var(--ah-font-serif); margin-bottom: 10px; }
.ah-banner p { margin-bottom: 20px; color: var(--ah-color-text-muted); max-width: 580px; margin-left: auto; margin-right: auto; }

/* ---- Page Hero ---- */
.ah-page-hero {
    background: var(--ah-color-bg-warm);
    padding: 32px 0;
    border-bottom: 1px solid var(--ah-color-border-lt);
    margin-bottom: 36px;
}
.ah-page-hero h1 { font-size: 2rem; font-weight: 500; color: var(--ah-color-text); margin-bottom: 8px; }
.ah-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--ah-color-text-muted);
}
.ah-breadcrumb a { color: var(--ah-color-text-muted); }
.ah-breadcrumb a:hover { color: var(--ah-color-primary-text); }
.ah-breadcrumb .sep { opacity: 0.4; }
.ah-breadcrumb-current { color: var(--ah-color-primary-text); font-weight: 500; }

/* ---- Badge ---- */
.ah-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1;
}
.ah-badge-primary { background: var(--ah-color-primary-lt); color: var(--ah-color-primary-dk); }
.ah-badge-success { background: #E8F4EE; color: #2A7A50; }
.ah-badge-warning { background: #FEF2E6; color: #B85C38; }
.ah-badge-danger  { background: #FDECEA; color: #B03030; }
.ah-badge-dark    { background: var(--ah-color-dark); color: #fff; }

/* ---- Toast ---- */
.ah-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ah-color-dark);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--ah-radius-pill);
    z-index: 9999;
    font-size: 0.88rem;
    pointer-events: none;
    animation: wa-toast-in 0.3s ease;
}
@keyframes wa-toast-in {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---- Input ---- */
.ah-input {
    padding: 11px 16px;
    border-radius: var(--ah-radius-md);
    border: 1px solid var(--ah-color-border);
    font-family: var(--ah-font-body);
    font-size: 0.92rem;
    background: var(--ah-color-bg);
    color: var(--ah-color-dark);
    width: 100%;
    transition: border-color var(--ah-transition);
}
.ah-input:focus { outline: none; border-color: var(--ah-color-primary); box-shadow: 0 0 0 3px rgba(30,45,79,0.12); }
.ah-textarea { border-radius: var(--ah-radius-sm) !important; resize: vertical; min-height: 100px; }

/* ---- Tabs ---- */
.ah-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--ah-color-border);
    margin-bottom: 32px;
}
.ah-tab-btn {
    background: none;
    border: none;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--ah-color-text-muted);
    transition: color var(--ah-transition);
    position: relative;
    font-family: var(--ah-font-body);
}
.ah-tab-btn.active { color: var(--ah-color-text); }
.ah-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ah-color-dark);
}
.ah-tab-content { display: none; }
.ah-tab-content.active { display: block; }

/* ---- Empty State ---- */
.ah-empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--ah-color-text-light);
    background: var(--ah-color-bg-warm);
    border-radius: var(--ah-radius-lg);
    border: 1px dashed var(--ah-color-border);
}
.ah-empty i { font-size: 2rem; margin-bottom: 16px; opacity: 0.35; display: block; }

/* ---- Overlay ---- */
.ah-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
}
.ah-overlay.active { opacity: 1; visibility: visible; }

/* ---- Utility ---- */
.ah-text-primary { color: var(--ah-color-primary-text) !important; }
.ah-text-gold    { color: var(--ah-color-primary-text); }
.ah-text-muted   { color: var(--ah-color-text-muted); }
.ah-link-primary { color: var(--ah-color-primary-text); font-weight: 500; }
.ah-link-primary:hover { color: var(--ah-color-primary-dk); text-decoration: underline; }
.ah-mt-0 { margin-top: 0 !important; }
.ah-page-hero-sm { padding: 18px 0; }

/* ---- Card ---- */
.ah-card {
    background: var(--ah-color-bg);
    border: 1px solid var(--ah-color-border-lt);
    border-radius: var(--ah-radius-md);
    overflow: hidden;
}

/* ---- Tag ---- */
.ah-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--ah-color-bg-light);
    color: var(--ah-color-text-muted);
    border-radius: var(--ah-radius-pill);
    font-size: 0.72rem;
    font-weight: 500;
    margin-right: 5px;
    margin-bottom: 4px;
    transition: background var(--ah-transition);
    border: 1px solid var(--ah-color-border-lt);
}
.ah-tag:hover { background: var(--ah-color-dark); color: #fff; border-color: var(--ah-color-dark); }

/* ---- Btn danger/warning ---- */
.ah-btn-danger  { background: #B03030; color: #fff; border: none; }
.ah-btn-danger:hover  { background: #8c2020; color: #fff; }
.ah-btn-warning { background: #8B6000; color: #fff; border: none; }
.ah-btn-warning:hover { background: #6e4c00; color: #fff; }

/* ---- Search bar ---- */
.ah-search-bar { display: flex; gap: 10px; align-items: center; }
.ah-search-bar .ah-input { flex: 1; }

/* ---- Product Grid ---- */
.ah-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

/* ---- Pagination ---- */
.ah-pagination {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}
.ah-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: var(--ah-radius-sm);
    border: 1px solid var(--ah-color-border);
    background: var(--ah-color-bg);
    color: var(--ah-color-text-muted);
    font-size: 0.88rem;
    transition: all var(--ah-transition);
    cursor: pointer;
    text-decoration: none;
}
.ah-page-btn:hover, .ah-page-btn.active {
    background: var(--ah-color-dark);
    color: #fff;
    border-color: var(--ah-color-dark);
}

/* ---- Detail Layout ---- */
.ah-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.ah-gallery { min-width: 0; }
.ah-detail-info { display: flex; flex-direction: column; }
.ah-detail-title { font-family: var(--ah-font-serif); font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 12px; }
.ah-detail-short-desc { color: var(--ah-color-text-muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 16px; }
.ah-detail-purchase { margin-top: 16px; }
.ah-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ah-detail-tabs { margin-top: 52px; border-top: 1px solid var(--ah-color-border-lt); padding-top: 32px; }
.ah-product-flag {
    display: inline-block;
    background: var(--ah-color-dark);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: var(--ah-radius-pill);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}

/* ---- Subcategory grid ---- */
.ah-subcategory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-bottom: 32px; }
.ah-subcategory-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 16px 12px; background: var(--ah-color-bg-warm);
    border: 1px solid var(--ah-color-border-lt); border-radius: var(--ah-radius-md);
    text-align: center; font-weight: 500; font-size: 0.88rem;
    transition: all var(--ah-transition);
}
.ah-subcategory-card:hover { background: var(--ah-color-dark); color: #fff; border-color: var(--ah-color-dark); }
.ah-subcategory-card img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--ah-radius-sm); }

/* ---- Catalog ---- */
.ah-catalog-header { margin-bottom: 24px; }
.ah-catalog-title { font-family: var(--ah-font-serif); font-size: 2rem; font-weight: 500; margin-bottom: 8px; }
.ah-catalog-desc { color: var(--ah-color-text-muted); font-size: 0.92rem; margin-top: 10px; }

/* ---- Blog ---- */
.ah-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 12px; }
.ah-blog-card {
    background: var(--ah-color-bg);
    border: 1px solid var(--ah-color-border-lt);
    border-radius: var(--ah-radius-lg);
    overflow: hidden;
    transition: box-shadow var(--ah-transition), transform var(--ah-transition);
    display: flex; flex-direction: column;
}
.ah-blog-card:hover { box-shadow: var(--ah-shadow-md); transform: translateY(-3px); }
.ah-blog-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; }
.ah-blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.ah-blog-card:hover .ah-blog-card-img img { transform: scale(1.03); }
.ah-blog-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ah-blog-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ah-blog-card-title { font-family: var(--ah-font-serif); font-size: 1.15rem; font-weight: 500; line-height: 1.3; }
.ah-blog-card-title a { color: var(--ah-color-text); }
.ah-blog-card-title a:hover { color: var(--ah-color-primary-text); }
.ah-blog-card-excerpt { font-size: 0.86rem; color: var(--ah-color-text-muted); line-height: 1.6; }
.ah-blog-card-meta { display: flex; gap: 16px; font-size: 0.75rem; color: var(--ah-color-text-light); margin-top: auto; }
.ah-blog-category { display: inline-block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ah-color-primary-text); font-weight: 600; margin-bottom: 8px; }
.ah-blog-read-more { color: var(--ah-color-primary-text); font-weight: 500; font-size: 0.8rem; }
.ah-blog-read-more:hover { text-decoration: underline; }
.ah-blog-grid-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin-bottom: 48px; }

/* ---- Artist / Vendor ---- */
.ah-artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.ah-artist-card {
    background: var(--ah-color-bg);
    border: 1px solid var(--ah-color-border-lt);
    border-radius: var(--ah-radius-lg);
    padding: 24px 16px;
    text-align: center;
    transition: box-shadow var(--ah-transition);
}
.ah-artist-card:hover { box-shadow: var(--ah-shadow-md); }
.ah-artist-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 2px solid var(--ah-color-border); }
.ah-artist-name { font-family: var(--ah-font-serif); font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }
.ah-artist-specialty { font-size: 0.8rem; color: var(--ah-color-text-muted); margin-bottom: 12px; }
.ah-card-link { text-decoration: none; color: inherit; display: block; }
.ah-artist-hero { background: var(--ah-color-bg-warm); border: 1px solid var(--ah-color-border-lt); border-radius: var(--ah-radius-lg); padding: 28px; }
.ah-artist-hero-inner { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.ah-artist-hero-avatar { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--ah-color-border); }
.ah-artist-hero-info { flex: 1; min-width: 220px; }

/* ---- Newsletter ---- */
.ah-newsletter {
    background: var(--ah-color-dark);
    padding: 60px 28px;
}
.ah-newsletter-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.ah-newsletter-content { flex: 1; min-width: 240px; }
.ah-newsletter-title { font-family: var(--ah-font-serif); font-size: 1.9rem; color: #fff; margin: 0 0 8px; }
.ah-newsletter-desc { font-size: 0.95rem; color: rgba(255,255,255,0.55); margin: 0; }
.ah-newsletter-form { flex: 1; min-width: 240px; }
.ah-newsletter-input-wrap {
    display: flex;
    border-radius: var(--ah-radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}
.ah-newsletter-input {
    flex: 1;
    border: none;
    background: rgba(255,255,255,0.07);
    color: #fff;
    padding: 13px 16px;
    font-size: 0.9rem;
    outline: none;
    font-family: var(--ah-font-body);
}
.ah-newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.ah-newsletter-btn {
    border: none;
    background: var(--ah-color-primary);
    color: var(--ah-color-dark);
    padding: 13px 22px;
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.18s;
    font-family: var(--ah-font-body);
    font-size: 0.85rem;
}
.ah-newsletter-btn:hover { background: var(--ah-color-primary-dk); color: #fff; }

/* ---- Cookie Bar ---- */
.ah-cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000; padding: 0 16px 16px; }
.ah-cookie-bar-inner {
    display: flex; align-items: center; gap: 16px;
    background: var(--ah-color-dark); color: #fff;
    padding: 16px 24px; border-radius: var(--ah-radius-lg);
    max-width: 880px; margin: 0 auto; flex-wrap: wrap;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
}
.ah-cookie-icon { font-size: 1.3rem; flex-shrink: 0; }
.ah-cookie-text { flex: 1; font-size: 0.82rem; color: rgba(255,255,255,0.75); margin: 0; min-width: 180px; }
.ah-cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.ah-btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.65); padding: 7px 14px; border-radius: var(--ah-radius-pill); font-family: var(--ah-font-body); font-size: 0.8rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: all var(--ah-transition); }
.ah-btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ---- Quick View ---- */
.ah-qv { position: relative; padding: 0; }
.ah-qv-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.ah-qv-gallery { padding: 24px; background: var(--ah-color-bg-warm); }
.ah-qv-main-img { border-radius: var(--ah-radius-md); overflow: hidden; margin-bottom: 10px; }
.ah-qv-img { width: 100%; max-height: 360px; object-fit: contain; }
.ah-qv-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.ah-qv-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: var(--ah-radius-sm); border: 2px solid transparent; cursor: pointer; transition: border-color 0.15s; }
.ah-qv-thumb:hover { border-color: var(--ah-color-primary); }
.ah-qv-info { padding: 28px; overflow-y: auto; max-height: 560px; }
.ah-qv-title { font-family: var(--ah-font-serif); font-size: 1.4rem; color: var(--ah-color-dark); margin: 0 0 12px; }
.ah-qv-title a { color: inherit; text-decoration: none; }
.ah-qv-short-desc { font-size: 0.88rem; color: var(--ah-color-text-muted); margin: 14px 0; line-height: 1.6; }
.ah-qv-specs { border-top: 1px solid var(--ah-color-border-lt); padding-top: 14px; margin-top: 14px; }
.ah-qv-spec-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--ah-color-border-lt); font-size: 0.82rem; }
.ah-qv-spec-name { color: var(--ah-color-text-muted); }
.ah-qv-spec-value { font-weight: 500; text-align: right; }
.ah-qv-full-link { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ah-color-border-lt); }

/* ---- Collections Grid ---- */
.ah-collections-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.ah-collection-item { position: relative; display: block; border-radius: var(--ah-radius-md); overflow: hidden; text-decoration: none; aspect-ratio: 4/3; }
.ah-collection-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.ah-collection-item:hover img { transform: scale(1.04); }
.ah-collection-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%); display: flex; align-items: flex-end; padding: 14px; }
.ah-collection-name { color: #fff; font-family: var(--ah-font-serif); font-size: 1.05rem; font-weight: 600; }

/* ---- Recently Viewed ---- */
.ah-product-grid--sm { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.ah-recently-viewed-item { display: flex; flex-direction: column; gap: 7px; }
.ah-recently-viewed-img-link { display: block; border-radius: var(--ah-radius-sm); overflow: hidden; }
.ah-recently-viewed-img-link img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.2s; }
.ah-recently-viewed-img-link:hover img { transform: scale(1.04); }
.ah-recently-viewed-name { font-size: 0.82rem; color: var(--ah-color-text); text-decoration: none; line-height: 1.3; }

/* ---- Brands ---- */
.ah-brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.ah-brand-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; background: var(--ah-color-bg-warm); border: 1px solid var(--ah-color-border-lt); border-radius: var(--ah-radius-md); padding: 16px; transition: box-shadow 0.2s; }
.ah-brand-item:hover { box-shadow: var(--ah-shadow-sm); }
.ah-brand-item img { max-height: 72px; width: 100%; object-fit: contain; }
.ah-brand-name { font-size: 0.82rem; color: var(--ah-color-text-muted); text-align: center; }

/* ---- Section title centered ---- */
.ah-section-title {
    font-family: var(--ah-font-serif);
    font-size: 1.7rem;
    color: var(--ah-color-dark);
    text-align: center;
    margin: 0 0 28px;
    position: relative;
}
.ah-section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: var(--ah-color-primary);
    margin: 10px auto 0;
}
.ah-section-footer { text-align: center; margin-top: 28px; }

/* ---- Colors ---- */
:root {
    --ah-color-success: #2A7A50;
    --ah-color-danger:  #B03030;
}

/* ---- Contact ---- */
.ah-contact-page { padding: 60px 0 80px; }
.ah-contact-title { font-size: 2.4rem; font-weight: 500; text-align: center; margin-bottom: 14px; font-family: var(--ah-font-serif); }
.ah-contact-subtitle { text-align: center; color: var(--ah-color-text-muted); max-width: 640px; margin: 0 auto 48px; font-size: 0.97rem; }
.ah-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ah-contact-info { background: var(--ah-color-bg-warm); border-radius: 24px; padding: 32px; border: 1px solid var(--ah-color-border-lt); }
.ah-contact-items { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.ah-contact-item { display: flex; gap: 18px; align-items: flex-start; }
.ah-contact-icon { width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--ah-color-primary-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; box-shadow: var(--ah-shadow-sm); }
.ah-contact-item strong { font-weight: 600; display: block; margin-bottom: 4px; font-size: 1rem; }
.ah-contact-item p { font-size: 0.9rem; color: var(--ah-color-text-muted); margin: 0 0 4px; }
.ah-contact-item a { color: var(--ah-color-primary-text); }
.ah-contact-hours { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--ah-color-border-lt); }
.ah-contact-hours h3 { font-size: 1rem; margin-bottom: 14px; font-weight: 600; }
.ah-hours-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: var(--ah-color-text-muted); font-size: 0.88rem; }
.ah-contact-social { display: flex; gap: 12px; margin-top: 24px; }
.ah-social-icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--ah-color-border-lt); display: flex; align-items: center; justify-content: center; color: var(--ah-color-text-muted); font-size: 1rem; transition: all var(--ah-transition); }
.ah-social-icon:hover { background: var(--ah-color-dark); color: #fff; border-color: var(--ah-color-dark); transform: translateY(-2px); }
.ah-contact-form-wrap { background: #fff; border-radius: 24px; padding: 32px; border: 1px solid var(--ah-color-border-lt); box-shadow: var(--ah-shadow-sm); }
.ah-contact-form-title { font-family: var(--ah-font-serif); font-size: 1.5rem; margin-bottom: 24px; font-weight: 500; }
.ah-contact-form-wrap .ah-form-group { margin-bottom: 20px; }
.ah-contact-form-wrap .ah-form-group label { display: block; font-weight: 500; margin-bottom: 7px; font-size: 0.88rem; }
.ah-contact-submit { width: 100%; border-radius: var(--ah-radius-pill); padding: 13px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ah-map-section { margin-top: 56px; }
.ah-map-title { text-align: center; font-size: 1.4rem; margin-bottom: 20px; font-weight: 500; font-family: var(--ah-font-serif); }
.ah-map-container { border-radius: 20px; overflow: hidden; box-shadow: var(--ah-shadow-sm); height: 380px; }
.ah-map-container iframe { width: 100%; height: 100%; border: 0; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .ah-contact-grid { grid-template-columns: 1fr; }
    .ah-detail-layout { grid-template-columns: 1fr; gap: 24px; }
    .ah-artist-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .ah-qv-inner { grid-template-columns: 1fr; }
    .ah-qv-gallery { display: none; }
}
@media (max-width: 768px) {
    .ah-banner { padding: 24px 16px; margin: 28px 0; }
    .ah-section-header h2, .ah-section-title { font-size: 1.35rem; }
    .ah-newsletter { padding: 40px 16px; }
    .ah-newsletter-inner { flex-direction: column; gap: 24px; }
}
@media (max-width: 600px) {
    .ah-catalog-title { font-size: 1.4rem; }
    .ah-blog-grid { grid-template-columns: 1fr; }
    .ah-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ah-artist-hero-inner { flex-direction: column; align-items: center; text-align: center; }
    .ah-cookie-bar-inner { flex-direction: column; align-items: flex-start; }
    .ah-cookie-actions { width: 100%; }
    .ah-newsletter-input-wrap { flex-direction: column; border-radius: var(--ah-radius-md); }
    .ah-newsletter-btn { width: 100%; justify-content: center; }
}

/* Footer helpers (replacing inline styles) */
.ah-footer-social { margin-top: 16px; }
.ah-footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* v-pre wrapper: keeps Vue from compiling DB text; layout-neutral */
.ah-vpre { display: contents; }

/* ---- Dark surfaces: restore light gold / light gray text tokens for everything inside them ----
   Generated from the selectors that paint a dark background; keeps text readable on both themes of surface. */
.acc-header,
.ad-hero-portrait-fade,
.ad-rel-overlay,
.ah-account-avatar,
.ah-active-filter-badge,
.ah-active-filter-badge:hover,
.ah-artist-cta-link,
.ah-artist-detail-hero,
.ah-artist-page-hero,
.ah-artist-profile-avatar,
.ah-artist-tabs-bar,
.ah-auth-submit,
.ah-auth-submit:hover,
.ah-badge-dark,
.ah-bid-box,
.ah-btn-dark,
.ah-btn-dark:hover,
.ah-btn-ghost:hover,
.ah-btn-outline:hover,
.ah-btn-primary,
.ah-btn-primary:hover,
.ah-card-badge-dark,
.ah-card__badge--dark,
.ah-checkout-step-num,
.ah-checkout-submit,
.ah-checkout-submit:hover,
.ah-cookie-bar-inner,
.ah-countdown-widget,
.ah-cta-band,
.ah-footer,
.ah-hero-fill,
.ah-hero-nav:hover,
.ah-home-sec--dark,
.ah-home-sec--dark .ah-auction-product-card,
.ah-hx-badge--shop,
.ah-hx-badge:not([class*="ah-hx-badge--"]),
.ah-hx-banner,
.ah-hx-pcard:hover .ah-hx-pcard-cart,
.ah-live-bar,
.ah-lot-number,
.ah-mu-page-hero,
.ah-newsletter,
.ah-page-btn.active,
.ah-page-btn:hover,
.ah-product-flag,
.ah-sergi-badge,
.ah-social-icon:hover,
.ah-subcategory-card:hover,
.ah-tag:hover,
.ah-toast,
.ah-vh-wrap,
.ann-bar,
.apply-btn,
.apply-btn:hover,
.artam-lot-btn--primary:hover,
.article-cover,
.article-cover-placeholder,
.article-hero,
.article-hero-overlay,
.artist-card-portrait-placeholder,
.artist-card:hover .portrait-overlay,
.artist-mini-header,
.artwork-meta-bar,
.auth-submit,
.auth-submit:hover,
.auth-tab-btn.active,
.auth-visual,
.aw-btn-apply:hover,
.blog-card-read-time,
.blog-hero,
.blog-search-btn,
.blog-search-btn:hover,
.btn-add-cart,
.btn-add-cart:hover,
.btn-bid,
.cart-checkout-btn,
.cart-checkout-btn:hover,
.cart-drawer-close:hover,
.cart-drawer-count,
.cat-page-header,
.checkout-page-header,
.cp-masonry-overlay,
.ex-card-img,
.featured-main-img,
.featured-main-overlay,
.filter-pill.active,
.fo.on .fo-check,
.gallery-badge,
.hb-line,
.hero-fade,
.highlight-box,
.las-hero,
.ld-bid-body .ah-bid-submit-btn,
.ld-bid-body .ah-bid-submit-btn:hover,
.ld-bid-body .ah-gold-upgrade-btn,
.ld-bid-countdown,
.ld-bid-panel-header,
.ld-lot-badge,
.ld-return-step-num,
.ld-toast,
.list-portrait-placeholder,
.lot-num,
.mega-promo,
.mobile-action-btn,
.mobile-action-btn:hover,
.nav-cta-live,
.newsletter-block,
.order-done-page,
.page-404,
.pd-lightbox,
.pg-btn.on,
.portrait-overlay,
.pr-empty-btn,
.pr-empty-btn:hover,
.pr-hero,
.pr-lot-action:hover,
.pr-page-btn.active,
.pr-page-btn:hover,
.pr-sf-btn,
.pr-sf-btn:hover,
.reg-submit,
.reg-submit:hover,
.return-step-num,
.search-overlay-close:hover,
.search-page-header,
.share-btn:hover,
.status-sale,
.vs-btn.on,
.wa-blog-pagination .current,
.wa-blog-pagination a:hover,
.wa-confirm-btn.primary,
.wa-confirm-btn.primary:hover,
.wa-contact-hero,
.wa-contact-submit,
.wa-kb-search-btn,
.wa-lb,
.wa-method-label:has(input:checked) .wa-method-radio,
.wc-btn-checkout,
.wc-btn-checkout:hover,
.wc-cart-empty-btn,
.wc-cart-empty-btn:hover,
.wc-cart-item-lot-badge,
.wc-coupon-btn,
.wc-coupon-btn:hover,
.wc-step-circle.active,
.wco-btn-continue,
.wco-btn-continue:hover,
.wco-section-num,
.wco-step-num.active,
.wl-lot-num-badge,
.wl-lot-status-pill.upcoming,
input:checked ~ .wa-method-radio {
    --ah-color-primary-text: var(--ah-color-primary);
    --ah-color-text-light: #9E9790;
}


/* ---- Keyboard focus (WCAG 2.4.7) ----
   Mouse clicks keep the clean look; keyboard users always see where they are. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--ah-color-primary-dk);
    outline-offset: 2px;
    border-radius: 2px;
}
.ah-input:focus-visible,
.form-control:focus-visible {
    outline: 2px solid var(--ah-color-primary-dk);
    outline-offset: 1px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---- Status badges (one palette for every lot/exhibition/cart status) ----
   All backgrounds keep white text at >= 4.5:1. Existing badge classes
   (.lot-status .status-*, .ex-card-status, .wl-lot-status-pill) use these tokens. */
:root {
    --wa-status-live:     #2A7A50;
    --wa-status-upcoming: #806A43;
    --wa-status-closed:   #5E5853;
    --wa-status-sale:     #111010;
    --wa-status-urgent:   #A3302A;
}
.wa-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    line-height: 1.4;
    color: #fff;
    background: var(--wa-status-sale);
}
.wa-status--live     { background: var(--wa-status-live); }
.wa-status--upcoming { background: var(--wa-status-upcoming); }
.wa-status--closed   { background: var(--wa-status-closed); }
.wa-status--urgent   { background: var(--wa-status-urgent); }
.wa-status--live::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
}
