/*
Theme Name: Sol Rara Atualizado 31-07 V43
Theme URI: https://solrarajoias.com.br
Author: Sol Rara
Description: Tema oficial da Sol Rara, integrado ao WooCommerce.
Version: 1.0.40
Text Domain: sol-rara
*/

:root {
    --sol-green: #17351f;
    --sol-cream: #f4eee6;
    --sol-line: #d8cec1;
}

body.sol-rara-commerce {
    margin: 0;
    background: var(--sol-cream);
    color: var(--sol-green);
    font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.commerce-header {
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 0 6vw;
    border-bottom: 1px solid var(--sol-line);
}

.commerce-header a {
    color: inherit;
    font-size: 11px;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.commerce-content {
    width: min(1240px, 90vw);
    min-height: 70vh;
    margin: 0 auto;
    padding: 76px 0 120px;
}

.commerce-content button,
.commerce-content .button,
.commerce-content input,
.commerce-content select,
.commerce-content textarea {
    font: inherit;
}

.commerce-content .button,
.commerce-content button[type="submit"] {
    border: 1px solid var(--sol-green);
    border-radius: 0;
    background: var(--sol-green);
    color: #fff;
}

.sol-rara-commerce .wc-block-checkout {
    column-gap: clamp(48px, 7vw, 104px);
}

.sol-rara-commerce .wc-block-components-title,
.sol-rara-commerce .wc-block-checkout__contact-fields .wc-block-components-checkout-step__title,
.sol-rara-commerce .wc-block-checkout__billing-fields .wc-block-components-checkout-step__title,
.sol-rara-commerce .wc-block-checkout__shipping-fields .wc-block-components-checkout-step__title {
    margin: 0 0 28px;
    color: var(--sol-green);
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 400;
    letter-spacing: -.025em;
}

.sol-rara-commerce .wc-block-components-checkout-step {
    margin: 0 0 52px;
    padding: 0;
}

.sol-rara-commerce .wc-block-components-checkout-step__container {
    padding-left: 0;
}

.sol-rara-commerce .wc-block-components-text-input,
.sol-rara-commerce .wc-block-components-combobox {
    margin-top: 12px;
}

/* Give the country selector the same breathing room as the other fields. */
.sol-rara-commerce .wc-block-components-address-form__country {
    margin-top: 14px;
    margin-bottom: 14px;
}

.sol-rara-commerce .wc-block-components-text-input input,
.sol-rara-commerce .wc-block-components-combobox .components-combobox-control__input,
.sol-rara-commerce .wc-block-components-address-form select {
    min-height: 58px;
    border: 1px solid #cbc8c2;
    border-radius: 0;
    background: #f1efeb;
    box-shadow: none;
    color: var(--sol-green);
    font-size: 14px;
    transition: border-color .2s ease, background-color .2s ease;
}

.sol-rara-commerce .wc-block-components-text-input input:focus,
.sol-rara-commerce .wc-block-components-combobox .components-combobox-control__input:focus,
.sol-rara-commerce .wc-block-components-address-form select:focus {
    border-color: #aaa69f;
    outline: 0;
    background: #f6f4f0;
    box-shadow: none;
}

.sol-rara-commerce .wc-block-components-text-input label,
.sol-rara-commerce .wc-block-components-combobox label {
    color: rgba(23, 53, 31, .72);
    font-size: 12px;
}

/* Keep every checkout field visually consistent with the country selector. */
.sol-rara-commerce .wc-block-checkout input:not([type="checkbox"]):not([type="radio"]),
.sol-rara-commerce .wc-block-checkout select,
.sol-rara-commerce .wc-block-checkout textarea,
.sol-rara-commerce .wc-block-components-text-input input,
.sol-rara-commerce .wc-block-components-combobox .components-combobox-control__input {
    min-height: 58px !important;
    border: 1px solid #cbc8c2 !important;
    border-radius: 0 !important;
    background-color: #f1efeb !important;
    box-shadow: none !important;
}

.sol-rara-commerce .wc-block-checkout input:not([type="checkbox"]):not([type="radio"]):focus,
.sol-rara-commerce .wc-block-checkout select:focus,
.sol-rara-commerce .wc-block-checkout textarea:focus {
    border-color: #aaa69f !important;
    background-color: #f6f4f0 !important;
    outline: 0 !important;
}

.sol-rara-commerce .wc-block-components-checkout-step__description,
.sol-rara-commerce .wc-block-components-checkout-step__heading-content,
.sol-rara-commerce .wc-block-components-address-form__address_2-toggle {
    color: rgba(23, 53, 31, .68);
    font-size: 12px;
    line-height: 1.7;
}

.sol-rara-commerce .wc-block-checkout__sidebar {
    top: 36px;
}

.sol-rara-commerce .wc-block-components-sidebar {
    border: 0;
}

.sol-rara-commerce .wp-block-woocommerce-checkout-order-summary-block {
    overflow: hidden;
    border: 1px solid rgba(23, 53, 31, .18);
    border-radius: 2px;
    background: rgba(255, 255, 255, .25);
    box-shadow: 0 24px 70px rgba(23, 53, 31, .06);
}

.sol-rara-commerce .wc-block-components-checkout-order-summary__title {
    padding: 25px 24px 20px;
    font-size: 20px;
    font-weight: 400;
}

.sol-rara-commerce .wc-block-components-order-summary,
.sol-rara-commerce .wc-block-components-totals-wrapper {
    padding-right: 24px;
    padding-left: 24px;
}

.sol-rara-commerce .wc-block-components-order-summary-item__description {
    padding-top: 3px;
}

.sol-rara-commerce .wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .01em;
}

.sol-rara-commerce .wc-block-components-order-summary-item__image img {
    border-radius: 0;
}

.sol-rara-commerce .wc-block-components-totals-item__label,
.sol-rara-commerce .wc-block-components-totals-item__value {
    font-size: 13px;
}

.sol-rara-commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.sol-rara-commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 21px;
    font-weight: 400;
}

.sol-rara-commerce .wc-block-components-checkout-place-order-button {
    min-height: 58px;
    margin-top: 24px;
    border: 1px solid var(--sol-green);
    background: var(--sol-green);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;
}

.sol-rara-commerce .wc-block-components-checkout-place-order-button:hover {
    background: transparent;
    color: var(--sol-green);
}

@media (max-width: 782px) {
    .commerce-header {
        min-height: 64px;
        padding: 0 24px;
    }

    .commerce-content {
        width: min(100% - 40px, 680px);
        padding: 44px 0 80px;
    }

    .sol-rara-commerce .wc-block-checkout {
        display: flex;
        flex-direction: column;
    }

    .sol-rara-commerce .wc-block-checkout__sidebar {
        order: -1;
        margin-bottom: 44px;
    }

    .sol-rara-commerce .wc-block-components-checkout-step {
        margin-bottom: 40px;
    }
}
