/*
 * Retrovvita WooCommerce UI — cart, checkout, notices and thank-you page.
 * Version 2.5.1
 */

:root {
    --rv-bg: #171819;
    --rv-surface: #1d1e20;
    --rv-surface-2: #242528;
    --rv-surface-3: #2b2c30;
    --rv-border: rgba(255, 255, 255, .11);
    --rv-border-strong: rgba(255, 255, 255, .18);
    --rv-text: #f7f7f8;
    --rv-muted: #b5b7bd;
    --rv-red: #d92d24;
    --rv-red-hover: #ef3b31;
    --rv-yellow: #f3bd16;
    --rv-green: #35ba75;
    --rv-blue: #4d9cff;
    --rv-danger: #f2645a;
    --rv-radius: 18px;
    --rv-radius-sm: 12px;
    --rv-shadow: 0 18px 55px rgba(0, 0, 0, .22);
}

/* --------------------------------------------------------------------------
   Shared guardrails
   -------------------------------------------------------------------------- */
body.rv-commerce-page,
body.rv-checkout-page,
body.rv-order-received-page {
    color: var(--rv-text);
}

body.rv-commerce-page .woocommerce,
body.rv-checkout-page .woocommerce,
body.rv-order-received-page .woocommerce {
    color: var(--rv-text);
}

body.rv-commerce-page .woocommerce *,
body.rv-checkout-page .woocommerce *,
body.rv-order-received-page .woocommerce * {
    box-sizing: border-box;
}

body.rv-commerce-page .woocommerce a,
body.rv-checkout-page .woocommerce a,
body.rv-order-received-page .woocommerce a {
    text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   WooCommerce notices: visible on the dark Retrovvita palette
   -------------------------------------------------------------------------- */
body.rv-commerce-page .woocommerce-notices-wrapper,
body.rv-checkout-page .woocommerce-notices-wrapper,
body.rv-order-received-page .woocommerce-notices-wrapper,
body.rv-commerce-page .woocommerce-NoticeGroup,
body.rv-checkout-page .woocommerce-NoticeGroup {
    width: 100%;
    clear: both;
}

body.rv-commerce-page .woocommerce-message,
body.rv-commerce-page .woocommerce-info,
body.rv-commerce-page .woocommerce-error,
body.rv-checkout-page .woocommerce-message,
body.rv-checkout-page .woocommerce-info,
body.rv-checkout-page .woocommerce-error,
body.rv-order-received-page .woocommerce-message,
body.rv-order-received-page .woocommerce-info,
body.rv-order-received-page .woocommerce-error,
body.rv-order-received-page .woocommerce-notice {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 62px;
    margin: 0 0 18px !important;
    padding: 14px 18px 14px 62px !important;
    overflow: hidden;
    border: 1px solid var(--rv-border-strong) !important;
    border-right-width: 4px !important;
    border-radius: 15px !important;
    background: var(--rv-surface-2) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .16) !important;
    color: var(--rv-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.9 !important;
    text-align: right !important;
    list-style: none !important;
}

body.rv-commerce-page .woocommerce-message,
body.rv-checkout-page .woocommerce-message,
body.rv-order-received-page .woocommerce-message,
body.rv-order-received-page .woocommerce-notice--success {
    border-right-color: var(--rv-green) !important;
    background: linear-gradient(90deg, rgba(53, 186, 117, .06), rgba(53, 186, 117, .15)) !important;
}

body.rv-commerce-page .woocommerce-info,
body.rv-checkout-page .woocommerce-info,
body.rv-order-received-page .woocommerce-info {
    border-right-color: var(--rv-yellow) !important;
    background: linear-gradient(90deg, rgba(243, 189, 22, .05), rgba(243, 189, 22, .14)) !important;
}

body.rv-commerce-page .woocommerce-error,
body.rv-checkout-page .woocommerce-error,
body.rv-order-received-page .woocommerce-error,
body.rv-order-received-page .woocommerce-notice--error {
    border-right-color: var(--rv-danger) !important;
    background: linear-gradient(90deg, rgba(242, 100, 90, .05), rgba(242, 100, 90, .16)) !important;
}

body.rv-commerce-page .woocommerce-message::before,
body.rv-commerce-page .woocommerce-info::before,
body.rv-commerce-page .woocommerce-error::before,
body.rv-checkout-page .woocommerce-message::before,
body.rv-checkout-page .woocommerce-info::before,
body.rv-checkout-page .woocommerce-error::before,
body.rv-order-received-page .woocommerce-message::before,
body.rv-order-received-page .woocommerce-info::before,
body.rv-order-received-page .woocommerce-error::before,
body.rv-order-received-page .woocommerce-notice::before {
    position: absolute !important;
    top: 50% !important;
    left: 17px !important;
    right: auto !important;
    display: grid !important;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: 0 !important;
    transform: translateY(-50%);
    border-radius: 10px;
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

body.rv-commerce-page .woocommerce-message::before,
body.rv-checkout-page .woocommerce-message::before,
body.rv-order-received-page .woocommerce-message::before,
body.rv-order-received-page .woocommerce-notice--success::before {
    content: "✓" !important;
    background: rgba(53, 186, 117, .17);
    color: var(--rv-green) !important;
}

body.rv-commerce-page .woocommerce-info::before,
body.rv-checkout-page .woocommerce-info::before,
body.rv-order-received-page .woocommerce-info::before {
    content: "i" !important;
    background: rgba(243, 189, 22, .17);
    color: var(--rv-yellow) !important;
}

body.rv-commerce-page .woocommerce-error::before,
body.rv-checkout-page .woocommerce-error::before,
body.rv-order-received-page .woocommerce-error::before,
body.rv-order-received-page .woocommerce-notice--error::before {
    content: "!" !important;
    background: rgba(242, 100, 90, .17);
    color: var(--rv-danger) !important;
}

body.rv-commerce-page .woocommerce-error li,
body.rv-checkout-page .woocommerce-error li,
body.rv-order-received-page .woocommerce-error li {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--rv-text) !important;
    list-style: none !important;
}

body.rv-commerce-page .woocommerce-message a,
body.rv-commerce-page .woocommerce-info a,
body.rv-commerce-page .woocommerce-error a,
body.rv-checkout-page .woocommerce-message a,
body.rv-checkout-page .woocommerce-info a,
body.rv-checkout-page .woocommerce-error a,
body.rv-order-received-page .woocommerce-message a,
body.rv-order-received-page .woocommerce-info a,
body.rv-order-received-page .woocommerce-error a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin: 0 8px !important;
    padding: 7px 13px !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 9px !important;
    background: rgba(0, 0, 0, .24) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   Empty cart
   -------------------------------------------------------------------------- */
body.rv-cart-empty-page .woocommerce {
    min-height: 500px;
}

body.rv-cart-empty-page .prk_empty_cart {
    display: grid !important;
    place-items: center;
    width: min(100%, 760px);
    min-height: 410px;
    margin: 28px auto 18px !important;
    padding: 42px 28px 28px !important;
    border: 1px solid var(--rv-border) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 50% 8%, rgba(217, 45, 36, .16), transparent 34%),
        linear-gradient(145deg, #202123, #18191b) !important;
    box-shadow: var(--rv-shadow);
    text-align: center;
}

body.rv-cart-empty-page .prk_empty_cart_detales {
    width: 100%;
    margin: 0 !important;
}

body.rv-cart-empty-page .empty_cart_icon {
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    margin: 0 auto 22px;
    border: 1px solid rgba(243, 189, 22, .28);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(243, 189, 22, .16), rgba(217, 45, 36, .12));
}

