.wpmc-ui,
.wpmc-subscribe,
.wpmc-auth,
.wpmc-account {
    --wpmc-border: #e2e8f0;
    --wpmc-border-strong: #cbd5e1;
    --wpmc-bg: #ffffff;
    --wpmc-bg-soft: #f8fafc;
    --wpmc-bg-muted: #f1f5f9;
    --wpmc-text: #0f172a;
    --wpmc-muted: #64748b;
    --wpmc-primary: #2563eb;
    --wpmc-primary-hover: #1d4ed8;
    --wpmc-primary-soft: #dbeafe;
    --wpmc-danger: #dc2626;
    --wpmc-danger-bg: #fef2f2;
    --wpmc-success: #16a34a;
    --wpmc-success-bg: #f0fdf4;
    --wpmc-warning: #d97706;
    --wpmc-warning-bg: #fffbeb;
    --wpmc-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --wpmc-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    --wpmc-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
    --wpmc-radius: 12px;
    --wpmc-radius-lg: 16px;
    color: var(--wpmc-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.wpmc-subscribe-page {
    background:
        radial-gradient(circle at top left, rgba(11, 87, 208, 0.08), transparent 34%),
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.09), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #eef5fb 42%, #f9fbfd 100%);
}

body.wpmc-subscribe-page .entry-title,
body.wpmc-subscribe-page .wp-block-post-title,
body.wpmc-subscribe-page .page-title {
    display: none;
}

.wpmc-subscribe__cart,
.wpmc-subscribe__plan,
.wpmc-product__card,
.wpmc-auth {
    background: var(--wpmc-bg);
    border: 1px solid var(--wpmc-border);
    border-radius: var(--wpmc-radius-lg);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--wpmc-shadow-sm);
    transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.wpmc-subscribe__plan:hover,
.wpmc-product__card:hover {
    box-shadow: var(--wpmc-shadow);
    border-color: var(--wpmc-border-strong);
}

.wpmc-subscribe__plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.wpmc-subscribe {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 72px) 16px;
    display: grid;
    align-content: center;
    gap: 20px;
}

.wpmc-subscribe__cart-title,
.wpmc-auth__title,
.wpmc-subscribe__plan-title {
    margin: 0 0 10px;
}

.wpmc-subscribe__cart-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wpmc-subscribe__cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.wpmc-subscribe__actions,
.wpmc-product__actions,
.wpmc-auth__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.wpmc-subscribe__plan-level,
.wpmc-subscribe__plan-billing,
.wpmc-product__meta,
.wpmc-auth__plan,
.wpmc-subscribe__plan-status {
    color: var(--wpmc-muted);
    margin: 6px 0;
}

.wpmc-subscribe__plan-price {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 10px 0 4px;
    letter-spacing: -0.02em;
    color: var(--wpmc-text);
}

.wpmc-subscribe__plan-title,
.wpmc-product__title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.wpmc-product__price {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 10px 0 4px;
    letter-spacing: -0.02em;
}

.wpmc-subscribe__plan-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--wpmc-success-bg);
    color: var(--wpmc-success);
    font-size: 0.8rem;
    font-weight: 600;
}

.wpmc-product__description p {
    margin: 10px 0;
}

.wpmc-buy-button__form {
    display: inline;
}

.wpmc-auth__form {
    display: grid;
    gap: 12px;
}

.wpmc-auth__label {
    display: grid;
    gap: 6px;
}

.wpmc-auth__label-text {
    font-weight: 600;
}

.wpmc-auth--registration {
    margin-top: clamp(80px, 16vh, 220px);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.wpmc-auth--login {
    max-width: 440px;
    margin: clamp(40px, 8vh, 120px) auto 24px;
    padding: 28px 28px 24px;
}

.wpmc-auth--login .wpmc-auth__title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
    margin: 0 0 6px;
}

.wpmc-auth--login .wpmc-auth__form {
    margin-top: 14px;
}

.wpmc-auth--login .wpmc-auth__submit {
    width: 100%;
}

.wpmc-auth--login .wpmc-auth__link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.92rem;
    font-weight: 600;
}

.wpmc-auth--login .wpmc-auth__link + .wpmc-auth__link {
    margin-left: 14px;
}

.wpmc-auth__remember {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.wpmc-auth__remember input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
}

.wpmc-auth__remember > span {
    flex: 0 1 auto;
}

