/* ========================================================
   Art Haus Muzayede Teması — Ürün & Müzayede Detay
   ======================================================== */

/* ---- Detail Layout ---- */
.ah-detail-page { padding: 40px 0 80px; }
.ah-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ---- Gallery ---- */
.ah-gallery { position: sticky; top: 100px; }
.ah-gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
    display: block;
    cursor: zoom-in;
    transition: opacity 0.2s;
}
.ah-gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ah-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--ah-transition);
}
.ah-thumb.active { border-color: var(--ah-color-primary); }
.ah-thumb:hover { border-color: var(--ah-color-primary); }

/* ---- Product Info ---- */
.ah-product-info h1 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.25;
    color: var(--ah-color-text);
}
.ah-product-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--ah-color-text-muted);
    margin-bottom: 20px;
    align-items: center;
}
.ah-product-meta a { color: var(--ah-color-primary-text); }

/* ---- Price ---- */
.ah-product-price {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin: 16px 0;
}
.ah-product-price .current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ah-color-primary-text);
}
.ah-product-price .old {
    font-size: 1rem;
    color: var(--ah-color-text-light);
    text-decoration: line-through;
}
.ah-product-price .pct {
    background: var(--ah-color-primary-lt);
    color: var(--ah-color-primary-dk);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 30px;
}

/* ---- Add to Cart (normal product) ---- */
.ah-add-to-cart-group {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
}
.ah-qty-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--ah-color-border);
    border-radius: var(--ah-radius-pill);
    overflow: hidden;
}
.ah-qty-btn {
    width: 38px;
    height: 42px;
    background: var(--ah-color-bg-warm);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--ah-color-text);
    transition: all var(--ah-transition);
}
.ah-qty-btn:hover { background: var(--ah-color-primary); color: #fff; }
.ah-qty-input {
    width: 48px;
    text-align: center;
    border: none;
    font-size: 0.95rem;
    font-family: var(--ah-font-body);
    padding: 0;
    outline: none;
}
.ah-add-btn-main {
    width: 100%;
    padding: 14px 32px;
    background: var(--ah-color-primary);
    color: #fff;
    border: none;
    border-radius: var(--ah-radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--ah-transition);
    font-family: var(--ah-font-body);
}
.ah-add-btn-main:hover { background: var(--ah-color-primary-dk); transform: translateY(-1px); }
.ah-add-btn-main:disabled { opacity: 0.55; cursor: default; transform: none; }
.ah-wishlist-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--ah-color-border);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--ah-color-text-muted);
    transition: all var(--ah-transition);
}
.ah-wishlist-btn:hover, .ah-wishlist-btn.active { border-color: #e74c3c; color: #e74c3c; }

/* ---- Auction Card (Detail) ---- */
.ah-auction-box {
    background: #FEFAF5;
    border-radius: 24px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid #F1E2D0;
}
.ah-auction-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 8px;
    gap: 8px;
}
.ah-auction-bid-label { font-size: 0.82rem; color: var(--ah-color-text-muted); }
.ah-auction-bid-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ah-color-primary-text);
    font-family: var(--ah-font-serif);
}
.ah-auction-start-price { font-size: 0.85rem; color: var(--ah-color-text-muted); margin-bottom: 16px; }

/* Countdown Timer */
.ah-timer-box {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    margin: 20px 0;
    border: 1px solid #EFE5DC;
}
.ah-timer-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--ah-color-primary-text);
    margin-bottom: 4px;
}
.ah-timer-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    color: var(--ah-color-dark);
}
.ah-timer-value.urgent { color: #B85C38; animation: ah-blink 1s infinite; }
@keyframes ah-blink { 50% { opacity: 0.5; } }
.ah-timer-segments {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 0.68rem;
    color: var(--ah-color-text-muted);
}

/* Bid Input */
.ah-bid-input-group {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}
.ah-bid-input-group input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #E2D5C6;
    border-radius: 40px;
    font-size: 1rem;
    font-family: var(--ah-font-body);
    transition: border-color var(--ah-transition);
}
.ah-bid-input-group input:focus { outline: none; border-color: var(--ah-color-primary); }
.ah-bid-submit-btn {
    background: var(--ah-color-primary);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ah-transition);
    font-family: var(--ah-font-body);
    white-space: nowrap;
}
.ah-bid-submit-btn:hover { background: var(--ah-color-primary-dk); transform: translateY(-2px); }
.ah-bid-submit-btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.ah-bid-hint { font-size: 0.75rem; color: #8B7A67; }

/* Auction detail card blocks (aligned with teklif kart style) */
.ah-auction-bid-stats {
    background: #FEFAF5;
    padding: 12px;
    border-radius: 16px;
    margin: 4px 0 14px;
}
.ah-auction-bid-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.ah-auction-bid-row:last-child { margin-bottom: 0; }
.ah-auction-bid-value {
    font-weight: 600;
    color: #1E1B18;
}
.ah-auction-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 600;
}
.ah-auction-status-active {
    background: #E6F4EA;
    color: #2C7A4D;
}
.ah-auction-status-ended {
    background: #F5E6E0;
    color: #B85C38;
}
.ah-auction-time-left {
    font-size: 0.75rem;
    color: #8B7A67;
    margin-top: 8px;
}

/* Bid quick buttons */
.ah-bid-quick-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.ah-bid-quick-btn {
    padding: 6px 14px;
    background: var(--ah-color-primary-lt);
    border: none;
    border-radius: var(--ah-radius-pill);
    font-size: 0.78rem;
    color: var(--ah-color-primary-dk);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ah-transition);
    font-family: var(--ah-font-body);
}
.ah-bid-quick-btn:hover { background: var(--ah-color-primary); color: #fff; }

/* Bid History */
.ah-bid-history {
    margin-top: 20px;
    border-top: 1px solid var(--ah-color-border);
    padding-top: 18px;
}
.ah-bid-history h4 { font-size: 0.95rem; margin-bottom: 12px; }
.ah-bid-history-list { max-height: 200px; overflow-y: auto; }
.ah-bid-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--ah-color-border-lt);
    font-size: 0.85rem;
}
.ah-bid-history-bidder { font-weight: 500; color: var(--ah-color-text); }
.ah-bid-history-amount { color: var(--ah-color-primary-text); font-weight: 600; }
.ah-bid-history-time { font-size: 0.72rem; color: var(--ah-color-text-light); }
.ah-bid-history-item.winner .ah-bid-history-bidder::after {
    content: ' 👑';
    font-size: 0.75rem;
}

