/**
 * Single Product Pages — Wear & Ward
 * Ombre gold acquisition button + shared single-item layout
 */

/* ============================================================
   OMBRE GOLD BUTTON — "btn-acquire"
   ============================================================ */

@keyframes acquire-pulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(212, 175, 55, 0.55), 0 0 0 0 rgba(212, 175, 55, 0.35); }
    50%       { box-shadow: 0 6px 24px rgba(212, 175, 55, 0.55), 0 0 0 8px rgba(212, 175, 55, 0); }
}

@keyframes acquire-shimmer {
    0%   { transform: translateX(-110%) skewX(-20deg); }
    100% { transform: translateX(210%) skewX(-20deg); }
}

.btn-acquire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 42px;
    background: linear-gradient(135deg,
        #FFF0A0 0%,
        #F0CC44 20%,
        #D4AF37 55%,
        #A8800A 100%
    );
    color: #0A0600;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow:
        0 6px 24px rgba(212, 175, 55, 0.55),
        0 2px 8px rgba(0, 0, 0, 0.60),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
    animation: acquire-pulse 2.8s ease-in-out infinite;
}

/* Shimmer sweep */
.btn-acquire::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.38) 50%,
        transparent 100%
    );
    transform: translateX(-110%) skewX(-20deg);
    animation: acquire-shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

/* Top-edge highlight */
.btn-acquire::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.btn-acquire:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 12px 36px rgba(212, 175, 55, 0.75),
        0 4px 12px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
    filter: brightness(1.10);
    color: #0A0600;
    text-decoration: none;
    animation: none;
}

.btn-acquire:active {
    transform: translateY(-1px) scale(1.00);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.50);
    filter: brightness(0.97);
    animation: none;
}

.btn-acquire svg {
    flex-shrink: 0;
    opacity: 0.80;
}

/* Hero variant — larger & more dramatic */
.hero-cta .btn-acquire {
    padding: 20px 52px;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
}

/* Sidebar variant — full width */
.shop-card .btn-acquire {
    width: 100%;
    padding: 16px 28px;
    font-size: 1rem;
}


/* ============================================================
   SINGLE ITEM LAYOUT — shared between wear & ward
   ============================================================ */

.single-item {
    min-height: 100vh;
    background: var(--obsidian, #020B13);
    color: var(--ivory, #F5F0E8);
}

/* --- HERO --- */
.item-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px 60px;
    gap: 80px;
    overflow: hidden;
}

.item-hero.no-featured-image {
    background: linear-gradient(135deg, #0A1628 0%, #020B13 60%, #0D1A0A 100%);
    min-height: 380px;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.40;
    display: block;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(2, 11, 19, 0.95) 0%,
        rgba(2, 11, 19, 0.75) 50%,
        rgba(2, 11, 19, 0.40) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(212, 175, 55, 0.02) 40px,
        rgba(212, 175, 55, 0.02) 41px
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 620px;
    text-align: center;
}

/* Center all child elements in hero content */
.hero-content .category-badge,
.hero-content .item-brand,
.hero-content .item-quick-stats,
.hero-content .hero-cta {
    margin-left: auto;
    margin-right: auto;
}

/* Center the quick stats container and its items */
.hero-content .item-quick-stats {
    justify-content: center;
}

/* Center the CTA button */
.hero-content .hero-cta {
    justify-content: center;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--sovereign, #D4AF37);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.item-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 12px;
}

.item-brand {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sovereign, #D4AF37);
    margin: 0 0 28px;
}

.item-quick-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.quick-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    color: var(--sovereign, #D4AF37);
    opacity: 0.7;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.2;
}

.stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.45);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- HERO IMAGE / PORTRAIT --- */
.hero-portrait {
    position: relative;
    z-index: 1;
    width: 340px;
    flex-shrink: 0;
}

.portrait-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.portrait-frame {
    position: absolute;
    inset: -10px -10px 10px 10px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    z-index: 0;
    pointer-events: none;
}

.portrait-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portrait-placeholder svg {
    width: 80px;
    height: 80px;
    color: rgba(212, 175, 55, 0.25);
}

/* --- MAIN CONTENT LAYOUT --- */
.item-content-wrap {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 60px 80px;
}

.item-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* --- SECTION HEADERS --- */
.section-header-inline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-header-inline h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--sovereign, #D4AF37);
    white-space: nowrap;
    margin: 0;
}

