/*
Theme Name: Mbali Custom
Author: Hanh Nguyen
Description: Theme thám hiểm tối ưu.
Version: 1.0
*/
body { background: #1a1a1a; color: white; font-family: sans-serif; text-align: center; }
.hero { padding: 100px; background: #000; }

/* WooCommerce Checkout Block fields on the dark theme */
.wp-block-woocommerce-checkout,
.wc-block-checkout {
    color: #F5F5DC;
    text-align: left;
}

.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-text-input textarea,
.wp-block-woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
.wp-block-woocommerce-checkout .wc-block-components-country-input input,
.wp-block-woocommerce-checkout .wc-block-components-state-input input,
.wp-block-woocommerce-checkout input,
.wp-block-woocommerce-checkout textarea,
.wp-block-woocommerce-checkout select,
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-text-input textarea,
.wc-block-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-checkout .wc-block-components-country-input input,
.wc-block-checkout .wc-block-components-state-input input {
    background-color: #111111;
    border: 1px solid rgba(245, 245, 220, 0.3);
    color: #FFFFFF;
}

.wp-block-woocommerce-checkout .wc-block-components-text-input label,
.wp-block-woocommerce-checkout .wc-block-components-combobox label,
.wp-block-woocommerce-checkout label,
.wc-block-checkout .wc-block-components-text-input label,
.wc-block-checkout .wc-block-components-combobox label {
    color: #F5F5DC;
    opacity: 1;
}

.wp-block-woocommerce-checkout input::placeholder,
.wp-block-woocommerce-checkout textarea::placeholder,
.wc-block-checkout input::placeholder,
.wc-block-checkout textarea::placeholder {
    color: rgba(245, 245, 220, 0.68);
    opacity: 1;
}

.wp-block-woocommerce-checkout input:focus,
.wp-block-woocommerce-checkout textarea:focus,
.wp-block-woocommerce-checkout select:focus,
.wc-block-checkout input:focus,
.wc-block-checkout textarea:focus,
.wc-block-checkout select:focus {
    border-color: #c5a059;
    box-shadow: 0 0 0 1px #c5a059;
    outline: none;
}

/* WooCommerce frontend polish for dark theme */
.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-account,
.woocommerce-order-received {
    color: #F5F5DC;
    text-align: left;
}

.woocommerce-cart main,
.woocommerce-checkout main,
.woocommerce-account main,
.woocommerce-order-received main {
    background: #0A0A0A;
}

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content,
.woocommerce-order-received .entry-content,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce,
.woocommerce-order-received .woocommerce {
    max-width: 1180px;
    margin: 0 auto;
    padding: 9rem 1.5rem 5rem;
}

.woocommerce-cart h1,
.woocommerce-checkout h1,
.woocommerce-account h1,
.woocommerce-order-received h1,
.woocommerce-cart h2,
.woocommerce-checkout h2,
.woocommerce-account h2,
.woocommerce-order-received h2,
.woocommerce-cart h3,
.woocommerce-checkout h3,
.woocommerce-account h3,
.woocommerce-order-received h3 {
    color: #F5F5DC;
    font-family: "Cinzel", serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.woocommerce-cart .woocommerce-info,
.woocommerce-checkout .woocommerce-info,
.woocommerce-account .woocommerce-info,
.woocommerce-order-received .woocommerce-info,
.woocommerce-cart .woocommerce-message,
.woocommerce-checkout .woocommerce-message,
.woocommerce-account .woocommerce-message,
.woocommerce-order-received .woocommerce-message {
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: #F5F5DC;
}

.woocommerce-cart .button,
.woocommerce-checkout .button,
.woocommerce-account .button,
.woocommerce-order-received .button,
.woocommerce-cart button.button,
.woocommerce-checkout button.button,
.woocommerce-account button.button {
    background: #c5a059;
    border: 1px solid #c5a059;
    color: #0A0A0A;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.woocommerce-cart .button:hover,
.woocommerce-checkout .button:hover,
.woocommerce-account .button:hover,
.woocommerce-order-received .button:hover,
.woocommerce-cart button.button:hover,
.woocommerce-checkout button.button:hover,
.woocommerce-account button.button:hover {
    background: #F5F5DC;
    border-color: #F5F5DC;
    color: #0A0A0A;
}

/* My Account login and register forms */
.woocommerce-account form.login,
.woocommerce-account form.register,
.woocommerce-account .woocommerce-form-login {
    background: #111111;
    border: 1px solid rgba(197, 160, 89, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    color: rgba(245, 245, 220, 0.82);
    margin: 2rem auto;
    max-width: 520px;
    padding: clamp(1.35rem, 4vw, 2rem);
}

.woocommerce-account form.login .form-row,
.woocommerce-account form.register .form-row,
.woocommerce-account .woocommerce-form-login .form-row,
.woocommerce-account form.login .woocommerce-form-row,
.woocommerce-account form.register .woocommerce-form-row,
.woocommerce-account .woocommerce-form-login .woocommerce-form-row,
.woocommerce-account form.login .woocommerce-form-row--wide,
.woocommerce-account form.register .woocommerce-form-row--wide,
.woocommerce-account .woocommerce-form-login .woocommerce-form-row--wide,
.woocommerce-account form.login p.woocommerce-form-row,
.woocommerce-account form.register p.woocommerce-form-row,
.woocommerce-account .woocommerce-form-login p.woocommerce-form-row,
.woocommerce-account form.login p.woocommerce-form-row--wide,
.woocommerce-account form.register p.woocommerce-form-row--wide,
.woocommerce-account .woocommerce-form-login p.woocommerce-form-row--wide,
.woocommerce-account form.login p.form-row,
.woocommerce-account form.register p.form-row,
.woocommerce-account .woocommerce-form-login p.form-row,
.woocommerce-account form.login .form-row-wide,
.woocommerce-account form.register .form-row-wide,
.woocommerce-account .woocommerce-form-login .form-row-wide,
.woocommerce-account form.login .form-row-first,
.woocommerce-account form.register .form-row-first,
.woocommerce-account .woocommerce-form-login .form-row-first,
.woocommerce-account form.login .form-row-last,
.woocommerce-account form.register .form-row-last,
.woocommerce-account .woocommerce-form-login .form-row-last {
    clear: both !important;
    display: block !important;
    float: none !important;
    margin: 0 0 1.15rem !important;
    max-width: 100% !important;
    width: 100% !important;
}

.woocommerce-account form.login .form-row label,
.woocommerce-account form.register .form-row label,
.woocommerce-account .woocommerce-form-login .form-row label,
.woocommerce-account form.login .woocommerce-form-row label,
.woocommerce-account form.register .woocommerce-form-row label,
.woocommerce-account .woocommerce-form-login .woocommerce-form-row label,
.woocommerce-account form.login .woocommerce-form-row--wide label,
.woocommerce-account form.register .woocommerce-form-row--wide label,
.woocommerce-account .woocommerce-form-login .woocommerce-form-row--wide label,
.woocommerce-account form.login p.woocommerce-form-row label,
.woocommerce-account form.register p.woocommerce-form-row label,
.woocommerce-account .woocommerce-form-login p.woocommerce-form-row label,
.woocommerce-account form.login p.woocommerce-form-row--wide label,
.woocommerce-account form.register p.woocommerce-form-row--wide label,
.woocommerce-account .woocommerce-form-login p.woocommerce-form-row--wide label,
.woocommerce-account form.login p.form-row label,
.woocommerce-account form.register p.form-row label,
.woocommerce-account .woocommerce-form-login p.form-row label {
    clear: both !important;
    color: #c5a059;
    display: block !important;
    float: none !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin: 0 0 0.45rem !important;
    max-width: 100% !important;
    text-transform: uppercase;
    width: 100% !important;
}

.woocommerce-account form.login input.input-text,
.woocommerce-account form.register input.input-text,
.woocommerce-account .woocommerce-form-login input.input-text,
.woocommerce-account form.login input.woocommerce-Input,
.woocommerce-account form.register input.woocommerce-Input,
.woocommerce-account .woocommerce-form-login input.woocommerce-Input,
.woocommerce-account form.login input.woocommerce-Input--text,
.woocommerce-account form.register input.woocommerce-Input--text,
.woocommerce-account .woocommerce-form-login input.woocommerce-Input--text,
.woocommerce-account form.login .woocommerce-Input,
.woocommerce-account form.register .woocommerce-Input,
.woocommerce-account .woocommerce-form-login .woocommerce-Input,
.woocommerce-account form.login .woocommerce-Input--text,
.woocommerce-account form.register .woocommerce-Input--text,
.woocommerce-account .woocommerce-form-login .woocommerce-Input--text {
    background: #F5F5DC;
    border: 1px solid rgba(197, 160, 89, 0.55);
    box-sizing: border-box !important;
    color: #0A0A0A;
    display: block !important;
    float: none !important;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 100% !important;
    min-height: 48px;
    padding: 0.8rem 0.95rem;
    width: 100% !important;
}

.woocommerce-account form.login input.input-text:focus,
.woocommerce-account form.register input.input-text:focus,
.woocommerce-account .woocommerce-form-login input.input-text:focus,
.woocommerce-account form.login .woocommerce-Input:focus,
.woocommerce-account form.register .woocommerce-Input:focus,
.woocommerce-account .woocommerce-form-login .woocommerce-Input:focus {
    border-color: #c5a059;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.22);
    outline: none;
}

.woocommerce-account form.login .password-input,
.woocommerce-account form.register .password-input,
.woocommerce-account .woocommerce-form-login .password-input {
    clear: both !important;
    box-sizing: border-box !important;
    display: block !important;
    float: none !important;
    max-width: 100% !important;
    width: 100% !important;
}

.woocommerce-account form.login .woocommerce-form-login__rememberme,
.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme {
    align-items: center;
    clear: both !important;
    display: flex !important;
    float: none !important;
    gap: 0.55rem;
    margin: 0.4rem 0 1.1rem !important;
    max-width: 100% !important;
    vertical-align: middle;
    width: fit-content !important;
}

.woocommerce-account form.login .woocommerce-form-login__rememberme label,
.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme label,
.woocommerce-account form.login label.woocommerce-form-login__rememberme,
.woocommerce-account .woocommerce-form-login label.woocommerce-form-login__rememberme {
    color: rgba(245, 245, 220, 0.82);
    display: inline-flex !important;
    font-size: 0.85rem;
    letter-spacing: 0;
    margin: 0 !important;
    text-transform: none;
    width: auto !important;
}

.woocommerce-account form.login .woocommerce-form-login__rememberme input,
.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme input {
    accent-color: #c5a059;
}

.woocommerce-account form.login button.button,
.woocommerce-account form.register button.button,
.woocommerce-account .woocommerce-form-login button.button,
.woocommerce-account form.login .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-account form.register .woocommerce-form-register__submit {
    clear: both !important;
    display: flex !important;
    float: none !important;
    justify-content: center;
    margin: 0.35rem 0 1rem !important;
    max-width: 100% !important;
    min-height: 46px;
    min-width: 150px;
    padding: 0.85rem 1.3rem;
}

.woocommerce-account form.login .woocommerce-LostPassword,
.woocommerce-account .woocommerce-form-login .woocommerce-LostPassword,
.woocommerce-account form.login .lost_password,
.woocommerce-account .woocommerce-form-login .lost_password,
.woocommerce-account form.login .woocommerce-LostPassword.lost_password,
.woocommerce-account .woocommerce-form-login .woocommerce-LostPassword.lost_password {
    clear: both !important;
    display: block !important;
    float: none !important;
    margin: 0.9rem 0 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.woocommerce-account form.login .woocommerce-LostPassword a,
.woocommerce-account .woocommerce-form-login .woocommerce-LostPassword a,
.woocommerce-account form.login .lost_password a,
.woocommerce-account .woocommerce-form-login .lost_password a,
.woocommerce-account form.login .woocommerce-LostPassword.lost_password a,
.woocommerce-account .woocommerce-form-login .woocommerce-LostPassword.lost_password a {
    color: #c5a059;
    font-weight: 700;
    text-decoration: none;
}

.woocommerce-account form.login .woocommerce-LostPassword a:hover,
.woocommerce-account .woocommerce-form-login .woocommerce-LostPassword a:hover,
.woocommerce-account form.login .lost_password a:hover,
.woocommerce-account .woocommerce-form-login .lost_password a:hover,
.woocommerce-account form.login .woocommerce-LostPassword.lost_password a:hover,
.woocommerce-account .woocommerce-form-login .woocommerce-LostPassword.lost_password a:hover {
    color: #F5F5DC;
}

.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message {
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.45);
    color: #F5F5DC;
    line-height: 1.7;
    margin: 0 auto 1.5rem;
    max-width: 720px;
    padding: 1rem 1.25rem;
}

.woocommerce-account .woocommerce-error {
    background: rgba(140, 38, 30, 0.22);
    border-color: rgba(255, 155, 135, 0.45);
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #111111;
    border: 1px solid rgba(245, 245, 220, 0.12);
    padding: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    border: 1px solid rgba(245, 245, 220, 0.12);
    color: rgba(245, 245, 220, 0.72);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 0.95rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: rgba(197, 160, 89, 0.14);
    border-color: rgba(197, 160, 89, 0.65);
    color: #F5F5DC;
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: #111111;
    border: 1px solid rgba(245, 245, 220, 0.12);
    color: rgba(245, 245, 220, 0.82);
    line-height: 1.8;
    padding: 2rem;
}

.woocommerce-account .woocommerce-MyAccount-content a,
.woocommerce-order-received .woocommerce-order a,
.woocommerce-cart .woocommerce a,
.woocommerce-checkout .woocommerce a {
    color: #c5a059;
}

.woocommerce-account table.shop_table,
.woocommerce-order-received table.shop_table,
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
    background: #111111;
    border: 1px solid rgba(245, 245, 220, 0.14);
    color: #F5F5DC;
}

.woocommerce-account table.shop_table th,
.woocommerce-order-received table.shop_table th,
.woocommerce-cart table.shop_table th,
.woocommerce-checkout table.shop_table th {
    border-color: rgba(245, 245, 220, 0.12);
    color: #c5a059;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.woocommerce-account table.shop_table td,
.woocommerce-order-received table.shop_table td,
.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table td {
    border-color: rgba(245, 245, 220, 0.1);
    color: rgba(245, 245, 220, 0.82);
}

.woocommerce-order-received .woocommerce-order {
    background: #111111;
    border: 1px solid rgba(245, 245, 220, 0.12);
    padding: 2rem;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
    border-bottom: 1px solid rgba(197, 160, 89, 0.35);
    color: #F5F5DC;
    font-family: "Cinzel", serif;
    font-size: clamp(1.7rem, 4vw, 3rem);
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    text-transform: uppercase;
}

.woocommerce-order-received .woocommerce-order-overview {
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.28);
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.woocommerce-order-received .woocommerce-order-overview li {
    border-color: rgba(245, 245, 220, 0.14);
    color: rgba(245, 245, 220, 0.7);
}

.woocommerce-order-received .woocommerce-order-overview strong {
    color: #F5F5DC;
}

.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout #payment,
.woocommerce-cart .cart_totals {
    background: #111111;
    border: 1px solid rgba(245, 245, 220, 0.12);
    color: #F5F5DC;
    padding: 1.5rem;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-color: rgba(245, 245, 220, 0.12);
}

.woocommerce-checkout #payment ul.payment_methods li,
.woocommerce-checkout .woocommerce-shipping-methods li,
.wc-block-checkout .wc-block-components-radio-control__option,
.wp-block-woocommerce-checkout .wc-block-components-radio-control__option,
.wc-block-checkout .wc-block-components-checkbox,
.wp-block-woocommerce-checkout .wc-block-components-checkbox,
.wc-block-checkout .wc-block-components-payment-methods__payment-method,
.wp-block-woocommerce-checkout .wc-block-components-payment-methods__payment-method {
    background: #111111;
    border: 1px solid rgba(245, 245, 220, 0.18);
    color: #F5F5DC;
    margin-bottom: 0.75rem;
    padding: 1rem;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.woocommerce-checkout #payment ul.payment_methods li:hover,
.woocommerce-checkout .woocommerce-shipping-methods li:hover,
.wc-block-checkout .wc-block-components-radio-control__option:hover,
.wp-block-woocommerce-checkout .wc-block-components-radio-control__option:hover,
.wc-block-checkout .wc-block-components-checkbox:hover,
.wp-block-woocommerce-checkout .wc-block-components-checkbox:hover,
.wc-block-checkout .wc-block-components-payment-methods__payment-method:hover,
.wp-block-woocommerce-checkout .wc-block-components-payment-methods__payment-method:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.55);
}

.woocommerce-checkout #payment ul.payment_methods li:has(input:checked),
.woocommerce-checkout .woocommerce-shipping-methods li:has(input:checked),
.wc-block-checkout .wc-block-components-radio-control__option-checked,
.wp-block-woocommerce-checkout .wc-block-components-radio-control__option-checked,
.wc-block-checkout .wc-block-components-checkbox--checked,
.wp-block-woocommerce-checkout .wc-block-components-checkbox--checked,
.wc-block-checkout .wc-block-components-payment-methods__payment-method.is-active,
.wp-block-woocommerce-checkout .wc-block-components-payment-methods__payment-method.is-active {
    background: rgba(197, 160, 89, 0.16);
    border-color: #c5a059;
    box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.3);
}

.woocommerce-checkout #payment ul.payment_methods li label,
.woocommerce-checkout .woocommerce-shipping-methods li label,
.wc-block-checkout .wc-block-components-radio-control__label,
.wp-block-woocommerce-checkout .wc-block-components-radio-control__label,
.wc-block-checkout .wc-block-components-checkbox__label,
.wp-block-woocommerce-checkout .wc-block-components-checkbox__label,
.wc-block-checkout .wc-block-components-payment-method-label,
.wp-block-woocommerce-checkout .wc-block-components-payment-method-label {
    color: #F5F5DC;
    opacity: 1;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"],
.woocommerce-checkout .woocommerce-shipping-methods li input[type="radio"],
.wc-block-checkout .wc-block-components-radio-control__input,
.wp-block-woocommerce-checkout .wc-block-components-radio-control__input {
    margin-right: 0.65rem !important;
    vertical-align: middle;
}

.woocommerce-checkout #payment ul.payment_methods li label,
.woocommerce-checkout .woocommerce-shipping-methods li label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    line-height: 1.5;
    vertical-align: middle;
}

.wc-block-checkout .wc-block-components-radio-control__option,
.wp-block-woocommerce-checkout .wc-block-components-radio-control__option {
    column-gap: 0.75rem;
}

.wc-block-checkout .wc-block-components-radio-control__label,
.wp-block-woocommerce-checkout .wc-block-components-radio-control__label,
.wc-block-checkout .wc-block-components-payment-method-label,
.wp-block-woocommerce-checkout .wc-block-components-payment-method-label {
    line-height: 1.5;
}

.woocommerce-checkout #payment ul.payment_methods li label::before,
.woocommerce-checkout .woocommerce-shipping-methods li label::before,
.wc-block-checkout .wc-block-components-radio-control__label::before,
.wp-block-woocommerce-checkout .wc-block-components-radio-control__label::before {
    color: #c5a059;
    content: "*";
    display: inline-block;
    font-size: 1.1em;
    line-height: 1;
    margin-right: 0.45rem;
}

.woocommerce-checkout #payment div.payment_box {
    background: rgba(245, 245, 220, 0.07);
    color: rgba(245, 245, 220, 0.82);
    line-height: 1.65;
    margin: 0.75rem 0 0;
    padding: 1rem 1.15rem;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: rgba(245, 245, 220, 0.07);
}