body.rv-cart-empty-page .prk_empty_cart i.empty_cart {
    font-size: 70px !important;
    color: var(--rv-yellow) !important;
    line-height: 1 !important;
}

body.rv-cart-empty-page .prk_empty_cart .cart-empty {
    max-width: 520px;
    margin: 0 auto 18px !important;
    color: var(--rv-text) !important;
    font-size: clamp(17px, 2.2vw, 22px) !important;
    font-weight: 800 !important;
    line-height: 1.9 !important;
}

body.rv-cart-empty-page .page_shoper ul {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.rv-cart-empty-page .page_shoper li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.rv-cart-empty-page .page_shoper a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid var(--rv-border-strong);
    border-radius: 11px;
    background: rgba(255, 255, 255, .05);
    color: var(--rv-text) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

body.rv-cart-empty-page .return-to-shop {
    margin: 0 auto 38px !important;
    text-align: center !important;
}

body.rv-cart-empty-page .return-to-shop .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 210px;
    min-height: 50px;
    margin: 0 auto !important;
    padding: 11px 22px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(135deg, var(--rv-red), #a91f19) !important;
    box-shadow: 0 12px 30px rgba(217, 45, 36, .2);
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   Cart page
   -------------------------------------------------------------------------- */
body.rv-cart-page:not(.rv-cart-empty-page) .dl_stiky {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: 22px;
    align-items: start;
    width: 100%;
}

body.rv-cart-page:not(.rv-cart-empty-page) .woocommerce-cart-form,
body.rv-cart-page:not(.rv-cart-empty-page) .cart-collaterals {
    min-width: 0;
    margin: 0 !important;
}

body.rv-cart-page .woocommerce-cart-form,
body.rv-cart-page .cart_totals {
    overflow: hidden;
    border: 1px solid var(--rv-border) !important;
    border-radius: var(--rv-radius) !important;
    background: var(--rv-surface) !important;
    box-shadow: var(--rv-shadow);
}

body.rv-cart-page .woocommerce-cart-form table,
body.rv-cart-page .cart_totals table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent !important;
    color: var(--rv-text) !important;
}

body.rv-cart-page .woocommerce-cart-form tr.cart_item {
    display: grid !important;
    grid-template-columns: 142px minmax(0, 1fr) 170px;
    gap: 18px;
    align-items: center;
    margin: 0 !important;
    padding: 22px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--rv-border) !important;
    background: transparent !important;
}

body.rv-cart-page .woocommerce-cart-form tr.cart_item td {
    display: block !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--rv-text) !important;
    text-align: right !important;
}

body.rv-cart-page .woocommerce-cart-form td.product-thumbnail {
    position: relative;
    width: 142px !important;
}

body.rv-cart-page .woocommerce-cart-form td.product-thumbnail > a:first-child {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #f4f4f4;
}

body.rv-cart-page .woocommerce-cart-form td.product-thumbnail img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

body.rv-cart-page .woocommerce-cart-form .onsale.prs {
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    max-width: calc(100% - 16px);
    padding: 5px 8px !important;
    border-radius: 8px !important;
    background: var(--rv-red) !important;
    color: #fff !important;
    font-size: 11px !important;
}

body.rv-cart-page .woocommerce-cart-form .product-thumbnail > a.remove {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
    display: grid !important;
    place-items: center;
    width: 30px !important;
    height: 30px !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: 9px !important;
    background: rgba(0, 0, 0, .64) !important;
    color: #fff !important;
    text-decoration: none !important;
}

body.rv-cart-page .woocommerce-cart-form .product-thumbnail > a.remove::before {
    content: "×";
    font-family: Arial, sans-serif;
    font-size: 21px;
    line-height: 1;
}

