/* ============================================
   Magacin Pricing Cards
   Clean, modern membership pricing display.
   Colors: Red #cb1627 (Magacin brand), Dark #2e2e2e, White #fff
   ============================================ */

/* Container - no max-width, parent handles that */
.mc-pricing {
    margin: 0 auto;
    padding: 20px 0 40px;
    font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Header */
.mc-pricing__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2e2e2e;
    margin: 0 0 8px;
    text-align: center;
}

.mc-pricing__intro {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 5px;
    text-align: center;
}

.mc-pricing__deadline {
    font-size: 0.8125rem;
    color: #999;
    margin: 12px 0 0;
    text-align: center;
}

/* Cards Container */
.mc-pricing__cards {
    display: flex;
    gap: 20px;
    margin-top: 28px;
    clear: both;
}

/* Card Base */
.mc-pricing__card {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 14px;
    overflow: visible;
    position: relative;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mc-pricing__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #ccc;
}

/* Featured card (6md) - subtle highlight */
.mc-pricing__card--featured {
    border-color: #2e2e2e;
}

.mc-pricing__card--featured:hover {
    border-color: #2e2e2e;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Campaign card - dark style */
.mc-pricing__card--campaign {
    background: #2e2e2e;
    border-color: #2e2e2e;
    color: #fff;
}

.mc-pricing__card--campaign:hover {
    border-color: #444;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.mc-pricing__card-inner {
    padding: 36px 28px 32px;
    text-align: center;
}

/* Badge - dark with white text */
.mc-pricing__badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #2e2e2e;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 18px;
    border-radius: 0 0 8px 8px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Campaign banner - with inline countdown */
.mc-pricing__campaign-banner {
    background: #cb1627;
    color: #fff;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 12px 12px 0 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.mc-pricing__campaign-banner-text {
    white-space: nowrap;
}

.mc-pricing__campaign-countdown {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
    opacity: 0.9;
    white-space: nowrap;
}

.mc-pricing__campaign-countdown span {
    font-weight: 800;
}

/* Test mode badge */
.mc-pricing__testmode-badge {
    position: absolute;
    top: 45px;
    right: -5px;
    background: #cb1627;
    color: #fff;
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 1px;
    z-index: 5;
}

/* Plan label */
.mc-pricing__plan-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 0 0 20px;
    color: #888;
}

.mc-pricing__card--featured .mc-pricing__plan-label {
    color: #555;
}

.mc-pricing__card--campaign .mc-pricing__plan-label {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Price Display - large number, small currency
   ============================================ */

.mc-pricing__price-wrap {
    margin-bottom: 12px;
    line-height: 1;
}

/* The big number */
.mc-pricing__price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2e2e2e;
    line-height: 1;
    letter-spacing: -1px;
}

.mc-pricing__price-amount--campaign {
    color: #cb1627;
}

.mc-pricing__card--campaign .mc-pricing__price-amount,
.mc-pricing__card--campaign .mc-pricing__price-amount--campaign {
    color: #fff;
}

/* Small "kr." next to the number */
.mc-pricing__price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: #888;
    margin-left: 2px;
    vertical-align: super;
}

.mc-pricing__card--campaign .mc-pricing__price-currency {
    color: rgba(255, 255, 255, 0.5);
}

/* Meta line: original price + period */
.mc-pricing__price-meta {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mc-pricing__price-original {
    font-size: 0.9375rem;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 400;
}

.mc-pricing__card--campaign .mc-pricing__price-original {
    color: rgba(255, 255, 255, 0.35);
}

.mc-pricing__price-period {
    font-size: 0.875rem;
    color: #999;
    font-weight: 400;
}

.mc-pricing__card--campaign .mc-pricing__price-period {
    color: rgba(255, 255, 255, 0.5);
}

/* Per-month note (for 6md) */
.mc-pricing__per-month {
    font-size: 0.8125rem;
    color: #aaa;
    margin: 6px 0 0;
    font-weight: 400;
}

.mc-pricing__card--campaign .mc-pricing__per-month {
    color: rgba(255, 255, 255, 0.45);
}

/* Subtitle / discount label */
.mc-pricing__subtitle {
    font-size: 0.8125rem;
    color: #999;
    margin: 16px 0 24px;
}

.mc-pricing__discount-label {
    font-size: 0.875rem;
    color: #2e2e2e;
    font-weight: 600;
    margin: 16px 0 24px;
}

.mc-pricing__card--campaign .mc-pricing__subtitle,
.mc-pricing__card--campaign .mc-pricing__discount-label {
    color: rgba(255, 255, 255, 0.7);
}

/* CTA Button */
.mc-pricing__btn {
    display: inline-block;
    width: 100%;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: none;
    text-align: center;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    background: #2e2e2e;
    color: #fff;
    border: 2px solid #2e2e2e;
    box-sizing: border-box;
}

.mc-pricing__btn:hover {
    background: #444;
    border-color: #444;
    color: #fff;
    text-decoration: none;
}

.mc-pricing__btn--featured {
    background: #cb1627;
    border-color: #cb1627;
}

.mc-pricing__btn--featured:hover {
    background: #a8121f;
    border-color: #a8121f;
    color: #fff;
}

.mc-pricing__btn--campaign {
    background: #fff;
    color: #2e2e2e;
    border-color: #fff;
}

.mc-pricing__btn--campaign:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
    color: #2e2e2e;
}

