.ygen-checkout-page {
    --yc-paper: var(--yg-cream, #fff9f3);
    --yc-ink: var(--yg-cacao, #714d40);
    --yc-accent: var(--yg-peach, #f5cdaa);
    --yc-line: var(--ygen-colors-line, #e9d6c7);
    --yc-field: var(--ygen-colors-surface, #fff);
    --yc-soft: color-mix(in srgb, var(--yc-accent) 23%, var(--yc-paper));
    background: var(--yc-field);
    color: var(--yc-ink);
    padding-block: 32px 48px;
    min-height: 50vh;
}
.ygen-commerce-heading { margin: 0 0 30px; }
.ygen-commerce-heading h1 {
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.2;
    margin: 0 0 9px;
}
.ygen-checkout-page-compact { padding-block-start: 24px; }
.ygen-checkout-page h2 { font-size: clamp(22px, 2.35vw, 28px); margin: 0 0 17px; }
.ygen-checkout-page .woocommerce { min-width: 0; }
.ygen-checkout-page :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) {
    color: var(--yc-ink);
    border-color: var(--yc-accent);
    background: var(--yc-soft);
    border-radius: 10px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.ygen-checkout-page :is(.woocommerce-info, .woocommerce-message)::before { color: var(--yc-ink); }
.ygen-checkout-page .woocommerce-notices-wrapper:empty { display: none; }
.ygen-checkout-page .woocommerce a { color: var(--yc-ink); }
.ygen-checkout-page .woocommerce :is(.button, [id="place_order"]) {
    min-height: 44px;
    padding: 12px 17px;
    border: 0;
    border-radius: 12px;
    color: var(--yc-ink);
    background: var(--yc-accent);
    font: 700 15px/1.35 var(--ygen-fonts-body);
    text-align: center;
    cursor: pointer;
}
.ygen-checkout-page .woocommerce :is(.button, [id="place_order"]):hover {
    color: var(--yc-ink);
    background: color-mix(in srgb, var(--yc-accent) 85%, var(--yc-ink));
}
.ygen-checkout-page .woocommerce :is(.button, [id="place_order"]):disabled { opacity: .55; cursor: default; }
.ygen-checkout-page .woocommerce :is(a, button, summary):focus-visible {
    outline: 2px solid var(--yc-ink);
    outline-offset: 2px;
}

.woocommerce-cart .ygen-checkout-page .woocommerce:has(.woocommerce-cart-form) {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: start;
    gap: 0 24px;
}
.woocommerce-cart .ygen-checkout-page .woocommerce > :not(.woocommerce-cart-form, .cart-collaterals) { grid-column: 1 / -1; }
.ygen-checkout-page .woocommerce-cart-form, .ygen-checkout-page .cart-collaterals {
    width: 100%;
    margin: 0;
    min-width: 0;
    float: none;
}
.woocommerce-cart .ygen-checkout-page .woocommerce:has(.woocommerce-cart-form)::after,
.ygen-checkout-page .cart-collaterals::before,
.ygen-checkout-page .cart-collaterals::after { display: none; }
.ygen-checkout-page .woocommerce .woocommerce-cart-form table.cart {
    display: block;
    margin: 0;
    border: 0;
}
.ygen-checkout-page .woocommerce .woocommerce-cart-form table.cart > thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.ygen-checkout-page .woocommerce .woocommerce-cart-form table.cart > tbody { display: grid; gap: 24px; }
.ygen-checkout-page .woocommerce table.cart tr.woocommerce-cart-form__cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    grid-template-areas: "photo name name" "photo quantity total";
    align-items: start;
    column-gap: 18px;
    row-gap: 14px;
    padding: 23px;
    border-radius: 15px;
    background: var(--yc-field);
    box-shadow: var(--ygen-shadow-variant-19);
}
.ygen-checkout-page .woocommerce table.cart tr.woocommerce-cart-form__cart-item > td {
    display: block;
    text-align: start !important;
    padding: 0;
    border: 0;
    background: transparent;
    min-width: 0;
}
.ygen-checkout-page .woocommerce table.cart tr.woocommerce-cart-form__cart-item > td::before { display: none; }
.ygen-checkout-page .woocommerce table.cart tr > td.product-thumbnail { grid-area: photo; }
.ygen-checkout-page .woocommerce table.cart .product-thumbnail img {
    width: 86px;
    max-width: 100%;
    height: 108px;
    object-fit: contain;
    border-radius: 8px;
}
.ygen-checkout-page .woocommerce table.cart tr > td.product-name {
    grid-area: name;
    padding-inline-end: 26px;
    overflow-wrap: anywhere;
    font-weight: 700;
}
.ygen-checkout-page .woocommerce table.cart .product-name a:hover { text-decoration: underline; }
.ygen-checkout-page .woocommerce table.cart .product-name .variation { margin: 8px 0 0; font-size: 13px; font-weight: 400; }
.ygen-checkout-page .woocommerce table.cart tr > td.product-quantity { grid-area: quantity; align-self: end; }
.ygen-checkout-page .woocommerce table.cart tr > td.product-subtotal {
    grid-area: total;
    justify-self: end;
    align-self: center;
    font-size: clamp(15px, 1.5vw, 20px);
    font-weight: 700;
    white-space: nowrap;
}
.ygen-checkout-page .woocommerce table.cart tr > td.product-price { display: none; }
.ygen-checkout-page .woocommerce table.cart tr > td.product-remove { position: absolute; inset: 11px 11px auto auto; }
.ygen-checkout-page .woocommerce a.remove {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--yc-ink) !important;
    font-size: 20px;
    font-weight: 400;
}
.ygen-checkout-page .woocommerce a.remove:hover { background: var(--yc-soft); }
.ygen-cart-quantity {
    display: inline-flex;
    align-items: stretch;
    max-width: 100%;
    border: 1px solid var(--yc-line);
    border-radius: 9px;
}
.ygen-cart-quantity button {
    background: var(--yc-soft);
    border: 0;
    min-width: 35px;
    min-height: 42px;
    padding: 0;
}
.ygen-cart-quantity button:first-child { border-radius: 8px 0 0 8px; }
.ygen-cart-quantity button:last-child { border-radius: 0 8px 8px 0; }
.ygen-checkout-page .ygen-cart-quantity input.qty {
    background: var(--yc-field);
    color: var(--yc-ink);
    border: 0;
    padding: 0 2px;
    width: 41px;
    height: 42px;
    font: inherit;
    appearance: textfield;
}
.ygen-cart-quantity input.qty::-webkit-inner-spin-button { appearance: none; }
.ygen-checkout-page .woocommerce table.cart .actions {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: start;
}
.ygen-checkout-page .woocommerce table.cart .actions > [name="update_cart"] { margin-top: 12px; }
.ygen-checkout-page .ygen-cart-enhanced .actions > [name="update_cart"]:not(:focus-visible) {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    overflow: hidden;
    clip-path: inset(50%);
}
.ygen-checkout-page .woocommerce .cart-collaterals .cart_totals {
    width: 100%;
    float: none;
    border-radius: 15px;
    background: var(--yc-field);
    padding: 23px;
    box-shadow: var(--ygen-shadow-variant-19);
}
.ygen-checkout-page .cart_totals > h2:not(.ygen-summary-title) { display: none; }
.ygen-checkout-page .woocommerce :is(.cart_totals, #order_review) table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    border: 0;
}
.ygen-checkout-page .woocommerce :is(.cart_totals, #order_review) table.shop_table :is(th, td) {
    padding: 12px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--yc-line);
    font-size: 14px;
}
.ygen-checkout-page .woocommerce :is(.cart_totals, #order_review) table.shop_table tfoot tr > :last-child,
.ygen-checkout-page .woocommerce .cart_totals table.shop_table tr > td { text-align: end !important; }
.ygen-checkout-page .woocommerce .cart_totals table.shop_table td::before { font-size: 14px; font-weight: 600; }
.ygen-checkout-page .woocommerce .shop_table tr.shipping > .ygen-shipping-cell::before { display: none; }
.ygen-shipping-choice {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
    text-align: start;
    font-size: 14px;
}
.ygen-shipping-choice label { font-weight: 600; }
.ygen-shipping-control { display: block; position: relative; min-width: 0; }
.ygen-shipping-control::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-end: 15px;
    width: 7px;
    height: 7px;
    border: solid var(--yc-ink);
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.ygen-checkout-page .woocommerce .ygen-shipping-select {
    display: block;
    appearance: none;
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 9px 34px 9px 11px;
    border: 1px solid var(--yc-line);
    border-radius: 8px;
    background: var(--yc-field);
    color: var(--yc-ink);
    font: 400 14px/1.4 var(--ygen-fonts-body);
}
.ygen-checkout-page .woocommerce .cart_totals table.shop_table .order-total :is(th, td) { border-bottom: 0; }
.ygen-checkout-page .woocommerce .cart_totals table:not(:has(tr:not(.cart-subtotal, .order-total))) .cart-subtotal { display: none; }
.ygen-checkout-page .order-total .woocommerce-Price-amount { font-size: clamp(21px, 2.5vw, 28px); }
.ygen-checkout-page .woocommerce .wc-proceed-to-checkout { padding: 15px 0 0; display: grid; gap: 10px; }
.ygen-checkout-page .woocommerce .cart-collaterals .wc-proceed-to-checkout :is(.checkout-button, .ygen-cart-whatsapp) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    min-height: 45px;
    padding: 10px;
    font: 600 15px/1.4 var(--ygen-fonts-body);
    text-align: center;
    white-space: normal;
}
.ygen-checkout-page .wc-proceed-to-checkout :is(.checkout-button, .ygen-cart-whatsapp) > span {
    min-width: 0;
    flex-shrink: 1;
    font: inherit;
}
.ygen-checkout-page .wc-proceed-to-checkout :is(.checkout-button, .ygen-cart-whatsapp) > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}
.ygen-checkout-page .woocommerce .ygen-cart-whatsapp {
    border-radius: 12px;
    background: var(--yc-soft);
}
.ygen-checkout-page .woocommerce .ygen-cart-whatsapp:hover { background: var(--yc-paper); }
.ygen-checkout-page .woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button,
.ygen-checkout-page .woocommerce #payment #place_order {
    background: var(--yc-accent);
    color: var(--yc-ink);
}
.ygen-checkout-page .woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover,
.ygen-checkout-page .woocommerce #payment #place_order:hover {
    background: color-mix(in srgb, var(--yc-accent) 85%, var(--yc-ink));
    color: var(--yc-ink);
}
.ygen-checkout-page :is(#shipping_method, #payment) input[type="radio"] { accent-color: var(--yc-ink); }
.ygen-commerce-help {
    grid-column: 2;
    text-align: center;
    font-size: 13px;
    margin: 10px 0 0;
}
.ygen-checkout-page .cart_totals .ygen-commerce-help { margin-top: 15px; }
.ygen-checkout-page .ygen-commerce-coupon {
    border-radius: 20px;
    background: var(--yc-field);
    box-shadow: var(--ygen-shadow-variant-19);
    overflow: hidden;
    overflow-wrap: anywhere;
}
.ygen-commerce-coupon summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 17px 20px;
    font: 600 15px/1.4 var(--ygen-fonts-body);
    cursor: pointer;
    list-style: none;
}
.ygen-commerce-coupon summary::-webkit-details-marker { display: none; }
.ygen-commerce-coupon summary:focus-visible { outline-offset: -4px !important; border-radius: 18px; }
.ygen-commerce-coupon summary svg:last-child { width: 16px; height: 16px; margin-inline-start: auto; }
.ygen-commerce-coupon[open] summary svg:last-child { transform: rotate(180deg); }
.ygen-checkout-page .woocommerce table.cart td.actions .ygen-commerce-coupon > .coupon,
.ygen-checkout-page .woocommerce .ygen-checkout-coupon > form.checkout_coupon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    width: 100%;
    gap: 10px;
    float: none;
    border: 0;
    margin: 0;
    padding: 0 20px 20px;
}
.ygen-checkout-page .woocommerce .ygen-checkout-coupon[open] > form.checkout_coupon { display: grid !important; }
.ygen-checkout-page .woocommerce :is(table.cart td.actions .ygen-commerce-coupon > .coupon, .ygen-checkout-coupon > form.checkout_coupon)::before,
.ygen-checkout-page .woocommerce :is(table.cart td.actions .ygen-commerce-coupon > .coupon, .ygen-checkout-coupon > form.checkout_coupon)::after {
    display: none;
}
.ygen-checkout-page .woocommerce :is(table.cart td.actions .ygen-commerce-coupon > .coupon, .ygen-checkout-coupon > form.checkout_coupon) input.input-text {
    float: none;
    width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 10px 15px;
    border: 0;
    border-radius: 12px;
    background: var(--yc-paper);
    font: 400 15px/1.4 var(--ygen-fonts-body);
}
.ygen-checkout-page .woocommerce :is(table.cart td.actions .ygen-commerce-coupon > .coupon, .ygen-checkout-coupon > form.checkout_coupon) button[name="apply_coupon"] {
    float: none;
    width: auto;
    min-height: 46px;
    margin: 0;
    padding: 10px 18px;
    background: var(--yc-soft);
    color: var(--yc-ink);
    font: 600 14px/1.4 var(--ygen-fonts-body);
    white-space: nowrap;
}
.ygen-checkout-page .woocommerce .ygen-commerce-coupon button[name="apply_coupon"]:hover {
    background: color-mix(in srgb, var(--yc-accent) 48%, var(--yc-paper));
}
.ygen-coupon-field { min-width: 0; }
.ygen-coupon-field .coupon-error-notice { display: block; margin-top: 5px; font-size: 13px; }

