#order-standard_cart #products .fh-store-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

@media (min-width: 720px) {
    #order-standard_cart #products .fh-store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    #order-standard_cart #products .fh-store-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

#order-standard_cart #products .fh-store-plan {
    --fh-plan-surface: #fff;
    --fh-plan-muted: #46596a;
    --fh-plan-text: #15212a;
    --fh-plan-line: #b7c3ca;
    --fh-plan-link: #684e00;
    --fh-plan-subtle: #f3f6f7;
    --fh-plan-feature-surface: #fff3ca;
    --fh-plan-feature-text: #644800;
    --fh-plan-focus: #805700;
    display: grid;
    grid-template-rows: auto minmax(min-content, 1fr) repeat(4, auto);
    row-gap: 10px;
    min-width: 0;
    margin: 0;
    padding: clamp(14px, 2vw, 22px);
    border: 1px solid var(--fh-plan-line);
    border-radius: 12px;
    background: var(--fh-plan-surface);
    color: var(--fh-plan-text);
    text-align: start;
    overflow-wrap: anywhere;
}

[data-background="dark"] #order-standard_cart #products .fh-store-plan {
    --fh-plan-surface: #101b24;
    --fh-plan-muted: #bacbd7;
    --fh-plan-text: #f1f5f8;
    --fh-plan-line: #415665;
    --fh-plan-link: #ffe083;
    --fh-plan-subtle: #182833;
    --fh-plan-feature-surface: #332a15;
    --fh-plan-feature-text: #ffe083;
    --fh-plan-focus: #ffda3d;
}

@supports (grid-template-rows: subgrid) {
    #order-standard_cart #products .fh-store-plan {
        grid-row: span 6;
        grid-template-rows: subgrid;
    }
}

#order-standard_cart #products .fh-store-plan :is(h3, p) {
    margin: 0;
}

#order-standard_cart #products .fh-store-plan-heading h3 {
    color: var(--fh-plan-text);
    font-size: clamp(1.05rem, 1.65vw, 1.3rem);
    font-weight: 750;
    line-height: 1.3;
}

.fh-store-plan-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    margin-block-start: 6px;
    color: var(--fh-plan-muted);
    font-size: .79rem;
    line-height: 1.35;
}

#order-standard_cart #products .fh-store-plan-meta .fh-product-featured {
    position: static;
    display: inline-block;
    margin: 0;
    padding: 3px 7px;
    border: 0;
    border-radius: 5px;
    background: var(--fh-plan-feature-surface);
    color: var(--fh-plan-feature-text);
    font-weight: 650;
    text-transform: none;
}

.fh-store-plan-facts {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: var(--fh-plan-muted);
    font-size: .875rem;
    line-height: 1.5;
}

#order-standard_cart #products .fh-store-plan-facts .fh-plan-base-specs {
    color: var(--fh-plan-text);
    font-weight: 650;
}

#order-standard_cart #products .fh-store-plan-facts .fh-plan-image-list {
    margin-block-start: auto;
    padding-block-start: 3px;
}

#order-standard_cart #products .fh-store-plan-pricing {
    display: grid;
    align-content: start;
    gap: 3px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--fh-plan-subtle);
    color: var(--fh-plan-text);
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
}

.fh-store-plan-from,
.fh-store-plan-period {
    color: var(--fh-plan-muted);
    font-size: .81rem;
}

.fh-store-plan-rate {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
}

.fh-store-plan-amount {
    color: var(--fh-plan-text);
    font-size: clamp(1.22rem, 2vw, 1.5rem);
    font-weight: 750;
    line-height: 1.25;
}

#order-standard_cart #products .fh-store-plan-pricing .fh-catalog-annual-price {
    color: var(--fh-plan-muted);
    font-size: .82rem;
}

#order-standard_cart #products .fh-store-plan-pricing .fh-catalog-annual-price strong {
    color: var(--fh-plan-text);
}

.fh-store-plan-actions {
    display: grid;
    align-content: start;
    gap: 6px;
}

#order-standard_cart #products .fh-store-plan-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.35;
    text-align: center;
    text-transform: none;
    white-space: normal;
}

#order-standard_cart #products .fh-store-plan-actions .fh-catalog-annual-link {
    border: 1px solid var(--fh-plan-line);
    text-decoration: none;
}

#order-standard_cart #products .fh-store-plan-actions .fh-catalog-annual-link:hover {
    border-color: currentColor;
    text-decoration: underline;
}

#order-standard_cart #products .fh-store-plan-compare a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--fh-plan-link);
    font-size: .875rem;
    text-decoration: underline;
    text-underline-offset: .18em;
}

#order-standard_cart #products .fh-store-plan :is(a, summary):focus-visible {
    outline: 2px solid var(--fh-plan-focus);
    outline-offset: 3px;
}

#order-standard_cart #products .fh-store-plan-footer .fh-catalog-details {
    margin: 0;
    border: 0;
    border-block-start: 1px solid var(--fh-plan-line);
    border-radius: 0;
    background: transparent;
}

#order-standard_cart #products .fh-store-plan-footer summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    margin: 0;
    padding: 8px 0;
    color: var(--fh-plan-text);
    font-size: .9rem;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
}

.fh-store-plan-footer summary::-webkit-details-marker {
    display: none;
}

.fh-store-plan-footer summary::after {
    content: "";
    box-sizing: border-box;
    flex: 0 0 8px;
    block-size: 8px;
    margin: 0 3px 3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.fh-store-plan-footer details[open] summary::after {
    margin-block: 4px 0;
    transform: rotate(225deg);
}

#order-standard_cart #products .fh-store-plan-footer .fh-catalog-description {
    padding: 6px 0 0;
    border: 0;
}