body.rv-cart-page .woocommerce-cart-form .product_name {
    display: -webkit-box !important;
    max-width: 100%;
    min-height: 52px;
    margin: 0 0 12px !important;
    overflow: hidden;
    color: var(--rv-text) !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.75 !important;
    text-align: right !important;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.rv-cart-page .woocommerce-cart-form .granti_cart,
body.rv-cart-page .woocommerce-cart-form .variation,
body.rv-cart-page .woocommerce-cart-form .backorder_notification {
    color: var(--rv-muted) !important;
}

body.rv-cart-page .woocommerce-cart-form .flexd.l-start {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center !important;
    gap: 12px;
}

body.rv-cart-page .woocommerce-cart-form .quantity {
    display: inline-flex !important;
    align-items: center;
    min-height: 42px;
    overflow: hidden;
    border: 1px solid var(--rv-border-strong) !important;
    border-radius: 11px !important;
    background: var(--rv-surface-2) !important;
}

body.rv-cart-page .woocommerce-cart-form .quantity input,
body.rv-cart-page .woocommerce-cart-form .quantity button {
    color: var(--rv-text) !important;
    background: transparent !important;
}

body.rv-cart-page .woocommerce-cart-form .remove_add {
    display: inline-flex !important;
    align-items: center;
    min-height: 40px;
    padding: 7px 11px;
    border: 1px solid rgba(242, 100, 90, .25);
    border-radius: 10px;
    background: rgba(242, 100, 90, .08);
    color: #ff8f87 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

body.rv-cart-page .woocommerce-cart-form td.product-subtotal {
    text-align: left !important;
}

body.rv-cart-page .woocommerce-cart-form .price_total,
body.rv-cart-page .woocommerce-cart-form .price_total .woocommerce-Price-amount,
body.rv-cart-page .woocommerce-cart-form td.product-subtotal .woocommerce-Price-amount {
    color: var(--rv-text) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

body.rv-cart-page .woocommerce-cart-form .price_savid,
body.rv-cart-page .woocommerce-cart-form .price_savid * {
    color: #ff8077 !important;
}

body.rv-cart-page .woocommerce-cart-form td.actions {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100% !important;
    padding: 20px 22px !important;
    border: 0 !important;
    background: rgba(255, 255, 255, .025) !important;
}

body.rv-cart-page .woocommerce-cart-form .coupon {
    display: grid !important;
    grid-template-columns: minmax(170px, 1fr) auto;
    gap: 10px;
    width: min(100%, 470px);
}

body.rv-cart-page .woocommerce-cart-form .coupon label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
}

body.rv-cart-page .woocommerce-cart-form input#coupon_code,
body.rv-checkout-page form.checkout_coupon input.input-text {
    width: 100% !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    border: 1px solid var(--rv-border-strong) !important;
    border-radius: 11px !important;
    outline: 0 !important;
    background: #fff !important;
    color: #202124 !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

body.rv-cart-page .woocommerce-cart-form button,
body.rv-cart-page .checkout-button,
body.rv-checkout-page .woocommerce button.button,
body.rv-checkout-page .woocommerce a.button,
body.rv-order-received-page .woocommerce a.button,
body.rv-order-received-page .woocommerce button.button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 18px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, var(--rv-red), #a9201a) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.rv-cart-page .woocommerce-cart-form button:hover,
body.rv-cart-page .checkout-button:hover,
body.rv-checkout-page .woocommerce button.button:hover,
body.rv-checkout-page .woocommerce a.button:hover,
body.rv-order-received-page .woocommerce a.button:hover {
    background: linear-gradient(135deg, var(--rv-red-hover), #c32620) !important;
}

body.rv-cart-page .cart_totals {
    position: sticky;
    top: 110px;
}

body.rv-cart-page .cart_totals::before {
    content: "خلاصه سفارش";
    display: block;
    padding: 20px 20px 14px;
    color: var(--rv-text);
    font-size: 18px;
    font-weight: 900;
}

body.rv-cart-page .cart_totals table tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 13px 20px !important;
    border: 0 !important;
    border-top: 1px solid var(--rv-border) !important;
    background: transparent !important;
}

body.rv-cart-page .cart_totals table th,
body.rv-cart-page .cart_totals table td {
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--rv-text) !important;
    font-size: 14px !important;
    text-align: right !important;
}

body.rv-cart-page .cart_totals table td {
    color: var(--rv-text) !important;
    font-weight: 800 !important;
    text-align: left !important;
}

body.rv-cart-page .cart_totals .cart-discount td,
body.rv-cart-page .cart_totals .cart-discount td * {
    color: var(--rv-green) !important;
}

body.rv-cart-page .cart_totals .order_flexd {
    display: contents !important;
}

body.rv-cart-page .cart_totals .order-total {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    background: rgba(243, 189, 22, .07) !important;
}

body.rv-cart-page .cart_totals .order-total th,
body.rv-cart-page .cart_totals .order-total td,
body.rv-cart-page .cart_totals .order-total .woocommerce-Price-amount {
    color: var(--rv-yellow) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

body.rv-cart-page .cart_totals .tr-proceed-cart-user {
    display: block !important;
    padding: 16px 20px 20px !important;
}

body.rv-cart-page .cart_totals .tr-proceed-cart-user th {
    display: block;
    width: 100% !important;
}

body.rv-cart-page .cart_totals .checkout-button {
    width: 100% !important;
    min-height: 52px;
}

body.rv-cart-page .woocommerce-shipping-methods,
body.rv-checkout-page .woocommerce-shipping-methods {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.rv-cart-page .woocommerce-shipping-methods li,
body.rv-checkout-page .woocommerce-shipping-methods li {
    margin: 0 !important;
    color: var(--rv-text) !important;
}

/* --------------------------------------------------------------------------
   Checkout page
   -------------------------------------------------------------------------- */
body.rv-checkout-page:not(.rv-order-received-page) #order_review_heading {
    margin: 20px 0 18px !important;
    color: var(--rv-text) !important;
    font-size: clamp(22px, 3vw, 30px) !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
}

body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    gap: 24px;
    align-items: start;
}

body.rv-checkout-page #customer_details,
body.rv-checkout-page #order_review {
    min-width: 0;
}

body.rv-checkout-page #customer_details,
body.rv-checkout-page #order_review,
body.rv-checkout-page form.checkout_coupon,
body.rv-checkout-page form.woocommerce-form-login {
    border: 1px solid var(--rv-border) !important;
    border-radius: var(--rv-radius) !important;
    background: var(--rv-surface) !important;
    box-shadow: var(--rv-shadow);
}

body.rv-checkout-page #customer_details {
    padding: 24px !important;
}

