/**
 * HV Web Online Cart Layer
 * v24: one-time setup fee wording plus annual service/setup savings display.
 */

#order-standard_cart {
    color: var(--hv-ink, #102033);
}

#order-standard_cart *,
#order-standard_cart *::before,
#order-standard_cart *::after {
    box-sizing: border-box;
}

#order-standard_cart .cart-sidebar,
#order-standard_cart .sidebar,
#order-standard_cart .view-cart-items,
#order-standard_cart .order-summary {
    border: 1px solid var(--hv-line, rgba(16,32,51,0.10)) !important;
    border-radius: var(--hv-radius, 18px) !important;
    background: rgba(255,255,255,0.94) !important;
    box-shadow: var(--hv-shadow-sm, 0 10px 30px rgba(8,26,51,0.08)) !important;
}

#order-standard_cart .cart-sidebar .list-group-item,
#order-standard_cart .sidebar .list-group-item {
    border-color: rgba(16,32,51,0.08) !important;
    background: transparent !important;
    color: var(--hv-ink, #102033);
    font-weight: 700;
}

#order-standard_cart .cart-sidebar .list-group-item.active,
#order-standard_cart .sidebar .list-group-item.active {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--hv-blue, #1f6feb), var(--hv-cyan, #24d2ff)) !important;
    color: #fff !important;
}

#order-standard_cart .product-info,
#order-standard_cart .product-configurable-options,
#order-standard_cart .addons,
#order-standard_cart .sub-heading {
    border-radius: var(--hv-radius, 18px) !important;
}

#order-standard_cart .sub-heading span,
#order-standard_cart .sub-heading-borderless span {
    color: var(--hv-navy, #081a33);
    font-weight: 900;
    letter-spacing: -0.025em;
}

#order-standard_cart label {
    color: var(--hv-ink, #102033);
    font-weight: 760;
}

#order-standard_cart .order-summary {
    position: sticky;
    top: 84px;
}

#order-standard_cart .order-summary h2,
#order-standard_cart .order-summary h3 {
    color: var(--hv-navy, #081a33);
    font-weight: 900;
}

#order-standard_cart .total-due-today {
    color: var(--hv-blue, #1f6feb) !important;
    font-weight: 950 !important;
}

.hv-cart-progress {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 20px;
    padding: 10px;
    border: 1px solid var(--hv-line, rgba(16,32,51,0.10));
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    box-shadow: var(--hv-shadow-sm, 0 10px 30px rgba(8,26,51,0.08));
}

.hv-cart-progress__step {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--hv-muted, #607086);
    font-size: 0.82rem;
    font-weight: 850;
    text-align: center;
    white-space: nowrap;
}

