/* ==========================================================================
   Checkout page (woocommerce/checkout/form-checkout.php)
   ========================================================================== */

.woocommerce-checkout {
    --hf-ink: #2B354E;
    --hf-muted: #64748B;
    --hf-line: #E2E8F0;
    --hf-orange: #F5A033;
    --hf-coral: #F26B3A;
    --hf-green: #1F9D3A;
    --hf-cream: #FEF9F3;
    --hf-font: "Open Sans", "Inter", sans-serif;
}

.no.content {
    margin: 0px !important;
    padding: 0px !important;
}
.woocommerce-checkout #title {
    display: none;
}

.woocommerce-checkout label[for=payment_method_paypal] {
display: flex !important;
}

   form.woocommerce-cart-form, form.woocommerce-cart-form a, form.woocommerce-cart-form p, form.woocommerce-cart-form th {
                font-family:'Open Sans' !important;
            }
.woocommerce-checkout #content {
    background: var(--hf-cream);
}

.woocommerce-checkout .content {
    background: transparent;
}


.create-account span{
    font-family: var(--hf-font) !important;
    margin-left: 20px;
}
.hf-checkout {
    max-width: 1284px;
    margin: 0 auto;
    padding: 20px 16px 32px;
    font-family: var(--hf-font) !important;
    color: var(--hf-ink);
}

.hf-checkout *,
.hf-terms-modal * {
    box-sizing: border-box;
}

.hf-checkout__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.hf-card {
    background: #fff;
    border: 1px solid var(--hf-line);
    border-radius: 10px;
    padding: 18px 20px;
}

.hf-checkout .hf-card__title {
    font-family: var(--hf-font) !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--hf-ink) !important;
    margin: 0 0 14px;
    text-transform: none;
    letter-spacing: normal;
}

.hf-checkout a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- Order summary ---------- */

.hf-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hf-item {
    display: flex;
    gap: 14px;
    padding: 0 10px 12px 0;
    margin: 0 0 12px;
    border-bottom: 1px solid var(--hf-line);
}

.hf-item__thumb {
    flex: 0 0 64px;
}

.hf-item__thumb img {
    width: 64px !important;
    height: 64px !important;
    max-width: none !important;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.hf-item__body {
    flex: 1;
    min-width: 0;
}

.hf-item__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.hf-item__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    padding-top: 2px;
    font-family: var(--hf-font) !important;
}

.hf-item__name dl.variation,
.hf-item__name p {
    font-size: 12px;
    font-weight: 400;
    margin: 4px 0 0;
}

.hf-item__price {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    padding-top: 2px;
}

.hf-item__price .amount {
    color: var(--hf-ink) !important;
}

.hf-item__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.hf-qty {
    display: inline-flex;
    align-items: stretch;
    height: 28px;
    border: 1px solid var(--hf-line);
    border-radius: 3px;
}