/* ---- Product Description / Tabs ---- */
.ah-product-desc { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ah-color-border); }
.ah-product-desc h3 { font-size: 1.15rem; margin-bottom: 12px; }
.ah-product-desc p, .ah-product-desc li {
    color: var(--ah-color-text-muted);
    line-height: 1.65;
    font-size: 0.93rem;
}
.ah-product-desc > :last-child { margin-bottom: 0; }
.ah-product-desc ul { padding-left: 20px; margin-top: 8px; }

.ah-product-specs {
    margin-top: 16px;
    background: var(--ah-color-bg-warm);
    border-radius: var(--ah-radius-md);
    padding: 16px;
}
.ah-spec-row {
    display: flex;
    gap: 16px;
    font-size: 0.88rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--ah-color-border-lt);
}
.ah-spec-row:last-child { border-bottom: none; }
.ah-spec-label { width: 140px; flex-shrink: 0; color: var(--ah-color-text-muted); font-weight: 500; }
.ah-spec-value { color: var(--ah-color-dark); }

/* ---- Product Detail — Related / Similar / Recently Viewed sections ---- */
.ah-detail-sections { margin-top: 60px; }
.ah-detail-sections .ah-section { padding: 40px 0 0; border-top: 1px solid var(--ah-color-border-lt); }

/* ---- Artist Profile Header ---- */
.ah-artist-hero {
    background: var(--ah-color-bg-warm);
    padding: 48px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--ah-color-border-lt);
}
.ah-artist-hero-inner {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}
.ah-artist-hero-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--ah-color-border);
    flex-shrink: 0;
}
.ah-artist-hero-info h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}
.ah-artist-hero-info p { color: var(--ah-color-text-muted); max-width: 600px; line-height: 1.65; }
.ah-artist-hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.ah-artist-stat { text-align: center; }
.ah-artist-stat-val { font-size: 1.4rem; font-weight: 700; color: var(--ah-color-primary-text); }
.ah-artist-stat-label { font-size: 0.75rem; color: var(--ah-color-text-muted); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .ah-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ah-gallery { position: static; }
    .ah-product-info h1 { font-size: 1.6rem; }
    .ah-auction-bid-amount { font-size: 1.8rem; }
    .ah-timer-value { font-size: 1.6rem; }
}
@media (max-width: 600px) {
    .ah-bid-input-group { flex-direction: column; }
    .ah-bid-submit-btn { width: 100%; }
    .ah-add-to-cart-group { flex-wrap: wrap; }
    .ah-add-btn-main { width: 100%; }
    .ah-artist-hero-inner { flex-direction: column; text-align: center; }
    .ah-artist-hero-stats { justify-content: center; }
}
/* Tablet (768–900px): keep 2-col but adjust proportions */
@media (min-width: 768px) and (max-width: 900px) {
    .ah-detail-layout { grid-template-columns: 1fr; gap: 28px; }
    .ah-gallery { position: static; }
    .ah-product-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .ah-tab-btn { white-space: nowrap; padding: 10px 16px; font-size: 0.88rem; }
    .ah-bid-quick-btns { gap: 6px; }
    .ah-bid-quick-btn { padding: 6px 10px; font-size: 0.82rem; }
}
/* Tablet (900–1024px): 2-col but trimmed */
@media (min-width: 900px) and (max-width: 1024px) {
    .ah-detail-layout { gap: 28px; }
    .ah-auction-box { padding: 20px; }
    .ah-product-info h1 { font-size: 1.7rem; }
}

/* ========================================================
   Price — Ürün Detay
   ======================================================== */
.ah-product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 24px;
}
.ah-price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ah-color-primary-text);
    font-family: var(--ah-font-serif);
}
.ah-price-old {
    font-size: 1.05rem;
    color: var(--ah-color-text-light);
    text-decoration: line-through;
}
.ah-price-label {
    font-size: 0.82rem;
    color: var(--ah-color-text-muted);
    margin-right: 4px;
}
.ah-price-call, .ah-price-catalog, .ah-price-base, .ah-price-reservation {
    font-size: 0.9rem;
    color: var(--ah-color-text-muted);
}

/* ========================================================
   Quantity — Ürün Detay (override for pill style)
   ======================================================== */
.ah-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ah-color-border);
    border-radius: var(--ah-radius-pill);
    overflow: hidden;
    background: #fff;
}
.ah-qty-btn {
    width: 42px;
    height: 44px;
    background: var(--ah-color-bg-warm);
    border: none;
    cursor: pointer;
    font-size: 1.15rem;
    color: var(--ah-color-text);
    transition: background var(--ah-transition), color var(--ah-transition);
    flex-shrink: 0;
}
.ah-qty-btn:hover { background: var(--ah-color-primary); color: #fff; }
.ah-qty-input {
    width: 52px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-family: var(--ah-font-body);
    padding: 0;
    outline: none;
    background: transparent;
    -moz-appearance: textfield;
}
.ah-qty-input::-webkit-outer-spin-button,
.ah-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ah-qty-unit {
    margin-left: 10px;
    font-size: 0.85rem;
    color: var(--ah-color-text-muted);
}
.ah-qty-select { border: none; padding: 8px 12px; font-family: var(--ah-font-body); }

/* ========================================================
   Product Attributes
   ======================================================== */
.ah-product-attrs { display: flex; flex-direction: column; gap: 28px; margin: 20px 0; }
.ah-attr-row { display: flex; flex-direction: column; gap: 12px; }
.ah-attr-label { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ah-attr-name { font-weight: 600; font-size: 1rem; color: var(--ah-color-text); }
.ah-attr-required { color: #B85C38; font-weight: 700; }
.ah-attr-prompt { font-size: 0.8rem; color: var(--ah-color-text-muted); margin-left: 4px; }
.ah-attr-desc { font-size: 0.82rem; color: var(--ah-color-text-muted); margin-left: 4px; }
.ah-attr-input { display: flex; flex-wrap: wrap; }

/* Hidden radio/checkbox base */
.ah-attr-radio { display: none; }

/* ---- RadioList → Pill buttons ---- */
.ah-variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.ah-variant-btn {
    background: #F4F0EB;
    border: 1px solid #E2D5C6;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    font-size: 0.9rem;
    font-family: var(--ah-font-body);
    user-select: none;
    display: inline-block;
}
.ah-variant-btn:hover {
    border-color: var(--ah-color-primary);
    color: var(--ah-color-primary-text);
}
.ah-attr-radio:checked + .ah-variant-btn {
    background: var(--ah-color-primary);
    border-color: var(--ah-color-primary);
    color: #fff;
}

/* ---- ImageSquares → Frame cards ---- */
.ah-frame-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.ah-frame-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 8px;
    width: 100px;
    transition: border-color var(--ah-transition), background var(--ah-transition);
    font-family: var(--ah-font-body);
}
.ah-frame-card:hover { border-color: var(--ah-color-border-md); }
.ah-attr-radio:checked + .ah-frame-card {
    border-color: var(--ah-color-primary);
    background: var(--ah-color-primary-lt);
}
.ah-frame-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 6px;
}
.ah-frame-name { font-size: 0.75rem; color: var(--ah-color-text-muted); line-height: 1.3; }

/* ---- ColorSquares → Color swatches ---- */
.ah-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ah-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
    transition: box-shadow var(--ah-transition);
    display: block;
}
.ah-color-swatch:hover { box-shadow: 0 0 0 2px var(--ah-color-primary); }
.ah-attr-radio:checked + .ah-color-swatch {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ah-color-primary);
}