.wpmc-auth__input {
    width: 100%;
    border: 1px solid var(--wpmc-border);
    border-radius: 10px;
    padding: 12px 14px;
    line-height: 1.4;
    font-size: 15px;
    background: var(--wpmc-bg);
    color: var(--wpmc-text);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.wpmc-auth__input::placeholder {
    color: var(--wpmc-muted);
}

.wpmc-auth__input:focus {
    outline: none;
    border-color: var(--wpmc-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpmc-primary) 20%, transparent);
}

.wpmc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 11px 18px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background 160ms ease, transform 120ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.wpmc-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpmc-primary) 30%, transparent);
}

.wpmc-button--primary {
    color: #fff;
    background: var(--wpmc-primary);
    box-shadow: var(--wpmc-shadow-sm);
}

.wpmc-button--primary:hover {
    background: var(--wpmc-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--wpmc-shadow);
}

.wpmc-button--primary:active {
    transform: translateY(0);
}

.wpmc-button--ghost {
    background: var(--wpmc-bg);
    color: var(--wpmc-text);
    border-color: var(--wpmc-border-strong);
}

.wpmc-button--ghost:hover {
    background: var(--wpmc-bg-muted);
    border-color: var(--wpmc-muted);
}

.wpmc-button--disabled {
    background: var(--wpmc-bg-muted);
    color: var(--wpmc-muted);
    border-color: var(--wpmc-border);
    cursor: not-allowed;
}

.wpmc-notice {
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 14px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.45;
}

.wpmc-notice--warning {
    color: var(--wpmc-warning);
    border-color: color-mix(in srgb, var(--wpmc-warning) 30%, white);
    background: var(--wpmc-warning-bg);
}

.wpmc-notice--error {
    color: var(--wpmc-danger);
    border-color: color-mix(in srgb, var(--wpmc-danger) 30%, white);
    background: var(--wpmc-danger-bg);
}

.wpmc-notice--success {
    color: var(--wpmc-success);
    border-color: color-mix(in srgb, var(--wpmc-success) 30%, white);
    background: var(--wpmc-success-bg);
}

.wpmc-notice--info {
    color: var(--wpmc-text);
    border-color: var(--wpmc-border);
    background: var(--wpmc-bg-soft);
}

.wpmc-auth__feedback:empty {
    display: none;
}

.wpmc-auth__input-wrap {
    position: relative;
    display: block;
}

.wpmc-auth__input-wrap > .wpmc-auth__input,
.wpmc-auth__input-wrap > input {
    width: 100%;
    padding-right: 44px;
}

.wpmc-auth__eye {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--wpmc-muted);
    cursor: pointer;
    border-radius: 6px;
    line-height: 1;
}

.wpmc-auth__eye:hover {
    color: var(--wpmc-text);
    background: var(--wpmc-bg-muted);
}

.wpmc-auth__eye:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--wpmc-primary) 30%, transparent);
}

.wpmc-auth__eye-icon {
    font-size: 16px;
    line-height: 1;
}

.wpmc-auth__field-error {
    display: block;
    margin-top: 4px;
    color: var(--wpmc-danger);
    font-size: 13px;
    line-height: 1.4;
    min-height: 0;
}

.wpmc-auth__field-error[hidden] {
    display: none;
}

.wpmc-auth__field-error a {
    color: var(--wpmc-danger);
    font-weight: 600;
    text-decoration: underline;
}

.wpmc-auth__link,
.wpmc-subscribe__two-step-link,
.wpmc-member-menu__login,
.wpmc-member-menu__item {
    color: var(--wpmc-primary);
    text-decoration: none;
}

.wpmc-auth__link:hover,
.wpmc-subscribe__two-step-link:hover,
.wpmc-member-menu__login:hover,
.wpmc-member-menu__item:hover {
    text-decoration: underline;
}

.wpmc-auth__link--highlight {
    display: inline-block;
    padding: 10px 12px;
    border-radius: 12px;
    border: 2px solid var(--wpmc-primary);
    background: color-mix(in srgb, var(--wpmc-primary) 10%, white);
    font-weight: 800;
}

.wpmc-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: #0f172a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wpmc-modal[hidden] {
    display: none !important;
}

.wpmc-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.wpmc-modal__panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    padding: 20px 22px;
}

.wpmc-modal__title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
    color: #0f172a;
}

.wpmc-modal__desc {
    color: #334155;
}

.wpmc-account {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px;
}

.wpmc-account__card {
    background: var(--wpmc-bg);
    border: 1px solid var(--wpmc-border);
    border-radius: var(--wpmc-radius-lg);
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: var(--wpmc-shadow-sm);
}