.header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.35) 0%, transparent 100%);
}

/* --- DESCRIPTION / ENTRY CONTENT --- */
.description-content {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(245, 240, 232, 0.80);
}

.description-content p {
    margin: 0 0 1.2em;
}

/* --- DETAILS / SPECS --- */
.details-content {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(245, 240, 232, 0.75);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.spec-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sovereign, #D4AF37);
    opacity: 0.7;
}

.spec-value {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--ivory, #F5F0E8);
}

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.gallery-item {
    margin: 0;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

/* --- SIDEBAR --- */
.item-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.18);
    padding: 24px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.card-header svg {
    color: var(--sovereign, #D4AF37);
    flex-shrink: 0;
}

.card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--sovereign, #D4AF37);
    margin: 0;
}

/* Shop card details */
.shop-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.07);
}

.detail-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.45);
}

.detail-value {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    color: var(--ivory, #F5F0E8);
}

.detail-value.price {
    color: var(--sovereign, #D4AF37);
    font-weight: 500;
}

/* Affiliate disclosure in sidebar */
.affiliate-disclosure {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 0.72rem;
    line-height: 1.6;
    color: rgba(245, 240, 232, 0.40);
}

.affiliate-disclosure a {
    color: rgba(212, 175, 55, 0.6);
    text-decoration: none;
}

.affiliate-disclosure a:hover {
    color: var(--sovereign, #D4AF37);
}

/* Related wife card */
.related-wife-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    padding: 10px;
    margin: -10px;
    transition: background 0.2s ease;
}

.related-wife-link:hover {
    background: rgba(212, 175, 55, 0.06);
}

/* Related items list */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 8px;
    margin: -8px;
    transition: background 0.2s ease;
}

.related-item:hover {
    background: rgba(212, 175, 55, 0.05);
}

.related-thumb {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(212, 175, 55, 0.08);
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(212, 175, 55, 0.06);
}

.related-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.related-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    color: var(--ivory, #F5F0E8);
    line-height: 1.3;
}

.related-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--sovereign, #D4AF37);
}

.related-cta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.55);
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: var(--sovereign, #D4AF37);
}

/* --- FOOTER DISCLOSURE --- */
.item-footer {
    border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.ftc-disclosure {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 60px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    line-height: 1.75;
    color: rgba(245, 240, 232, 0.40);
    font-style: italic;
}

.ftc-disclosure strong {
    color: rgba(245, 240, 232, 0.60);
    font-style: normal;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .item-hero {
        padding: 80px 40px 50px;
        gap: 40px;
    }

    .hero-portrait {
        width: 260px;
    }

    .item-content-wrap {
        grid-template-columns: 1fr 300px;
        gap: 40px;
        padding: 50px 40px 60px;
    }
}

@media (max-width: 768px) {
    .item-hero {
        flex-direction: column-reverse;
        padding: 70px 24px 40px;
        min-height: auto;
    }

    .hero-portrait {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .item-content-wrap {
        grid-template-columns: 1fr;
        padding: 40px 24px 50px;
    }

    .item-sidebar {
        position: static;
    }

    .item-quick-stats {
        gap: 16px;
    }

    .ftc-disclosure {
        padding: 28px 24px;
    }
}

/* ============================================================
   ALTERNATIVE RETAILERS LIST
   ============================================================ */
.alt-retailers {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.alt-retailers-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sovereign);
    margin-bottom: 4px;
}

.alt-retailer-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.12);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s, border-color 0.2s;
}

.alt-retailer-link:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.alt-retailer-link .alt-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--sovereign);
}