/* ---- Checkbox attrs ---- */
.ah-check-option { width: 100%; }
.ah-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px 0;
}
.ah-check-input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--ah-color-primary); }

/* ---- Attr select ---- */
.ah-attr-select {
    border-radius: var(--ah-radius-sm);
    font-family: var(--ah-font-body);
    font-size: 0.9rem;
}

/* ---- Entered price ---- */
.ah-entered-price label { font-size: 0.85rem; color: var(--ah-color-text-muted); margin-bottom: 4px; display: block; }
.ah-price-range { font-size: 0.8rem; color: var(--ah-color-text-light); }

/* ============================================================
   PRODUCT DETAIL — Premium Auction House Design
   ============================================================ */

/* ---- Gallery Enhancement ---- */
.ah-gallery-main {
    background: #F8F6F2;
    border-radius: 4px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.ah-gallery-main-wrap {
    position: relative;
    cursor: zoom-in;
    border-radius: 4px;
    overflow: hidden;
}

/* Zoom overlay on hover */
.ah-gallery-main-wrap::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(17,16,16,0.5);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,0.8);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}
.ah-gallery-main-wrap:hover::after { opacity: 1; }

/* Thumbs */
.ah-gallery-thumbs { gap: 8px; margin-top: 12px; }
.ah-thumb {
    border-radius: 2px;
    border: 1px solid var(--ah-color-border-lt);
    opacity: 0.7;
    transition: opacity 0.18s, border-color 0.18s;
}
.ah-thumb:hover, .ah-thumb.active {
    opacity: 1;
    border-color: var(--ah-color-primary);
}

/* ---- Product info panel ---- */
.ah-product-info {
    border-left: none;
}

/* Catalog/auction label above title */
.ah-product-catalog-label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ah-color-primary-text);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ah-product-catalog-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--ah-color-primary);
}

/* Title */
.ah-product-info h1 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 8px;
}

/* Artist meta */
.ah-product-artist-link {
    font-size: 0.88rem;
    color: var(--ah-color-primary-text);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}
.ah-product-artist-link:hover { text-decoration: underline; }
.ah-product-artist-link i { font-size: 0.75rem; opacity: 0.7; }

/* Divider line */
.ah-detail-divider {
    height: 1px;
    background: linear-gradient(to right, var(--ah-color-border) 0%, transparent 100%);
    margin: 20px 0;
}

/* ---- Price Block ---- */
.ah-product-price {
    background: var(--ah-color-bg-warm);
    border-radius: 4px;
    padding: 20px;
    border: 1px solid var(--ah-color-border-lt);
    margin: 20px 0;
}
.ah-product-price .current {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--ah-color-dark);
    font-family: var(--ah-font-serif);
    letter-spacing: -0.02em;
}
.ah-price-label {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ah-color-text-light);
    display: block;
    margin-bottom: 4px;
}

/* ---- Auction Bid Box ---- */
.ah-bid-box {
    background: var(--ah-color-dark);
    border-radius: 4px;
    padding: 24px;
    margin: 24px 0;
    /* position: relative;*/
    overflow: hidden;
}
.ah-bid-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--ah-color-primary);
}

.ah-bid-box-title {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 14px;
    font-weight: 600;
}

/* Current bid in bid box */
.ah-bid-current {
    margin-bottom: 16px;
}
.ah-bid-current-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.ah-bid-current-amount {
    font-family: var(--ah-font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--ah-color-primary-text);
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Bid count row */
.ah-bid-stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ah-bid-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ah-bid-stat-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.ah-bid-stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

/* Timer in bid box */
.ah-bid-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.ah-bid-timer-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.ah-bid-timer-value {
    font-family: var(--ah-font-body);
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}
.ah-bid-timer-value.urgent { color: #E05A3A; }
.ah-bid-timer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #44CC88;
    flex-shrink: 0;
    animation: wa-bid-pulse 1.5s infinite;
}
@keyframes wa-bid-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(68,204,136,0.4); }
    50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(68,204,136,0); }
}

