/* ============================================
   ASA - Styles Page Produit
   ============================================ */

* {
    box-sizing: border-box;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--color-glass-border);
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.header-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.header-nav a {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.header-logo-right {
    margin-left: auto;
}

.header-logo-right a {
    display: block;
}

.header-logo-right a:hover {
    opacity: 0.8;
}

.header-logo-right .header-logo-img {
    max-height: 156px;
    max-width: 455px;
    object-fit: contain;
}

/* Product Page */
.product-page {
    min-height: 100vh;
    padding: 120px 5% 60px;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-anthracite) 100%);
    box-sizing: border-box;
    overflow-x: hidden;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    box-sizing: border-box;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Product Image */
.product-image-section {
    position: sticky;
    top: 120px;
}

.product-image-wrapper {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-image-placeholder {
    width: 200px;
    height: 200px;
    color: var(--color-text-muted);
    opacity: 0.3;
}

.product-image-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Product Details */
.product-details-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product-info {
    padding: 40px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 8px;
}

.product-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-cream);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.product-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 30px;
}

.product-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Order Form */
.order-form-section {
    padding: 40px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 8px;
}

.order-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-gold);
    margin-bottom: 30px;
    text-align: center;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-form label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.order-form input[type="text"],
.order-form input[type="tel"],
.order-form select {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-glass-border);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.order-form input:focus,
.order-form select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

.order-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C9A84C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.order-form select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.order-form select option {
    background-color: var(--color-black);
    color: var(--color-text);
}

.order-form textarea {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-glass-border);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    resize: vertical;
    min-height: 100px;
}

.order-form textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

.order-form textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

/* Livraison Options */
.livraison-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.livraison-option {
    display: flex;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-glass-border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.livraison-option:has(input:checked) {
    border-color: var(--color-gold);
    background: rgba(201, 168, 76, 0.1);
}

.livraison-option input {
    display: none;
}

.option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.option-title {
    font-size: 0.95rem;
    color: var(--color-text);
}

.option-price {
    font-size: 0.95rem;
    color: var(--color-gold);
    font-weight: 500;
}

/* Quantité */
.quantite-control {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 1px solid var(--color-glass-border);
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.quantite-control input {
    width: 60px;
    height: 44px;
    background: transparent;
    border: none;
    border-left: 1px solid var(--color-glass-border);
    border-right: 1px solid var(--color-glass-border);
    color: var(--color-text);
    font-size: 1rem;
    text-align: center;
    outline: none;
}

/* Order Total */
.order-total {
    padding: 20px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    margin-top: 10px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.total-line span:last-child {
    color: var(--color-text);
}

.total-final {
    border-top: 1px solid var(--color-glass-border);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-cream);
}

.total-final span:last-child {
    color: var(--color-gold);
}

/* Submit Button */
.order-form .submit-button {
    width: 100%;
    margin-top: 10px;
}

/* Order Success */
.order-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 60px 40px;
    text-align: center;
}

/* Inquiry Notice */
.inquiry-notice {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 4px;
}

.order-success.show {
    display: flex;
    animation: successReveal 0.6s ease forwards;
}

@keyframes successReveal {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.order-success .success-icon {
    width: 80px;
    height: 80px;
    color: var(--color-gold);
}

.order-success p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-cream);
}

.order-success .success-detail {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-image-section {
        position: relative;
        top: 0;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 10px 4%;
        flex-wrap: wrap;
        gap: 8px;
    }

    .header-logo {
        font-size: 1.2rem;
        order: 1;
    }

    .header-nav {
        gap: 10px;
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }

    .header-nav a {
        font-size: 0.65rem;
    }

    .header-logo-right {
        order: 2;
        margin-left: auto;
    }

    .header-logo-right .header-logo-img {
        max-height: 52px;
        max-width: 130px;
    }

    .product-page {
        padding: 140px 4% 30px;
    }

    .product-container {
        gap: 25px;
    }

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

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

    .product-info,
    .order-form-section {
        padding: 20px;
    }
}