body.rv-checkout-page #customer_details .col-1,
body.rv-checkout-page #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

body.rv-checkout-page #customer_details .col-2:empty {
    display: none !important;
}

body.rv-checkout-page .woocommerce-billing-fields,
body.rv-checkout-page .woocommerce-shipping-fields,
body.rv-checkout-page .woocommerce-additional-fields {
    color: var(--rv-text) !important;
}

body.rv-checkout-page .woocommerce-billing-fields h3,
body.rv-checkout-page .woocommerce-shipping-fields h3,
body.rv-checkout-page .woocommerce-additional-fields h3 {
    margin: 0 0 18px !important;
    color: var(--rv-text) !important;
}

body.rv-checkout-page .woocommerce-billing-fields__field-wrapper,
body.rv-checkout-page .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

body.rv-checkout-page .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.rv-checkout-page .form-row.form-row-wide,
body.rv-checkout-page #billing_address_1_field,
body.rv-checkout-page #billing_email_field,
body.rv-checkout-page #billing_phone_field,
body.rv-checkout-page #order_comments_field {
    grid-column: auto;
}

body.rv-checkout-page .form-row label {
    display: block !important;
    margin: 0 0 7px !important;
    color: var(--rv-text) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.6 !important;
}

body.rv-checkout-page .form-row .required {
    color: var(--rv-danger) !important;
}

body.rv-checkout-page .form-row input.input-text,
body.rv-checkout-page .form-row textarea,
body.rv-checkout-page .form-row select,
body.rv-checkout-page .select2-container .select2-selection--single {
    width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid #d7d8dc !important;
    border-radius: 11px !important;
    outline: 0 !important;
    background: #fff !important;
    color: #202124 !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

body.rv-checkout-page .form-row textarea {
    min-height: 120px !important;
    padding-top: 12px !important;
}

body.rv-checkout-page .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 10px 0 !important;
    color: #202124 !important;
    line-height: 28px !important;
}

body.rv-checkout-page .select2-container .select2-selection--single .select2-selection__arrow {
    top: 12px !important;
    left: 10px !important;
    right: auto !important;
}

body.rv-checkout-page .form-row.woocommerce-invalid input.input-text,
body.rv-checkout-page .form-row.woocommerce-invalid .select2-selection {
    border-color: var(--rv-danger) !important;
}

body.rv-checkout-page #order_review {
    overflow: hidden;
    padding: 20px !important;
}

body.rv-checkout-page .woocommerce-checkout-review-order-table {
    width: 100% !important;
    margin: 0 0 18px !important;
    border: 0 !important;
    border-collapse: collapse !important;
    background: transparent !important;
    color: var(--rv-text) !important;
}

body.rv-checkout-page .woocommerce-checkout-review-order-table tr {
    border-bottom: 1px solid var(--rv-border) !important;
    background: transparent !important;
}

body.rv-checkout-page .woocommerce-checkout-review-order-table th,
body.rv-checkout-page .woocommerce-checkout-review-order-table td {
    padding: 14px 4px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--rv-text) !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

body.rv-checkout-page .woocommerce-checkout-review-order-table th {
    font-weight: 700 !important;
    text-align: right !important;
}

body.rv-checkout-page .woocommerce-checkout-review-order-table td {
    font-weight: 800 !important;
    text-align: left !important;
}

body.rv-checkout-page .woocommerce-checkout-review-order-table .cart-discount td,
body.rv-checkout-page .woocommerce-checkout-review-order-table .cart-discount td * {
    color: var(--rv-green) !important;
}

body.rv-checkout-page .woocommerce-checkout-review-order-table .fee td,
body.rv-checkout-page .woocommerce-checkout-review-order-table .fee td * {
    color: var(--rv-yellow) !important;
}

body.rv-checkout-page .woocommerce-checkout-review-order-table .order-total th,
body.rv-checkout-page .woocommerce-checkout-review-order-table .order-total td,
body.rv-checkout-page .woocommerce-checkout-review-order-table .order-total td * {
    color: var(--rv-yellow) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

body.rv-checkout-page #payment {
    margin: 0 !important;
    border: 1px solid var(--rv-border) !important;
    border-radius: 15px !important;
    background: var(--rv-surface-2) !important;
    color: var(--rv-text) !important;
}

body.rv-checkout-page #payment ul.payment_methods {
    margin: 0 !important;
    padding: 8px 16px !important;
    border: 0 !important;
    background: transparent !important;
    list-style: none !important;
}

body.rv-checkout-page #payment ul.payment_methods li {
    margin: 0 !important;
    padding: 14px 0 !important;
    color: var(--rv-text) !important;
}

body.rv-checkout-page #payment ul.payment_methods li label {
    color: var(--rv-text) !important;
    font-weight: 800 !important;
}

body.rv-checkout-page #payment div.payment_box {
    margin: 12px 0 0 !important;
    padding: 14px !important;
    border-radius: 11px !important;
    background: #f5f2fb !important;
    color: #35313d !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
}