.wpmc-account__title {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.wpmc-account__muted {
    color: var(--wpmc-muted);
}

.wpmc-account__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 6px;
    list-style: none;
    background: var(--wpmc-bg-muted);
    border-radius: 999px;
    width: fit-content;
}

.wpmc-account__nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    color: var(--wpmc-muted);
    background: transparent;
    font-weight: 600;
    font-size: 14px;
    transition: background 160ms ease, color 160ms ease;
}

.wpmc-account__nav a:hover {
    background: var(--wpmc-bg);
    color: var(--wpmc-text);
}

.wpmc-account__list {
    margin: 0;
    padding-left: 20px;
    line-height: 1.8;
}

.wpmc-account__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.wpmc-account__metric {
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--wpmc-bg-muted);
    border: 1px solid var(--wpmc-border);
}

.wpmc-account__metric-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--wpmc-muted);
    margin-bottom: 6px;
}

.wpmc-account__metric-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--wpmc-text);
    word-break: break-word;
}

.wpmc-account__chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--wpmc-primary-soft);
    color: var(--wpmc-primary-hover);
    margin: 2px 4px 2px 0;
}

.wpmc-account__chip--success {
    background: var(--wpmc-success-bg);
    color: var(--wpmc-success);
}

.wpmc-account__chip--warning {
    background: var(--wpmc-warning-bg);
    color: var(--wpmc-warning);
}

.wpmc-account__chip--danger {
    background: var(--wpmc-danger-bg);
    color: var(--wpmc-danger);
}

.wpmc-account__hero {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 24px;
    background: linear-gradient(135deg, var(--wpmc-primary-soft) 0%, #eff6ff 55%, #f0fdf4 100%);
    border: 1px solid var(--wpmc-border);
    border-radius: var(--wpmc-radius-lg);
    margin-bottom: 18px;
    box-shadow: var(--wpmc-shadow-sm);
}

.wpmc-account__avatar {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: var(--wpmc-bg);
    color: var(--wpmc-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: var(--wpmc-shadow);
}

.wpmc-account__hero-greeting {
    margin: 0 0 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wpmc-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wpmc-account__hero-name {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--wpmc-text);
}

.wpmc-checkout-result {
    max-width: 640px;
    margin: 32px auto;
    padding: 32px 28px;
    background: var(--wpmc-bg);
    border: 1px solid var(--wpmc-border);
    border-radius: var(--wpmc-radius-lg);
    box-shadow: var(--wpmc-shadow);
    text-align: center;
}

.wpmc-checkout-result__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    margin-bottom: 18px;
    font-size: 32px;
    font-weight: 700;
}

.wpmc-checkout-result__icon--success {
    background: var(--wpmc-success-bg);
    color: var(--wpmc-success);
}

.wpmc-checkout-result__icon--warning {
    background: var(--wpmc-warning-bg);
    color: var(--wpmc-warning);
}

.wpmc-checkout-result__icon--error {
    background: var(--wpmc-danger-bg);
    color: var(--wpmc-danger);
}

.wpmc-checkout-result__title {
    margin: 0 0 12px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.wpmc-checkout-result__message {
    margin: 0 0 22px;
    color: var(--wpmc-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.wpmc-checkout-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.wpmc-checkout {
    max-width: 1080px;
    margin: clamp(80px, 14vh, 200px) auto 32px;
    display: grid;
    gap: 16px;
    padding: 0 16px;
}

.wpmc-checkout__hero,
.wpmc-checkout__panel {
    background: var(--wpmc-bg);
    border: 1px solid var(--wpmc-border);
    border-radius: 12px;
    box-shadow: var(--wpmc-shadow-sm);
}

.wpmc-checkout__hero {
    padding: 22px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.8fr);
    gap: 16px;
    align-items: center;
}

.wpmc-checkout__panel-kicker {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--wpmc-text);
}

.wpmc-checkout__title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--wpmc-text);
}

.wpmc-checkout__item-meta,
.wpmc-cart__checkout-note {
    margin: 0;
    color: var(--wpmc-muted);
    line-height: 1.55;
}

.wpmc-checkout__status {
    align-self: center;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--wpmc-border);
    background: var(--wpmc-bg-soft);
    display: grid;
    gap: 4px;
}

.wpmc-checkout__status-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--wpmc-muted);
}

.wpmc-checkout__status-value {
    font-size: 1rem;
    color: var(--wpmc-text);
}

