/* Cart, checkout, account, product — scoped to .alive-af-commerce */

.alive-af-commerce {
    background: #0B0C0E;
    color: #D4CFC7;
}

.alive-af-commerce .woocommerce,
.alive-af-commerce .woocommerce-page {
    color: #D4CFC7;
}

.alive-af-commerce .site-main,
.alive-af-commerce main,
.alive-af-commerce .aafn-commerce-main {
    padding: 4.8rem 0 6.4rem;
}

.alive-af-commerce .woocommerce {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 3.2rem;
    padding-right: 3.2rem;
}

.alive-af-commerce .woocommerce h1,
.alive-af-commerce .woocommerce h2,
.alive-af-commerce .woocommerce h3,
.alive-af-commerce .entry-title {
    color: #F2EBE0;
    letter-spacing: -0.03em;
}

.alive-af-commerce .woocommerce-error,
.alive-af-commerce .woocommerce-info,
.alive-af-commerce .woocommerce-message,
.alive-af-commerce .woocommerce-noreviews,
.alive-af-commerce p.no-comments {
    background: #14161A;
    border-top: 0;
    border: 1px solid rgba(201, 169, 110, 0.35);
    color: #D4CFC7;
}

.alive-af-commerce .woocommerce-message::before,
.alive-af-commerce .woocommerce-info::before,
.alive-af-commerce .woocommerce-error::before {
    color: var(--accent);
}

.alive-af-commerce .woocommerce a {
    color: var(--accent);
}

.alive-af-commerce .woocommerce a:hover {
    color: #F2EBE0;
}

.alive-af-commerce .button,
.alive-af-commerce button.button,
.alive-af-commerce #respond input#submit,
.alive-af-commerce .woocommerce a.button,
.alive-af-commerce .woocommerce button.button,
.alive-af-commerce .woocommerce input.button,
.alive-af-commerce .woocommerce #respond input#submit {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    border-radius: 6px;
    background: transparent;
    color: #F2EBE0;
    border: 1px solid var(--accent);
    min-height: 4.8rem;
    padding: 1.2rem 2rem;
}

.alive-af-commerce .button:hover,
.alive-af-commerce button.button:hover,
.alive-af-commerce .woocommerce a.button:hover,
.alive-af-commerce .woocommerce button.button:hover,
.alive-af-commerce .woocommerce input.button:hover {
    background: #111214;
    color: var(--accent);
}

.alive-af-commerce .checkout-button,
.alive-af-commerce .woocommerce a.button.alt,
.alive-af-commerce .woocommerce button.button.alt,
.alive-af-commerce .woocommerce input.button.alt,
.alive-af-commerce #place_order {
    background: var(--accent) !important;
    color: #0B0C0E !important;
    border-color: var(--accent) !important;
}

.alive-af-commerce .checkout-button:hover,
.alive-af-commerce .woocommerce a.button.alt:hover,
.alive-af-commerce .woocommerce button.button.alt:hover,
.alive-af-commerce #place_order:hover {
    background: #000 !important;
    color: #fff !important;
}

.alive-af-commerce table.shop_table {
    border: 1px solid rgba(201, 169, 110, 0.28);
    background: #111214;
}

.alive-af-commerce table.shop_table th,
.alive-af-commerce table.shop_table td {
    border-color: rgba(201, 169, 110, 0.18);
    color: #D4CFC7;
    font-size: 1.6rem;
}

.alive-af-commerce table.shop_table thead th {
    color: #F2EBE0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.alive-af-commerce .product-thumbnail img {
    width: 7.2rem;
    height: auto;
    border-radius: 4px;
}

.alive-af-commerce .product-name a {
    color: #F2EBE0;
    text-decoration: none;
}

.alive-af-commerce .quantity input.qty {
    background: #0B0C0E;
    color: #F2EBE0;
    border: 1px solid rgba(201, 169, 110, 0.35);
    width: 6.4rem;
    height: 4rem;
    text-align: center;
}

.alive-af-commerce .product-remove a {
    color: var(--accent) !important;
}

.alive-af-commerce .cart-collaterals .cart_totals {
    background: #111214;
    border: 1px solid rgba(201, 169, 110, 0.28);
    padding: 2.4rem;
    float: none;
    width: 100%;
    max-width: 48rem;
    margin-left: auto;
}