.ygen-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    align-items: start;
    gap: 14px 24px;
}
.ygen-checkout-layout > form.checkout { display: contents; }
.ygen-checkout-layout > form.checkout > :not(.ygen-checkout-main, #order_review, #order_review_heading) { grid-column: 1 / -1; }
.ygen-checkout-layout .ygen-checkout-main {
    display: grid;
    grid-column: 1;
    grid-row: 1 / 4;
    gap: 14px;
    min-width: 0;
}
.ygen-checkout-layout > form.checkout > #order_review { grid-column: 2; grid-row: 1; }
.ygen-checkout-layout > .ygen-checkout-coupon { grid-column: 2; grid-row: 2; }
.ygen-checkout-layout #order_review_heading { display: none; }
.ygen-checkout-layout :is(#customer_details, #order_review, .ygen-payment-card) {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 23px;
    float: none;
    border-radius: 14px;
    background: var(--yc-field);
    box-shadow: var(--ygen-shadow-variant-19);
}
.ygen-checkout-layout #customer_details > :is(.col-1, .col-2) { float: none; width: 100%; }
.ygen-checkout-layout #customer_details h3 {
    font-size: clamp(22px, 2.35vw, 28px);
    margin: 0 0 17px;
}
.ygen-checkout-layout #customer_details .woocommerce-additional-fields > h3 { display: none; }
.ygen-checkout-layout #customer_details .woocommerce-additional-fields { margin-top: 12px; }
.ygen-checkout-layout #customer_details .woocommerce-shipping-fields:empty,
.ygen-checkout-layout #customer_details .woocommerce-additional-fields:empty { display: none; }
.ygen-checkout-layout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}
.ygen-checkout-layout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper)::before,
.ygen-checkout-layout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper)::after { display: none; }
.ygen-checkout-layout #customer_details .form-row {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    float: none;
    clear: none;
    margin: 0;
    padding: 0;
}
.ygen-checkout-layout #customer_details .woocommerce-billing-fields__field-wrapper > :is(#billing_first_name_field, #billing_last_name_field, #billing_phone_field, #billing_email_field, #billing_country_field, #billing_state_field, #billing_city_field, #billing_address_1_field),
.ygen-checkout-layout #customer_details .woocommerce-shipping-fields__field-wrapper > :is(.form-row-first, .form-row-last) { grid-column: auto; }
.ygen-checkout-compact-address .ygen-checkout-layout #customer_details .form-row:has(> .woocommerce-input-wrapper > select.country_to_state--single) {
    display: none !important;
}
.ygen-checkout-compact-address .ygen-checkout-layout #customer_details .woocommerce-billing-fields__field-wrapper:has(select.country_to_state--single) > #billing_address_1_field {
    grid-column: 1 / -1;
}
.ygen-checkout-layout #customer_details .form-row label { display: block; margin: 0 0 5px; font-size: 13px; line-height: 1.4; }
.ygen-checkout-layout #customer_details .form-row .input-text,
.ygen-checkout-layout #customer_details .form-row select,
.ygen-checkout-page .woocommerce :is(.coupon, form.checkout_coupon) .input-text {
    width: 100%;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid var(--yc-line);
    border-radius: 8px;
    background: var(--yc-field);
    color: var(--yc-ink);
    font: 400 14px/1.4 var(--ygen-fonts-body);
}
.ygen-checkout-layout #customer_details textarea.input-text { min-height: 70px; resize: vertical; }
.ygen-checkout-layout #customer_details .select2-selection--single {
    height: 43px;
    min-height: 43px;
    border-radius: 8px;
    border-color: var(--yc-line);
    background: var(--yc-field);
}
.ygen-checkout-layout #customer_details .select2-selection__rendered {
    line-height: 41px;
    padding-block: 0;
    padding-inline: 11px 35px;
    color: var(--yc-ink);
}
.ygen-checkout-layout #customer_details .select2-selection__arrow { height: 41px; inset-inline-end: 9px; }
.ygen-checkout-layout #customer_details .select2-selection__arrow b {
    width: 7px;
    height: 7px;
    margin: 0;
    border: solid var(--yc-ink);
    border-width: 0 1.5px 1.5px 0;
    transform: translate(-50%,-70%) rotate(45deg);
}
.ygen-checkout-layout #customer_details .select2-container--open .select2-selection__arrow b {
    transform: translate(-50%,-20%) rotate(225deg);
}
.ygen-checkout-layout #customer_details .select2-container { display: block; }
.ygen-checkout-layout #customer_details .select2-container--open .select2-selection--single,
.ygen-checkout-layout #customer_details .select2-selection--single:focus-visible {
    outline: var(--ygen-field-focus);
    outline-offset: var(--ygen-field-focus-offset);
}
.ygen-checkout-layout #customer_details .woocommerce-invalid :is(.input-text, .select2-selection) { border-color: #a83d30; }
.ygen-checkout-layout .ygen-edit-cart { display: inline-block; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; margin-bottom: 12px; }
.ygen-checkout-layout #order_review thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ygen-checkout-layout #order_review table.shop_table { table-layout: fixed; }
.ygen-checkout-layout #order_review .product-name { overflow-wrap: anywhere; }
.ygen-checkout-layout #order_review .product-total { width: 38%; padding-inline-start: 10px !important; text-align: end; vertical-align: top; }
.ygen-checkout-layout #order_review .woocommerce-shipping-totals td { overflow-wrap: anywhere; }
.ygen-checkout-layout .ygen-review-product { display: flex; align-items: flex-start; gap: 10px; }
.ygen-checkout-layout .ygen-review-thumbnail { width: 42px; height: 52px; border-radius: 5px; object-fit: contain; flex-shrink: 0; }
.ygen-checkout-layout .product-quantity { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 400; }
.ygen-checkout-layout .ygen-payment-card #payment { background: transparent; }
.ygen-checkout-layout #payment ul.payment_methods { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.ygen-checkout-layout #payment ul.payment_methods::before,
.ygen-checkout-layout #payment ul.payment_methods::after { display: none; }
.ygen-checkout-layout #payment ul.payment_methods > li { border: 1px solid var(--yc-line); border-radius: 10px; padding: 10px 12px; }
.ygen-checkout-layout #payment ul.payment_methods > li:has(input:checked) { border-color: var(--yc-ink); }
.ygen-checkout-page .woocommerce #payment div.payment_box { background: var(--yc-soft); color: var(--yc-ink); border-radius: 8px; margin: 10px 0 0; }
.ygen-checkout-page .woocommerce #payment div.payment_box::before { display: none; }
.ygen-checkout-layout #payment .place-order { padding: 16px 0 0; margin: 0; }
.ygen-checkout-layout #payment .woocommerce-privacy-policy-text { font-size: 13px; line-height: 1.6; }
.ygen-checkout-layout #payment .woocommerce-terms-and-conditions-wrapper { margin-block-end: 12px; }
.ygen-checkout-layout #payment .woocommerce-terms-and-conditions-wrapper a { text-decoration: underline; }
.ygen-checkout-layout #payment #place_order { width: 100%; min-height: 48px; float: none; }
.ygen-mobile-order-total { display: none; }

