/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   AURIRA — Single Product Detail
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.product-detail {
    padding-top: calc(80px + var(--space-xl));
}

/* ─── Gallery + Info Grid ─── */
.product-detail__main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    padding: var(--space-xl) 0;
    align-items: start;
}

/* ─── Product Gallery ─── */
.product-gallery {
    position: sticky;
    top: 100px;
}

.product-gallery__main {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: var(--space-sm);
    background: var(--color-bg-secondary);
    cursor: zoom-in;
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
}

.product-gallery__thumb {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    opacity: 0.6;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.active {
    border-color: var(--color-gold);
    opacity: 1;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── Lightbox ─── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox__image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-ivory);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox__close:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-ivory);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox__nav:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.lightbox__nav--prev { left: 2rem; }
.lightbox__nav--next { right: 2rem; }

/* ─── Product Info ─── */
.product-info {
    padding-top: var(--space-sm);
}

.product-info__category {
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.product-info__title {
    font-size: var(--fs-h1);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.product-info__price {
    font-family: var(--font-subheading);
    font-size: var(--fs-h3);
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.product-info__description {
    color: var(--color-ivory-soft);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-xl);
}

/* ─── Product Details Grid ─── */
.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--color-bg-secondary);
    border: var(--border-thin);
}

.product-detail-item {
    padding: var(--space-sm);
}

.product-detail-item__label {
    font-size: var(--fs-tiny);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--ls-widest);
    color: var(--color-gold);
    margin-bottom: 0.25rem;
}

.product-detail-item__value {
    color: var(--color-ivory);
    font-size: var(--fs-body);
}

/* ─── Inquiry CTA on Product Page ─── */
.product-inquiry-cta {
    padding: var(--space-lg);
    background: var(--color-bg-secondary);
    border: var(--border-gold);
    text-align: center;
}

.product-inquiry-cta__title {
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    margin-bottom: var(--space-xs);
}

.product-inquiry-cta__text {
    color: var(--color-muted);
    font-size: var(--fs-small);
    margin-bottom: var(--space-md);
}

/* ─── Artisan Story Section ─── */
.artisan-story {
    padding: var(--space-3xl) 0;
    border-top: var(--border-thin);
    margin-top: var(--space-2xl);
}

.artisan-story__content {
    max-width: var(--container-narrow);
    margin: 0 auto;
    text-align: center;
}

.artisan-story__title {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    margin-bottom: var(--space-md);
}

.artisan-story__text {
    font-family: var(--font-subheading);
    font-size: var(--fs-body-lg);
    color: var(--color-ivory-soft);
    line-height: var(--lh-relaxed);
    font-style: italic;
}

/* ─── Product Inquiry Form ─── */
.product-inquiry-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-secondary);
}

.product-inquiry-form {
    max-width: 600px;
    margin: 0 auto;
}

/* ─── Related Products ─── */
.related-products {
    padding: var(--space-3xl) 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
