/* =========================================================
   AUREN LEATHER
   CHECKOUT PAGE
========================================================= */

.checkout-container {
    width: min(1200px, 92%);
    margin: auto;
}

.checkout-page {
    padding: 70px 0 100px;
}


/* =========================================
   HEADING
========================================= */

.checkout-heading {
    text-align: center;
    margin-bottom: 55px;
}

.checkout-heading > span {
    color: #96704e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.checkout-heading h1 {
    margin: 10px 0;
    color: #292017;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 500;
}

.checkout-heading p {
    margin: 0;
    color: #777;
    font-size: 15px;
}


/* =========================================
   LAYOUT
========================================= */

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 55px;
    align-items: start;
}


/* =========================================
   CHECKOUT SECTION
========================================= */

.checkout-section {
    margin-bottom: 45px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e3ddd5;
}

.checkout-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.checkout-number {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbbdaf;
    color: #96704e;
    font-size: 11px;
    font-weight: 700;
}

.checkout-section-heading h2 {
    margin: 0 0 5px;
    color: #292017;
    font-size: 22px;
    font-weight: 500;
}

.checkout-section-heading p {
    margin: 0;
    color: #888;
    font-size: 12px;
}


/* =========================================
   FORM
========================================= */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    color: #292017;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.form-group label span {
    color: #999;
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d9d1c8;
    border-radius: 0;
    outline: none;
    background: white;
    color: #292017;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.25s;
}

.form-group input,
.form-group select {
    height: 50px;
    padding: 0 14px;
}

.form-group textarea {
    padding: 14px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #96704e;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}


/* =========================================
   SUMMARY
========================================= */

.checkout-right {
    position: sticky;
    top: 25px;
}

.checkout-summary {
    padding: 30px;
    background: #f7f3ee;
}

.summary-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd4ca;
}

.summary-title h2 {
    margin: 0;
    color: #292017;
    font-size: 24px;
    font-weight: 500;
}

.summary-title a {
    color: #96704e;
    font-size: 11px;
    text-decoration: underline;
}


/* =========================================
   CHECKOUT ITEMS
========================================= */

.checkout-items {
    max-height: 350px;
    overflow-y: auto;
}

.checkout-item {
    display: grid;
    grid-template-columns: 65px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e2d9cf;
}

.checkout-item-image {
    width: 65px;
    height: 55px;
    background: #eee8df;
    overflow: hidden;
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-info strong {
    display: block;
    color: #292017;
    font-size: 12px;
    line-height: 1.4;
}

.checkout-item-info span {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 10px;
}

.checkout-item-price {
    color: #292017;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================
   SUMMARY LINES
========================================= */

.summary-lines {
    padding-top: 18px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
    color: #666;
    font-size: 13px;
}

.summary-line strong {
    color: #292017;
}


/* =========================================
   TOTAL
========================================= */

.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid #d7cec4;
}

.checkout-total span {
    color: #292017;
    font-size: 15px;
    font-weight: 700;
}

.checkout-total strong {
    color: #292017;
    font-size: 25px;
}


/* =========================================
   TERMS
========================================= */

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;
    cursor: pointer;
}

.terms-checkbox input {
    margin-top: 3px;
    accent-color: #292017;
}

.terms-checkbox span {
    color: #777;
    font-size: 11px;
    line-height: 1.6;
}


/* =========================================
   SECURITY
========================================= */

.checkout-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: #888;
    font-size: 10px;
}

.checkout-security i {
    color: #96704e;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-right {
        position: static;
    }

}