/* Bid input group */
.ah-bid-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
/* bid panels of the theme are light: dark text on white (the old dark-panel colours made the amount invisible) */
.ah-bid-input {
    flex: 1;
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid var(--cx-ink, #1A1A1A);
    border-radius: 2px;
    color: var(--cx-ink, #1A1A1A);
    padding: 12px 16px;
    font-family: var(--ah-font-body);
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.18s;
}
.ah-bid-input:focus { border-color: var(--ah-color-primary); }
.ah-bid-input::placeholder { color: var(--cx-muted, #8A8A8A); }
.ah-bid-submit-btn {
    background: var(--ah-color-primary);
    color: var(--ah-color-dark);
    border: none;
    padding: 12px 24px;
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s, transform 0.1s;
    font-family: var(--ah-font-body);
}
.ah-bid-submit-btn:hover { background: #D4BA90; }
.ah-bid-submit-btn:active { transform: scale(0.98); }

/* Minimum bid hint */
.ah-bid-min-hint {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    margin-top: 6px;
}
.ah-bid-min-hint span { color: rgba(255,255,255,0.55); font-weight: 500; }

/* ---- Specifications Table ---- */
.ah-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.ah-specs-table tr {
    border-bottom: 1px solid var(--ah-color-border-lt);
}
.ah-specs-table tr:last-child { border-bottom: none; }
.ah-specs-table td {
    padding: 10px 0;
    font-size: 0.85rem;
    vertical-align: top;
}
.ah-specs-table td:first-child {
    color: var(--ah-color-text-muted);
    width: 40%;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    padding-right: 16px;
}
.ah-specs-table td:last-child {
    color: var(--ah-color-dark);
    font-weight: 500;
}

/* ---- Provenance / Description tabs ---- */
.ah-detail-tabs {
    margin-top: 48px;
    border-top: 1px solid var(--ah-color-border-lt);
    padding-top: 32px;
}

.ah-detail-tabs .ah-tabs {
    margin-bottom: 28px;
}
.ah-detail-tabs .ah-tab-btn {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 20px 10px 0;
    color: var(--ah-color-text-muted);
}
.ah-detail-tabs .ah-tab-btn.active {
    color: var(--ah-color-dark);
}
.ah-detail-tabs .ah-tab-btn.active::after {
    background: var(--ah-color-primary);
}

/* ---- Related/Similar lots ---- */
.ah-related-lots-header {
    font-family: var(--ah-font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 6px;
}
.ah-related-lots-sub {
    font-size: 0.82rem;
    color: var(--ah-color-text-muted);
    margin-bottom: 28px;
}

/* ============================================================
   PRODUCT PAGE ENTRY ANIMATION
   ============================================================ */
.ah-detail-page .ah-gallery {
    animation: wa-page-in-left 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ah-detail-page .ah-product-info {
    animation: wa-page-in-right 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
@keyframes wa-page-in-left {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes wa-page-in-right {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .ah-bid-box { padding: 18px; }
    .ah-bid-current-amount { font-size: 1.6rem; }
    .ah-product-info h1 { font-size: 1.6rem; }
}
@media (max-width: 600px) {
    .ah-bid-input-group { flex-direction: column; }
    .ah-bid-submit-btn { width: 100%; text-align: center; }
    .ah-bid-stats-row { gap: 14px; }
}

/* === CompareProducts.cshtml === */
.ah-compare-table-wrap { overflow-x: auto; }
.ah-compare-table { width: 100%; border-collapse: collapse; }
.ah-compare-table tr { border-bottom: 1px solid var(--ah-color-border); }
.ah-compare-table tr:last-child { border-bottom: none; }
.ah-compare-label {
    width: 160px;
    min-width: 120px;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--ah-color-text-muted);
    vertical-align: top;
    background: var(--ah-color-bg);
}
.ah-compare-cell {
    padding: 12px 16px;
    text-align: center;
    vertical-align: top;
    min-width: 180px;
    background: var(--ah-color-surface);
}
.ah-compare-remove {
    background: none;
    border: none;
    color: var(--ah-color-text-muted);
    cursor: pointer;
    float: right;
    font-size: 0.85rem;
    padding: 0;
}
.ah-compare-remove:hover { color: var(--ah-color-error, #c0392b); }
.ah-compare-img { width: 140px; height: 140px; object-fit: cover; border-radius: var(--ah-radius-md); display: block; margin: 8px auto; }
.ah-compare-name { font-family: var(--ah-font-serif); font-weight: 600; font-size: 0.95rem; color: var(--ah-color-text); text-decoration: none; display: block; margin-bottom: 4px; }
.ah-compare-name:hover { color: var(--ah-color-primary-text); }
.ah-compare-price { font-weight: 700; color: var(--ah-color-primary-text); }
.ah-compare-desc { text-align: left; font-size: 0.85rem; }
.ah-color-swatch { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--ah-color-border); }



/* =========================================================
   ProductLayout.Simple - panel- / gallery / artwork-meta / tabs / wa-lb
   ========================================================= */

.breadcrumb-bar { background: var(--ah-color-bg-warm, #F5F1EA); border-bottom: 1px solid var(--ah-color-border, #E9E4DC); }
.breadcrumb-inner { max-width: 1320px; margin: 0 auto; padding: 10px 40px; font-size: 12.5px; color: var(--ah-color-text-muted, #A8A29E); }
.product-wrap { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding: 48px 40px; }
.gallery { position: sticky; top: 100px; }
.gallery-main { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; cursor: zoom-in; display: block; margin-bottom: 12px; border: 1px solid var(--ah-color-border, #E9E4DC); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-main:hover img { transform: scale(1.03); }
.gallery-badge { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 2px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--ah-color-dark, #111010); color: #fff; }
.gallery-badge.sale { background: #C0392B; }
.gallery-badge.new { background: var(--ah-color-primary, var(--ah-color-primary)); color: var(--ah-color-dark, #111010); }
.gallery-zoom-btn { position: absolute; bottom: 12px; right: 12px; width: 34px; height: 34px; background: rgba(255,255,255,.9); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ah-color-dark, #111010); box-shadow: 0 1px 4px rgba(0,0,0,.1); transition: background .18s; border: none; cursor: pointer; }
.gallery-zoom-btn:hover { background: #fff; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 72px; border-radius: 4px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--ah-color-primary, var(--ah-color-primary)); }
.artwork-meta-bar { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 0; background: var(--ah-color-dark, #111010); border-radius: 6px; overflow: hidden; }
.artwork-meta-item { flex: 1; min-width: 90px; padding: 12px 16px; }
.artwork-meta-divider { width: 1px; background: rgba(255,255,255,.1); flex-shrink: 0; }
.artwork-meta-label { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 4px; }
.artwork-meta-value { font-size: 12.5px; font-weight: 600; color: #fff; }
.ah-product-flag { display: inline-block; padding: 3px 10px; background: var(--ah-color-dark, #111010); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; margin-bottom: 10px; }
.purchase-panel { padding-top: 8px; }
.panel-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.panel-artist-link { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ah-color-primary-dk, var(--ah-color-primary-dk)); text-decoration: none; }
.panel-artist-link:hover { color: var(--ah-color-primary-text); }
.panel-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ah-color-border-dark, #D4CEC4); }
.panel-category { font-size: 10.5px; color: var(--ah-color-text-muted, #A8A29E); }
.panel-title { font-family: var(--ah-font-serif, var(--ah-font-serif)); font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; color: var(--ah-color-dark, #111010); line-height: 1.2; margin-bottom: 8px; }
.panel-subtitle { font-size: 14.5px; color: var(--ah-color-text, #6B6560); line-height: 1.65; margin-bottom: 16px; }
.panel-rating { margin-bottom: 12px; }
.panel-purchase { margin: 20px 0; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.trust-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ah-color-border, #E9E4DC); border: 1px solid var(--ah-color-border, #E9E4DC); border-radius: 6px; overflow: hidden; margin-top: 24px; }
.trust-item { background: var(--ah-color-bg-warm, #F5F1EA); padding: 14px 12px; text-align: center; }
.trust-item i { font-size: 18px; color: var(--ah-color-primary-text); display: block; margin-bottom: 6px; }
.trust-item-label { font-size: 11px; font-weight: 700; color: var(--ah-color-dark, #111010); }
.trust-item-sub { font-size: 10px; color: var(--ah-color-text-muted, #A8A29E); margin-top: 2px; }
/* Delivery block */
.delivery-block { background: var(--ah-color-bg-warm, #F5F1EA); border: 1px solid var(--ah-color-border, #E9E4DC); border-radius: 6px; overflow: hidden; margin: 16px 0; }
.delivery-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ah-color-border, #E9E4DC); font-size: 13px; }
.delivery-row:last-child { border-bottom: none; }
.delivery-icon { width: 34px; height: 34px; border-radius: 4px; background: #fff; border: 1px solid var(--ah-color-border, #E9E4DC); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--ah-color-primary-dk, var(--ah-color-primary-dk)); flex-shrink: 0; }
.delivery-text { flex: 1; }
.delivery-text strong { display: block; font-weight: 600; color: var(--ah-color-dark, #111010); margin-bottom: 1px; }
.delivery-text span { color: var(--ah-color-text-muted, #A8A29E); font-size: 12px; }
.delivery-badge { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 2px; flex-shrink: 0; }
.badge-free { background: rgba(74,124,89,.1); color: #4A7C59; }
.badge-fast { background: rgba(30,45,79,.15); color: var(--ah-color-primary-dk, var(--ah-color-primary-dk)); }

.cert-strip { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 14px 16px; background: var(--ah-color-bg-warm, #F5F1EA); border: 1px solid var(--ah-color-border, #E9E4DC); border-radius: 6px; }
.cert-strip > i { font-size: 18px; color: var(--ah-color-primary-text); flex-shrink: 0; margin-top: 2px; }
.cert-text { flex: 1; font-size: 12.5px; color: var(--ah-color-text, #6B6560); line-height: 1.5; }
.cert-text strong { display: block; color: var(--ah-color-dark, #111010); font-size: 13px; margin-bottom: 2px; }
.cert-link { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--ah-color-primary-dk, var(--ah-color-primary-dk)); white-space: nowrap; text-decoration: none; }
.cert-link:hover { color: var(--ah-color-primary-text); }
.tabs-section { max-width: 1320px; margin: 0 auto; padding: 0 40px 64px; }
.tabs-bar { display: flex; gap: 0; border-bottom: 2px solid var(--ah-color-border, #E9E4DC); margin-bottom: 32px; flex-wrap: wrap; }
.tab-btn { padding: 12px 20px; background: none; border: none; font-size: 13px; font-weight: 600; color: var(--ah-color-text-muted, #A8A29E); cursor: pointer; position: relative; transition: color .2s; border-bottom: 2px solid transparent; margin-bottom: -2px; font-family: inherit; }
.tab-btn:hover { color: var(--ah-color-dark, #111010); }
.tab-btn.active { color: var(--ah-color-dark, #111010); border-bottom-color: var(--ah-color-dark, #111010); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.detail-desc { font-size: 14.5px; line-height: 1.75; color: var(--ah-color-text, #6B6560); }
.detail-spec-table { margin-top: 28px; border: 1px solid var(--ah-color-border, #E9E4DC); border-radius: 6px; overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--ah-color-border, #E9E4DC); }
.spec-row:last-child { border-bottom: none; }
.spec-key { padding: 10px 16px; font-size: 12px; font-weight: 700; background: var(--ah-color-bg-warm, #F5F1EA); color: var(--ah-color-text-muted, #A8A29E); text-transform: uppercase; letter-spacing: .06em; }
.spec-val { padding: 10px 16px; font-size: 13px; color: var(--ah-color-dark, #111010); }
.detail-sidebar { position: sticky; top: 100px; }
.artist-mini-card { border: 1px solid var(--ah-color-border, #E9E4DC); border-radius: 8px; overflow: hidden; }
.artist-mini-header { height: 60px; background: linear-gradient(135deg, var(--ah-color-dark, #111010) 0%, #2A2825 100%); }
.artist-mini-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; margin: -32px auto 0; background: var(--ah-color-bg-warm, #F5F1EA); }
.artist-mini-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-mini-body { padding: 12px 16px 16px; text-align: center; }
.artist-mini-name { font-family: var(--ah-font-serif, var(--ah-font-serif)); font-size: 15px; font-weight: 700; color: var(--ah-color-dark, #111010); margin-bottom: 4px; }
.artist-mini-meta { font-size: 11.5px; color: var(--ah-color-text-muted, #A8A29E); margin-bottom: 8px; }
.artist-mini-bio { font-size: 12.5px; line-height: 1.6; color: var(--ah-color-text, #6B6560); margin-bottom: 12px; }
.artist-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid var(--ah-color-border, #E9E4DC); margin-bottom: 12px; }
.artist-stat { text-align: center; }
.artist-stat-val { font-family: var(--ah-font-serif, var(--ah-font-serif)); font-size: 17px; font-weight: 700; color: var(--ah-color-dark, #111010); }
.artist-stat-label { font-size: 10px; color: var(--ah-color-text-muted, #A8A29E); }
.artist-mini-link { display: block; font-size: 11.5px; font-weight: 700; color: var(--ah-color-primary-dk, var(--ah-color-primary-dk)); text-decoration: none; border: 1.5px solid var(--ah-color-primary, var(--ah-color-primary)); border-radius: 3px; padding: 7px 12px; text-align: center; transition: all .2s; }
.artist-mini-link:hover { background: var(--ah-color-primary, var(--ah-color-primary)); color: #fff; }
.shipping-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.shipping-card { border: 1px solid var(--ah-color-border, #E9E4DC); border-radius: 6px; padding: 20px; }
.shipping-icon { font-size: 22px; color: var(--ah-color-primary-text); margin-bottom: 10px; }
.shipping-card-title { font-size: 13.5px; font-weight: 700; color: var(--ah-color-dark, #111010); margin-bottom: 6px; }
.shipping-card-desc { font-size: 12.5px; color: var(--ah-color-text, #6B6560); line-height: 1.55; }
.shipping-note { font-size: 12.5px; color: var(--ah-color-text, #6B6560); line-height: 1.6; padding: 14px 16px; background: var(--ah-color-bg-warm, #F5F1EA); border-radius: 6px; }
.return-steps { display: flex; flex-direction: column; gap: 0; }
.return-step { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--ah-color-border, #E9E4DC); }
.return-step:last-child { border-bottom: none; }
.return-step-num { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: var(--ah-color-dark, #111010); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.return-step-title { font-size: 13.5px; font-weight: 700; color: var(--ah-color-dark, #111010); margin-bottom: 4px; }
.return-step-desc { font-size: 13px; color: var(--ah-color-text, #6B6560); line-height: 1.55; margin: 0; }
.related-section { background: var(--ah-color-bg-warm, #F5F1EA); padding: 56px 0; }
.related-inner { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.wa-lb { position: fixed; inset: 0; z-index: 9999; display: none; flex-direction: column; background: rgba(10,9,9,.96); }
.wa-lb.open { display: flex; }
.wa-lb-backdrop { position: absolute; inset: 0; }
.wa-lb-topbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.08); flex-shrink: 0; }
.wa-lb-counter { font-size: 12px; color: rgba(255,255,255,.4); }
.wa-lb-actions { display: flex; gap: 6px; }
.wa-lb-btn { width: 36px; height: 36px; border-radius: 4px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.7); font-size: 13px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; }
.wa-lb-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.wa-lb-btn.close-btn:hover { background: rgba(192,57,43,.3); border-color: rgba(192,57,43,.5); color: #fff; }
.wa-lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; min-height: 0; }
.wa-lb-img { max-width: 90%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: opacity .2s; user-select: none; }
.wa-lb-img.zoomed { cursor: zoom-out; transform: scale(1.8); }
.wa-lb-img.switching { opacity: 0; }
.wa-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.8); font-size: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; z-index: 1; }
.wa-lb-nav:hover { background: rgba(255,255,255,.18); color: #fff; }
.wa-lb-nav.prev { left: 16px; }
.wa-lb-nav.next { right: 16px; }
.wa-lb-info { flex-shrink: 0; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); }
.wa-lb-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.wa-lb-sub { font-size: 11.5px; color: rgba(255,255,255,.4); margin-top: 2px; }
.wa-lb-zoom-hint { font-size: 11px; color: rgba(255,255,255,.25); }
.wa-lb-thumbstrip { flex-shrink: 0; display: flex; gap: 6px; overflow-x: auto; padding: 10px 20px; border-top: 1px solid rgba(255,255,255,.06); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.wa-lb-thumb { width: 52px; height: 52px; flex-shrink: 0; border-radius: 3px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color .15s; opacity: .55; }
.wa-lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wa-lb-thumb.active { border-color: var(--ah-color-primary, var(--ah-color-primary)); opacity: 1; }
.wa-lb-thumb:hover { opacity: .85; }

@media (max-width: 1024px) {
    .product-wrap { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
    .gallery { position: static; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .shipping-grid { grid-template-columns: 1fr; }
    .tabs-section { padding: 0 24px 48px; }
    .related-inner { padding: 0 24px; }
}
@media (max-width: 640px) {
    .product-wrap { padding: 24px 16px; }
    .trust-badges { grid-template-columns: 1fr; }
    .tab-btn { padding: 10px 14px; font-size: 12px; }
    .artwork-meta-bar { flex-direction: column; }
    .artwork-meta-divider { width: 100%; height: 1px; }
}

/* ========================================================
   LOT DETAIL LAYOUT — ProductLayout.Timeline (lot-detail)
   Prefix: ld-
   ======================================================== */

/* Top bar */
.ld-top-bar { background: #fff; border-bottom: 1px solid var(--ah-color-border,#E9E4DC); }
.ld-top-bar-inner { max-width: 1440px; margin: 0 auto; padding: 12px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ld-lot-nav { display: flex; align-items: center; gap: 8px; }
.ld-lot-nav-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border: 1px solid #D4CEC4; border-radius: 4px; font-size: 0.75rem; font-weight: 600; color: #6B6560; transition: border-color .26s, color .26s; }
.ld-lot-nav-btn:hover { border-color: var(--ah-color-primary,var(--ah-color-primary)); color: var(--ah-color-primary-dk); }
.ld-lot-nav-pos { font-size: 0.75rem; color: var(--ah-color-text-light); padding: 0 4px; }

/* Main 2-column layout */
.ld-layout { max-width: 1440px; margin: 0 auto; padding: 40px 32px 80px; display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; }

/* ---- Left col: Gallery ---- */
.ld-gallery-col {}
.ld-gallery-wrap { position: relative; }

/* Lot & live overlays */
.ld-lot-badge { position: absolute; top: 14px; left: 14px; background: rgba(17,16,16,.75); color: #fff; font-size: 0.6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; backdrop-filter: blur(4px); z-index: 10; pointer-events: none; }
.ld-live-badge { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 6px; background: rgba(192,57,43,.88); color: #fff; font-size: 0.6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; backdrop-filter: blur(4px); z-index: 10; pointer-events: none; }
.ld-live-dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: ldBlink 1.4s ease infinite; }
@keyframes ldBlink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* Gallery action buttons */
.ld-gallery-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.ld-gallery-action-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid #D4CEC4; border-radius: 4px; font-size: 0.75rem; font-weight: 600; color: #6B6560; transition: border-color .26s, color .26s, background .26s; background: none; cursor: pointer; }
.ld-gallery-action-btn:hover { border-color: var(--ah-color-primary,var(--ah-color-primary)); color: var(--ah-color-primary-dk); background: rgba(30,45,79,.06); }

/* Info tabs */
.ld-info-tabs { margin-top: 40px; }
.ld-tab-bar { display: flex; border-bottom: 1px solid var(--ah-color-border,#E9E4DC); overflow-x: auto; scrollbar-width: none; }
.ld-tab-bar::-webkit-scrollbar { display: none; }
.ld-tab-btn { padding: 11px 20px; font-size: 0.8125rem; font-weight: 600; color: var(--ah-color-text-light); border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; background: none; cursor: pointer; transition: color .26s, border-color .26s; }
.ld-tab-btn:hover { color: var(--ah-color-dark,#111010); }
.ld-tab-btn.active { color: var(--ah-color-dark,#111010); border-bottom-color: var(--ah-color-dark,#111010); }
.ld-tab-panel { padding: 28px 0; }
.ld-tab-panel[hidden] { display: none !important; }

/* Description */
.ld-lot-description { font-size: 0.9375rem; color: #6B6560; line-height: 1.8; }
.ld-lot-description p + p { margin-top: 16px; }
.ld-lot-description strong { color: #111010; }

/* Details table */
.ld-detail-table { width: 100%; border-collapse: collapse; }
.ld-detail-table tr { border-bottom: 1px solid var(--ah-color-border,#E9E4DC); }
.ld-detail-table tr:last-child { border-bottom: none; }
.ld-detail-table td { padding: 13px 0; font-size: 0.875rem; vertical-align: top; }
.ld-detail-table td:first-child { width: 160px; color: var(--ah-color-text-light); font-weight: 600; font-size: .8rem; letter-spacing: .04em; padding-right: 24px; }
.ld-detail-table td:last-child { color: #111010; }

/* Shipping grid */
.ld-shipping-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 20px; }
.ld-shipping-card { background: #fff; border: 1px solid var(--ah-color-border,#E9E4DC); border-radius: 8px; padding: 18px; }
.ld-shipping-card-icon { font-size: 1.25rem; margin-bottom: 8px; }
.ld-shipping-card-title { font-size: 0.875rem; font-weight: 700; color: #111010; margin-bottom: 6px; }
.ld-shipping-card-desc { font-size: 0.8125rem; color: #6B6560; line-height: 1.6; }
.ld-shipping-note { background: #F5F1EA; border: 1px solid var(--ah-color-border,#E9E4DC); border-radius: 6px; padding: 14px 16px; font-size: 0.8125rem; color: #6B6560; line-height: 1.7; }

/* Return steps */
.ld-return-steps { display: flex; flex-direction: column; gap: 20px; }
.ld-return-step { display: flex; gap: 16px; align-items: flex-start; }
.ld-return-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--ah-color-dark,#111010); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.ld-return-step-title { font-size: 0.9375rem; font-weight: 700; color: #111010; margin-bottom: 4px; }
.ld-return-step-desc { font-size: 0.875rem; color: #6B6560; line-height: 1.6; }

/* ---- Right col: Bid panel ---- */
.ld-bid-col { position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #D4CEC4 transparent; }
.ld-bid-col::-webkit-scrollbar { width: 4px; }
.ld-bid-col::-webkit-scrollbar-track { background: transparent; }
.ld-bid-col::-webkit-scrollbar-thumb { background: #D4CEC4; border-radius: 2px; }

.ld-bid-panel { background: #fff; border: 1px solid var(--ah-color-border,#E9E4DC); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(17,16,16,.10); }

/* Dark header */
.ld-bid-panel-header { background: var(--ah-color-dark,#111010); padding: 20px 24px; }
.ld-bid-panel-lot { font-size: 0.6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ah-color-primary-text); margin-bottom: 6px; }
.ld-bid-panel-title { font-family: var(--ah-font-serif,var(--ah-font-serif)); font-size: 1.15rem; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 3px; }
.ld-bid-panel-artist { font-size: 0.8125rem; color: rgba(255,255,255,.55); font-style: italic; font-family: var(--ah-font-serif,var(--ah-font-serif)); }

/* Countdown grid */
.ld-bid-countdown { display: grid; grid-template-columns: repeat(4,1fr); background: var(--ah-color-dark,#111010); border-bottom: 1px solid rgba(255,255,255,.06); }
.ld-countdown-unit { text-align: center; padding: 14px 8px; border-right: 1px solid rgba(255,255,255,.06); }
.ld-countdown-unit:last-child { border-right: none; }
.ld-countdown-num { display: block; font-family: var(--ah-font-serif,var(--ah-font-serif)); font-size: 1.75rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 4px; }
.ld-countdown-num.urgent { color: #C0392B; animation: ldUrgent 1s ease infinite; }
@keyframes ldUrgent { 0%,100%{opacity:1} 50%{opacity:.6} }
.ld-countdown-label { display: block; font-size: 0.5625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); }

/* Bid body */
.ld-bid-body { padding: 22px 24px; }

/* Trust footer */
.ld-bid-panel-footer { padding-top: 16px; border-top: 1px solid var(--ah-color-border,#E9E4DC); display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.ld-panel-info-row { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--ah-color-text-light); }

/* Panel actions row */
.ld-panel-actions { display: flex; gap: 8px; padding: 14px 24px; border-top: 1px solid var(--ah-color-border,#E9E4DC); background: #F5F1EA; flex-wrap: wrap; }
.ld-panel-action-btn { flex: 1; min-width: 80px; height: 38px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid #D4CEC4; border-radius: 4px; font-size: 0.75rem; font-weight: 600; color: #6B6560; background: none; cursor: pointer; transition: border-color .26s, color .26s, background .26s; }
.ld-panel-action-btn:hover { border-color: var(--ah-color-primary,var(--ah-color-primary)); color: var(--ah-color-primary-dk); background: rgba(30,45,79,.06); }

/* --- AuctionInfo overrides inside ld-bid-body --- */
.ld-bid-body .ah-bid-box { background: none; border: none; padding: 0; box-shadow: none; border-radius: 0; }
.ld-bid-body .ah-bid-box-title { display: none; }
.ld-bid-body .ah-timer-box { display: none; }
.ld-bid-body .ah-auction-time-left { display: none; }
.ld-bid-body .ah-bid-current { margin-bottom: 4px; }
.ld-bid-body .ah-bid-current-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ah-color-text-light); }
.ld-bid-body .ah-bid-current-amount { font-family: var(--ah-font-serif,var(--ah-font-serif)); font-size: 2rem; font-weight: 700; color: var(--ah-color-dark,#111010); line-height: 1; margin-bottom: 12px; }
.ld-bid-body .ah-bid-stats-row { display: flex; gap: 12px; flex-wrap: wrap; padding: 10px 14px; background: #F5F1EA; border: 1px solid var(--ah-color-border,#E9E4DC); border-radius: 4px; margin-bottom: 16px; }
.ld-bid-body .ah-bid-stat { display: flex; flex-direction: column; gap: 2px; }
.ld-bid-body .ah-bid-stat-val { font-size: 0.875rem; font-weight: 700; color: var(--ah-color-dark,#111010); }
.ld-bid-body .ah-bid-stat-label { font-size: 0.6875rem; color: var(--ah-color-text-light); letter-spacing: .04em; }
.ld-bid-body .ah-bid-input { height: 48px; border: 2px solid #D4CEC4; border-radius: 4px; font-size: 1rem; font-weight: 600; }
.ld-bid-body .ah-bid-input:focus { border-color: var(--ah-color-primary,var(--ah-color-primary)); box-shadow: 0 0 0 3px rgba(30,45,79,.18); }
.ld-bid-body .ah-bid-submit-btn { height: 52px; background: var(--ah-color-dark,#111010); font-size: 0.875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 4px; transition: background .26s, transform .26s; }
.ld-bid-body .ah-bid-submit-btn:hover { background: #2A2825; transform: translateY(-1px); }
.ld-bid-body .ah-bid-quick-btn { border: 1.5px solid #D4CEC4; border-radius: 4px; font-size: 0.75rem; font-weight: 600; color: #6B6560; padding: 7px 10px; transition: border-color .26s, color .26s, background .26s; }
.ld-bid-body .ah-bid-quick-btn:hover { border-color: var(--ah-color-primary,var(--ah-color-primary)); color: var(--ah-color-primary-dk); background: rgba(30,45,79,.06); }
.ld-bid-body .ah-bid-history { margin-top: 20px; background: #fff; border: 1px solid var(--ah-color-border,#E9E4DC); border-radius: 8px; overflow: hidden; }
.ld-bid-body .ah-bid-history-header { padding: 14px 18px; border-bottom: 1px solid var(--ah-color-border,#E9E4DC); display: flex; align-items: center; justify-content: space-between; }
.ld-bid-body .ah-bid-history-header h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #111010; margin: 0; }
.ld-bid-body .ah-bid-history-item { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--ah-color-border,#E9E4DC); font-size: 0.875rem; }
.ld-bid-body .ah-bid-history-item:last-child { border-bottom: none; }
.ld-bid-body .ah-bid-history-bidder { flex: 1; color: #111010; font-weight: 600; }
.ld-bid-body .ah-bid-history-amount { font-family: var(--ah-font-serif,var(--ah-font-serif)); font-weight: 700; color: var(--ah-color-primary-dk); }
.ld-bid-body .ah-auction-leader-badge { background: rgba(74,124,89,.1); color: #4A7C59; border-radius: 20px; padding: 4px 12px; font-size: 0.75rem; font-weight: 600; }
.ld-bid-body .ah-watch-section { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ah-color-border,#E9E4DC); }
.ld-bid-body .ah-watch-btn { border: 1.5px solid #D4CEC4; border-radius: 4px; padding: 8px 16px; font-size: 0.8125rem; font-weight: 600; color: #6B6560; background: none; cursor: pointer; transition: all .26s; }
.ld-bid-body .ah-watch-btn:hover,.ld-bid-body .ah-watch-btn-active { border-color: var(--ah-color-primary,var(--ah-color-primary)); color: var(--ah-color-primary-dk); }
.ld-bid-body .ah-gold-teaser { background: #F5F1EA; border: 1px solid var(--ah-color-border,#E9E4DC); border-radius: 8px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; margin: 0 18px 14px; }
.ld-bid-body .ah-gold-teaser-content { flex: 1; font-size: 0.8125rem; color: #6B6560; }
.ld-bid-body .ah-gold-teaser-content strong { display: block; color: #111010; margin-bottom: 2px; }
.ld-bid-body .ah-gold-upgrade-btn { padding: 7px 14px; background: var(--ah-color-dark,#111010); color: #fff; border-radius: 4px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }

/* Artist section */
.ld-artist-section { background: #F5F1EA; border-top: 1px solid var(--ah-color-border,#E9E4DC); border-bottom: 1px solid var(--ah-color-border,#E9E4DC); margin-top: 64px; }
.ld-artist-inner { max-width: 1440px; margin: 0 auto; padding: 56px 32px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
.ld-artist-portrait { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid #D4CEC4; flex-shrink: 0; }
.ld-artist-eyebrow { font-size: 0.6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ah-color-primary-dk); margin-bottom: 6px; }
.ld-artist-name { font-family: var(--ah-font-serif,var(--ah-font-serif)); font-size: 1.35rem; font-weight: 700; color: #111010; margin-bottom: 10px; }
.ld-artist-bio { font-size: 0.875rem; color: #6B6560; line-height: 1.65; max-width: 600px; margin-bottom: 16px; }
.ld-btn-artist { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border: 1.5px solid #D4CEC4; border-radius: 4px; font-size: 0.8rem; font-weight: 600; color: #6B6560; transition: border-color .26s, color .26s; }
.ld-btn-artist:hover { border-color: var(--ah-color-primary,var(--ah-color-primary)); color: var(--ah-color-primary-dk); }

/* Related section */
.ld-related-section { max-width: 1440px; margin: 0 auto; padding: 64px 32px 80px; }

/* Toast */
.ld-toast { position: fixed; bottom: 28px; right: 28px; z-index: 600; background: var(--ah-color-dark,#111010); color: #fff; padding: 14px 20px; border-radius: 8px; border-left: 3px solid var(--ah-color-primary,var(--ah-color-primary)); font-size: 0.875rem; font-weight: 500; box-shadow: 0 12px 40px rgba(17,16,16,.14); transform: translateY(80px); opacity: 0; transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .35s ease; max-width: 300px; pointer-events: none; }
.ld-toast.show { transform: translateY(0); opacity: 1; }
.ld-toast strong { color: var(--ah-color-primary-lt); display: block; margin-bottom: 2px; }

/* Responsive */
@media (max-width: 1200px) { .ld-layout { grid-template-columns: 1fr 400px; gap: 36px; } }
@media (max-width: 1024px) { .ld-layout { grid-template-columns: 1fr; } .ld-bid-col { position: static; } }
@media (max-width: 768px) { .ld-layout { padding: 24px 16px 60px; } .ld-top-bar-inner { padding: 10px 16px; } .ld-shipping-grid { grid-template-columns: 1fr; } .ld-artist-inner { grid-template-columns: 1fr; padding: 40px 16px; } .ld-related-section { padding: 48px 16px 60px; } }

/* Auction states (upcoming / ended) */
.ah-auction-status-upcoming {
    background: #E5ECF6;
    color: #3B5B8C;
}
.ah-bid-timer-ended { font-size: 1rem; color: #B85C38; }
.ah-timer-sub { font-size: 0.8rem; color: var(--ah-color-text-muted); margin-top: 4px; }
.ah-bid-premium-hint { font-size: 0.8rem; }
.ah-auction-closed-box {
    text-align: center;
    padding: 16px;
    background: #FCF6EA;
    border-radius: 12px;
    color: var(--ah-color-text-muted);
}
.ah-auction-closed-box i {
    display: block;
    font-size: 1.5rem;
    color: var(--ah-color-primary-text);
    margin-bottom: 8px;
}
.ld-live-badge--upcoming { background: rgba(59,91,140,.9); }
a.ld-bid-panel-artist { color: inherit; text-decoration: none; display: inline-block; }
a.ld-bid-panel-artist:hover { text-decoration: underline; }
.ld-artist-bio { margin: 6px 0 12px; font-size: .9rem; line-height: 1.5; color: var(--ah-color-text-muted); }