.wpmc-checkout__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 18px;
}

.wpmc-checkout__panel {
    padding: 22px;
}

.wpmc-checkout__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.wpmc-checkout__total {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--wpmc-text);
}

.wpmc-checkout__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.wpmc-checkout__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--wpmc-bg-soft);
    border: 1px solid var(--wpmc-border);
}

.wpmc-checkout__item-name,
.wpmc-checkout__item-price,
.wpmc-checkout__gateway-label {
    font-weight: 700;
    color: var(--wpmc-text);
}

.wpmc-checkout__item-price {
    font-size: 1rem;
    white-space: nowrap;
}

.wpmc-checkout__form {
    display: grid;
    gap: 16px;
}

.wpmc-checkout__gateway-grid {
    display: grid;
    gap: 10px;
}

.wpmc-checkout__gateway-option {
    display: block;
    cursor: pointer;
}

.wpmc-checkout__gateway-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wpmc-checkout__gateway-card {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--wpmc-border);
    background: var(--wpmc-bg);
    transition: border-color 120ms ease, background 120ms ease;
}

.wpmc-checkout__gateway-label {
    font-weight: 600;
    color: var(--wpmc-text);
    font-size: 0.98rem;
}

.wpmc-checkout__gateway-option:hover .wpmc-checkout__gateway-card,
.wpmc-checkout__gateway-input:focus-visible + .wpmc-checkout__gateway-card {
    border-color: var(--wpmc-border-strong);
    background: var(--wpmc-bg-soft);
}

.wpmc-checkout__gateway-input:checked + .wpmc-checkout__gateway-card {
    border-color: var(--wpmc-primary);
    background: var(--wpmc-primary-soft);
}

.wpmc-checkout__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 4px;
}

.wpmc-checkout__submit {
    min-width: min(100%, 320px);
    min-height: 48px;
}

.wpmc-modal__desc {
    margin: 0 0 14px;
    color: #475569;
}

.wpmc-modal__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.wpmc-member-menu {
    position: relative;
    display: inline-block;
}

.wpmc-member-menu__toggle {
    border: 1px solid var(--wpmc-border);
    border-radius: 999px;
    background: var(--wpmc-bg);
    color: var(--wpmc-text);
    padding: 9px 14px;
    font-weight: 600;
    cursor: pointer;
}

.wpmc-member-menu__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    padding: 8px;
    border: 1px solid var(--wpmc-border);
    border-radius: 12px;
    background: var(--wpmc-bg);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    display: none;
    z-index: 20;
}

.wpmc-member-menu:hover .wpmc-member-menu__dropdown,
.wpmc-member-menu:focus-within .wpmc-member-menu__dropdown {
    display: block;
}

.wpmc-member-menu__item {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
}

.wpmc-member-menu__item:hover {
    background: var(--wpmc-bg-soft);
}

@media (max-width: 640px) {
    .wpmc-subscribe {
        min-height: auto;
        padding-top: 24px;
        padding-bottom: 32px;
    }

    .wpmc-subscribe__actions,
    .wpmc-auth__actions {
        flex-direction: column;
    }
}

.wpmc-toast-host {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.wpmc-toast {
    pointer-events: auto;
    min-width: 220px;
    max-width: 360px;
    padding: 12px 16px;
    border-radius: 6px;
    background: #111;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

.wpmc-toast--enter {
    opacity: 1;
    transform: translateY(0);
}

.wpmc-toast--leave {
    opacity: 0;
    transform: translateY(-8px);
}

.wpmc-toast--success {
    background: #0f5132;
}

.wpmc-toast--error {
    background: #842029;
}

.wpmc-toast__link {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
}

.wpmc-cart__list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpmc-cart__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--wpmc-border, #e5e7eb);
    border-radius: 6px;
    background: var(--wpmc-bg, #fff);
}

.wpmc-cart__item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wpmc-cart__item-price {
    color: var(--wpmc-muted, #6b7280);
    font-size: 13px;
}

.wpmc-cart__checkout {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.wpmc-cart__empty {
    color: var(--wpmc-muted, #6b7280);
    margin: 0 0 12px;
}

@media (max-width: 640px) {
    .wpmc-checkout__hero,
    .wpmc-checkout__layout {
        grid-template-columns: 1fr;
    }

    .wpmc-checkout__panel-head,
    .wpmc-checkout__actions,
    .wpmc-cart__checkout {
        flex-direction: column;
        align-items: stretch;
    }
}
