.plan-header {
    position: relative;
    text-align: center;
    max-width: 35rem;
    margin: 0 auto 3rem;
    padding: 2.25rem 2rem 2rem;
    border-radius: .25rem;
    background: linear-gradient(180deg,hsl(var(--card)),hsl(var(--secondary) / .5));
    border: 1px solid hsl(var(--gold) / .3);
    box-shadow: 0 10px 40px -16px #1f2e262e
}

.plan-header:before,.plan-header:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    color: hsl(var(--gold) / .6);
    pointer-events: none
}

.plan-header:before {
    top: 9px;
    left: 9px;
    border-top: 1.5px solid;
    border-left: 1.5px solid
}

.plan-header:after {
    bottom: 9px;
    right: 9px;
    border-bottom: 1.5px solid;
    border-right: 1.5px solid
}

.plan-header__name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .35em;
    text-indent: .35em;
    text-transform: uppercase;
    color: hsl(var(--accent))
}

.plan-header__price {
    margin-top: .65rem;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: hsl(var(--accent));
    line-height: 1.1
}

@media (min-width: 768px) {
    .plan-header__price {
        font-size:3rem
    }
}

.plan-header .ornate-divider {
    margin: 1rem auto .85rem
}

.plan-header__sub {
    font-size: .95rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7
}

.plan-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-top: 1.35rem
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .85rem;
    font-size: .8rem;
    font-weight: 500;
    border-radius: 9999px;
    color: hsl(var(--primary));
    background: hsl(var(--primary) / .06);
    border: 1px solid hsl(var(--gold) / .35)
}

.plan-badge--solid {
    color: hsl(var(--primary-foreground));
    background: linear-gradient(135deg,hsl(var(--forest)),hsl(var(--forest-dark)));
    border-color: hsl(var(--gold) / .5)
}

.plan-badge--gold {
    color: hsl(var(--forest-dark));
    background: hsl(var(--gold) / .14);
    border-color: hsl(var(--gold) / .6)
}

.sections {
    -moz-column-gap: 1rem;
    column-gap: 1rem
}

@media (min-width: 768px) {
    .sections {
        -moz-columns:2;
        columns: 2
    }
}

.cat-card {
    -moz-column-break-inside: avoid;
    break-inside: avoid;
    margin-bottom: 1rem;
    border: 1px solid hsl(var(--gold) / .22);
    border-radius: .25rem;
    overflow: hidden;
    background: hsl(var(--card));
    box-shadow: 0 4px 18px -8px #1f2e261f;
    transition: box-shadow .4s var(--ease-elegant),border-color .4s var(--ease-elegant)
}

.cat-card:hover {
    border-color: hsl(var(--gold) / .45);
    box-shadow: 0 12px 30px -12px #1f2e2633
}

.cat-head {
    display: flex;
    align-items: center;
    gap: .6rem;
	font-weight: 500;
    padding: .7rem .9rem;
    background: linear-gradient(135deg,hsl(var(--forest)),hsl(var(--forest-dark)))
}

.cat-head__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 9999px;
    color: hsl(var(--gold));
    background: hsl(var(--gold) / .12);
    border: 1px solid hsl(var(--gold) / .3);
    flex-shrink: 0
}

.cat-head__name {
    color: hsl(var(--gold-light));
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .12em;
    flex: 1
}

.cat-head__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 .4rem;
    font-size: .7rem;
    font-weight: 700;
    border-radius: 9999px;
    color: hsl(var(--gold-light));
    background: hsl(var(--background) / .12);
    border: 1px solid hsl(var(--gold) / .3)
}

.cat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .84rem
}

.cat-table tr {
    border-bottom: 1px solid hsl(var(--gold) / .12)
}

.cat-table tr:last-child {
    border-bottom: none
}

.cat-table td {
    padding: .5rem .55rem;
    vertical-align: middle
}

.c-item {
    width: 50%;
    color: hsl(var(--foreground));
    padding-left: .9rem!important
}

.c-qty {
    width: 16%;
    text-align: center;
    color: hsl(var(--muted-foreground));
    white-space: nowrap
}

.c-note {
    width: 34%;
    text-align: right;
    color: hsl(var(--muted-foreground));
    font-size: .74rem;
    padding-right: .9rem!important
}

.cat-table tr.is-upgrade {
    background: hsl(var(--gold) / .08)
}

.cat-table tr.is-upgrade .c-item {
    box-shadow: inset 3px 0 hsl(var(--gold) / .7);
    color: hsl(var(--forest-dark));
    font-weight: 600
}

.up-tag {
    display: inline-block;
    margin-left: .35rem;
    padding: .02rem .3rem;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .05em;
    vertical-align: middle;
    color: hsl(var(--accent-foreground));
    background: hsl(var(--accent));
    border-radius: .15rem
}

.up-tag--inline {
    margin: 0 .2rem
}

.exclusions-card {
    margin-top: 1.75rem;
    padding: 1.5rem 1.5rem 1.6rem;
    border-radius: .25rem;
    background: hsl(var(--secondary) / .45);
    border: 1px solid hsl(var(--gold) / .2);
    border-left: 3px solid hsl(var(--gold) / .55)
}

.payment-terms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    text-align: center;
    font-size: .875rem;
    color: hsl(var(--muted-foreground));
    border-top: 1px solid hsl(var(--gold) / .18);
    border-bottom: 1px solid hsl(var(--gold) / .18)
}

.plan-switch {
    display: inline-flex;
    gap: .35rem;
    padding: .35rem;
    border-radius: .25rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--gold) / .35);
    box-shadow: 0 6px 24px -10px #1f2e262e
}

@media (min-width: 640px) {
    .plan-switch {
		border-radius: 999px;
		
    }
}

.plan-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    padding: .5rem;
    border-radius: .25rem;
    cursor: pointer;
    background: transparent;
    color: hsl(var(--foreground));
    transition: background-color .4s var(--ease-elegant),color .4s var(--ease-elegant),box-shadow .4s var(--ease-elegant)
}

@media (min-width: 640px) {
    .plan-tab {
        padding:.8rem 2.5rem;
		border-radius: 999px;
		
    }
}

.plan-tab__hint {
    font-family: "Noto Serif SC",serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .05em
}

@media (min-width: 640px) {
    .plan-tab__hint {
        font-size:1.3rem
    }
}

.plan-tab__price {
    font-size: .875rem;
    letter-spacing: .1em;
    text-indent: .18em;
    color: hsl(var(--muted-foreground));
    transition: color .4s var(--ease-elegant)
}

.plan-tab.is-active {
    background: linear-gradient(135deg,hsl(var(--forest)),hsl(var(--forest-dark)));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 4px 16px -4px hsl(var(--forest) / .5),inset 0 0 0 1px hsl(var(--gold) / .45)
}

.plan-tab.is-active .plan-tab__price {
    color: hsl(var(--gold-light))
}

.plan-tab:not(.is-active):hover {
    background: hsl(var(--primary) / .06)
}
