/* Primary WooCommerce price stays visually dominant. */
.nasa-product-details-page .product-info > .price,
.nasa-product-details-page .product-info .nasa-single-product-price,
.nasa-product-details-page .product-info .woocommerce-variation-price .price {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
    font-weight: 800;
}

.product-item .info > .price,
.product-item .product-info-wrap > .price {
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.2;
    font-weight: 800;
}

.hlm-loyalty-price {
    box-sizing: border-box;
    border: 1px solid #eaded8;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff9f6 0%, #fff 100%);
    box-shadow: 0 7px 22px rgba(73, 48, 37, .07);
}

.hlm-loyalty-price--single {
    width: min(100%, 430px);
    margin: 13px 0 18px;
    padding: 14px 16px;
}

.hlm-loyalty-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    color: #75635b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.hlm-loyalty-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    height: 20px;
    padding: 0;
    border: 1px solid #b99c90;
    border-radius: 50%;
    background: #fff;
    color: #6d5146;
    font: 700 12px/1 Arial, sans-serif;
    cursor: pointer;
}

.hlm-loyalty-info:hover,
.hlm-loyalty-info:focus-visible {
    border-color: #211b19;
    background: #211b19;
    color: #fff;
}

.hlm-loyalty-value {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px 10px;
    color: #201b19;
    font-family: inherit;
    font-size: clamp(23px, 2.25vw, 31px);
    line-height: 1.12;
    font-weight: 800;
}

.hlm-loyalty-value .woocommerce-Price-amount {
    color: inherit;
    font: inherit;
}

.hlm-loyalty-regular {
    color: #9c8e88;
    font-size: .58em;
    font-weight: 500;
}

.hlm-loyalty-saving {
    padding: 4px 7px;
    border-radius: 999px;
    background: #201b19;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

.hlm-loyalty-price--loop {
    margin: 8px 0 6px;
    padding: 9px 10px;
    border-radius: 10px;
    box-shadow: none;
}

.hlm-loyalty-price--loop .hlm-loyalty-heading {
    margin-bottom: 3px;
    font-size: 10px;
}

.hlm-loyalty-price--loop .hlm-loyalty-info {
    width: 17px;
    min-width: 17px;
    height: 17px;
    font-size: 10px;
}

.hlm-loyalty-price--loop .hlm-loyalty-value {
    gap: 5px;
    font-size: clamp(16px, 1.25vw, 19px);
}

.hlm-loyalty-price--loop .hlm-loyalty-saving {
    padding: 3px 5px;
    font-size: 9px;
}

.hlm-loyalty-modal[hidden] {
    display: none !important;
}

.hlm-loyalty-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .18s ease;
}

.hlm-loyalty-modal.is-open {
    opacity: 1;
}

.hlm-loyalty-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 19, 17, .58);
    backdrop-filter: blur(3px);
}

.hlm-loyalty-modal__dialog {
    position: relative;
    width: min(100%, 480px);
    padding: 36px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
    outline: none;
    transform: translateY(10px) scale(.98);
    transition: transform .18s ease;
}

.hlm-loyalty-modal.is-open .hlm-loyalty-modal__dialog {
    transform: none;
}

.hlm-loyalty-modal__close {
    position: absolute;
    top: 13px;
    right: 14px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3eeeb;
    color: #201b19;
    font-size: 24px;
    line-height: 30px;
    cursor: pointer;
}

.hlm-loyalty-modal__eyebrow {
    color: #a16c57;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hlm-loyalty-modal__dialog h2 {
    margin: 9px 0 12px;
    font-size: 27px;
    line-height: 1.2;
}

.hlm-loyalty-modal__dialog p {
    margin: 0;
    color: #6e625d;
    font-size: 16px;
    line-height: 1.65;
}

body.hlm-loyalty-modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .nasa-product-details-page .product-info > .price,
    .nasa-product-details-page .product-info .nasa-single-product-price,
    .nasa-product-details-page .product-info .woocommerce-variation-price .price {
        font-size: 29px;
    }

    .product-item .info > .price,
    .product-item .product-info-wrap > .price {
        font-size: 18px;
    }

    .hlm-loyalty-price--single {
        width: 100%;
    }

    .hlm-loyalty-modal {
        align-items: flex-end;
        padding: 10px;
    }

    .hlm-loyalty-modal__dialog {
        width: 100%;
        padding: 32px 24px 28px;
        border-radius: 20px 20px 14px 14px;
    }
}
