/* Product Detail Page Styles */

:root {
    --black: #000000;
    --white: #FFFFFF;
    --grey-light: #F5F5F5;
    --grey-medium: #CCCCCC;
    --grey-dark: #666666;
    --grey-darker: #333333;
}

.product-detail-section {
    padding-top: 20px;
    padding-bottom: 80px;
    background-color: var(--white);
    min-height: 100vh;
    margin-top: 0;
}

.product-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 40px;
    font-family: 'Gothic A1', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: var(--grey-dark);
    letter-spacing: 0.5px;
}

.breadcrumb a {
    color: var(--grey-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb span {
    margin: 0 10px;
    color: var(--grey-medium);
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

/* Product Images */
.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--grey-light);
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.badge.trend {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
    padding: 8px 16px;
    font-family: 'Gothic A1', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 10;
}

.thumbnail-images {
    display: flex;
    gap: 15px;
    overflow-x: auto;
}

.thumbnail {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background-color: var(--grey-light);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

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

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-title {
    font-family: 'Gothic A1', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--black);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.product-reference {
    font-family: 'Gothic A1', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: var(--grey-dark);
    letter-spacing: 0.5px;
    margin: 0;
}

.product-price-section {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--grey-medium);
}

.product-price {
    font-family: 'Gothic A1', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--black);
    letter-spacing: 1px;
}

.product-description-section {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--grey-medium);
}

.product-description-text {
    font-family: 'Gothic A1', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--grey-darker);
    line-height: 1.8;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Product Options */
.product-option {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-label {
    font-family: 'Gothic A1', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--black);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 12px 24px;
    background-color: var(--white);
    border: 1px solid var(--grey-medium);
    color: var(--black);
    font-family: 'Gothic A1', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
}