.hv-cart-progress__step.is-active {
    background: linear-gradient(135deg, var(--hv-blue, #1f6feb), var(--hv-cyan, #24d2ff));
    color: #fff;
}

.hv-cart-assist {
    margin: 0 0 20px;
    padding: 16px 18px;
    border: 1px solid rgba(31,111,235,0.16);
    border-radius: 18px;
    background: radial-gradient(circle at 95% 5%, rgba(198,255,95,0.18), transparent 10rem), rgba(255,255,255,0.92);
    box-shadow: var(--hv-shadow-sm, 0 10px 30px rgba(8,26,51,0.08));
}

.hv-cart-assist strong {
    display: block;
    margin-bottom: 4px;
    color: var(--hv-navy, #081a33);
    font-size: 1rem;
}

.hv-cart-assist p {
    margin: 0;
    color: var(--hv-muted, #607086);
}

/* Product catalog shell. */
#order-standard_cart.hv-standard-product-catalog > .row {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

#order-standard_cart.hv-standard-product-catalog .cart-body,
#order-standard_cart.hv-standard-product-catalog .cart-sidebar,
#order-standard_cart.hv-standard-product-catalog .sidebar {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
}

#order-standard_cart.hv-standard-product-catalog .cart-body {
    margin: 0 !important;
    padding: 0 !important;
}

#order-standard_cart.hv-standard-product-catalog .cart-sidebar,
#order-standard_cart.hv-standard-product-catalog .sidebar {
    margin-bottom: 16px !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-group-heading {
    margin: 0 0 18px !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-group-heading h1 {
    margin: 0 0 8px !important;
    color: var(--hv-navy, #081a33) !important;
    font-size: clamp(1.9rem, 4vw, 3rem) !important;
    font-weight: 950 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.045em !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-group-heading p {
    max-width: 860px;
    margin: 0 !important;
    color: var(--hv-muted, #607086) !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
}

/*
 * v13 layout authority.
 * JS physically groups every three cards into .hv-product-row. CSS here only
 * defines the final presentation; there are no legacy v7-v12 overrides below it.
 */
#order-standard_cart.hv-standard-product-catalog #products.hv-products-grid,
#order-standard_cart #products.hv-products-grid {
    display: block !important;
    width: 100% !important;
    max-width: 1040px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    clear: both !important;
    list-style: none !important;
}

#order-standard_cart.hv-standard-product-catalog #products.hv-products-grid::before,
#order-standard_cart.hv-standard-product-catalog #products.hv-products-grid::after,
#order-standard_cart #products.hv-products-grid::before,
#order-standard_cart #products.hv-products-grid::after {
    display: none !important;
    content: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-row,
#order-standard_cart #products.hv-products-grid > .hv-product-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    clear: both !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-row::before,
#order-standard_cart.hv-standard-product-catalog .hv-product-row::after,
#order-standard_cart #products.hv-products-grid > .hv-product-row::before,
#order-standard_cart #products.hv-products-grid > .hv-product-row::after {
    display: none !important;
    content: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-row > .hv-product-card,
#order-standard_cart #products.hv-products-grid > .hv-product-row > .hv-product-card,
#order-standard_cart.hv-standard-product-catalog #products.hv-products-grid > .hv-product-card {
    position: relative !important;
    display: flex !important;
    flex: 0 0 calc((100% - 24px) / 3) !important;
    flex-direction: column !important;
    align-self: flex-start !important;
    width: calc((100% - 24px) / 3) !important;
    min-width: 0 !important;
    max-width: calc((100% - 24px) / 3) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    overflow: hidden !important;
    border: 1px solid rgba(31,111,235,0.16) !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,0.98) !important;
    box-shadow: 0 14px 34px rgba(8,26,51,0.10) !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card:hover {
    border-color: rgba(31,111,235,0.28) !important;
    box-shadow: 0 20px 44px rgba(8,26,51,0.14) !important;
    transform: translateY(-2px);
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 78px !important;
    margin: 0 !important;
    padding: 17px 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: radial-gradient(circle at 90% 15%, rgba(56,213,255,0.25), transparent 10rem), linear-gradient(135deg, #081a33 0%, #102a4f 58%, #155bd7 100%) !important;
    color: #fff !important;
    box-shadow: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__title {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(0.82rem, 1.45vw, 1.02rem) !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em !important;
    overflow-wrap: anywhere !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__stock {
    display: inline-flex !important;
    margin-left: auto !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.14) !important;
    color: #fff !important;
    font-size: 0.72rem !important;
    font-weight: 850 !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__content {
    display: flex !important;
    flex-direction: column !important;
    min-height: 250px !important;
    padding: 15px 17px 11px !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__details {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    color: var(--hv-ink, #102033) !important;
    font-size: clamp(0.75rem, 1.2vw, 0.86rem) !important;
    line-height: 1.42 !important;
    overflow-wrap: anywhere !important;
    transition: max-height 220ms ease !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__details.is-empty {
    display: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__details.is-collapsible:not(.is-expanded) {
    max-height: 7.1em !important;
    overflow: hidden !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__details.is-collapsible:not(.is-expanded)::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 26px !important;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.98) 82%) !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__details.is-expanded {
    max-height: none !important;
    overflow: visible !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__description > :first-child {
    margin-top: 0 !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__description p,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__description div {
    margin: 0 0 10px !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__description ul,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__description ol {
    display: grid !important;
    gap: 6px !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__description li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    line-height: 1.38 !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__description li::before {
    content: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__features {
    display: grid !important;
    gap: 6px !important;
    margin: 10px 0 0 !important;
    padding: 10px 0 0 !important;
    border-top: 1px solid rgba(16,32,51,0.08) !important;
    list-style: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__features li {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 0 0 18px !important;
    color: var(--hv-ink, #102033) !important;
    font-size: clamp(0.74rem, 1.1vw, 0.84rem) !important;
    line-height: 1.35 !important;
    text-align: left !important;
    list-style: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__features li::before {
    content: "✓" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    color: var(--hv-blue, #1f6feb) !important;
    font-weight: 950 !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card li::marker {
    content: "" !important;
    font-size: 0 !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__features .feature-value {
    margin-right: 4px !important;
    color: var(--hv-navy, #081a33) !important;
    font-weight: 900 !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-details-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: flex-start !important;
    min-height: 33px !important;
    margin: 10px 0 0 !important;
    padding: 6px 12px !important;
    border: 1px solid rgba(31,111,235,0.18) !important;
    border-radius: 999px !important;
    background: rgba(31,111,235,0.07) !important;
    color: var(--hv-blue, #1f6feb) !important;
    box-shadow: none !important;
    font-size: 0.74rem !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    cursor: pointer !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-details-toggle[hidden] {
    display: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__footer {
    display: grid !important;
    gap: 11px !important;
    margin-top: auto !important;
    padding: 14px 17px 17px !important;
    border-top: 1px solid rgba(16,32,51,0.08) !important;
    background: linear-gradient(180deg, rgba(31,111,235,0.025), rgba(255,255,255,0)) !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__pricing {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 3px 7px !important;
    min-height: 48px !important;
    color: var(--hv-muted, #607086) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__pricing:empty {
    display: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__price-label {
    flex-basis: 100% !important;
    color: var(--hv-blue, #1f6feb) !important;
    font-size: 0.76rem !important;
    font-weight: 900 !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__price {
    color: var(--hv-blue, #1f6feb) !important;
    font-size: clamp(1.05rem, 1.85vw, 1.35rem) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__cycle {
    color: var(--hv-muted, #607086) !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
}



#order-standard_cart.hv-standard-product-catalog .hv-product-card__setup-fee {
    display: flex !important;
    flex-basis: 100% !important;
    flex-direction: column !important;
    gap: 2px !important;
    margin-top: 3px !important;
    color: var(--hv-muted, #607086) !important;
    font-size: 0.74rem !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__setup-fee[hidden] {
    display: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__setup-savings,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__annual-savings {
    display: inline-flex !important;
    align-items: center !important;
    align-self: flex-start !important;
    width: fit-content !important;
    padding: 3px 7px !important;
    border-radius: 999px !important;
    background: rgba(31,111,235,0.08) !important;
    color: var(--hv-blue, #1f6feb) !important;
    font-size: 0.68rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.01em !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__setup-savings[hidden],
#order-standard_cart.hv-standard-product-catalog .hv-product-card__annual-savings[hidden] {
    display: none !important;
}


#order-standard_cart.hv-standard-product-catalog .hv-product-card__order-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 26px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--hv-blue, #1f6feb), var(--hv-cyan, #24d2ff)) !important;
    color: #fff !important;
    box-shadow: 0 11px 24px rgba(31,111,235,0.21) !important;
    font-size: 0.82rem !important;
    font-weight: 950 !important;
    text-align: center !important;
    text-decoration: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__order-button:hover,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__order-button:focus {
    color: #fff !important;
    box-shadow: 0 15px 30px rgba(31,111,235,0.28) !important;
    transform: translateY(-1px);
}

/* Recommendation interface remains a true modal. */
#recommendationsModal.modal {
    position: fixed !important;
    z-index: 11050 !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

#recommendationsModal .modal-dialog {
    position: relative !important;
    width: calc(100% - 32px) !important;
    max-width: 620px !important;
    margin: 72px auto 32px !important;
    transform: none !important;
}

#recommendationsModal .modal-content {
    overflow: hidden !important;
    border: 1px solid rgba(31,111,235,0.18) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 28px 80px rgba(8,26,51,0.28) !important;
}

#recommendationsModal .modal-header,
#recommendationsModal .modal-body,
#recommendationsModal .modal-footer {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

#recommendationsModal .modal-header { padding: 20px 22px !important; }
#recommendationsModal .modal-body { padding: 22px !important; }
#recommendationsModal .modal-footer { padding: 16px 22px 22px !important; }

#recommendationsModal .product-recommendation.clonable.hidden,
#recommendationsModal .product-recommendation.clonable.w-hidden {
    display: none !important;
}

/* Mobile storefront: phones use one full-width product per row. Tablets/desktops remain three-up. */
@media (max-width: 767px) {
    #order-standard_cart.hv-standard-product-catalog #products.hv-products-grid,
    #order-standard_cart #products.hv-products-grid {
        max-width: 100% !important;
    }

    #order-standard_cart.hv-standard-product-catalog .hv-product-row,
    #order-standard_cart #products.hv-products-grid > .hv-product-row {
        flex-direction: column !important;
        gap: 14px !important;
    }

    #order-standard_cart.hv-standard-product-catalog .hv-product-row > .hv-product-card,
    #order-standard_cart #products.hv-products-grid > .hv-product-row > .hv-product-card,
    #order-standard_cart.hv-standard-product-catalog #products.hv-products-grid > .hv-product-card {
        flex: 0 0 100% !important;
        flex-basis: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        clear: both !important;
    }


    #order-standard_cart.hv-standard-product-catalog .hv-product-row,
    #order-standard_cart #products.hv-products-grid > .hv-product-row {
        flex-wrap: nowrap !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        overflow: visible !important;
    }

    #order-standard_cart.hv-standard-product-catalog .hv-product-card__header {
        min-height: 68px !important;
        padding: 15px 16px !important;
    }

    #order-standard_cart.hv-standard-product-catalog .hv-product-card__title {
        font-size: 1rem !important;
    }

    #order-standard_cart.hv-standard-product-catalog .hv-product-card__content {
        min-height: 0 !important;
    }

    .hv-cart-progress {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
    }

    #order-standard_cart .order-summary {
        position: static;
    }

    #recommendationsModal .modal-dialog {
        margin-top: 24px !important;
    }
}

/* v16: plan details only collapse when content exceeds the line threshold. */
#order-standard_cart.hv-standard-product-catalog .hv-product-card {
    --hv-detail-collapsed-lines: 5;
    --hv-detail-collapsed-height: 7.1em;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__details:not(.is-collapsible) {
    max-height: none !important;
    overflow: visible !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__details.is-collapsible:not(.is-expanded) {
    max-height: var(--hv-detail-collapsed-height) !important;
    overflow: hidden !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card.has-overflow-details .hv-product-details-toggle,
#order-standard_cart.hv-standard-product-catalog .hv-product-details-toggle.is-visible {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card:not(.has-overflow-details) .hv-product-details-toggle,
#order-standard_cart.hv-standard-product-catalog .hv-product-card[data-hv-no-details="1"] .hv-product-details-toggle,
#order-standard_cart.hv-standard-product-catalog .hv-product-details-toggle[hidden]:not(.is-visible) {
    display: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-billing-toggle {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 0 0 2px !important;
    padding: 4px !important;
    border: 1px solid rgba(31,111,235,0.16) !important;
    border-radius: 999px !important;
    background: rgba(31,111,235,0.055) !important;
    box-sizing: border-box !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-billing-toggle[hidden] {
    display: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-billing-toggle button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 6px 9px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--hv-muted, #607086) !important;
    box-shadow: none !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-billing-toggle button.is-active {
    background: #fff !important;
    color: var(--hv-blue, #1f6feb) !important;
    box-shadow: 0 6px 15px rgba(31,111,235,0.13) !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-billing-toggle button:focus {
    outline: 2px solid rgba(31,111,235,0.35) !important;
    outline-offset: 2px !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__pricing[data-hv-pricing="1"] {
    min-height: 58px !important;
}


/* v18: make the line-threshold details button reliable and keep it visible above billing/pricing. */
#order-standard_cart.hv-standard-product-catalog .hv-product-card__footer > .hv-product-details-toggle {
    justify-self: flex-start !important;
    margin: 0 0 2px !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card.has-overflow-details .hv-product-card__footer > .hv-product-details-toggle,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__footer > .hv-product-details-toggle.is-visible {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__details.is-collapsible:not(.is-expanded) {
    min-height: 0 !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__details.is-collapsible:not(.is-expanded)::after {
    height: 24px !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__features li,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__description li {
    list-style-type: none !important;
}

@media (max-width: 767px) {
    #order-standard_cart.hv-standard-product-catalog .hv-product-card__content {
        padding: 18px 20px 12px !important;
    }

    #order-standard_cart.hv-standard-product-catalog .hv-product-card__details {
        font-size: 0.92rem !important;
        line-height: 1.45 !important;
    }

    #order-standard_cart.hv-standard-product-catalog .hv-product-card__details.is-collapsible:not(.is-expanded) {
        max-height: var(--hv-detail-collapsed-height) !important;
    }

    #order-standard_cart.hv-standard-product-catalog .hv-product-card__footer {
        padding: 14px 20px 20px !important;
    }

    #order-standard_cart.hv-standard-product-catalog .hv-product-details-toggle {
        min-height: 36px !important;
        padding: 8px 14px !important;
        font-size: 0.82rem !important;
    }

    #order-standard_cart.hv-standard-product-catalog .hv-product-card__price {
        font-size: 1.35rem !important;
        line-height: 1.08 !important;
    }
}

/* 2026-06-21 v38: mobile order-button click safety.
   Keeps the custom product-card visuals but ensures the Order Now link remains the top clickable target on phones. */
#order-standard_cart.hv-standard-product-catalog .hv-product-card,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__footer {
    position: relative !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card::before,
#order-standard_cart.hv-standard-product-catalog .hv-product-card::after,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__details::after {
    pointer-events: none !important;
}

@media (max-width: 767px) {
    #order-standard_cart.hv-standard-product-catalog .hv-product-card__footer {
        z-index: 4 !important;
    }

    #order-standard_cart.hv-standard-product-catalog .hv-product-card__order-button,
    #order-standard_cart .btn-order-now {
        position: relative !important;
        z-index: 6 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
    }
}


/* 2026-06-21 v39: all-device Order Now click safety.
   Prevents decorative/card layers from blocking product order links and keeps the CTA as the top clickable target. */
#order-standard_cart.hv-standard-product-catalog .hv-product-card,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__footer {
    position: relative !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card::before,
#order-standard_cart.hv-standard-product-catalog .hv-product-card::after,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__details::after,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__content::before,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__content::after,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__footer::before,
#order-standard_cart.hv-standard-product-catalog .hv-product-card__footer::after {
    pointer-events: none !important;
}

#order-standard_cart.hv-standard-product-catalog .hv-product-card__order-button,
#order-standard_cart .btn-order-now {
    position: relative !important;
    z-index: 50 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
}