body.rv-checkout-page #payment div.payment_box::before {
    border-bottom-color: #f5f2fb !important;
}

body.rv-checkout-page #payment .place-order {
    margin: 0 !important;
    padding: 16px !important;
    background: transparent !important;
}

body.rv-checkout-page #payment #place_order {
    width: 100% !important;
    min-height: 52px;
}

body.rv-checkout-page .prk-order-total {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 0 !important;
    padding: 15px !important;
    border: 1px solid rgba(243, 189, 22, .28);
    border-radius: 12px;
    background: rgba(243, 189, 22, .08);
}

body.rv-checkout-page .prk-order-total,
body.rv-checkout-page .prk-order-total * {
    color: var(--rv-text) !important;
}

body.rv-checkout-page form.checkout_coupon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin: 0 0 22px !important;
    padding: 18px !important;
}

body.rv-checkout-page form.checkout_coupon p {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

body.rv-checkout-page form.checkout_coupon .form-row-first {
    grid-column: 1;
}

body.rv-checkout-page form.checkout_coupon .form-row-last {
    grid-column: 2;
}

/* Wallet usage card — explicit contrast and a stable RTL layout. */
body.rv-checkout-page .rv-wallet-checkout-box {
    margin: 0 0 18px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(243, 189, 22, .4) !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, rgba(243, 189, 22, .14), rgba(217, 45, 36, .07)) !important;
    color: var(--rv-text) !important;
}

body.rv-checkout-page .rv-wallet-checkout-toggle {
    position: relative;
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) 52px !important;
    align-items: center !important;
    gap: 13px !important;
    min-height: 80px;
    padding: 14px 16px !important;
    color: var(--rv-text) !important;
    cursor: pointer;
}

body.rv-checkout-page .rv-wallet-checkout-icon {
    display: grid !important;
    place-items: center;
    width: 48px !important;
    height: 48px !important;
    border-radius: 13px !important;
    background: var(--rv-yellow) !important;
    color: #171717 !important;
}

body.rv-checkout-page .rv-wallet-checkout-icon svg {
    width: 25px;
    height: 25px;
}

body.rv-checkout-page .rv-wallet-checkout-copy {
    min-width: 0;
    color: var(--rv-text) !important;
}

body.rv-checkout-page .rv-wallet-checkout-copy strong {
    display: block !important;
    margin: 0 !important;
    color: var(--rv-text) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.6 !important;
}

body.rv-checkout-page .rv-wallet-checkout-copy small {
    display: block !important;
    margin: 4px 0 0 !important;
    color: #d7d8dc !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    opacity: 1 !important;
}

body.rv-checkout-page .rv-wallet-switch {
    justify-self: end;
    width: 50px !important;
    height: 28px !important;
    border: 1px solid rgba(255, 255, 255, .2);
    background: #55585e !important;
}

body.rv-checkout-page .rv-wallet-checkout-toggle input:checked + .rv-wallet-switch {
    background: var(--rv-green) !important;
}

/* --------------------------------------------------------------------------
   Order received / thank-you
   -------------------------------------------------------------------------- */
body.rv-order-received-page .woocommerce-order {
    display: grid;
    gap: 18px;
    width: 100%;
    color: var(--rv-text) !important;
}

body.rv-order-received-page .woocommerce-thankyou-order-received {
    min-height: 132px !important;
    justify-content: center;
    margin: 0 !important;
    padding: 30px 26px 30px 76px !important;
    border-color: rgba(53, 186, 117, .35) !important;
    border-right-width: 1px !important;
    background:
        radial-gradient(circle at 50% 0, rgba(53, 186, 117, .18), transparent 48%),
        var(--rv-surface) !important;
    color: var(--rv-text) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    text-align: center !important;
}

body.rv-order-received-page .woocommerce-thankyou-order-received::before {
    left: calc(50% - 180px) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    font-size: 24px !important;
}

body.rv-order-received-page .prk_order_confirm {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--rv-border) !important;
    border-radius: var(--rv-radius) !important;
    background: var(--rv-surface) !important;
    box-shadow: var(--rv-shadow);
}

body.rv-order-received-page ul.woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.rv-order-received-page ul.woocommerce-order-overview li {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 150px;
    margin: 0 !important;
    padding: 20px 14px !important;
    border: 0 !important;
    border-left: 1px solid var(--rv-border) !important;
    color: var(--rv-muted) !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
    text-align: center !important;
    text-transform: none !important;
}

body.rv-order-received-page ul.woocommerce-order-overview li:last-child {
    border-left: 0 !important;
}

body.rv-order-received-page ul.woocommerce-order-overview li strong {
    display: block !important;
    max-width: 100%;
    margin: 8px 0 0 !important;
    overflow-wrap: anywhere;
    color: var(--rv-text) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.7 !important;
}

body.rv-order-received-page .prk_payment_method_thankyou,
body.rv-order-received-page .woocommerce-order-details,
body.rv-order-received-page .woocommerce-customer-details,
body.rv-order-received-page .order-again {
    margin: 0 !important;
    padding: 22px !important;
    border: 1px solid var(--rv-border) !important;
    border-radius: var(--rv-radius) !important;
    background: var(--rv-surface) !important;
    color: var(--rv-text) !important;
    box-shadow: var(--rv-shadow);
}

body.rv-order-received-page .woocommerce-order-details__title,
body.rv-order-received-page .woocommerce-column__title,
body.rv-order-received-page .prk_payment_method_thankyou h2,
body.rv-order-received-page .prk_payment_method_thankyou h3 {
    margin: 0 0 16px !important;
    color: var(--rv-text) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
}

body.rv-order-received-page .woocommerce-order-details table,
body.rv-order-received-page table.woocommerce-table--order-details {
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--rv-border) !important;
    border-radius: 13px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: var(--rv-surface-2) !important;
    color: var(--rv-text) !important;
}

