body.r4a-multi-checkout-page {
    margin: 0;
}

.r4a-multi-checkout {
    --exp-teal: #7a9e9e;
    --exp-teal-dark: #5f8585;
    --exp-beige: #efe9db;
    --exp-page-bg: #f4f4f2;
    --exp-text: #3d3d3d;
    --landing-cream: #f9f7f2;
    --landing-taupe: #c9bba8;
    --landing-taupe-text: #3a3530;
    --checkout-accent: #7a9e9e;
    --checkout-max-width: 1680px;
    --checkout-page-pad: clamp(12px, 2vw, 24px);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    width: 100%;
    background: var(--exp-page-bg);
    color: var(--exp-text);
    box-sizing: border-box;
}

.r4a-multi-checkout *,
.r4a-multi-checkout *::before,
.r4a-multi-checkout *::after {
    box-sizing: border-box;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.landing-banner {
    position: relative;
    min-height: clamp(160px, 28vw, 260px);
    background-color: #6b7a72;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px var(--checkout-page-pad);
}

.landing-banner__band {
    width: 100%;
    max-width: min(920px, 100%);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(4px);
    padding: clamp(18px, 3vw, 32px) clamp(20px, 4vw, 48px);
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.landing-banner__title {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 3.5vw, 2.25rem);
    line-height: 1.15;
    color: #2c2c2c;
    letter-spacing: 0.02em;
}

.landing-banner__title .landing-banner__caps {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.landing-banner__title .landing-banner__art {
    font-style: italic;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.78em;
    margin: 0 0.2em;
}

.landing-intro {
    background: var(--landing-cream);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.landing-intro__inner {
    max-width: var(--checkout-max-width);
    margin: 0 auto;
    padding: clamp(28px, 4vw, 48px) var(--checkout-page-pad);
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

@media (max-width: 900px) {
    .landing-intro__inner {
        grid-template-columns: 1fr;
    }
}

.landing-note__head {
    margin: 0 0 16px;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 700;
    color: #2a2a2a;
    font-family: Georgia, 'Times New Roman', serif;
}

.landing-note__body {
    margin: 0;
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.65;
    color: #444;
}

.landing-note__body strong {
    color: #2d2d2d;
    font-weight: 700;
}

.landing-note__body em.quote {
    font-style: italic;
}

.landing-note__body .landing-note__gap {
    display: block;
    margin-top: 1em;
}

.landing-save {
    text-align: center;
    padding-top: 8px;
}

.landing-save__head {
    margin: 0 0 14px;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #2a2a2a;
    font-family: Georgia, 'Times New Roman', serif;
}

.landing-save__promo {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    margin: 0 auto 14px;
}

.landing-save__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.landing-save__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.landing-save__dots span:nth-child(1) {
    background: #e07a3a;
}

.landing-save__dots span:nth-child(2) {
    background: #e8c547;
}

.landing-save__dots span:nth-child(3) {
    background: #e8dcc4;
}

.landing-save__dots span:nth-child(4) {
    background: #8b6914;
}

.landing-save__dots span:nth-child(5) {
    background: #c45c2a;
}

.landing-save__contact {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.landing-save__contact a {
    color: var(--exp-teal-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.landing-save__contact a:hover {
    color: var(--exp-teal);
}

.landing-online-strip {
    max-width: var(--checkout-max-width);
    margin: 0 auto;
    padding: 0 var(--checkout-page-pad) clamp(20px, 3vw, 28px);
    background: var(--landing-cream);
}

.landing-online-strip__bar {
    background: var(--landing-taupe);
    border-radius: 10px;
    padding: 14px 20px;
    text-align: center;
}

.landing-online-strip__bar h2 {
    margin: 0;
    font-size: clamp(0.8rem, 1.7vw, 0.92rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--landing-taupe-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.proceed-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e8e8e6;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.proceed-bar--end {
    position: static;
    z-index: auto;
    margin-top: 8px;
    border-bottom: none;
    border-top: 1px solid #e8e8e6;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
}

.proceed-bar__inner {
    max-width: var(--checkout-max-width);
    margin: 0 auto;
    padding: 12px var(--checkout-page-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.proceed-bar__meta {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: 0.02em;
}

.proceed-bar__meta-count {
    font-weight: 600;
    color: #c2410c;
}

.cart-count-trigger {
    display: inline;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    font: inherit;
    font-weight: inherit;
    color: inherit;
    cursor: pointer;
    vertical-align: baseline;
}

.cart-count-trigger .proceed-bar__meta-count {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-count-trigger:hover .proceed-bar__meta-count,
.cart-count-trigger:focus-visible .proceed-bar__meta-count {
    color: #9a3412;
}

.cart-count-trigger:focus-visible {
    outline: 2px solid #ea580c;
    outline-offset: 2px;
    border-radius: 2px;
}

.cart-count-trigger--disabled {
    cursor: default;
    pointer-events: none;
}

.cart-count-trigger--disabled .proceed-bar__meta-count {
    text-decoration: none;
    color: #c2410c;
}

.checkout-modal.cart-items-modal {
    z-index: 205;
}

.checkout-modal.cart-items-modal .checkout-modal__panel {
    max-width: 480px;
}

.cart-items-modal__list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: min(52vh, 400px);
    overflow-y: auto;
}

.cart-items-modal__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
    gap: 12px 14px;
    padding: 12px 0;
    border-bottom: 1px solid #e8e8e6;
}

.cart-items-modal__row:last-child {
    border-bottom: none;
}

.cart-items-modal__name-cell {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 2px;
}

.cart-items-modal__name {
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    min-width: 0;
}

.cart-items-modal__added-at {
    font-size: 12px;
    line-height: 1.35;
    color: #888;
}

.cart-items-modal__price {
    font-size: 14px;
    line-height: 1.45;
    text-align: right;
    white-space: nowrap;
    padding-top: 2px;
}

.cart-items-modal__price-free {
    color: var(--exp-teal-dark);
    font-weight: 600;
}

.cart-items-modal__price-unknown {
    color: #999;
}

.cart-items-modal__price-was {
    color: #888;
    font-weight: 500;
    margin-right: 4px;
}

.cart-items-modal__price-now {
    font-weight: 700;
    color: #2d2d2d;
}

.cart-items-modal__totals {
    margin: 4px 0 0;
    padding: 14px 16px;
    background: #eef3f3;
    border-radius: 10px;
    border: 1px solid #dce6e6;
}

.cart-items-modal__totals-main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 16px;
    color: #2d2d2d;
}

.cart-items-modal__totals-main strong {
    color: var(--exp-teal-dark);
    font-size: 1.15em;
}

.cart-items-modal__totals-save {
    margin: 8px 0 0;
    font-size: 13px;
    color: #5a6e6e;
    line-height: 1.4;
}

.cart-items-modal__remove {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 1;
    font-weight: 500;
    padding: 0;
    border-radius: 8px;
    border: 1.5px solid #c5c5c0;
    background: #fff;
    color: #444;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.cart-items-modal__remove:hover {
    background: #f5f5f3;
    border-color: #9a9a94;
}

.cart-items-modal__footer {
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid #e8e8e6;
}

.cart-items-modal__footer .btn-proceed-top {
    width: 100%;
    box-sizing: border-box;
}

.btn-proceed-top {
    font-size: 15px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 10px;
    border: none;
    background: var(--exp-teal);
    color: white;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(90, 130, 130, 0.25);
}

.btn-proceed-top:hover:not(:disabled) {
    background: var(--exp-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(90, 130, 130, 0.3);
}

.btn-proceed-top:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.page-main {
    width: 100%;
    max-width: var(--checkout-max-width);
    margin: 0 auto;
    padding: var(--checkout-page-pad);
    padding-bottom: var(--checkout-page-pad);
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.category-nav-column {
    position: sticky;
    top: 86px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.category-nav {
    position: static;
    top: auto;
    background: #fff;
    border: 1px solid #e5e5e3;
    border-radius: 12px;
    padding: 10px;
}

.category-nav--filter {
    background: #e8f1f1;
    border-color: #c5d8d8;
}

.category-nav--filter .category-nav__title {
    color: var(--exp-teal-dark);
}

.category-nav--filter .category-nav__btn {
    background: rgba(255, 255, 255, 0.85);
}

.category-nav__title {
    margin: 0 0 8px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a7a75;
}

.category-nav__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.category-nav__btn {
    width: 100%;
    text-align: left;
    text-transform: none !important;
    border: 1px solid transparent;
    background: #f7f7f5;
    color: #4a4a46;
    font-size: 13px;
    line-height: 1.35;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.category-nav__btn:hover {
    background: #eef3f3;
    border-color: #d7e3e3;
    color: var(--exp-teal-dark);
}

.category-nav__btn.is-active {
    background: #e7efef;
    border-color: #c5d8d8;
    color: var(--exp-teal-dark);
    font-weight: 700;
}

@keyframes category-nav-new-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.65);
        border-color: rgba(234, 88, 12, 0.35);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(234, 88, 12, 0);
        border-color: rgba(234, 88, 12, 0.85);
    }
}

#categoryFilterList .category-nav__btn.category-nav__btn--new-spotlight {
    animation: category-nav-new-glow 2s ease-in-out infinite;
}

#categoryFilterList .category-nav__btn.category-nav__btn--new-spotlight.is-active {
    animation: none;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    #categoryFilterList .category-nav__btn.category-nav__btn--new-spotlight:not(.is-active) {
        animation: none;
        box-shadow: inset 4px 0 0 #ea580c;
    }
}

.class-list {
    background: transparent;
    min-width: 0;
}

.class-category {
    scroll-margin-top: 88px;
}

.class-category {
    margin-bottom: 28px;
}

.class-category__summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 15px;
    color: var(--exp-text);
    background: #fff;
    border-radius: 10px 10px 0 0;
    border: 1px solid #e5e5e3;
    border-bottom: none;
    user-select: none;
}

.class-category__summary::-webkit-details-marker {
    display: none;
}

.class-category:not([open])>.class-category__summary {
    border-radius: 10px;
    border-bottom: 1px solid #e5e5e3;
}

.class-category__summary-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
    font-weight: 700;
}

.class-category__caret {
    width: 0;
    height: 0;
    border-left: 6px solid var(--exp-teal);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.class-category[open]>.class-category__summary .class-category__caret {
    transform: rotate(90deg);
}

.class-category__bulk-toggle {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1.5px solid var(--exp-teal);
    background: white;
    color: var(--exp-teal-dark);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.class-category__bulk-toggle:hover {
    background: rgba(122, 158, 158, 0.12);
}

.class-category__inner {
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e5e3;
    border-top: none;
    border-radius: 0 0 10px 10px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 1300px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.class-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eaeae8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.class-card.is-selected {
    border-color: var(--exp-teal);
    box-shadow: 0 6px 24px rgba(122, 158, 158, 0.22);
}

.class-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, #e8f0f0 0%, #dfe8e8 50%, #d5e0e0 100%);
    overflow: hidden;
}

.class-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.class-card__media a.class-card__media-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    outline-offset: 2px;
}

.class-card__media a.class-card__media-link:focus-visible {
    outline: 2px solid var(--exp-teal);
}

.class-card__body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.class-card__title {
    margin: 0 0 10px;
    font-size: 1.725rem;
    font-weight: 700;
    line-height: 1.3;
    color: #2d2d2d;
}

.class-card__desc {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #5a5a5a;
    flex: 1;
}

.class-card__buy-row {
    margin-bottom: 10px;
}

.btn-buy-now {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: pre-wrap;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    padding: 12px 14px;
    border-radius: 8px;
    border: none;
    background: var(--exp-teal);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(90, 130, 130, 0.22);
}

.btn-buy-now:hover {
    background: var(--exp-teal-dark);
    color: #fff;
}

.btn-buy-now s,
.btn-buy-now del {
    font-weight: 600;
    opacity: 0.9;
}

.class-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-learn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    height: 45px;
    box-sizing: border-box;
    padding: 0 12px;
    border-radius: 8px;
    border: 1.5px solid var(--exp-teal);
    background: transparent;
    color: var(--exp-teal-dark);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.btn-learn-outline:hover {
    background: rgba(122, 158, 158, 0.1);
}

.btn-cart {
    font-size: 15px;
    font-weight: 700;
    height: 45px;
    box-sizing: border-box;
    padding: 0 12px;
    border-radius: 8px;
    border: none;
    background: var(--exp-teal);
    color: white;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.12s ease;
}

.btn-cart:hover {
    background: var(--exp-teal-dark);
}

.class-card.is-selected .btn-cart {
    background: #5a7a7a;
}

.card-select-cb {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.page-footer-login {
    text-align: center;
    padding: 24px var(--checkout-page-pad);
    font-size: 14px;
    color: #666;
}

.page-footer-login a {
    color: var(--exp-teal-dark);
    font-weight: 600;
    text-decoration: none;
}

.page-footer-login a:hover {
    text-decoration: underline;
}

/* Modal */
.checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.checkout-modal.is-open {
    display: flex;
}

.checkout-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 35, 35, 0.45);
    backdrop-filter: blur(3px);
}

.checkout-modal__panel {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    padding: 26px 28px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.checkout-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f3f1;
    border-radius: 8px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #555;
}

.checkout-modal__close:hover {
    background: #e8e8e6;
}

.checkout-modal__panel h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    color: #2d2d2d;
}

.checkout-modal__sub {
    margin: 0 0 18px;
    font-size: 14px;
    color: #666;
}

.modal-summary-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 12px 14px;
    background: #f8f9f8;
    border-radius: 10px;
    font-size: 14px;
    color: #444;
    max-height: 200px;
    overflow-y: auto;
}

.modal-summary-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 0;
    border-bottom: 1px dashed #ddd;
}

.modal-summary-list li:last-child {
    border-bottom: none;
}

.modal-summary-list__name-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-summary-list__name {
    line-height: 1.4;
}

.modal-summary-list__added-at {
    font-size: 11px;
    line-height: 1.35;
    color: #888;
}

.modal-summary-list__price {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--exp-teal-dark);
    white-space: nowrap;
}

.checkout-modal__estimated-total {
    margin: -8px 0 16px;
    padding: 10px 14px;
    background: #eef3f3;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #2d2d2d;
    border: 1px solid #dce6e6;
}

.checkout-modal__estimated-total .checkout-modal__estimated-save {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #5a6e6e;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin: 0 0 12px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: var(--exp-teal);
    background: white;
    box-shadow: 0 0 0 3px rgba(122, 158, 158, 0.15);
}

.form-group input.error {
    border-color: #ef4444;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--exp-teal);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 6px;
}

.submit-btn:hover:not(:disabled) {
    background: var(--exp-teal-dark);
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.loading-message {
    display: none;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    color: #6b7280;
    background: var(--exp-page-bg);
}

.loading-message.is-visible {
    display: flex;
}

.success-message {
    display: none;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.success-message.is-visible {
    display: flex;
}

.success-message h2 {
    margin-bottom: 12px;
}

.redirect-message {
    margin-top: 16px;
    opacity: 0.95;
    font-style: italic;
}

.error-message {
    display: none;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    background: var(--exp-page-bg);
    text-align: center;
}

.error-message.is-visible {
    display: flex;
}

.error-message .card {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 420px;
}

.error-message button {
    padding: 10px 22px;
    background: var(--exp-teal);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 16px;
    font-weight: 600;
}

.checkout-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: white;
    display: none;
}

.catalog-empty {
    padding: 24px;
    color: #991b1b;
    font-size: 14px;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
}

@media (max-width: 980px) {
    .page-main {
        grid-template-columns: 1fr;
    }

    .category-nav-column {
        position: static;
        top: auto;
    }

    .category-nav {
        position: static;
        top: auto;
    }

    .category-nav__list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .category-nav__btn {
        width: auto;
    }
}

@media (max-width: 640px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .class-card__actions {
        grid-template-columns: 1fr;
    }

    .proceed-bar__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-proceed-top {
        width: 100%;
    }
}
