/* ============================================
   PRODUCT PAGE - Styles
   ============================================ */

/* Breadcrumb */
.product-breadcrumb {
    padding: 6rem 4rem 1rem;
    background: var(--black);
}

.product-breadcrumb .breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey);
}

.product-breadcrumb .breadcrumb a {
    color: var(--grey);
    transition: color var(--transition-normal);
}

.product-breadcrumb .breadcrumb a:hover {
    color: var(--gold);
}

.product-breadcrumb .breadcrumb span {
    margin: 0 0.5rem;
}

/* Product Section */
.product-section {
    padding: 2rem 4rem 6rem;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.product-main-image {
    position: relative;
    aspect-ratio: 3/4;
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 50%, #1a1a1a 100%);
    margin-bottom: 1rem;
    overflow: hidden;
}

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

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

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image .product-placeholder {
    font-size: 8rem;
}

.product-main-image .product-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.product-thumbnail {
    aspect-ratio: 1;
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 50%, #1a1a1a 100%);
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-normal);
}

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

.product-thumbnail .product-placeholder {
    font-size: 1.5rem;
}

/* Product Details */
.product-details {
    padding-top: 1rem;
}

.product-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(201, 169, 98, 0.1);
}

.product-category-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.product-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-subtitle {
    font-size: 0.9rem;
    color: var(--grey);
    margin-bottom: 1.5rem;
}

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.product-price-large {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--white);
}

.product-tax {
    font-size: 0.75rem;
    color: var(--grey);
}

/* Product Description */
.product-description-short {
    margin-bottom: 2rem;
}

.product-description-short p {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.8;
}

/* Purchase Type Selection */
.purchase-type-section {
    margin-bottom: 2rem;
}

.purchase-type-section .option-label {
    display: block;
    margin-bottom: 1rem;
}

.purchase-type-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.purchase-type-card {
    display: block;
    cursor: pointer;
}

.purchase-type-card input {
    display: none;
}

.purchase-type-content {
    padding: 1.25rem;
    border: 1px solid rgba(201, 169, 98, 0.2);
    background: var(--black-light);
    transition: all var(--transition-normal);
    position: relative;
}

.purchase-type-card input:checked + .purchase-type-content {
    border-color: var(--gold);
    background: rgba(201, 169, 98, 0.05);
}

.purchase-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.purchase-type-title {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.purchase-type-price {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--gold);
}

.purchase-type-desc {
    font-size: 0.8rem;
    color: var(--grey);
}

.purchase-type-badge {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--gold);
    padding: 0.25rem 0.5rem;
}

/* Product Options Group */
.product-options-group {
    margin-bottom: 2rem;
}

/* Product Options */
.product-option {
    margin-bottom: 2rem;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.option-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.size-guide-link {
    font-size: 0.7rem;
    color: var(--gold);
    text-decoration: underline;
}

/* Size Options */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-option {
    min-width: 50px;
    height: 44px;
    padding: 0 1rem;
    border: 1px solid var(--grey);
    background: transparent;
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.size-option:hover:not(:disabled),
.size-option.active {
    border-color: var(--gold);
    color: var(--gold);
}

.size-option:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Sur-Mesure Info */
.surmesure-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--black-light);
    border: 1px solid rgba(201, 169, 98, 0.2);
    margin-bottom: 2rem;
}

.surmesure-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.surmesure-info-item svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.surmesure-info-item strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.surmesure-info-item p {
    font-size: 0.8rem;
    color: var(--grey);
    margin: 0;
}

/* Product Actions Main */
.product-actions-main {
    margin-bottom: 2rem;
}

.product-actions-main .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* Product Features */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--black-light);
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--grey);
}

.feature-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Accordions */
.product-accordions {
    border-top: 1px solid rgba(201, 169, 98, 0.1);
}

.accordion {
    border-bottom: 1px solid rgba(201, 169, 98, 0.1);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color var(--transition-normal);
}

.accordion-header:hover {
    color: var(--gold);
}

.accordion-header svg {
    color: var(--grey);
    transition: transform var(--transition-normal);
}

.accordion-header.active svg {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.accordion-content.active {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.accordion-content p {
    font-size: 0.85rem;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.accordion-content ul {
    list-style: none;
    padding-left: 0;
}

.accordion-content li {
    font-size: 0.85rem;
    color: var(--grey);
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.accordion-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Other Products Section */
.other-products {
    padding: 6rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.other-products .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.other-products .products-grid.four-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.other-products .product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.other-products .product-info {
    text-align: center;
    padding: 1rem 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-breadcrumb {
        padding: 5rem 2rem 1rem;
    }

    .product-section {
        padding: 1.5rem 2rem 4rem;
    }

    .product-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .product-title {
        font-size: 2rem;
    }

    .other-products {
        padding: 4rem 2rem;
    }

    .other-products .products-grid.four-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-breadcrumb {
        padding: 5rem 1.5rem 1rem;
    }

    .product-section {
        padding: 1rem 1.5rem 3rem;
    }

    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .product-price-large {
        font-size: 1.5rem;
    }

    .purchase-type-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .other-products {
        padding: 3rem 1.5rem;
    }

    .other-products .products-grid.four-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .other-products .products-grid.four-cols {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    .size-options {
        width: 100%;
    }

    .size-option {
        flex: 1;
        min-width: auto;
    }
}