body.rv-order-received-page .woocommerce-order-details table th,
body.rv-order-received-page .woocommerce-order-details table td {
    padding: 13px 15px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--rv-border) !important;
    background: transparent !important;
    color: var(--rv-text) !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

body.rv-order-received-page .woocommerce-order-details table thead th {
    background: rgba(255, 255, 255, .055) !important;
    color: var(--rv-text) !important;
    font-weight: 900 !important;
}

body.rv-order-received-page .woocommerce-order-details table tfoot tr:last-child th,
body.rv-order-received-page .woocommerce-order-details table tfoot tr:last-child td,
body.rv-order-received-page .woocommerce-order-details table tfoot tr:last-child td * {
    color: var(--rv-yellow) !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

body.rv-order-received-page .woocommerce-customer-details address {
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid var(--rv-border) !important;
    border-radius: 13px !important;
    background: var(--rv-surface-2) !important;
    color: var(--rv-text) !important;
    font-style: normal !important;
    line-height: 2 !important;
}

body.rv-order-received-page .woocommerce-customer-details address p,
body.rv-order-received-page .woocommerce-customer-details address a,
body.rv-order-received-page .woocommerce-customer-details address span {
    color: var(--rv-muted) !important;
}

body.rv-order-received-page .woocommerce-order-details .product-name a {
    color: var(--rv-text) !important;
    font-weight: 800 !important;
}

body.rv-order-received-page .woocommerce-order-details .wc-item-meta,
body.rv-order-received-page .woocommerce-order-details .wc-item-meta * {
    color: var(--rv-muted) !important;
}

/* --------------------------------------------------------------------------
   Product-card title shortcode / iOS Safari stability
   -------------------------------------------------------------------------- */
.elementor-widget-shortcode,
.elementor-widget-shortcode .elementor-widget-container,
.elementor-widget-shortcode .elementor-shortcode {
    min-width: 0;
    max-width: 100%;
}

.prk-title-4-link {
    display: block !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    color: inherit !important;
    text-align: right;
    text-decoration: none !important;
    direction: rtl;
    unicode-bidi: plaintext;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.prk-title-4-link > span {
    display: -webkit-box !important;
    width: 100%;
    min-width: 0;
    min-height: 3.4em;
    max-height: 3.4em;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal !important;
    line-height: 1.7 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    body.rv-cart-page:not(.rv-cart-empty-page) .dl_stiky,
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout {
        grid-template-columns: 1fr;
    }

    body.rv-cart-page .cart_totals {
        position: static;
    }

    body.rv-checkout-page #order_review {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    body.rv-commerce-page .woocommerce-message,
    body.rv-commerce-page .woocommerce-info,
    body.rv-commerce-page .woocommerce-error,
    body.rv-checkout-page .woocommerce-message,
    body.rv-checkout-page .woocommerce-info,
    body.rv-checkout-page .woocommerce-error,
    body.rv-order-received-page .woocommerce-notice {
        align-items: flex-start !important;
        min-height: 58px;
        padding: 13px 14px 13px 52px !important;
        border-radius: 12px !important;
        font-size: 13px !important;
    }

    body.rv-commerce-page .woocommerce-message::before,
    body.rv-commerce-page .woocommerce-info::before,
    body.rv-commerce-page .woocommerce-error::before,
    body.rv-checkout-page .woocommerce-message::before,
    body.rv-checkout-page .woocommerce-info::before,
    body.rv-checkout-page .woocommerce-error::before,
    body.rv-order-received-page .woocommerce-notice::before {
        left: 12px !important;
        width: 29px;
        height: 29px;
        font-size: 16px !important;
    }

    body.rv-commerce-page .woocommerce-message a,
    body.rv-commerce-page .woocommerce-info a,
    body.rv-commerce-page .woocommerce-error a,
    body.rv-checkout-page .woocommerce-message a,
    body.rv-checkout-page .woocommerce-info a,
    body.rv-checkout-page .woocommerce-error a {
        min-height: 32px;
        margin: 5px 4px 0 !important;
        padding: 5px 9px !important;
        font-size: 12px !important;
    }

    body.rv-cart-empty-page .prk_empty_cart {
        min-height: 350px;
        margin: 18px auto 14px !important;
        padding: 30px 16px 22px !important;
        border-radius: 18px !important;
    }

    body.rv-cart-empty-page .empty_cart_icon {
        width: 86px;
        height: 86px;
        border-radius: 25px;
    }

    body.rv-cart-empty-page .prk_empty_cart i.empty_cart {
        font-size: 56px !important;
    }

    body.rv-cart-page .woocommerce-cart-form tr.cart_item {
        grid-template-columns: 94px minmax(0, 1fr) !important;
        gap: 13px;
        padding: 16px !important;
    }

    body.rv-cart-page .woocommerce-cart-form td.product-thumbnail {
        width: 94px !important;
    }

    body.rv-cart-page .woocommerce-cart-form td.product-subtotal {
        grid-column: 1 / -1;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding-top: 13px !important;
        border-top: 1px solid var(--rv-border) !important;
        text-align: right !important;
    }

    body.rv-cart-page .woocommerce-cart-form .product_name {
        min-height: 0;
        margin-bottom: 8px !important;
        font-size: 14px !important;
    }

    body.rv-cart-page .woocommerce-cart-form td.actions {
        display: grid !important;
        grid-template-columns: 1fr;
        padding: 16px !important;
    }

    body.rv-cart-page .woocommerce-cart-form .coupon {
        grid-template-columns: 1fr;
        width: 100%;
    }

    body.rv-cart-page .woocommerce-cart-form td.actions > button {
        width: 100% !important;
    }

    body.rv-cart-page .cart_totals table tr {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    body.rv-checkout-page #customer_details,
    body.rv-checkout-page #order_review {
        padding: 17px !important;
        border-radius: 15px !important;
    }

    body.rv-checkout-page .woocommerce-billing-fields__field-wrapper,
    body.rv-checkout-page .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    body.rv-checkout-page form.checkout_coupon {
        grid-template-columns: 1fr;
        padding: 15px !important;
    }

    body.rv-checkout-page form.checkout_coupon .form-row-first,
    body.rv-checkout-page form.checkout_coupon .form-row-last {
        grid-column: 1;
    }

    body.rv-checkout-page form.checkout_coupon button {
        width: 100% !important;
    }

    body.rv-checkout-page .rv-wallet-checkout-toggle {
        grid-template-columns: 42px minmax(0, 1fr) 48px !important;
        gap: 10px !important;
        min-height: 74px;
        padding: 12px !important;
    }

    body.rv-checkout-page .rv-wallet-checkout-icon {
        width: 42px !important;
        height: 42px !important;
    }

    body.rv-checkout-page .rv-wallet-checkout-copy strong {
        font-size: 14px !important;
    }

    body.rv-checkout-page .rv-wallet-checkout-copy small {
        font-size: 11px !important;
    }

    body.rv-order-received-page .woocommerce-thankyou-order-received {
        min-height: 112px !important;
        padding: 24px 18px 24px 58px !important;
        font-size: 16px !important;
    }

    body.rv-order-received-page .woocommerce-thankyou-order-received::before {
        left: 15px !important;
    }

    body.rv-order-received-page ul.woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.rv-order-received-page ul.woocommerce-order-overview li {
        min-height: 110px;
        padding: 14px 10px !important;
        border-left: 0 !important;
        border-bottom: 1px solid var(--rv-border) !important;
    }

    body.rv-order-received-page ul.woocommerce-order-overview li:nth-child(odd) {
        border-left: 1px solid var(--rv-border) !important;
    }

    body.rv-order-received-page ul.woocommerce-order-overview li:last-child {
        grid-column: 1 / -1;
        border-bottom: 0 !important;
    }

    body.rv-order-received-page .prk_payment_method_thankyou,
    body.rv-order-received-page .woocommerce-order-details,
    body.rv-order-received-page .woocommerce-customer-details,
    body.rv-order-received-page .order-again {
        padding: 16px !important;
        border-radius: 15px !important;
    }

    body.rv-order-received-page .woocommerce-order-details {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.rv-order-received-page .woocommerce-order-details table {
        min-width: 620px;
    }

    .prk-title-4-link > span {
        min-height: 3.3em;
        max-height: 3.3em;
        line-height: 1.65 !important;
    }
}

@media (max-width: 420px) {
    body.rv-checkout-page .rv-wallet-checkout-toggle {
        grid-template-columns: 40px minmax(0, 1fr) !important;
    }

    body.rv-checkout-page .rv-wallet-switch {
        grid-column: 1 / -1;
        justify-self: end;
        margin-top: 2px;
    }

    body.rv-order-received-page ul.woocommerce-order-overview {
        grid-template-columns: 1fr;
    }

    body.rv-order-received-page ul.woocommerce-order-overview li,
    body.rv-order-received-page ul.woocommerce-order-overview li:nth-child(odd),
    body.rv-order-received-page ul.woocommerce-order-overview li:last-child {
        grid-column: auto;
        border-left: 0 !important;
        border-bottom: 1px solid var(--rv-border) !important;
    }

    body.rv-order-received-page ul.woocommerce-order-overview li:last-child {
        border-bottom: 0 !important;
    }
}

/* Late Parskala conflict overrides. */
body.rv-checkout-page form.checkout_coupon:not([style*="display: none"]) {
    display: grid !important;
}

body.rv-order-received-page .woocommerce-thankyou-order-received {
    flex-direction: column !important;
    padding: 78px 24px 26px !important;
}

body.rv-order-received-page .woocommerce-thankyou-order-received::before {
    top: 20px !important;
    left: 50% !important;
    right: auto !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    border-radius: 14px !important;
    background: rgba(53, 186, 117, .17) !important;
    color: var(--rv-green) !important;
    font-family: Arial, sans-serif !important;
    font-size: 24px !important;
    line-height: 1 !important;
}

body.rv-order-received-page ul.woocommerce-order-overview li::before {
    display: grid !important;
    place-items: center;
    width: 56px !important;
    height: 56px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 1px solid rgba(243, 189, 22, .22) !important;
    border-radius: 16px !important;
    background: rgba(243, 189, 22, .08) !important;
    color: var(--rv-yellow) !important;
    font-size: 34px !important;
    line-height: 1 !important;
}

body.rv-order-received-page ul.woocommerce-order-overview li.method::before {
    background: rgba(217, 45, 36, .1) !important;
    color: #ff756d !important;
    font-size: 31px !important;
}

body.rv-order-received-page .prk_payment_method_thankyou p,
body.rv-order-received-page .prk_payment_method_thankyou div,
body.rv-order-received-page .prk_payment_method_thankyou span {
    border-color: var(--rv-border) !important;
    background: transparent !important;
    color: var(--rv-text) !important;
}

body.rv-order-received-page .prk_payment_method_thankyou p {
    margin: 0 !important;
    padding: 14px !important;
    box-shadow: none !important;
    line-height: 1.9 !important;
}

@media (max-width: 767px) {
    body.rv-order-received-page .woocommerce-thankyou-order-received {
        padding: 72px 16px 22px !important;
    }

    body.rv-order-received-page .woocommerce-thankyou-order-received::before {
        top: 17px !important;
        left: 50% !important;
    }

    body.rv-order-received-page ul.woocommerce-order-overview li::before {
        width: 48px !important;
        height: 48px !important;
        font-size: 29px !important;
    }
}

/* --------------------------------------------------------------------------
   Checkout field layout hardening — v2.5.1
   Parskala applies 48–50% widths to form rows. Inside our CSS grid that made
   every control effectively quarter-width. These late overrides normalize the
   field wrappers on desktop and force a true one-column form on mobile.
   -------------------------------------------------------------------------- */
body.rv-checkout-page:not(.rv-order-received-page) #customer_details,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .col-1,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .col-2,
body.rv-checkout-page:not(.rv-order-received-page) .woocommerce-billing-fields,
body.rv-checkout-page:not(.rv-order-received-page) .woocommerce-shipping-fields,
body.rv-checkout-page:not(.rv-order-received-page) .woocommerce-additional-fields {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.rv-checkout-page:not(.rv-order-received-page) #customer_details .woocommerce-billing-fields__field-wrapper,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .woocommerce-shipping-fields__field-wrapper,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .woocommerce-additional-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 16px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details p.form-row,
body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details p.form-row.form-row-first,
body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details p.form-row.form-row-last,
body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details p.form-row.form-row-wide,
body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_first_name_field,
body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_last_name_field,
body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_state_field,
body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_city_field,
body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_address_1_field,
body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_postcode_field,
body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_phone_field,
body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_email_field {
    display: block !important;
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-column: auto !important;
}

body.rv-checkout-page:not(.rv-order-received-page) #customer_details #order_comments_field,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .woocommerce-additional-fields__field-wrapper > .form-row,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .woocommerce-shipping-fields__field-wrapper > .form-row-wide:not(#shipping_phone_field):not(#shipping_email_field) {
    grid-column: 1 / -1 !important;
}

body.rv-checkout-page:not(.rv-order-received-page) #customer_details .woocommerce-input-wrapper,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .select2-container,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .selection {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row label {
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: #f5f5f6 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.55 !important;
    text-align: right !important;
}

body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row input.input-text,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row input[type="text"],
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row input[type="email"],
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row input[type="tel"],
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row textarea,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row select,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .select2-container .select2-selection--single {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    overflow: hidden !important;
    border: 1px solid #d8d9dd !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #1f2023 !important;
    font-size: 15px !important;
    line-height: 50px !important;
    text-align: right !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset !important;
    transition: border-color .18s ease, box-shadow .18s ease !important;
    -webkit-appearance: none;
    appearance: none;
}

body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row textarea {
    height: auto !important;
    min-height: 118px !important;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
    line-height: 1.9 !important;
    resize: vertical !important;
}

body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row input.input-text:focus,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row textarea:focus,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row select:focus,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .select2-container--open .select2-selection--single,
body.rv-checkout-page:not(.rv-order-received-page) #customer_details .select2-container--focus .select2-selection--single {
    border-color: var(--rv-yellow) !important;
    box-shadow: 0 0 0 3px rgba(243, 189, 22, .14) !important;
}

body.rv-checkout-page:not(.rv-order-received-page) #customer_details .select2-container .select2-selection--single .select2-selection__rendered {
    height: 50px !important;
    padding: 0 4px 0 30px !important;
    overflow: hidden !important;
    color: #1f2023 !important;
    font-size: 15px !important;
    line-height: 50px !important;
    text-align: right !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.rv-checkout-page:not(.rv-order-received-page) #customer_details .select2-container .select2-selection--single .select2-selection__arrow {
    top: 0 !important;
    left: 8px !important;
    right: auto !important;
    width: 30px !important;
    height: 50px !important;
}