/* SelectWoo attaches the open list to the document body. */
body.ygen-checkout-fields .select2-dropdown {
    border: 1px solid var(--ygen-colors-line, #e9d6c7);
    border-radius: 9px;
    background: var(--ygen-colors-surface, #fff);
    color: var(--yg-cacao, #714d40);
    box-shadow: 0 8px 20px rgb(59 35 25 / 12%);
    overflow: hidden;
}
body.ygen-checkout-fields .select2-dropdown .select2-search--dropdown { padding: 6px; }
body.ygen-checkout-fields .select2-dropdown .select2-search__field {
    width: 100%;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid var(--ygen-colors-line, #e9d6c7);
    border-radius: 6px;
    background: var(--ygen-colors-surface, #fff);
    color: var(--yg-cacao, #714d40);
    font: 400 15px/1.4 var(--ygen-fonts-body);
}
body.ygen-checkout-fields .select2-dropdown .select2-search__field:focus {
    outline: var(--ygen-field-focus);
    outline-offset: var(--ygen-field-focus-offset);
}
body.ygen-checkout-fields .select2-results > .select2-results__options {
    max-height: min(240px, 38dvh);
    overscroll-behavior-y: contain;
}
body.ygen-checkout-fields .select2-dropdown .select2-results__option {
    padding: 10px 12px;
    color: var(--yg-cacao, #714d40);
    font: 400 15px/1.4 var(--ygen-fonts-body);
}
body.ygen-checkout-fields .select2-dropdown .select2-results__option[aria-selected="true"] {
    background: var(--yg-cream, #fff9f3);
    font-weight: 700;
}
body.ygen-checkout-fields .select2-dropdown .select2-results__option--highlighted[aria-selected] {
    background: var(--yg-peach, #f5cdaa);
    color: var(--yg-cacao, #714d40);
}

@media (max-width: 900px) {
    .woocommerce-cart .ygen-checkout-page .woocommerce:has(.woocommerce-cart-form),
    .ygen-checkout-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 14px; }
    .ygen-checkout-layout > form.checkout > :is(.ygen-checkout-main, #order_review),
    .ygen-checkout-layout > .ygen-checkout-coupon { grid-column: 1; grid-row: auto; }
    .ygen-commerce-help { grid-column: 1; }
    .ygen-mobile-order-total { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
}
@media (max-width: 600px) {
    .ygen-checkout-page { padding-block: 24px 36px; }
    .ygen-checkout-page-compact { padding-block-start: 16px; }
    .ygen-commerce-heading { margin-bottom: 20px; }
    .ygen-checkout-page .woocommerce table.cart tr.woocommerce-cart-form__cart-item {
        grid-template-columns: 66px minmax(0, 1fr) auto;
        column-gap: 10px;
        padding: 16px;
    }
    .ygen-checkout-page .woocommerce table.cart .product-thumbnail img { width: 66px; height: 83px; }
    .ygen-cart-quantity button { min-width: 28px; min-height: 38px; }
    .ygen-checkout-page .ygen-cart-quantity input.qty { width: 30px; height: 38px; }
    .ygen-checkout-page .woocommerce .cart-collaterals .cart_totals,
    .ygen-checkout-layout :is(#customer_details, #order_review, .ygen-payment-card) { padding: 18px 16px; }
    .ygen-checkout-layout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) { grid-template-columns: minmax(0, 1fr); }
    .ygen-checkout-layout #customer_details .form-row :is(.input-text, select),
    .ygen-checkout-page .ygen-commerce-coupon .input-text,
    .ygen-checkout-page .woocommerce .ygen-shipping-select,
    body.ygen-checkout-fields .select2-dropdown .select2-search__field { font-size: 16px; }
}
@media (max-width: 480px) {
    .ygen-commerce-coupon summary { padding: 15px 14px; }
    .ygen-checkout-page .woocommerce table.cart td.actions .ygen-commerce-coupon > .coupon,
    .ygen-checkout-page .woocommerce .ygen-checkout-coupon > form.checkout_coupon {
        padding: 0 14px 14px;
        gap: 8px;
    }
    .ygen-checkout-page .woocommerce :is(table.cart td.actions .ygen-commerce-coupon > .coupon, .ygen-checkout-coupon > form.checkout_coupon) input.input-text {
        padding-inline: 11px;
        font-size: 16px;
    }
    .ygen-checkout-page .woocommerce :is(table.cart td.actions .ygen-commerce-coupon > .coupon, .ygen-checkout-coupon > form.checkout_coupon) button[name="apply_coupon"] {
        padding-inline: 12px;
        font-size: 13px;
    }
}
@media (max-width: 359px) {
    .ygen-checkout-page .woocommerce table.cart tr.woocommerce-cart-form__cart-item {
        grid-template-columns: 56px minmax(0, 1fr);
        grid-template-areas: "photo name" "photo quantity" "photo total";
    }
}