.alive-af-commerce .cart_totals h2 {
    font-size: 2.8rem;
    margin-bottom: 1.6rem;
}

.alive-af-commerce .wc-proceed-to-checkout {
    padding-top: 1.6rem;
}

.alive-af-commerce .woocommerce-checkout .form-row label,
.alive-af-commerce .woocommerce-account .form-row label {
    color: #C5BDB2;
    font-size: 1.4rem;
}

.alive-af-commerce .woocommerce-checkout input.input-text,
.alive-af-commerce .woocommerce-checkout textarea,
.alive-af-commerce .woocommerce-checkout select,
.alive-af-commerce .woocommerce-checkout .select2-container--default .select2-selection--single,
.alive-af-commerce .woocommerce-account input.input-text,
.alive-af-commerce #order_comments {
    background: #0B0C0E !important;
    color: #F2EBE0 !important;
    border: 1px solid rgba(201, 169, 110, 0.35) !important;
    border-radius: 6px;
    min-height: 4.8rem;
    padding: 1rem 1.2rem;
    font-size: 1.6rem;
}

.alive-af-commerce #order_review table.shop_table thead {
    background: #111214;
}

.alive-af-commerce .select2-dropdown {
    background: #111214;
    border-color: rgba(201, 169, 110, 0.35);
    color: #F2EBE0;
}

.alive-af-commerce .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--accent);
    color: #0B0C0E;
}

.alive-af-commerce #order_review,
.alive-af-commerce #payment {
    background: #111214;
    border: 1px solid rgba(201, 169, 110, 0.28);
}

.alive-af-commerce #payment .payment_methods {
    padding: 1.6rem;
}

.alive-af-commerce #payment .payment_box {
    background: #0B0C0E;
    color: #C5BDB2;
}

.alive-af-commerce #payment .payment_box::before {
    border-bottom-color: #0B0C0E;
}

.alive-af-commerce .alive-af-marketing-optin {
    margin: 2rem 0 1.2rem;
}

.alive-af-commerce .alive-af-marketing-optin label {
    color: #D4CFC7;
    font-size: 1.5rem;
    line-height: 1.5;
}

.alive-af-commerce .alive-af-marketing-optin input[type="checkbox"] {
    width: 1.8rem;
    height: 1.8rem;
    margin-right: 0.8rem;
    accent-color: var(--accent);
}

.alive-af-commerce .woocommerce-order {
    max-width: 72rem;
}

.alive-af-commerce .woocommerce-thankyou-order-received,
.alive-af-commerce .woocommerce-notice--success {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    color: #F2EBE0;
    background: transparent;
    border: 0;
    padding-left: 0;
}

.alive-af-commerce .woocommerce-order-overview {
    background: #111214;
    border: 1px solid rgba(201, 169, 110, 0.28);
    padding: 2rem 2.4rem;
}

.alive-af-commerce .woocommerce-order-overview li {
    color: #C5BDB2;
    font-size: 1.5rem;
}

.alive-af-commerce .woocommerce-order-overview strong {
    color: #F2EBE0;
}

.alive-af-commerce .alive-af-order-extra {
    margin-top: 2.4rem;
}

.alive-af-commerce .alive-af-order-extra p {
    color: #C5BDB2;
    font-size: 1.6rem;
    line-height: 1.65;
}

.alive-af-commerce .woocommerce-product-gallery img {
    background: #111214;
}

.alive-af-commerce div.product .product_title {
    font-size: 4.4rem;
    color: #F2EBE0;
}

.alive-af-commerce div.product p.price {
    color: var(--accent);
    font-size: 2.2rem;
}

@media (max-width: 768px) {
    .alive-af-commerce .woocommerce {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .alive-af-commerce table.shop_table_responsive tr td {
        text-align: right;
    }

    .alive-af-commerce .cart-collaterals .cart_totals {
        max-width: none;
        padding: 1.6rem;
    }

    .alive-af-commerce .woocommerce-checkout input.input-text,
    .alive-af-commerce .woocommerce-checkout select,
    .alive-af-commerce .button,
    .alive-af-commerce #place_order {
        width: 100%;
    }
}