body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row .optional {
    color: #aeb0b6 !important;
    font-size: 12px !important;
}

@media (min-width: 768px) {
    body.rv-checkout-page:not(.rv-order-received-page) #customer_details {
        padding: 26px !important;
    }
}

@media (max-width: 767px) {
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout {
        display: block !important;
        width: 100% !important;
    }

    body.rv-checkout-page:not(.rv-order-received-page) #customer_details {
        width: 100% !important;
        margin: 0 0 18px !important;
        padding: 16px !important;
        border-radius: 15px !important;
    }

    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .woocommerce-billing-fields__field-wrapper,
    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .woocommerce-shipping-fields__field-wrapper,
    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details p.form-row,
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details p.form-row.form-row-first,
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details p.form-row.form-row-last,
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details p.form-row.form-row-wide,
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_first_name_field,
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_last_name_field,
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_state_field,
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_city_field,
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_address_1_field,
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_postcode_field,
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_phone_field,
    body.rv-checkout-page:not(.rv-order-received-page) form.checkout.woocommerce-checkout #customer_details #billing_email_field,
    body.rv-checkout-page:not(.rv-order-received-page) #customer_details #order_comments_field {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row label {
        margin-bottom: 6px !important;
        font-size: 13px !important;
    }

    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row input.input-text,
    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row input[type="text"],
    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row input[type="email"],
    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row input[type="tel"],
    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row select,
    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .select2-container .select2-selection--single {
        height: 49px !important;
        min-height: 49px !important;
        padding-right: 13px !important;
        padding-left: 13px !important;
        border-radius: 10px !important;
        font-size: 16px !important; /* prevents iOS input zoom */
        line-height: 47px !important;
    }

    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .select2-container .select2-selection--single .select2-selection__rendered {
        height: 47px !important;
        font-size: 16px !important;
        line-height: 47px !important;
    }

    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .select2-container .select2-selection--single .select2-selection__arrow {
        height: 47px !important;
    }

    body.rv-checkout-page:not(.rv-order-received-page) #customer_details .form-row textarea {
        min-height: 105px !important;
        font-size: 16px !important;
        line-height: 1.8 !important;
    }
}