/* Footer */
.mc-pricing__footer {
    margin-top: 28px;
    text-align: center;
}

.mc-pricing__benefits ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
}

.mc-pricing__benefits li {
    font-size: 0.8125rem;
    color: #777;
    position: relative;
    padding-left: 18px;
}

.mc-pricing__benefits li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #cb1627;
    font-weight: 700;
}

.mc-pricing__payment-logos {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
}

.mc-pricing__payment-logos img {
    height: 22px;
    width: auto;
}

/* ============================================
   Checkout Plan Switcher (toggle slider)
   Placed under product line-item in order review
   ============================================ */

.mc-plan-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 0;
}

.mc-plan-toggle__label {
    font-size: 0.75rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
    white-space: nowrap;
    user-select: none;
}

.mc-plan-toggle__label--active {
    color: #2e2e2e;
    font-weight: 600;
}

/* The toggle track */
.mc-plan-toggle__track {
    position: relative;
    width: 44px;
    height: 24px;
    background: #2e2e2e;
    border-radius: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.mc-plan-toggle__track:hover {
    background: #444;
}

/* The toggle thumb */
.mc-plan-toggle__thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.mc-plan-toggle__track--right .mc-plan-toggle__thumb {
    transform: translateX(20px);
}

/* Loading state */
.mc-plan-toggle--loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ============================================
   Responsive
   ============================================ */

@media screen and (max-width: 640px) {
    .mc-pricing__cards {
        flex-direction: column;
        gap: 16px;
    }

    .mc-pricing__title {
        font-size: 1.375rem;
    }

    .mc-pricing__price-amount {
        font-size: 2.75rem;
    }

    .mc-pricing__card-inner {
        padding: 28px 20px 24px;
    }

    .mc-pricing__benefits ul {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .mc-pricing__campaign-banner {
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .mc-paywall-intro__content {
        padding: 20px 15px;
    }

    .mc-paywall-intro__heading {
        font-size: 1.25rem;
    }
}

/* ============================================
   Paywall Intro (above pricing on articles)
   ============================================ */

.mc-paywall-intro {
    text-align: center;
    margin-bottom: 10px;
}

.mc-paywall-intro__login {
    font-size: 0.875rem;
    color: #888;
    margin: 12px 0 0;
}

.mc-paywall-login-link {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    color: #cb1627;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s;
}

.mc-paywall-login-link:hover {
    color: #a8121f;
}

.mc-paywall-intro__content {
    padding: 25px 20px;
    text-align: center;
}

.mc-paywall-intro__lock {
    display: block;
    margin-bottom: 12px;
}

.mc-paywall-intro__lock img {
    width: 40px;
    height: auto;
    opacity: 0.7;
}

.mc-paywall-intro__heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e2e2e;
    margin: 0 0 4px;
}

.mc-paywall-intro__heading-sub {
    font-size: 0.7em;
    font-weight: 400;
}

.mc-paywall-intro__count {
    font-size: 0.875rem;
    color: #888;
    margin: 0 0 16px;
}

.mc-paywall-intro__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: inline-block;
    text-align: left;
}

.mc-paywall-intro__benefits li {
    font-size: 0.9375rem;
    color: #2e2e2e;
    padding: 3px 0 3px 22px;
    position: relative;
}

.mc-paywall-intro__benefits li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #cb1627;
    font-weight: 700;
}

.mc-paywall-intro__benefit-link a {
    color: #2e2e2e;
    font-weight: 700;
    text-decoration: underline;
}

.mc-paywall-intro__more-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #2e2e2e;
    color: #fff;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.mc-paywall-intro__more-btn:hover {
    background: #444;
    color: #fff;
    text-decoration: none;
}
