/* ============================================ */
/* TRULY BARE - PRODUCT DETAIL STYLES          */
/* (Synced with Homepage Quick View Aesthetic)  */
/* ============================================ */

:root {
    --green: #2E7D32;
    --green-faint: rgba(46, 125, 50, 0.10);
}

/* Hide sub-nav on product detail — editorial page needs a clean header */
.category-subnav { display: none !important; }

.product-detail-page {
    padding-top: 140px;
    padding-bottom: 120px;
    background: var(--pale-white);
}

/* Breadcrumbs */
.breadcrumb-nav {
    margin-bottom: 40px;
}

.breadcrumbs {
    display: flex;
    list-style: none;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--sapphire-gold);
}

.breadcrumbs .separator {
    color: var(--glass-border);
}

/* ── Layout ── */
.product-detail-layout {
    display: flex;
    background: #FDFBFA;
    border-radius: 32px;
    gap: 0; /* Remove gap to make it look like a unified pop */
    margin-top: 20px;
    height: 75vh; /* Fixed height like the pop */
    min-height: 600px;
    overflow: hidden; /* CRITICAL: Prevent outer scroll for the layout */
    border: 1px solid rgba(201, 168, 76, 0.12);
    box-shadow: 0 40px 120px rgba(28, 28, 26, 0.08);
}

/* ── Left: Media (Static) ── */
.product-detail-media {
    width: 48%; /* Slightly less than half for better focus */
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7F5F0;
    overflow: hidden;
    position: relative;
    border-right: 1px solid rgba(201, 168, 76, 0.12);
}

.main-image-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.main-image-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.main-image-wrap img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-detail-media:hover .main-image-wrap {
    transform: scale(1.08);
}

/* ── Swiper Gallery Styling ── */
.product-gallery-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-gallery-swiper .swiper-button-next,
.product-gallery-swiper .swiper-button-prev {
    color: var(--sapphire-gold);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.product-gallery-swiper .swiper-button-next:after,
.product-gallery-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.product-gallery-swiper .swiper-button-next:hover,
.product-gallery-swiper .swiper-button-prev:hover {
    background: var(--sapphire-gold);
    color: white;
}

.product-gallery-swiper .swiper-pagination-bullet {
    background: var(--sapphire-gold);
    opacity: 0.3;
}

.product-gallery-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* ── Right: Info (Scrollable) ── */
.product-detail-info {
    width: 52%;
    padding: 50px;
    background: #FAF8F5;
    overflow-y: auto; /* ALLOW SCROLLING WITHIN THE PANE */
    height: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 168, 76, 0.3) transparent;
}

/* Custom scrollbar for webkit */
.product-detail-info::-webkit-scrollbar {
    width: 5px;
}
.product-detail-info::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 10px;
}

.product-header .product-number {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--sapphire-gold);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.product-header .product-name {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--bold-red);
    margin-bottom: 12px;
    line-height: 1.1;
    font-weight: 500;
}

.product-subtitle {
    font-size: 15px;
    color: var(--navy-blue);
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: normal;
    font-family: var(--font-sans);
}

.product-price-wrap {
    margin-bottom: 25px;
}

.product-price {
    font-size: 28px;
    font-weight: 500;
    color: var(--bold-red);
    display: block;
    margin-bottom: 5px;
}

.product-price.discounted {
    color: var(--green) !important;
    font-weight: 700 !important;
}

.original-strike {
    font-size: 16px !important;
    color: #999 !important;
    text-decoration: line-through !important;
    opacity: 0.8 !important;
    display: block !important;
}

.tax-hint {
    font-size: 12px;
    color: var(--navy-blue);
    margin: 0;
    opacity: 0.8;
    letter-spacing: 0;
}

/* ── Badges (Matching qv-badges) ── */
.benefit-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border: none;
    padding: 0;
}

.benefit-item {
    font-size: 11px;
    padding: 8px 16px;
    border: 1px solid var(--sapphire-gold);
    border-radius: 20px;
    color: var(--navy-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.05);
}

.benefit-item i {
    color: var(--sapphire-gold);
    font-size: 14px;
}

.product-description {
    margin: 25px 0;
}

.intro-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--navy-blue);
    opacity: 0.85;
}

/* ── Actions (Matching qv-add-btn) ── */
.product-actions {
    margin-top: 20px;
    margin-bottom: 40px;
}

.add-to-cart-large {
    width: 100%;
    height: 60px;
    background: var(--bold-red);
    color: var(--pale-white);
    border: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 6px;
}

.add-to-cart-large:hover {
    background: #a31414;
    transform: none;
    box-shadow: 0 10px 30px rgba(139, 26, 26, 0.15);
}

/* ── Accordion/Tabs (Matching qv-tabs) ── */
.product-accordion {
    border-top: 1px solid var(--sapphire-gold);
    padding-top: 30px;
}

.product-accordion details {
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.product-accordion summary {
    padding: 20px 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--navy-blue);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.product-accordion summary:hover {
    color: var(--bold-red);
    opacity: 1;
}

.product-accordion details[open] summary {
    color: var(--bold-red);
    opacity: 1;
    font-weight: 600;
}

.product-accordion summary::after {
    content: '+';
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.4s ease;
}

.product-accordion details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.accordion-content {
    padding-bottom: 25px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--navy-blue);
    font-weight: 300;
}

/* ── Reflections Section ── */
.product-reflections {
    margin-top: 60px;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    padding-top: 40px;
}

.reflections-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.reflections-header h2 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--bold-red);
    margin: 0;
}

.btn-write-review {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sapphire-gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-write-review:hover {
    color: var(--bold-red);
    transform: translateX(3px);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.no-reviews {
    padding: 40px;
    text-align: center;
    background: rgba(201, 168, 76, 0.03);
    border-radius: 16px;
    border: 1px dashed rgba(201, 168, 76, 0.2);
}

.no-reviews p {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.review-item {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.review-item:last-child {
    border-bottom: none;
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-initials {
    width: 32px;
    height: 32px;
    background: var(--sapphire-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.verified-badge {
    font-size: 10px;
    color: #27ae60;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(39, 174, 96, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
}

.review-rating {
    display: flex;
    gap: 3px;
    color: var(--sapphire-gold);
    font-size: 12px;
}

.review-body p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--navy-blue);
    opacity: 0.9;
    margin: 0;
}

.review-footer {
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .product-detail-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        height: auto; /* Reset fixed height */
        min-height: 0;
        overflow: visible; /* Allow page scroll */
        border-radius: 20px;
    }

    .product-detail-media {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        position: relative;
        top: 0;
        border-radius: 20px 20px 0 0;
        border-right: none;
        border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    }

    .product-detail-info {
        width: 100%;
        height: auto; /* Reset fixed height */
        padding: 40px 24px;
        overflow-y: visible; /* Disable internal scroll */
        background: #FAF8F5;
    }

    .product-header .product-name {
        font-size: 32px;
    }
}

