.swiffle-store-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.swiffle-store-wrapper h2 {
    text-align: center;
    margin-bottom: 30px;
}

.swiffle-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.swiffle-plan-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e5ec;
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.swiffle-plan-featured {
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.18);
    position: relative;
}

.swiffle-plan-featured::before {
    content: "💰";
    position: absolute;
    top: -10px;
    right: 16px;
    background: #2563eb;
    color: #fff;
    font-size: 20px;
    padding: 3px 8px;
    border-radius: 999px;
    line-height: 1;
}

.swiffle-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.swiffle-plan-header h3 {
    font-size: 18px;
    margin: 0;
}

.swiffle-plan-code {
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 999px;
}

.swiffle-plan-meta {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.swiffle-plan-meta span {
    background: #f8fafc;
    padding: 2px 8px;
    border-radius: 999px;
}

.swiffle-plan-desc {
    font-size: 14px;
    color: #475569;
    margin: 0 0 10px;
}

.swiffle-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: 13px;
    color: #1e293b;
}

.swiffle-plan-features li {
    margin-bottom: 4px;
}

.swiffle-plan-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.swiffle-plan-footer .swiffle-email {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
}

.swiffle-plan-footer .swiffle-checkout-btn {
    width: 100%;
    padding: 10px 12px;
    border-radius: 999px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
}

.swiffle-plan-footer .swiffle-checkout-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.swiffle-plan-footer .swiffle-checkout-btn:active {
    transform: translateY(0);
}
/* Page merci */
#swiffle-thankyou {
    max-width: 700px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

#swiffle-licenses-list ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#swiffle-licenses-list li {
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-align: left;
    font-size: 14px;
}

.swiffle-thankyou-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.swiffle-btn {
    padding: 12px 20px;
    border-radius: 999px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.swiffle-btn:hover {
    background: #1d4ed8;
}

.swiffle-btn.secondary {
    background: #f1f5f9;
    color: #1e293b;
}

.swiffle-btn.secondary:hover {
    background: #e2e8f0;
}
/********************************************
 * SWIFFLE GRID — PRICING TABLE (Kadence-friendly)
 ********************************************/

/* Wrapper */
.swiffle-store-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Section title */
.swiffle-store-wrapper h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 50px;
}

/* Grid layout */
.swiffle-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* Plan card */
.swiffle-plan-card {
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.swiffle-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

/* Featured plan */
.swiffle-plan-featured {
    border: 2px solid #F9AB00;
    box-shadow: 0 8px 24px rgba(249,171,0,0.25);
}

/* Plan header */
.swiffle-plan-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 10px;
}

/* Description */
.swiffle-plan-desc {
    color: #6E7A8A;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Features list */
.swiffle-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.swiffle-plan-features li {
    margin-bottom: 8px;
    color: #1A1A1A;
    font-size: 15px;
}

.swiffle-plan-features li::before {
    content: "✔";
    color: #1A73E8;
    font-weight: 700;
    margin-right: 6px;
}

/* Price */
.swiffle-price {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    text-align: center;
    margin: 20px 0;
}

/* Select fields */
.swiffle-plan-options select {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #CBD5E1;
    background-color: #FFFFFF;
    font-size: 15px;
    transition: border-color .2s ease;
    cursor: pointer;
    /* Kadence removes the native arrow (appearance: none on select) and can set
       a `background` shorthand that wipes background-image - put a chevron back,
       with !important so the theme can't strip it, so it reads as a dropdown
       rather than a fixed value. */
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 34px;
}

.swiffle-plan-options select:hover {
    border-color: #1A73E8;
}

.swiffle-plan-options label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 16px;
}

/* Email field */
.swiffle-email {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #CBD5E1;
    margin-bottom: 14px;
    font-size: 15px;
}

/* Buy button */
.swiffle-checkout-btn {
    width: 100%;
    padding: 14px;
    background: #1A73E8;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.swiffle-checkout-btn:hover {
    background: #0F5AD0;
}

/* FREE PLAN */
.swiffle-plan-free {
    border: 2px solid #1A73E8;
    background: #F7F9FC;
}

.swiffle-free-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #1A73E8;
    color: #FFFFFF !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s ease;
}

.swiffle-free-btn:hover {
    background: #0F5AD0;
}


/* Menu langue */
.swiffle-lang-switcher {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

.swiffle-lang-switcher a {
    padding: 6px 10px;
    border-radius: 4px;
    background: #f2f2f2;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.swiffle-lang-switcher a.active {
    background: #0073aa;
    color: #fff;
}

.swiffle-lang-dropdown {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

/* Modal */
.swiffle-modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.4);
    display:flex; align-items:center; justify-content:center;
    z-index: 9999;
}
.swiffle-modal {
    background:#fff; padding:20px; max-width:420px; width:100%;
    border-radius:8px; box-shadow:0 10px 30px rgba(0,0,0,.2);
}
.swiffle-modal-footer {
    display:flex; justify-content:flex-end; gap:10px; margin-top:15px;
}
.swiffle-price-note {
    font-size: 12px !important;
    line-height: 1.4;
    opacity: 0.75;
    -webkit-text-size-adjust: 100%;
    margin-top: -10px;
    margin-bottom: 20px;
}

.swiffle-legal-footer {
    text-align: center;
    font-size: 14px;
    opacity: .8;
}

.swiffle-legal-footer a {
    margin: 0 6px;
    text-decoration: none;
}

@media (max-width: 480px) {
    .swiffle-legal-footer {
        font-size: 12px;
        line-height: 1.4;
    }
}
