/**
 * WMS Pricing Templates & Checkout Modal Comprehensive Stylesheet
 * High-Performance, Zero-Render-Blocking, Modern Aesthetics & Responsive Layouts
 */

/* -------------------------------------------------------------
   WORDPRESS BLOCK THEME & GUTENBERG FULL-WIDTH RESET
   Eliminates --wp--style--global--content-size: 620px restriction
------------------------------------------------------------- */
body .is-layout-constrained> :where(.wms-pricing-container, .wms-account-wrapper, .wms-auth-card, .wms-success-container),
body .wp-block-post-content> :where(.wms-pricing-container, .wms-account-wrapper, .wms-auth-card, .wms-success-container),
body .entry-content> :where(.wms-pricing-container, .wms-account-wrapper, .wms-auth-card, .wms-success-container) {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wp-block-post-content:has(.wms-pricing-container),
.entry-content:has(.wms-pricing-container) {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* -------------------------------------------------------------
   GLOBAL PRICING CONTAINER
------------------------------------------------------------- */
.wms-pricing-container {
    max-width: 1200px !important;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    box-sizing: border-box;
    line-height: 1.5;
}


.wms-pricing-container * {
    box-sizing: border-box;
}

/* Header */
.wms-pricing-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 35px auto;
}

.wms-pricing-headline {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.wms-pricing-subtitle {
    font-size: 17px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.wms-guarantee-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 999px;
    margin: 16px auto 0 auto;
}

/* -------------------------------------------------------------
   MULTI-CURRENCY PILL SWITCHER
------------------------------------------------------------- */
.wms-currency-switcher-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.wms-currency-switcher {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 999px;
    gap: 4px;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wms-curr-btn {
    background: transparent;
    border: none;
    padding: 8px 22px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    outline: none;
}

.wms-curr-btn:hover {
    color: #0f172a;
}

.wms-curr-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* -------------------------------------------------------------
   PRICING CARDS GRID
------------------------------------------------------------- */
.wms-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: stretch;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .wms-pricing-grid {
        grid-template-columns: 1fr;
    }
}

.wms-pricing-card {
    background: var(--wms-card-bg, #ffffff);
    border-radius: var(--wms-radius, 16px);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wms-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Badges */
.wms-card-badge,
.wms-card-badge-red,
.wms-card-badge-saas {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--wms-badge, #10b981);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    z-index: 2;
}

.wms-card-badge-red {
    background: #dc2626;
}

.wms-card-badge-saas {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* Plan Title & Desc */
.wms-plan-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.wms-plan-desc {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 14px 0;
    line-height: 1.4;
}

/* Price Wrap */
.wms-price-wrap {
    margin: 15px 0 20px 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.wms-currency-symbol {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.wms-price-amount {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1;
}

.wms-price-period {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    margin-left: 2px;
}

.wms-divider {
    border: none;
    border-top: 1px solid #f1f5f9;
    margin: 18px 0;
}

/* Features List */
.wms-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.wms-feature-list li {
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.wms-feature-icon,
.wms-bullet-red,
.wms-bullet-saas {
    color: var(--wms-primary, #10b981);
    font-weight: bold;
    flex-shrink: 0;
    font-size: 15px;
}

.wms-bullet-red {
    color: #dc2626;
}

.wms-bullet-saas {
    color: #8b5cf6;
}

/* Action Buttons */
.wms-btn-subscribe,
.wms-btn-subscribe-red,
.wms-btn-subscribe-saas,
.wms-btn-checkout {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--wms-btn, #10b981);
    color: var(--wms-btn-text, #ffffff);
    padding: 13px 20px;
    border-radius: var(--wms-btn-radius, 10px);
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    line-height: 1.2;
}

.wms-btn-subscribe:hover,
.wms-btn-checkout:hover {
    background: var(--wms-btn-hover, #059669);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.wms-btn-subscribe-red {
    background: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.wms-btn-subscribe-red:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
}

.wms-btn-subscribe-saas {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.wms-btn-subscribe-saas:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

/* Featured Card Highlights */
.wms-card-featured {
    border: 2px solid var(--wms-primary, #10b981);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.15);
}

.wms-card-featured-red {
    border: 2px solid #dc2626;
    box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.15);
}

.wms-card-featured-saas {
    border: 2px solid #8b5cf6;
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.2);
}

/* -------------------------------------------------------------
   MODERN CRIMSON / PREMIUM RED TEMPLATE STYLES
------------------------------------------------------------- */
.wms-theme-modern-red {
    max-width: 1200px !important;
    margin: 40px auto;
    width: 100%;
}

.wms-modern-switcher {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px;
    display: inline-flex;
    gap: 4px;
}

.wms-modern-switcher .wms-curr-btn {
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    color: #64748b;
    background: transparent;
    transition: all 0.2s ease;
}

.wms-modern-switcher .wms-curr-btn.active {
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.wms-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .wms-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .wms-modern-grid {
        grid-template-columns: 1fr;
    }
}

.wms-modern-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 38px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wms-modern-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.wms-modern-card.wms-featured-red {
    border: 2px solid #ef4444 !important;
}

.wms-modern-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 18px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
    z-index: 2;
}

.wms-modern-title {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #475569;
    margin-bottom: 18px;
}

.wms-modern-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.wms-modern-currency {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Georgia, serif;
}

.wms-modern-amount {
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Georgia, serif;
}

.wms-modern-period {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 28px;
    line-height: 1.4;
}

.wms-modern-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.wms-modern-features li {
    font-size: 13.5px;
    color: #334155;
    font-weight: 500;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.45;
}

.wms-check-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.wms-modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 14.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}


.wms-btn-dark {
    background: #0f172a;
    color: #ffffff;
}

.wms-btn-dark:hover {
    background: #1e293b;
    transform: translateY(-1px);
    color: #ffffff;
}

.wms-btn-featured-red {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.wms-btn-featured-red:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45);
    color: #ffffff;
}

/* -------------------------------------------------------------
   FAQ ACCORDION
------------------------------------------------------------- */

.wms-faq-section {
    max-width: 800px;
    margin: 60px auto 20px auto;
}

.wms-faq-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
}

.wms-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.wms-faq-question {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 15px;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f8fafc;
}

.wms-faq-answer {
    padding: 16px 20px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    border-top: 1px solid #f1f5f9;
}

/* -------------------------------------------------------------
   FULLSCREEN RAZORPAY CHECKOUT MODAL
------------------------------------------------------------- */
.wms-modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 9999999 !important;
    display: none;
    /* Hidden by default - opened on plan button click */
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.wms-modal-backdrop.wms-modal-active {
    display: flex !important;
}

.wms-modal-container {
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}


.wms-modal-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    animation: wmsModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

@keyframes wmsModalPop {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wms-modal-header {
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 20px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
}

.wms-modal-header-text {
    flex-grow: 1;
}

.wms-modal-badge {
    display: inline-block !important;
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    margin-bottom: 4px !important;
}

.wms-modal-header h3 {
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.wms-modal-header-price {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #38bdf8 !important;
    margin-right: 32px !important;
}

.wms-modal-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: none !important;
    color: #cbd5e1 !important;
    font-size: 22px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
}

.wms-modal-close:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.wms-modal-body {
    padding: 24px 26px !important;
    box-sizing: border-box !important;
}

.wms-form-group {
    margin-bottom: 16px !important;
    text-align: left !important;
}

.wms-form-group label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}

.wms-required {
    color: #ef4444 !important;
}

.wms-input {
    width: 100% !important;
    height: 42px !important;
    padding: 8px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease !important;
}

.wms-input:focus {
    border-color: #35144F !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(53, 20, 79, 0.15) !important;
}

.wms-input[readonly] {
    background: #f8fafc !important;
    color: #64748b !important;
    cursor: not-allowed !important;
}

.wms-input-hint {
    display: block !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    margin-top: 4px !important;
}

.wms-alert-error {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #b91c1c !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    margin-bottom: 14px !important;
}

.wms-modal-footer {
    margin-top: 20px !important;
}

.wms-btn-modal-pay {
    width: 100% !important;
    background: #35144F !important;
    color: #ffffff !important;
    border: none !important;
    padding: 13px 20px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(53, 20, 79, 0.25) !important;
    box-sizing: border-box !important;
}

.wms-btn-modal-pay:hover {
    background: #250d38 !important;
    color: #FFD010 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(53, 20, 79, 0.35) !important;
}


.wms-security-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 14px !important;
}

@keyframes wmsSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.wms-spin {
    animation: wmsSpin 0.8s linear infinite !important;
}

/* -------------------------------------------------------------
   ROYAL PLUM & GOLD PRICING TEMPLATE (#35144F, #FFD010, #0b93d9, #383838, #1d1d1d)
------------------------------------------------------------- */
.wms-theme-royal {
    max-width: 1140px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1d1d1d;
}

.wms-royal-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 30px auto;
}

.wms-royal-main-headline {
    font-size: 38px;
    font-weight: 800;
    color: #35144F;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 12px 0;
}

.wms-royal-main-subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Dual Switchers Container */
.wms-royal-switchers-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

/* 1. Currency Capsule Switcher */
.wms-royal-curr-capsule {
    display: inline-flex !important;
    background: #ffffff !important;
    padding: 5px 6px !important;
    border-radius: 999px !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    gap: 4px !important;
    align-items: center !important;
}

.wms-theme-royal .wms-curr-btn {
    border: none !important;
    background: transparent !important;
    padding: 8px 22px !important;
    border-radius: 999px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    letter-spacing: 0.02em !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
}

.wms-theme-royal .wms-curr-btn:hover:not(.active) {
    background: #f1f5f9 !important;
    color: #35144F !important;
    transform: translateY(-1px) !important;
}

.wms-theme-royal .wms-curr-btn.active {
    background: #35144F !important;
    color: #FFD010 !important;
    box-shadow: 0 3px 10px rgba(53, 20, 79, 0.3) !important;
}

.wms-theme-royal .wms-curr-btn.active:hover {
    background: #250d38 !important;
    color: #FFD010 !important;
}

/* 2. Billing Period Capsule Switcher */
.wms-royal-period-capsule {
    display: inline-flex !important;
    background: #f8fafc !important;
    padding: 5px 6px !important;
    border-radius: 999px !important;
    border: 1.5px solid #e2e8f0 !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
}

.wms-royal-period-btn {
    border: none !important;
    background: transparent !important;
    padding: 7px 18px !important;
    border-radius: 999px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    outline: none !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
}

.wms-royal-period-btn:hover:not(.active) {
    background: #e2e8f0 !important;
    color: #35144F !important;
    transform: translateY(-1px) !important;
}

.wms-royal-period-btn.active {
    background: #ffffff !important;
    color: #35144F !important;
    font-weight: 800 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.wms-royal-period-btn.active:hover {
    background: #ffffff !important;
    color: #35144F !important;
}

.wms-royal-period-save-tag {
    background: #FFD010 !important;
    color: #35144F !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    letter-spacing: 0.02em !important;
    display: inline-block !important;
}

/* Responsive Centered Cards Layout with 3-per-row wrap */
.wms-royal-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 28px !important;
    align-items: stretch !important;
    margin-top: 15px !important;
    width: 100% !important;
}

/* Cards */
.wms-royal-card {
    flex: 0 1 350px !important;
    max-width: 380px !important;
    min-width: 280px !important;
    width: 100% !important;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 20px;
    padding: 34px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box !important;
}

@media (min-width: 992px) {
    .wms-royal-card {
        flex: 0 1 calc(33.333% - 20px) !important;
        max-width: 380px !important;
    }
}

@media (max-width: 991px) and (min-width: 640px) {
    .wms-royal-card {
        flex: 0 1 calc(50% - 16px) !important;
        max-width: 380px !important;
    }
}

@media (max-width: 639px) {
    .wms-royal-card {
        flex: 0 1 100% !important;
        max-width: 100% !important;
    }
}

.wms-royal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(53, 20, 79, 0.08);
}

.wms-royal-card.wms-royal-featured {
    border: 2.5px solid #35144F !important;
    box-shadow: 0 10px 30px rgba(53, 20, 79, 0.12) !important;
}

/* Top Centered Badge on Featured Card */
.wms-royal-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD010 !important;
    color: #35144F !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    padding: 5px 16px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    box-shadow: 0 3px 10px rgba(255, 208, 16, 0.4) !important;
    white-space: nowrap !important;
}

/* Card Top Section */
.wms-royal-card .wms-card-top {
    text-align: left;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.wms-royal-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #35144F;
    margin: 0 0 14px 0;
}

.wms-royal-price-wrap {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    color: #1d1d1d;
    line-height: 1;
    margin-bottom: 6px;
    gap: 4px;
}

.wms-royal-currency {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1d;
}

.wms-royal-amount {
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #1d1d1d;
}

.wms-royal-period {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
    margin-top: 4px;
}

/* Features List */
.wms-royal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wms-royal-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #383838;
    line-height: 1.5;
}

.wms-royal-check-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* CTA Buttons */
.wms-royal-card .wms-card-action {
    margin-top: auto;
}

.wms-royal-btn {
    width: 100%;
    padding: 13px 20px;
    border-radius: 999px !important;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.wms-royal-btn-dark {
    background: #1d1d1d !important;
    color: #ffffff !important;
}

.wms-royal-btn-dark:hover {
    background: #35144F !important;
    color: #FFD010 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(53, 20, 79, 0.25) !important;
}

.wms-royal-btn-featured {
    background: #35144F !important;
    color: #FFD010 !important;
    box-shadow: 0 4px 16px rgba(53, 20, 79, 0.3) !important;
}

.wms-royal-btn-featured:hover {
    background: #250d38 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(53, 20, 79, 0.45) !important;
}