.size-option:hover,
.size-option.active {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.size-guide-link {
    font-family: 'Gothic A1', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: var(--grey-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.size-guide-link:hover {
    color: var(--black);
    text-decoration: underline;
}

.color-options {
    display: flex;
    gap: 15px;
}

.color-option {
    width: 45px;
    height: 45px;
    border: 2px solid var(--grey-medium);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.color-option:hover,
.color-option.active {
    border-color: var(--black);
    transform: scale(1.1);
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    width: fit-content;
    background-color: var(--white);
    border-radius: 0;
    overflow: hidden;
}

.quantity-button {
    width: 45px;
    height: 45px;
    background-color: #f5f5f5;
    border: none;
    color: var(--black);
    font-family: 'Gothic A1', sans-serif;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    user-select: none;
    -webkit-user-select: none;
}

.quantity-button:first-child {
    border-right: 1px solid #e5e5e5;
}

.quantity-button:last-child {
    border-left: 1px solid #e5e5e5;
}

.quantity-button:hover {
    background-color: #e5e5e5;
    color: var(--black);
}

.quantity-button:active {
    background-color: #d0d0d0;
    transform: scale(0.95);
}

.quantity-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-input {
    width: 70px;
    height: 45px;
    text-align: center;
    border: none;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    font-family: 'Gothic A1', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
    background-color: var(--white);
    padding: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input:focus {
    outline: none;
    background-color: #fafafa;
}

.quantity-input:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--grey-medium);
}

.add-to-cart-button {
    flex: 1;
    padding: 18px;
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
    font-family: 'Gothic A1', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-button:hover {
    background-color: var(--white);
    color: var(--black);
}

.wishlist-button {
    width: 56px;
    height: 56px;
    background-color: var(--white);
    border: 1px solid var(--grey-medium);
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.wishlist-button:hover {
    border-color: var(--black);
    background-color: var(--black);
    color: var(--white);
}

.wishlist-button svg {
    width: 24px;
    height: 24px;
}

/* Product Tabs */
.product-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e5e5;
    margin-top: 20px;
    padding-top: 0;
}

.tab-button {
    padding: 12px 20px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #999;
    font-family: 'Gothic A1', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: -1px;
}

.tab-button:hover {
    color: #666;
}

.tab-button.active {
    color: #000;
    border-bottom-color: #000;
    font-weight: 500;
}

.tab-content {
    padding: 20px 0;
    min-height: 100px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-panel h3 {
    font-family: 'Gothic A1', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.tab-panel p {
    font-family: 'Gothic A1', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--grey-darker);
    line-height: 1.8;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.tab-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-panel ul li {
    font-family: 'Gothic A1', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--grey-darker);
    letter-spacing: 0.5px;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.tab-panel ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--black);
}

.details-table {
    width: 100%;
    border-collapse: collapse;
}

.details-table tr {
    border-bottom: 1px solid var(--grey-light);
}

.details-table td {
    padding: 15px 0;
    font-family: 'Gothic A1', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--grey-darker);
    letter-spacing: 0.5px;
}

.details-table td:first-child {
    font-weight: 400;
    color: var(--black);
    width: 40%;
}

.product-details-text {
    font-family: 'Gothic A1', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--grey-darker);
    line-height: 1.8;
    letter-spacing: 0.5px;
    white-space: pre-line;
}

/* Related Products Section */
.related-products-section {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid var(--grey-medium);
}

.related-products-title {
    font-family: 'Gothic A1', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--black);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Use same styles as home page products */
.related-products-section .product-card {
    background-color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.related-products-section .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.related-products-section .product-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    background-color: var(--grey-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.related-products-section .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-products-section .product-card:hover .product-image img {
    transform: scale(1.05);
}

.related-products-section .product-heart {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.related-products-section .product-heart svg {
    width: 20px;
    height: 20px;
    color: var(--black);
    stroke-width: 2;
    transition: all 0.3s ease;
}

.related-products-section .product-heart:hover {
    opacity: 0.6;
}

.related-products-section .product-heart.active svg {
    fill: var(--black);
    color: var(--black);
}

.related-products-section .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--black);
    color: var(--white);
    padding: 6px 12px;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 10;
}

.related-products-section .badge.trend {
    background-color: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
}

.related-products-section .product-info {
    padding: 15px 15px 18px;
}

.related-products-section .product-description {
    font-family: 'Gothic A1', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.related-products-section .product-price {
    font-family: 'Gothic A1', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.related-products-section .product-colors {
    display: flex;
    gap: 8px;
    margin-top: 0;
}

.related-products-section .color-swatch {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.related-products-section .color-swatch:hover {
    transform: scale(1.15);
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail-content {
        gap: 60px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        padding-top: 15px;
        padding-bottom: 60px;
        margin-top: 0;
    }

    .product-detail-container {
        padding: 0 20px;
    }

    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-image {
        aspect-ratio: 1 / 1;
    }

    .product-title {
        font-size: 28px;
        letter-spacing: 1.5px;
    }

    .product-price {
        font-size: 24px;
    }

    .product-actions {
        flex-direction: column;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .related-products-section .product-price {
        font-size: 12px !important;
    }
    
    .wishlist-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-detail-section {
        padding-top: 15px;
        padding-bottom: 60px;
        margin-top: 0;
    }

    .product-detail-container {
        padding: 0 15px;
    }

    .product-title {
        font-size: 24px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .related-products-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .product-price {
        font-size: 20px;
    }

    .thumbnail-images {
        gap: 10px;
    }

    .thumbnail {
        width: 80px;
        height: 80px;
    }

    .size-option {
        padding: 10px 20px;
        font-size: 12px;
    }

    .color-option {
        width: 40px;
        height: 40px;
    }

    .quantity-selector {
        width: 100%;
    }

    .quantity-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .quantity-input {
        width: 80px;
        height: 50px;
        font-size: 16px;
    }

    .related-products-section {
        margin-top: 60px;
        padding-top: 40px;
    }

    .related-products-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .related-products-section .product-price {
        font-size: 12px !important;
    }
}

/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    top: 120px;
    right: 40px;
    background-color: var(--black);
    color: var(--white);
    padding: 18px 28px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Gothic A1', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    min-width: 280px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.toast-notification.success {
    background-color: var(--black);
    border-left: 4px solid #4CAF50;
}

.toast-notification.error {
    background-color: var(--black);
    border-left: 4px solid #f44336;
}

.toast-notification-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-notification-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.toast-notification-message {
    flex: 1;
    line-height: 1.4;
}

.toast-notification-close {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.toast-notification-close:hover {
    opacity: 1;
}

.toast-notification-close svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

@media (max-width: 768px) {
    .toast-notification {
        top: 100px;
        right: 20px;
        left: 20px;
        min-width: auto;
        max-width: none;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Additional Product Detail Styles - Overrides and Compact Styling */

/* Override CSS filters to prevent black overlay */
#main-image {
    filter: none !important;
    -webkit-filter: none !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

#main-image-container {
    background-color: #ffffff !important;
}

/* Ensure thumbnails also don't have filters */
.thumbnail-images img {
    filter: none !important;
    -webkit-filter: none !important;
}

/* Compact product info styling */
.product-info {
    gap: 12px !important;
}

.product-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
}

.product-title {
    font-size: 20px !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    margin: 0 !important;
    line-height: 1.4;
    flex: 1;
}

.product-reference {
    font-size: 11px;
    color: #666;
    font-weight: 300;
    margin: 4px 0 0 0;
    font-family: 'Gothic A1', sans-serif;
}

.wishlist-button-top {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 15px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.wishlist-button-top:hover {
    opacity: 0.6;
}

.product-price-section {
    padding-bottom: 8px !important;
    border-bottom: none !important;
}

.product-price-wrapper {
    margin-bottom: 2px;
}

.product-price {
    font-size: 22px !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
}

.price-subtext {
    font-size: 11px;
    color: #666;
    font-weight: 300;
    margin: 0;
    font-family: 'Gothic A1', sans-serif;
}

.stock-status-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.stock-status-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #28a745;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stock-status-icon svg {
    width: 12px;
    height: 12px;
}

.stock-status-text {
    font-size: 11px;
    font-weight: 500;
    color: #28a745;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Gothic A1', sans-serif;
}

.product-category-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.category-label {
    font-size: 11px;
    color: #666;
    font-weight: 400;
    font-family: 'Gothic A1', sans-serif;
}

.category-names {
    font-size: 11px;
    color: #000;
    font-weight: 500;
    font-family: 'Gothic A1', sans-serif;
}

.product-separator {
    height: 1px;
    background-color: #e5e5e5;
    margin: 8px 0;
}

.product-option {
    gap: 8px !important;
}

.option-label {
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    font-weight: 400 !important;
}

.color-label-wrapper,
.size-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-value {
    font-weight: 600;
}

.color-options {
    gap: 10px !important;
}

.color-option {
    width: 35px !important;
    height: 35px !important;
    border-radius: 0 !important;
    border: 1px solid #ddd !important;
    border-radius: 0;
}

.color-option.active {
    border: 2px solid #000 !important;
    transform: none !important;
}

.color-option:hover {
    transform: none;
}

.size-label-wrapper {
    margin-bottom: 4px;
}

.size-guide-link {
    font-size: 10px !important;
    text-transform: uppercase !important;
    text-decoration: underline !important;
    letter-spacing: 0.5px !important;
    color: #000 !important;
}

.size-options {
    gap: 8px !important;
}

.size-option {
    padding: 8px 14px !important;
    font-size: 11px !important;
    min-width: 40px !important;
    text-align: center;
    border: 1px solid #000 !important;
    background-color: #fff !important;
    color: #000 !important;
}

.size-option:hover {
    background-color: #fff !important;
    color: #000 !important;
}

.size-option.active {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

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

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.add-to-cart-button,
.buy-now-button {
    width: 100%;
    padding: 14px !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    font-family: 'Gothic A1', sans-serif;
    text-transform: uppercase;
}

.add-to-cart-button {
    background-color: #000;
    color: #fff;
}

.add-to-cart-button:hover {
    opacity: 0.8;
    border: 1px solid #000;
}

.buy-now-button {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

.buy-now-button:hover {
    background-color: #f5f5f5;
}

.product-description-section {
    display: none;
}

.model-info {
    font-size: 11px;
    color: #000;
    font-weight: 300;
    margin: 4px 0;
    font-family: 'Gothic A1', sans-serif;
}

/* Zoom Button */
.zoom-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    color: #000;
}

.zoom-button:hover {
    background-color: #fff;
    border-color: #000;
    transform: scale(1.1);
}

.zoom-button svg {
    width: 18px;
    height: 18px;
}

/* Image Zoom Modal */
.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}

.zoom-modal-content {
    position: relative;
    z-index: 10000;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-modal-content img {
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
    cursor: zoom-out;
}

.zoom-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.2s ease;
    color: #000;
}

.zoom-modal-close:hover {
    background-color: #fff;
    border-color: #000;
    transform: scale(1.1);
}

.zoom-modal-close svg {
    width: 20px;
    height: 20px;
}

/* Guide des tailles link */
.size-guide-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--black);
    text-decoration: underline;
    letter-spacing: 0.5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.size-guide-link:hover {
    color: var(--grey-darker);
}

/* Size guide modal */
.size-guide-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.size-guide-modal.active {
    display: flex;
}

.size-guide-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.size-guide-modal-content {
    position: relative;
    background: var(--white);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 40px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.size-guide-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--grey-medium);
    cursor: pointer;
    color: var(--black);
    transition: all 0.2s ease;
}

.size-guide-modal-close:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.size-guide-modal-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
    text-align: center;
}

.size-guide-type-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--grey-medium);
}

.size-guide-type-tab {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--grey-dark);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    margin-bottom: -1px;
}

.size-guide-type-tab:hover {
    color: var(--black);
}

.size-guide-type-tab.active {
    color: var(--black);
    border-bottom-color: var(--black);
}

.size-guide-units {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.size-guide-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.size-guide-field {
    margin-bottom: 20px;
}

.size-guide-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
}

.size-guide-select {
    width: 100%;
    max-width: 280px;
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid var(--grey-dark);
    background: transparent;
    font-size: 14px;
    appearance: auto;
}

.size-guide-table-wrap {
    margin: 24px 0;
    overflow-x: auto;
}

.size-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.size-guide-table th,
.size-guide-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--grey-medium);
}

.size-guide-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.size-guide-measure {
    margin-top: 28px;
}

.size-guide-measure h4,
.size-guide-help h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
}

.size-guide-measure-sub {
    font-size: 13px;
    color: var(--grey-dark);
    margin: 0 0 16px;
}

.size-guide-measure-content {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.size-guide-measure-image {
    flex-shrink: 0;
}

.size-guide-measure-image img {
    max-width: 200px;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .size-guide-measure-content {
        flex-direction: column;
        gap: 16px;
    }
    .size-guide-measure-image img {
        max-width: 100%;
    }
}

.size-guide-measure-text p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px;
    color: var(--grey-darker);
}

.size-guide-help {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--grey-medium);
}

.size-guide-help p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: var(--grey-darker);
}

.size-guide-help a {
    color: var(--black);
    text-decoration: underline;
}

.size-guide-help a:hover {
    color: var(--grey-darker);
}

