/* ============================================
   QUATRE - Checkout Page Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Onest', sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Language Selector */
.lang-selector {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 100;
    background: rgba(0,0,0,0.7);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: none;
    border: none;
    color: #6b6b6b;
    font-family: 'Onest', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.25rem 0.5rem;
}

.lang-btn:hover {
    color: #ffffff;
}

.lang-btn.active {
    color: #c9a66b;
}

.lang-sep {
    color: #6b6b6b;
    font-size: 0.75rem;
}

/* Main Layout */
.checkout {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 2rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* Product Section */
.checkout__product {
    width: 100%;
}

.checkout__image-wrapper {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    background-color: transparent;
    margin-bottom: 1.5rem;
}

.checkout__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 16px;
}

.checkout__product-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Product Details */
.checkout__product-details {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    justify-content: space-between;
}

.checkout__detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkout__detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b6b6b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.checkout__detail-value {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.checkout__badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: rgba(46, 125, 50, 0.2);
    color: #4caf50;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    width: fit-content;
}

.checkout__price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.checkout__price-old {
    font-size: 1rem;
    color: #6b6b6b;
    text-decoration: line-through;
}

.checkout__price-new {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4caf50;
}

.checkout__detail-text {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
}

/* Rewards Section */
.checkout__rewards {
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.checkout__rewards-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #1a1a1a;
    cursor: pointer;
}

.checkout__rewards-title {
    font-family: 'Onest', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
}

.checkout__rewards-count {
    font-size: 0.875rem;
    color: #6b6b6b;
    margin-right: 0.5rem;
}

.checkout__rewards-toggle {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: #6b6b6b;
    cursor: pointer;
}

.checkout__rewards-list {
    padding: 0 1.5rem 1rem;
    list-style: none;
    background-color: #0a0a0a;
}

.checkout__rewards-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #1a1a1a;
    font-size: 0.875rem;
    color: #b0b0b0;
    padding-left: 1rem;
    position: relative;
}

.checkout__rewards-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #c9a66b;
}

.checkout__rewards-list li:last-child {
    border-bottom: none;
}

.checkout__rewards-note {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: #6b6b6b;
    background-color: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    font-style: italic;
}

/* PAY Button */
.checkout__pay-btn {
    display: block;
    width: 100%;
    padding: 1.25rem;
    background-color: #c9a66b;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-family: 'Anton', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    text-align: center;
    text-decoration: none;
}

.checkout__pay-btn:hover {
    background-color: #d4b577;
}

.checkout__pay-btn:active {
    transform: scale(0.99);
}

/* Footer */
.checkout-footer {
    background-color: #1a1a1a;
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid #2a2a2a;
    margin-top: 3rem;
}

.checkout-footer__logo {
    margin-bottom: 2rem;
}

.checkout-footer__logo-img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.checkout-footer__social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.checkout-footer__social-link {
    color: #6b6b6b;
    transition: color 0.2s;
    width: 24px;
    height: 24px;
}

.checkout-footer__social-link:hover {
    color: #ffffff;
}

.checkout-footer__social-link svg {
    width: 24px;
    height: 24px;
}

.checkout-footer__links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.checkout-footer__links a {
    color: #6b6b6b;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s;
}

.checkout-footer__links a:hover {
    color: #ffffff;
}

.checkout-footer__links a span {
    margin-left: 0.25rem;
}

.checkout-footer__contact {
    margin-bottom: 1.5rem;
}

.checkout-footer__contact a {
    color: #c9a66b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.checkout-footer__contact a:hover {
    color: #d4b577;
}

.checkout-footer__legal {
    color: #4a4a4a;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout {
        padding: 5rem 1rem 1rem;
    }
    
    .lang-selector {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem 0.75rem;
    }
    
    .lang-btn {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
    
    .checkout__product-title {
        font-size: 1.5rem;
    }
    
    .checkout__product-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .checkout-footer__links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .checkout-footer__legal p {
        font-size: 0.5rem;
    }
}