.hf-qty__btn {
    width: 28px;
    border: 0;
    background: #fff;
    color: var(--hf-ink);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.hf-qty .quantity {
    margin: 0 !important;
}

.hf-qty .quantity label {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.hf-checkout .hf-qty input.qty {
    width: 36px !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0;
    border: 0 !important;
    border-left: 1px solid var(--hf-line) !important;
    border-right: 1px solid var(--hf-line) !important;
    border-radius: 0;
    text-align: center;
    font-size: 13px !important;
    color: var(--hf-ink);
    background: #fff;
    -moz-appearance: textfield;
}

.hf-qty input.qty::-webkit-outer-spin-button,
.hf-qty input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hf-checkout .hf-item__remove.remove {
    font-size: 11px;
    color: var(--hf-muted) !important;
    background: none !important;
    width: auto;
    height: auto;
    line-height: 1;
    border-radius: 0;
    font-weight: 400;
    display: inline;
}
.hf-checkout .hf-item__remove.remove:hover{
    color: var(--hf-orange) !important;
}
/* ---------- Exclusive offer ---------- */

.hf-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    margin: 0 0 14px;
    border: 1px solid #F3C892;
    border-radius: 8px;
    background: linear-gradient(170deg, #fff 45%, #FDEBD6 140%);
}

.hf-checkout .hf-offer__title {
    font-family: var(--hf-font) !important;
    font-size: 16px;
    font-weight: 700;
    color: var(--hf-coral) !important;
    margin: 0 0 4px;
}

.hf-offer p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 4px;
}

.hf-checkout .hf-offer__link {
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--hf-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--hf-orange);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

.hf-offer__text {
    flex: 1;
    min-width: 0;
}

.hf-offer__text p {
    font-family: var(--hf-font);
}
.hf-checkout .hf-offer__courses {
    margin: 14px 0 0;
    padding: 0 0 0 22px;
    list-style: decimal;
    font-size: 13px;
    line-height: 1.6;
    color: var(--hf-muted);
}

.hf-offer__courses[hidden] {
    display: none;
}

.hf-checkout .hf-offer__courses li {
    margin: 0 0 3px;
    padding-left: 2px;
    list-style: decimal;
}

.hf-checkout .hf-offer__btn {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid var(--hf-orange);
    border-radius: 4px;
    background: #fff;
    color: var(--hf-orange);
    font-family: var(--hf-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.hf-offer__btn:hover,
.hf-offer__btn:focus-visible {
    background: var(--hf-orange);
    color: #fff;
}

.hf-offer__btn.is-added {
    border-color: var(--hf-line);
    color: var(--hf-muted);
}

/* ---------- Coupon ---------- */

.hf-coupon {
    border-top: 1px solid var(--hf-line);
    padding: 12px 0 14px;
}

.hf-coupon__toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px 4px 0;
    border: 0;
    background: none;
    font-family: var(--hf-font);
    font-size: 14px;
    color: var(--hf-ink);
    cursor: pointer;
}

.hf-coupon__toggle svg {
    transition: transform .2s;
}

.hf-coupon__toggle[aria-expanded="false"] svg {
    transform: rotate(180deg);
}

.hf-coupon__body {
    margin-top: 10px;
}

.hf-coupon__body[hidden] {
    display: none;
}

.hf-coupon__row {
    display: flex;
    gap: 18px;
}

.hf-checkout .hf-coupon__row input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--hf-line) !important;
    border-radius: 4px;
    background: #fff;
    font-family: var(--hf-font);
    font-size: 15px;
    color: var(--hf-ink);
}

.hf-checkout .hf-btn-outline {
    flex: 0 0 115px;
    height: 40px;
    border: 1px solid var(--hf-orange) !important;
    border-radius: 4px;
    background: #fff !important;
    color: var(--hf-orange) !important;
    font-family: var(--hf-font);
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

.hf-btn-outline:disabled {
    opacity: .6;
}

.hf-coupon__msg:empty {
    display: none;
}

.hf-coupon__msg {
    margin-top: 10px;
    font-size: 13px;
}

.hf-coupon__msg ul,
.hf-coupon__msg .woocommerce-error,
.hf-coupon__msg .woocommerce-message {
    margin: 0;
    padding: 8px 12px;
    list-style: none;
}

/* ---------- Totals ---------- */

.hf-totals {
    border-top: 1px solid var(--hf-line);
    padding-top: 14px;
}

.hf-checkout .hf-totals table {
    width: 100%;
    margin: 0;
    border: 0 !important;
    border-collapse: collapse;
}

.hf-checkout .hf-totals th,
.hf-checkout .hf-totals td {
    border: 0 !important;
    padding: 0 0 8px;
    font-family: var(--hf-font) !important;
    font-size: 14px;
    color: var(--hf-ink);
    background: none;
}

.hf-checkout .hf-totals th {
    font-weight: 400;
    text-align: left;
}

.hf-totals tr:not(.order-total) th::after {
    content: ":";
}

.hf-checkout .hf-totals td {
    font-weight: 700;
    text-align: right;
}

.hf-checkout .hf-totals .amount {
    color: var(--hf-ink) !important;
}

.hf-checkout .hf-totals tr.order-total th,
.hf-checkout .hf-totals tr.order-total td {
    padding: 12px 0 0;
    border-top: 1px solid var(--hf-line) !important;
    font-size: 17px;
    font-weight: 700;
}

.hf-checkout .hf-totals .woocommerce-remove-coupon {
    font-size: 12px;
    font-weight: 400;
    color: var(--hf-muted);
}

.hf-summary__actions {
    display: none;
}

/* ---------- Express checkout ---------- */

.hf-express[hidden] {
    display: none;
}

.hf-express__stripe #wc-stripe-express-checkout-element {
    margin: 0 0 10px !important;
}