@media (max-width: 600px) {

    .checkout-page {
        padding: 45px 0 70px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

    .checkout-summary {
        padding: 22px;
    }

    .checkout-section {
        margin-bottom: 35px;
    }

}
/* =========================================
   SEND ORDER METHODS
========================================= */

.order-method-intro {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
    padding: 18px;
    background: #faf7f3;
    border: 1px solid #e4dcd3;
}

.order-method-intro > i {
    color: #96704e;
    font-size: 20px;
    margin-top: 2px;
}

.order-method-intro strong {
    display: block;
    margin-bottom: 5px;
    color: #292017;
    font-size: 13px;
}

.order-method-intro p {
    margin: 0;
    color: #777;
    font-size: 11px;
    line-height: 1.6;
}

.order-method-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-method {
    position: relative;
    width: 100%;
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 18px;
    border: 1px solid #d9d1c8;
    background: #fff;
    color: #292017;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.order-method:hover {
    border-color: #96704e;
    background: #faf7f3;
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(41, 32, 23, 0.06);
}

.order-method:focus-visible {
    outline: 2px solid #96704e;
    outline-offset: 2px;
}

.order-method-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4eee8;
    font-size: 21px;
}

.whatsapp-method .order-method-icon {
    color: #218c55;
}

.email-method .order-method-icon {
    color: #96704e;
}

.order-method-content {
    flex: 1;
}

.order-method-content strong {
    display: block;
    margin-bottom: 5px;
    color: #292017;
    font-size: 14px;
    font-weight: 700;
}

.order-method-content small {
    display: block;
    color: #888;
    font-size: 10px;
}

.recommended-badge {
    display: inline-block;
    margin-top: 7px;
    padding: 4px 7px;
    background: #eee6dd;
    color: #96704e;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1px;
}

.order-arrow {
    color: #96704e;
    font-size: 13px;
    transition: transform 0.25s ease;
}

.order-method:hover .order-arrow {
    transform: translateX(4px);
}

.order-method-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 18px;
    color: #888;
    font-size: 10px;
    line-height: 1.5;
}

.order-method-note i {
    color: #96704e;
    margin-top: 1px;
}

.order-action-message {
    min-height: 18px;
    margin-top: 14px;
    color: #96704e;
    font-size: 11px;
    line-height: 1.5;
}

.summary-order-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 25px;
    padding: 12px;
    border: 1px solid #e2d9cf;
    background: #fff;
    color: #777;
    font-size: 10px;
    line-height: 1.5;
}

.summary-order-note i {
    color: #96704e;
    margin-top: 1px;
}

@media (max-width: 600px) {

    .order-method {
        min-height: 76px;
        padding: 13px;
        gap: 12px;
    }

    .order-method-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .order-method-content strong {
        font-size: 13px;
    }

}


/* =========================================================
   WHATSAPP + EMAIL ORDER OPTIONS
========================================================= */
.order-method-options {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.order-method {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 18px;
    border: 1px solid #ded7cf;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.order-method:hover {
    transform: translateY(-3px);
    border-color: #8d6a49;
    box-shadow: 0 12px 28px rgba(40, 30, 20, .08);
}

.order-method-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #f5f0ea;
    font-size: 21px;
    flex: 0 0 48px;
}

.whatsapp-method .order-method-icon { color: #168c52; }
.email-method .order-method-icon { color: #8d6a49; }

.order-method-content { flex: 1; }
.order-method-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}
.order-method-content small {
    display: block;
    color: #777;
    font-size: 11px;
}
.recommended-badge {
    display: inline-block;
    margin-top: 7px;
    padding: 4px 7px;
    background: #eee6dc;
    color: #8d6a49;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}
.order-arrow {
    color: #8d6a49;
    transition: transform .25s ease;
}
.order-method:hover .order-arrow {
    transform: translateX(5px);
}
.order-method:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}
.order-method-note,
.order-method-intro {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.order-method-intro {
    margin-top: 18px;
    padding: 16px;
    background: #faf7f3;
}
.order-method-intro > i,
.order-method-note > i {
    color: #8d6a49;
}
.order-method-intro p,
.order-method-note span {
    margin: 4px 0 0;
    color: #777;
    font-size: 11px;
    line-height: 1.6;
}
.order-method-note {
    margin-top: 15px;
    color: #777;
    font-size: 10px;
    line-height: 1.5;
}
.order-action-message {
    min-height: 18px;
    margin-top: 10px;
    color: #8d6a49;
    font-size: 11px;
}

@media (max-width: 700px) {
    .order-method { padding: 14px; }
}
