.hrmlp-box {
    --hrmlp-primary: #b45309;
    --hrmlp-accent: #f59e0b;
    margin: 18px 0 22px;
    border: 1px solid #f1d6ad;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px rgba(82, 45, 8, .08);
    color: #27211b;
    font-family: inherit;
}

.hrmlp-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fffaf2 0%, #fff3da 100%);
    border-bottom: 1px solid #f3dfbd;
}

.hrmlp-heading-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--hrmlp-primary), var(--hrmlp-accent));
    box-shadow: 0 6px 14px rgba(180, 83, 9, .22);
    font-size: 17px;
    font-weight: 800;
}

.hrmlp-heading h3 {
    margin: 0 0 2px !important;
    color: #4a2a0b;
    font-size: 17px !important;
    line-height: 1.3 !important;
    letter-spacing: 0;
}

.hrmlp-heading p {
    margin: 0 !important;
    color: #755d43;
    font-size: 12.5px;
    line-height: 1.45;
}

.hrmlp-tier-list { padding: 8px 12px 4px; }
.hrmlp-tier-head,
.hrmlp-tier {
    display: grid;
    grid-template-columns: .72fr 1fr 1.35fr;
    align-items: center;
    column-gap: 10px;
}

.hrmlp-tier-head {
    padding: 7px 10px;
    color: #8a7560;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hrmlp-tier {
    position: relative;
    min-height: 52px;
    margin: 4px 0;
    padding: 9px 10px;
    border: 1px solid #eee7df;
    border-radius: 11px;
    background: #fff;
    transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.hrmlp-tier.is-active {
    border-color: var(--hrmlp-accent);
    background: #fffaf0;
    box-shadow: 0 5px 14px rgba(180, 83, 9, .10);
    transform: translateY(-1px);
}

.hrmlp-tier.is-active::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 3px;
    background: var(--hrmlp-primary);
}

.hrmlp-qty { color: #5e5144; font-weight: 700; }
.hrmlp-unit-price { color: #2f1d0c; font-size: 16px; white-space: nowrap; }
.hrmlp-benefit { color: #6d5c4c; font-size: 12px; line-height: 1.35; }
.hrmlp-tier.is-active .hrmlp-benefit { color: var(--hrmlp-primary); font-weight: 650; }

.hrmlp-live {
    margin: 8px 12px 12px;
    padding: 11px 12px;
    border-radius: 11px;
    background: #2d241b;
    color: #fff;
}

.hrmlp-live-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hrmlp-live-total span { color: #dacdbf; font-size: 12px; }
.hrmlp-live-total strong { color: #fff4d9; font-size: 17px; }
.hrmlp-progress { margin: 5px 0 0 !important; color: #f4c875; font-size: 11.5px; line-height: 1.4; }
.hrmlp-progress:empty { display: none; }

.hrmlp-cart-badge {
    display: block;
    width: max-content;
    margin-top: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fff2d9;
    color: #9a4b08;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .hrmlp-box { margin: 15px 0 18px; border-radius: 14px; }
    .hrmlp-heading { padding: 14px; }
    .hrmlp-heading-icon { flex-basis: 35px; height: 35px; border-radius: 10px; }
    .hrmlp-tier-list { padding: 8px; }
    .hrmlp-tier-head { display: none; }
    .hrmlp-tier {
        grid-template-columns: 52px 1fr;
        grid-template-areas: "qty price" "qty benefit";
        column-gap: 10px;
        min-height: 62px;
        padding: 10px 11px;
    }
    .hrmlp-qty { grid-area: qty; display: grid; place-items: center; align-self: stretch; border-right: 1px solid #eee1d2; }
    .hrmlp-unit-price { grid-area: price; }
    .hrmlp-benefit { grid-area: benefit; }
    .hrmlp-live { margin: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .hrmlp-tier { transition: none; }
}