#wc-stripe-express-checkout-button-separator {
    display: none !important;
}

.hf-divider {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 6px 0 12px;
    font-size: 13px;
}

.hf-divider::before,
.hf-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--hf-line);
}

/* ---------- Your details ---------- */

.hf-details__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.hf-details__login {
    margin: 0;
    font-size: 13px;
}

.hf-checkout .hf-details__login a,
.hf-checkout .hf-terms-note a,
.hf-checkout .hf-help a {
    color: var(--hf-green);
    font-weight: 600;
}

.hf-checkout .woocommerce-billing-fields > h3,
.hf-checkout .woocommerce-account-fields > h3 {
    display: none;
}

/* Two columns: Full Name | Email, Phone | Country/Region. */
.hf-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
}

.hf-checkout .woocommerce-billing-fields__field-wrapper::before,
.hf-checkout .woocommerce-billing-fields__field-wrapper::after {
    content: none;
}

.hf-checkout .woocommerce-account-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hf-checkout .woocommerce-account-fields {
    margin-top: 12px;
}

.hf-checkout .hf-details .form-row {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hf-checkout .hf-details .form-row label {
    display: block;
    margin: 0 0 6px;
    font-family: var(--hf-font);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--hf-ink);
}

.hf-checkout .hf-details .form-row label .required {
    display: inline;
    border: 0;
    color: var(--hf-ink);
    font-weight: 600;
    text-decoration: none;
}

/* WooCommerce's "(optional)" tag on non-required fields, shown as "(Optional)". */
.hf-checkout .hf-details .form-row label .optional {
    display: inline !important;
    visibility: visible !important;
    font-weight: 500;
    color: var(--hf-ink);
    text-transform: capitalize;
}

.hf-checkout .hf-details input.input-text::placeholder {
    color: #94A3B8;
    opacity: 1;
}

.hf-checkout .hf-details .form-row label.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

/* The native <select> hidden by select2 (.select2-hidden-accessible) is left alone. */
.hf-checkout .hf-details input.input-text,
.hf-checkout .hf-details select:not(.select2-hidden-accessible) {
    width: 100%;
    height: 40px !important;
    padding: 0 14px !important;
    border: 1px solid var(--hf-line) !important;
    border-radius: 4px !important;
    background: #fff !important;
    font-family: var(--hf-font);
    font-size: 14px !important;
    color: var(--hf-ink);
    box-shadow: none;
}

/* Country (select2 / selectWoo) */
.hf-checkout .hf-details .select2-container {
    display: block;
    width: 100% !important;
}

.hf-checkout .hf-details .select2-container .select2-selection--single {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px !important;
    margin: 0;
    padding: 0 40px 0 14px !important;
    border: 1px solid var(--hf-line) !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
    outline: none;
}

.hf-checkout .hf-details .select2-container--open .select2-selection--single,
.hf-checkout .hf-details .select2-container--focus .select2-selection--single {
    border-color: var(--hf-orange) !important;
}

.hf-checkout .hf-details .select2-selection--single .select2-selection__rendered {
    flex: 1;
    min-width: 0;
    padding: 0 !important;
    font-family: var(--hf-font) !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    color: var(--hf-ink) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hf-checkout .hf-details .select2-selection--single .select2-selection__arrow {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    width: 12px !important;
    height: 12px !important;
    margin-top: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hf-checkout .hf-details .select2-selection--single .select2-selection__arrow b {
    position: static !important;
    display: block;
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    border-style: solid !important;
    border-color: transparent var(--hf-ink) var(--hf-ink) transparent !important;
    border-width: 0 1.5px 1.5px 0 !important;
    background: none !important;
    transform: rotate(45deg);
    transition: transform .2s;
}

.hf-checkout .hf-details .select2-container--open .select2-selection__arrow b {
    margin-top: 6px !important;
    transform: rotate(-135deg);
}

/* Dropdown is appended to <body>, outside .hf-checkout. */
.woocommerce-checkout .select2-dropdown {
    border: 1px solid var(--hf-orange) !important;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(43, 53, 78, .12);
    font-family: "Noto Sans", "Inter", sans-serif;
    font-size: 15px;
    color: #2B354E;
    overflow: hidden;
}

.woocommerce-checkout .select2-dropdown .select2-search--dropdown {
    padding: 10px;
}

.woocommerce-checkout .select2-dropdown .select2-search__field {
    height: 40px;
    padding: 0 12px !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 4px;
    font-size: 15px;
    outline: none;
}

.woocommerce-checkout .select2-dropdown .select2-results__option {
    padding: 9px 14px;
    line-height: 1.3;
}

.woocommerce-checkout .select2-dropdown .select2-results__option--highlighted[aria-selected],
.woocommerce-checkout .select2-dropdown .select2-results__option--highlighted[data-selected] {
    background: #FFF6EA !important;
    color: #2B354E !important;
}

.woocommerce-checkout .select2-dropdown .select2-results__option[aria-selected="true"],
.woocommerce-checkout .select2-dropdown .select2-results__option[data-selected="true"] {
    background: #F5A033 !important;
    color: #fff !important;
}

.hf-checkout .hf-details input.input-text:focus,
.hf-checkout .hf-coupon__row input:focus {
    border-color: var(--hf-orange) !important;
    outline: none;
}

.hf-checkout .woocommerce-invalid input.input-text {
    border-color: #E2401C !important;
}

/* ---------- Payment method ---------- */

.hf-payment {
    margin-top: 16px;
}

.hf-pm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.hf-checkout .hf-pm-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    height: 40px;
    margin: 0 !important;
    padding: 0 12px;
    float: none;
    border: 1px solid var(--hf-orange);
    border-radius: 3px;
    background: #fff;
    color: var(--hf-orange);
    font-family: var(--hf-font) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
    transition: background-color .15s, box-shadow .15s;
}

.hf-checkout .hf-pm-tab[hidden] {
    display: none;
}

.hf-checkout .hf-pm-tab::before,
.hf-checkout .hf-pm-tab::after {
    content: none;
}

.hf-checkout .hf-pm-tab:hover {
    background: #FFFBF5;
}

.hf-checkout .hf-pm-tab.is-active {
    background: #FFF6EA;
    box-shadow: inset 0 0 0 1px var(--hf-orange);
}

/* Totals are shown in the Order Summary; checkout.js reads this table after update_checkout. */
.hf-checkout .woocommerce-checkout-review-order-table {
    display: none;
}

.hf-checkout #payment {
    background: none !important;
    border: 0 !important;
    border-radius: 0;
}

.hf-checkout #payment ul.payment_methods {
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    list-style: none;
}

.hf-checkout #payment ul.payment_methods li.wc_payment_method {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hf-checkout #payment ul.payment_methods li.wc_payment_method > input.input-radio,
.hf-checkout #payment ul.payment_methods li.wc_payment_method > label {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.hf-checkout #payment div.payment_box {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    color: var(--hf-ink);
    font-size: 14px;
}

.hf-checkout #payment div.payment_box::before {
    display: none;
}

.hf-checkout #payment div.payment_box .form-row {
    padding: 0;
}

.hf-checkout #payment .place-order {
    margin: 0 !important;
    padding: 0 !important;
}

/* Terms checkbox stays in the form (checked by default) but the design only shows the note. */
.hf-checkout .woocommerce-terms-and-conditions-wrapper {
    display: none;
}

.hf-checkout .hf-terms-note {
    margin: 12px 0 10px;
    padding: 0;
    font-family: var(--hf-font) !important;
    font-size: 13px;
    line-height: 1.5;
    color: var(--hf-ink);
}

.hf-checkout #place_order_wrapper {
    display: block;
    background: transparent !important;
}

.hf-checkout #place_order {
    display: block;
    width: 100% !important;
    height: 46px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 2px;
    background: var(--hf-orange) !important;
    color: #fff !important;
    font-family: var(--hf-font) !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
}

.hf-checkout #place_order:hover {
    background: #E8912A !important;
}

.hf-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--hf-muted);
}

.hf-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hf-help {
    margin: 14px 0 0;
    text-align: center;
    font-size: 15px;
}

/* ---------- Terms & Conditions modal ---------- */

.hf-terms-modal {
    width: min(800px, calc(100vw - 32px));
    max-height: min(850px, calc(100vh - 32px));
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #fff;
    color: #2B354E;
    font-family: "Noto Sans", "Inter", sans-serif;
    box-shadow: 0 20px 60px rgba(43, 53, 78, .18);
    overflow: hidden;
}

.hf-terms-modal::backdrop {
    background: rgba(43, 53, 78, .45);
}

.hf-terms-modal__inner {
    display: flex;
    flex-direction: column;
    max-height: inherit;
    padding: 28px 24px 24px;
}

.hf-terms-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.hf-terms-modal h2 {
    margin: 0;
    font-family: inherit !important;
    font-size: 24px;
    font-weight: 700;
    color: #2B354E;
}

.hf-terms-modal__close {
    flex: 0 0 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #2B354E;
    box-shadow: 0 2px 8px rgba(43, 53, 78, .15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hf-terms-modal__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 20px;
    font-size: 15px;
    line-height: 1.75;
    scrollbar-width: thin;
    scrollbar-color: #F5A033 transparent;
}

.hf-terms-modal__body::-webkit-scrollbar {
    width: 10px;
}

.hf-terms-modal__body::-webkit-scrollbar-thumb {
    background: #F5A033;
    border-radius: 10px;
}

.hf-terms-modal__body p,
.hf-terms-modal__body ul {
    margin: 0 0 16px;
}

.hf-terms-modal__body ul {
    padding-left: 20px;
}

.hf-terms-modal__body h3,
.hf-terms-modal__body h4 {
    margin: 26px 0 14px;
    font-family: inherit !important;
    font-weight: 700;
    color: #2B354E;
    text-transform: none;
}

.hf-terms-modal__body h3 {
    font-size: 19px;
}

.hf-terms-modal__body h4 {
    font-size: 16px;
}

.hf-terms-modal__body a {
    color: #1F9D3A;
}

.hf-terms-modal__foot {
    padding-top: 18px;
}

.hf-terms-modal__back {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 2px;
    background: #F5A033;
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
    .hf-checkout__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .hf-checkout .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .hf-checkout {
        padding: 16px 12px 32px;
    }

    .hf-card {
        padding: 20px 16px;
    }

    .hf-checkout .hf-card__title {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .hf-item {
        gap: 12px;
        padding-right: 0;
    }

    .hf-item__thumb {
        flex-basis: 56px;
    }

    .hf-item__thumb img {
        width: 56px !important;
        height: 56px !important;
    }

    .hf-item__name {
        font-size: 14px;
        padding-top: 0;
    }

    .hf-item__price {
        font-size: 14px;
        padding-top: 0;
        font-family: var(--hf-font) !important;
    }

    .hf-offer {
        display: none;
    }

    .hf-coupon__row {
        gap: 10px;
    }

    .hf-checkout .hf-btn-outline {
        flex-basis: 90px;
    }

    .hf-pm-tabs {
        flex-wrap: nowrap;
        gap: 8px;
    }

    /* Size tabs by their label so "Debit/Credit Card" gets the extra width. */
    .hf-checkout .hf-pm-tab {
        flex: 1 1 auto;
        font-size: 13px;
        padding: 0 8px;
    }

    .hf-checkout #place_order {
        font-size: 17px;
    }

    .hf-terms-modal__inner {
        padding: 22px 16px 16px;
    }

    .hf-terms-modal h2 {
        font-size: 20px;
    }

    .hf-terms-modal__body {
        font-size: 14px;
        padding-right: 10px;
    }
}

/* iOS zooms into inputs under 16px. */
@media (max-width: 768px) {
    .hf-checkout input,
    .hf-checkout select,
    .hf-checkout textarea {
        font-size: 16px !important;
    }
}
