/**
 * WEAM - Attribute Manager - Admin Settings Styles
 * Tokens loaded via weam-tokens.css (dependency).
 */

/* ============================================
   PAGE SHELL — WRAP & PAGE CONTAINER
   ============================================ */

.weam-settings-wrap {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0;
    font-family: var(--weam-font);
    font-size: var(--weam-text-lg);
    line-height: 1.5;
    color: var(--weam-text);
    -webkit-font-smoothing: antialiased;
}

.weam-page {
    background: white;
    border-radius: var(--weam-r-2xl);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: clip; /* clip preserves border-radius without breaking position: sticky */
}

/* Hide default WP admin footer on WEAM pages (this CSS only loads on WEAM screens) */
#wpfooter { display: none; }

/* ============================================
   CONTENT AREA — Purple-tinted background
   ============================================ */

/* ============================================
   PAGE HEADER v2 — Gradient bar with icon + title
   ============================================ */

.weam-page-hdr {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    color: #fff;
    border-radius: var(--weam-r-2xl) var(--weam-r-2xl) 0 0;
}

/* Gradient variants — one per page context */
.weam-ph-settings   { background: linear-gradient(135deg, var(--weam-ph-settings-from),   var(--weam-ph-settings-to)); }
.weam-ph-editor     { background: linear-gradient(135deg, var(--weam-ph-editor-from),     var(--weam-ph-editor-to)); }
.weam-ph-attributes { background: linear-gradient(135deg, var(--weam-ph-attributes-from), var(--weam-ph-attributes-to)); }
.weam-ph-pricing    { background: linear-gradient(135deg, var(--weam-ph-pricing-from),    var(--weam-ph-pricing-to)); }
.weam-ph-scanner    { background: linear-gradient(135deg, var(--weam-ph-scanner-from),    var(--weam-ph-scanner-to)); }
.weam-ph-security   { background: linear-gradient(135deg, var(--weam-ph-security-from),   var(--weam-ph-security-to)); }
.weam-ph-channels   { background: linear-gradient(135deg, var(--weam-ph-channels-from),   var(--weam-ph-channels-to)); }

/* Icon box */
.weam-page-hdr-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    font-size: var(--weam-text-3xl);
    flex-shrink: 0;
    line-height: 1;
}

/* Title + subtitle */
.weam-page-hdr-text {
    flex: 1;
    min-width: 0;
}

.weam-page-hdr-text h2 {
    margin: 0;
    padding: 0;
    font-family: var(--weam-font);
    font-size: var(--weam-text-2xl);
    font-weight: 600;
    color: #fff;
    line-height: var(--weam-leading-tight);
}

.weam-page-hdr-text p {
    margin: 2px 0 0;
    padding: 0;
    font-size: var(--weam-text-base);
    color: rgba(255, 255, 255, 0.75);
    line-height: var(--weam-leading-tight);
}

/* Right zone — badge + HiW trigger */
.weam-page-hdr-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Tier badge */
.weam-ph-tier {
    font-size: var(--weam-text-xs);
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}

/* Logo pill — brand mark in header */
.weam-logo-pill {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    background: #fff;
    padding: 3px 12px;
    border-radius: 8px;
}
.weam-hdr-logo {
    height: 22px;
    width: auto;
    display: block;
}

/* ============================================
   PAGE TABS v2 — Inside header gradient
   For Settings + Security pages.
   ============================================ */

.weam-page-tabs {
    display: flex;
    gap: 0;
    padding: 0 28px;
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* Tab bar gets the same gradient as its header + a dark overlay */
.weam-page-tabs::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 0;
}

/* Tab links sit above the overlay */
a.weam-page-tab,
a.weam-page-tab:visited {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    font-family: var(--weam-font);
    font-size: var(--weam-text-md);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 4px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}

a.weam-page-tab:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

a.weam-page-tab.weam-page-tab-active,
a.weam-page-tab.weam-page-tab-active:visited {
    color: #fff;
    border-bottom-color: #fff;
}

/* Greyed tabs — non-available tiers */
a.weam-page-tab.weam-page-tab-greyed,
a.weam-page-tab.weam-page-tab-greyed:visited {
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

a.weam-page-tab.weam-page-tab-greyed:hover {
    color: rgba(255, 255, 255, 0.5);
}

/* Upgrade tab — pushed right */
a.weam-page-tab.weam-page-tab-upgrade,
a.weam-page-tab.weam-page-tab-upgrade:visited {
    color: rgba(255, 255, 255, 0.5);
    margin-left: auto;
}

a.weam-page-tab.weam-page-tab-upgrade:hover {
    color: #fff;
}

/* License tab — far right */
a.weam-page-tab.weam-page-tab-license,
a.weam-page-tab.weam-page-tab-license:visited {
    color: rgba(255, 255, 255, 0.4);
    margin-left: auto;
}

a.weam-page-tab.weam-page-tab-license:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* When Upgrade is present, License just follows */
a.weam-page-tab.weam-page-tab-upgrade ~ a.weam-page-tab.weam-page-tab-license {
    margin-left: 0;
}

/* ============================================
   PAGE ACTION BAR — Slim bar below header
   For pages with relocated action buttons.
   ============================================ */

.weam-page-actionbar {
    display: flex;
    align-items: center;
    padding: 8px 28px;
    background: #fff;
    border-bottom: 1px solid var(--weam-border);
}

.weam-page-actionbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   SUBTAB HEADER — Light bar inside tab content
   Each tab template renders its own.
   ============================================ */

.weam-subtab-hdr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: #fff;
    border-bottom: 1px solid var(--weam-border);
}

.weam-subtab-hdr-icon {
    font-size: var(--weam-text-xl);
    flex-shrink: 0;
    line-height: 1;
}

.weam-subtab-hdr-title {
    font-size: var(--weam-text-lg);
    font-weight: var(--weam-font-semi);
    color: var(--weam-text);
}

.weam-subtab-hdr-desc {
    font-size: var(--weam-text-base);
    color: var(--weam-muted);
}

.weam-subtab-hdr-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* HiW trigger — light background variant for subtab bars */
.weam-hiw-trigger-sub {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--weam-text-base);
    color: var(--weam-purple-500);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    background: none;
    border: none;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}
.weam-hiw-trigger-sub:hover { color: var(--weam-purple-700); background: #f5f3ff; }

/* ============================================
   PAGE HEADER v2 — Responsive
   ============================================ */

@media (max-width: 782px) {
    .weam-page-hdr {
        padding: 16px 20px;
        gap: 12px;
    }

    .weam-page-hdr-icon {
        width: 36px;
        height: 36px;
        font-size: var(--weam-text-2xl);
        border-radius: 8px;
    }

    .weam-page-hdr-text h2 {
        font-size: var(--weam-text-xl);
    }

    .weam-page-tabs {
        padding: 0 20px;
    }

    .weam-page-actionbar {
        padding: 8px 20px;
    }

    .weam-subtab-hdr {
        padding: 10px 20px;
        gap: 8px;
    }

    .weam-subtab-hdr-desc {
        display: none;
    }
}

/* ============================================
   END PAGE HEADER v2
   ============================================ */

.weam-content {
    padding: 24px;
    background: var(--weam-purple-100);
    min-height: 400px;
}

/* ============================================
   FOOTER — Light bar with links
   ============================================ */

.weam-ftr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #fff;
    border-top: 1px solid var(--weam-border);
}

.weam-ftr-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.weam-ftr-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.weam-ftr-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex: 1;
}

.weam-ftr-link {
    font-family: var(--weam-font);
    font-size: var(--weam-text-md);
    color: var(--weam-muted);
    text-decoration: none;
    padding: 4px 0;
}

.weam-ftr-link:hover {
    color: var(--weam-text);
    text-decoration: none;
}

.weam-ftr-upgrade,
.weam-ftr-upgrade:visited {
    color: var(--weam-purple-500);
    font-weight: 500;
}

.weam-ftr-upgrade:hover {
    color: var(--weam-purple-700);
}

.weam-ftr-license,
.weam-ftr-license:visited {
    color: var(--weam-slate-500);
}

a.weam-btn-back,
a.weam-btn-back:visited {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--weam-font);
    font-size: var(--weam-text-md);
    color: var(--weam-muted);
    text-decoration: none;
    padding: 8px 0;
}

a.weam-btn-back:hover {
    color: var(--weam-purple-500);
    text-decoration: none;
}

/* ============================================
   PRO BADGES (used in various places)
   ============================================ */

.weam-pro-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: var(--weam-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 6px;
}

.weam-pro-badge.weam-pro-badge-small {
    font-size: var(--weam-text-2xs);
    padding: 2px 6px;
}

.weam-pro-badge.weam-pro-badge-plus {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* ============================================
   ATTRIBUTES TABLE
   ============================================ */

.weam-attributes-list {
    background: #fff;
    padding: 20px;
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

.weam-attributes-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dcdcde;
}

.weam-attributes-table .column-name {
    width: 25%;
}

.weam-attributes-table .column-terms {
    width: 12%;
}

.weam-attributes-table .column-input {
    width: 16%;
}

.weam-attributes-table .column-sorting {
    width: 14%;
}

.weam-attributes-table .column-layout {
    width: 13%;
}

.weam-attributes-table .column-status {
    width: 12%;
}

.weam-attributes-table .column-actions {
    width: 8%;
    text-align: right;
}

/* CRITICAL FIX: Prevent vertical text in table headers */
.weam-attributes-table th,
.weam-attributes-table thead th,
table.weam-attributes-table th {
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

.weam-attributes-table code {
    font-size: var(--weam-text-sm);
    color: var(--weam-slate-500);
}

.weam-row-disabled {
    opacity: 0.6;
}

/* Badges */
.weam-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--weam-r-pill);
    font-size: var(--weam-text-base);
    font-weight: 500;
    white-space: nowrap;
}

.weam-badge-woo_default {
    background: #f0f0f1;
    color: var(--weam-slate-500);
}

.weam-badge-dropdown {
    background: #e7f5fe;
    color: var(--weam-info);
}

.weam-badge-radio {
    background: var(--weam-info-light);
    color: var(--weam-info);
}

.weam-badge-multi {
    background: #fcf0f1;
    color: var(--weam-error);
}

.weam-badge-image {
    background: #f6f0ff;
    color: var(--weam-purple-600);
}

.weam-badge-layout {
    background: var(--weam-info-light);
    color: var(--weam-slate-800);
}

.weam-badge-sorting {
    background: #f7f3ff;
    color: var(--weam-purple-700);
}

.weam-warning-badge {
    display: inline-block;
    margin-left: 8px;
    font-size: var(--weam-text-xl);
    cursor: help;
}

/* Status */
.weam-status-active {
    color: var(--weam-success);
    font-weight: 500;
}

.weam-status-inactive {
    color: var(--weam-slate-500);
}

/* Buttons — Configure action uses .weam-ab-action in weam-tab-attributes.css */

/* ============================================
   MODAL - FIXED FOR SCROLLING
   ============================================ */

.weam-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    backdrop-filter: blur(2px);
}

.weam-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: #fff;
    border-radius: var(--weam-r-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 100001;
    display: flex;
    flex-direction: column;
}

.weam-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 90vh;
}

/* Modal Header */
.weam-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #dcdcde;
    flex-shrink: 0;
}

.weam-modal-header h2 {
    margin: 0;
    font-size: var(--weam-text-2xl);
    font-weight: 600;
}

.weam-modal-close {
    background: transparent;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: var(--weam-slate-500);
    transition: color 0.2s;
}

.weam-modal-close:hover {
    color: var(--weam-slate-800);
}

.weam-modal-close .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

/* Smart Preset creation banner (step 4) */
.weam-modal-smart-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f0fdf4;
    border-bottom: 1px solid #bbf7d0;
    font-size: var(--weam-text-md);
    color: var(--weam-success);
    line-height: 1.4;
}
.weam-modal-smart-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
}
.weam-modal-smart-banner-text { flex: 1; }
.weam-modal-smart-banner-text strong { font-weight: 600; }
.weam-modal-smart-banner-dismiss {
    background: none;
    border: none;
    color: var(--weam-success);
    font-size: var(--weam-text-xl);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    opacity: 0.6;
}
.weam-modal-smart-banner-dismiss:hover { opacity: 1; }

/* Modal Body - FIXED FOR SCROLLING */
.weam-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 25px;
    max-height: calc(90vh - 140px);
}

/* Modal Footer */
.weam-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-top: 1px solid #dcdcde;
    background: #f6f7f7;
    flex-shrink: 0;
}

.weam-modal-footer-left,
.weam-modal-footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.weam-save-btn {
    position: relative;
    min-width: 120px;
}

/* ---- Split CTD button ---- */
.weam-ctd-split {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.weam-ctd-split > .weam-ctd-dot {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #F59E0B;
    z-index: 2;
    pointer-events: none;
}
.weam-ctd-split-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px 0 24px;
    background: #1d2327;
    color: #fff;
    border: none;
    border-radius: 18px 0 0 18px;
    font-size: var(--weam-text-md);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    transition: background-color 0.15s ease;
    position: relative;
    min-width: 110px;
}
.weam-ctd-split-main:hover { background: #2c3338; }

.weam-ctd-split-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 30px;
    background: #1d2327;
    color: #fff;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.2);
    border-radius: 0 18px 18px 0;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.weam-ctd-split-toggle:hover { background: #2c3338; }

/* Split dropdown (opens upward from footer) */
.weam-ctd-split-dropdown {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    min-width: 180px;
    display: none;
    z-index: 100;
    overflow: hidden;
}
.weam-ctd-split-dropdown.show { display: block; }

.weam-ctd-split-dd-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: var(--weam-text-md);
    color: var(--weam-slate-900);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background 0.1s;
}
.weam-ctd-split-dd-item:hover { background: #f6f7f7; }
.weam-ctd-split-dd-item + .weam-ctd-split-dd-item { border-top: 1px solid #f0f0f1; }

.weam-ctd-split-dd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.weam-ctd-split-dd-dot.amber { background: #F59E0B; }
.weam-ctd-split-dd-dot.red { background: #d63638; }

/* ---- How it works trigger (in modal header) ---- */
.weam-modal-header .weam-modal-header-content { flex: 1; }
.weam-hiw-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--weam-text-base);
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 5px;
    background: none;
    border: none;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 8px;
}
.weam-hiw-trigger:hover { color: #fff; background: rgba(255,255,255,0.12); }

/* ---- How it works carousel ---- */
.weam-hiw-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 100070;
    display: none;
    align-items: center;
    justify-content: center;
}
.weam-hiw-overlay.show { display: flex; }

.weam-hiw-carousel {
    width: 580px;
    max-width: 92vw;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    max-height: 88vh;
    position: relative;
}
.weam-hiw-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: var(--weam-text-xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.15s;
}
.weam-hiw-close:hover { background: rgba(255,255,255,0.3); }

.weam-hiw-visual {
    position: relative;
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
    padding: 40px 40px 32px;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.weam-hiw-preview {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.weam-hiw-preview-label {
    font-size: var(--weam-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--weam-slate-400);
    margin-bottom: 10px;
}
.weam-hiw-text {
    padding: 28px 32px 20px;
    flex: 1;
}
.weam-hiw-badge {
    display: inline-flex;
    font-size: var(--weam-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--weam-purple-500);
    margin-bottom: 10px;
}
.weam-hiw-heading {
    font-size: var(--weam-text-2xl);
    font-weight: 700;
    color: var(--weam-slate-900);
    margin-bottom: 8px;
    line-height: 1.3;
}
.weam-hiw-desc {
    font-size: var(--weam-text-lg);
    line-height: 1.65;
    color: var(--weam-slate-600);
}
.weam-hiw-desc strong { color: var(--weam-slate-900); }

.weam-hiw-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px 20px;
}
.weam-hiw-dots {
    display: flex;
    gap: 6px;
}
.weam-hiw-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dcdcde;
    cursor: pointer;
    transition: all 0.2s;
}
.weam-hiw-dot.active {
    background: #6366f1;
    width: 20px;
    border-radius: 4px;
}
.weam-hiw-nav {
    display: flex;
    gap: 8px;
}
.weam-hiw-btn {
    height: 36px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: var(--weam-text-md);
    font-weight: 500;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}
.weam-hiw-btn-ghost {
    background: none;
    color: var(--weam-slate-500);
}
.weam-hiw-btn-ghost:hover { background: #f3f4f6; color: var(--weam-slate-900); }
.weam-hiw-btn-primary {
    background: #1d2327;
    color: #fff;
}
.weam-hiw-btn-primary:hover { background: #2c3338; }

.weam-hiw-slide { display: none; }
.weam-hiw-slide.active { display: block; }

.weam-save-btn.is-loading .weam-btn-text {
    opacity: 0;
}

.weam-save-btn.is-loading .weam-btn-spinner {
    display: inline-block !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

/* ============================================
   SETTINGS SECTIONS
   ============================================ */

.weam-settings-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f1;
}

.weam-settings-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.weam-settings-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: var(--weam-text-xl);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.weam-settings-section .form-table {
    margin-top: 0;
}

.weam-settings-section .form-table th {
    padding-left: 0;
    width: 30%;
}

/* ============================================
   INPUT TYPE CARDS
   ============================================ */

.weam-input-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.weam-input-type-card {
    position: relative;
    display: block;
    border: 2px solid #dcdcde;
    border-radius: var(--weam-r-lg);
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.weam-input-type-card:hover {
    border-color: var(--weam-info);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.weam-input-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.weam-input-type-card input[type="radio"]:checked+.weam-card-content {
    color: var(--weam-info);
}

.weam-input-type-card input[type="radio"]:checked~.weam-card-content::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    border: 2px solid var(--weam-info);
    border-radius: var(--weam-r-lg);
    pointer-events: none;
}

.weam-card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.weam-card-content .dashicons {
    width: 32px;
    height: 32px;
    font-size: 32px;
    color: var(--weam-slate-500);
}

.weam-input-type-card input[type="radio"]:checked+.weam-card-content .dashicons {
    color: var(--weam-info);
}

.weam-card-content strong {
    font-size: var(--weam-text-md);
    font-weight: 600;
}

.weam-card-description {
    font-size: var(--weam-text-sm);
    color: var(--weam-slate-500);
    line-height: 1.4;
}

/* ============================================
   TOGGLE SWITCH
   ============================================ */

.weam-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.weam-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.weam-toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: #8c8f94;
    border-radius: 24px;
    transition: background 0.2s;
}

.weam-toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.weam-toggle input[type="checkbox"]:checked+.weam-toggle-slider {
    background: var(--weam-info);
}

.weam-toggle input[type="checkbox"]:checked+.weam-toggle-slider::before {
    transform: translateX(20px);
}

.weam-toggle-label {
    font-weight: 500;
}

/* ============================================
   NO ATTRIBUTES STATE
   ============================================ */

.weam-no-attributes {
    text-align: center;
    padding: 60px 20px;
    color: var(--weam-slate-500);
}

.weam-no-attributes p {
    font-size: var(--weam-text-xl);
    margin-bottom: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 782px) {
    .weam-settings-wrap {
        margin: 10px;
    }

    .weam-content {
        padding: 16px;
    }

    .weam-modal {
        width: 95%;
        max-height: 95vh;
    }

    .weam-modal-body {
        max-height: calc(95vh - 140px);
    }

    .weam-input-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .weam-modal-footer {
        flex-direction: column;
        gap: 10px;
    }

    .weam-modal-footer-left,
    .weam-modal-footer-right {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .weam-input-type-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FORM LOADING STATE
   ============================================ */

#weam-attr-settings-form.is-loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}
#weam-attr-settings-form.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #0073aa;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   GLOBAL SAVING OVERLAY
   ============================================ */

.weam-saving-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weam-saving-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.weam-saving-dialog {
    position: relative;
    background: #fff;
    border-radius: var(--weam-r-2xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 32px 40px;
    min-width: 380px;
    max-width: 90%;
    animation: weam-dialog-appear 0.3s ease-out;
}

@keyframes weam-dialog-appear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.weam-saving-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.weam-saving-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.weam-saving-icon .dashicons {
    color: #fff;
    font-size: var(--weam-text-3xl);
    width: 28px;
    height: 28px;
}

.weam-saving-info {
    flex: 1;
    min-width: 200px;
}

.weam-saving-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.weam-saving-label {
    font-weight: 600;
    font-size: var(--weam-text-xl);
    color: var(--weam-slate-800);
}

.weam-saving-percent {
    font-weight: 700;
    font-size: var(--weam-text-xl);
    color: var(--weam-purple-600);
}

.weam-saving-bar {
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}

.weam-saving-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed 0%, #a78bfa 100%);
    border-radius: 5px;
    transition: width 0.15s ease-out;
}

.weam-saving-status {
    font-size: var(--weam-text-md);
    color: var(--weam-slate-500);
    margin-top: 8px;
    display: block;
    min-height: 18px;
}

.weam-spin {
    animation: spin 1s linear infinite;
}

/* ══════════════════════════════════════════
   IMPORT/EXPORT NOTICE POPUP
══════════════════════════════════════════ */
.weam-import-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 999999;
    display: flex; align-items: center; justify-content: center;
}
.weam-import-popup {
    background: #fff; border-radius: 12px; max-width: 460px; width: 90%;
    padding: 32px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: weamPopIn 0.25s ease-out;
}
@keyframes weamPopIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.weam-import-popup-icon .dashicons {
    font-size: 40px; width: 40px; height: 40px;
    color: var(--weam-purple-500, #6366f1); margin-bottom: 12px;
}
.weam-import-popup-title {
    font-size: var(--weam-text-2xl); font-weight: 700; color: var(--weam-slate-800, #1e293b); margin-bottom: 8px;
}
.weam-import-popup-plugins {
    font-size: var(--weam-text-md); color: var(--weam-purple-600, #4f46e5); font-weight: 500; margin-bottom: 16px;
}
.weam-import-popup-body { font-size: var(--weam-text-md); line-height: 1.6; color: var(--weam-slate-600, #475569); text-align: left; }
.weam-import-popup-body p { margin: 0 0 10px; }
.weam-import-popup-tips { color: var(--weam-slate-500, #64748b); font-size: var(--weam-text-base); }
.weam-import-popup-footer { margin-top: 20px; }
.weam-import-popup-dismiss {
    padding: 10px 32px; border-radius: 999px; border: none; cursor: pointer;
    font-size: var(--weam-text-lg); font-weight: 600; font-family: inherit;
    background: var(--weam-slate-900, #0f172a); color: #fff;
    transition: background 0.15s;
}
.weam-import-popup-dismiss:hover { background: var(--weam-slate-700, #334155); }

/* ============================================
   Add Attribute popup (Product Attributes page)
   ============================================ */
.weam-aa-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,0.5);
	z-index: 100000; display: flex; align-items: flex-start;
	justify-content: center; padding: 80px 20px; overflow-y: auto;
	opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.weam-aa-overlay.open { opacity: 1; pointer-events: all; }
.weam-aa-modal {
	background: #fff; border-radius: 16px; width: 520px; max-width: 100%;
	box-shadow: 0 24px 80px rgba(0,0,0,0.25);
	transform: translateY(12px) scale(0.97); transition: transform 0.25s;
}
.weam-aa-overlay.open .weam-aa-modal { transform: translateY(0) scale(1); }
.weam-aa-modal-header {
	padding: 20px 24px 0; display: flex; align-items: center; justify-content: space-between;
}
.weam-aa-modal-title { font-size: var(--weam-text-2xl); font-weight: 600; color: var(--weam-slate-800); }
.weam-aa-modal-close {
	width: 32px; height: 32px; background: #f0f0f1; border: none; border-radius: 8px;
	color: var(--weam-slate-500); font-size: var(--weam-text-xl); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.weam-aa-modal-close:hover { background: #e0e0e0; color: var(--weam-slate-800); }
.weam-aa-modal-body { padding: 20px 24px 24px; }
.weam-aa-options { display: flex; flex-direction: column; gap: 10px; }
.weam-aa-option {
	border: 1px solid #dcdcde; border-radius: 10px; padding: 16px 18px;
	cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
	display: flex; align-items: flex-start; gap: 14px;
}
.weam-aa-option:hover { border-color: var(--weam-slate-400); background: #fafafa; }
.weam-aa-option-icon {
	width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center; font-size: var(--weam-text-2xl);
}
.weam-aa-option-icon.manual { background: #f0f0f1; }
.weam-aa-option-icon.smart { background: #f5f3ff; }
.weam-aa-option-title { font-size: var(--weam-text-lg); font-weight: 600; color: var(--weam-slate-800); margin-bottom: 3px; }
.weam-aa-option-desc { font-size: var(--weam-text-md); color: var(--weam-slate-600); line-height: 1.45; }
.weam-aa-option .weam-aa-pro-badge {
	display: inline-flex; align-items: center; gap: 4px; margin-left: 6px;
	padding: 1px 7px; border-radius: 100px; font-size: var(--weam-text-2xs); font-weight: 600;
	text-transform: uppercase; background: #fffbeb; color: var(--weam-amber-700); vertical-align: middle;
}
.weam-aa-option .weam-aa-pro-badge::before {
	content: ''; width: 4px; height: 4px; border-radius: 50%; background: #F59E0B;
}
.weam-aa-form { display: none; }
.weam-aa-form.visible { display: block; }
.weam-aa-field { margin-bottom: 14px; }
.weam-aa-field-label { font-size: var(--weam-text-md); font-weight: 600; color: var(--weam-slate-800); margin-bottom: 5px; display: block; }
.weam-aa-field-input, .weam-aa-field-select {
	width: 100%; height: 40px; padding: 0 12px; border: 1px solid #dcdcde; border-radius: 8px;
	font-size: var(--weam-text-md); color: var(--weam-slate-800); background: #fff; outline: none;
}
.weam-aa-field-input:focus, .weam-aa-field-select:focus { border-color: var(--weam-info); box-shadow: 0 0 0 1px #2271b1; }
.weam-aa-field-input::placeholder { color: var(--weam-slate-400); }
.weam-aa-field-hint { font-size: var(--weam-text-base); color: var(--weam-slate-500); margin-top: 3px; }
.weam-aa-form-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.weam-aa-btn-ghost, .weam-aa-btn-primary {
	height: 36px; padding: 0 18px; border-radius: 8px; font-size: var(--weam-text-md);
	font-weight: 500; cursor: pointer; border: none; transition: all 0.15s;
}
.weam-aa-btn-ghost { background: none; color: var(--weam-slate-500); border: 1px solid #dcdcde; }
.weam-aa-btn-ghost:hover { border-color: var(--weam-slate-400); color: var(--weam-slate-800); }
.weam-aa-btn-primary { background: #1e1e1e; color: #fff; }
.weam-aa-btn-primary:hover { background: #333; }
.weam-aa-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

/* Smart Preset protection — modal banner */
.weam-modal-smart-protect {
	display: flex; align-items: flex-start; gap: 10px;
	padding: 12px 16px; margin: 0 0 16px 0;
	background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px;
	font-size: var(--weam-text-md); line-height: 1.5; color: var(--weam-amber-800);
}
.weam-modal-smart-protect-icon { font-size: var(--weam-text-xl); flex-shrink: 0; margin-top: 1px; }
.weam-modal-smart-protect-text { flex: 1; }
.weam-modal-smart-protect-text strong { color: var(--weam-amber-800); }
.weam-modal-smart-disconnect {
	flex-shrink: 0; align-self: center;
	padding: 5px 14px; border: 1px solid #d97706; border-radius: 100px;
	background: transparent; color: #d97706; font-size: var(--weam-text-base); font-weight: 500;
	cursor: pointer; transition: background 0.15s, color 0.15s;
	white-space: nowrap;
}
.weam-modal-smart-disconnect:hover { background: #d97706; color: #fff; }
.weam-smp-preset {
	display: inline-block; padding: 1px 8px; border-radius: 100px;
	background: #fef3c7; color: #92400e; font-size: var(--weam-text-sm); font-weight: 600;
}

/* Smart Preset — locked tab headers */
.weam-tab-btn.weam-smp-locked { color: var(--weam-slate-400); }
.weam-smp-tab-lock { font-size: var(--weam-text-xs); margin-left: 3px; color: var(--weam-amber-600); }

/* Smart Preset — locked panel content (grey-out only) */
.weam-tab-panel.weam-smp-panel-locked > * { opacity: 0.35; pointer-events: none; }

/* Smart Preset — greyed values controls */
.weam-smp-greyed { opacity: 0.35; pointer-events: none; }

/* Smart Preset — values info banner */
.weam-smp-values-info {
	background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px;
	padding: 12px 16px; margin-bottom: 16px; font-size: var(--weam-text-md);
	color: var(--weam-amber-800); line-height: 1.55;
}
.weam-smp-values-info strong { color: var(--weam-amber-800); }

/* Smart Preset disconnect popup (body-appended) */
.weam-smp-overlay {
	position: fixed; top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0,0,0,0.45); z-index: 160000;
	display: flex; align-items: center; justify-content: center;
}
.weam-smp-popup {
	background: #fff; border-radius: 12px; padding: 28px 32px;
	max-width: 420px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
	text-align: center;
}
.weam-smp-popup-icon { font-size: 28px; margin-bottom: 12px; }
.weam-smp-popup-title {
	font-size: var(--weam-text-xl); font-weight: 600; color: var(--weam-slate-800); margin-bottom: 8px;
}
.weam-smp-popup-desc {
	font-size: var(--weam-text-md); color: var(--weam-slate-500); line-height: 1.55; margin-bottom: 20px;
}
.weam-smp-popup-actions { display: flex; gap: 10px; justify-content: center; }
.weam-smp-popup-cancel,
.weam-smp-popup-confirm {
	height: 38px; padding: 0 20px; border-radius: 8px; font-size: var(--weam-text-md);
	font-weight: 500; cursor: pointer; border: none; transition: background 0.15s;
}
.weam-smp-popup-cancel {
	background: #f0f0f1; color: #50575e; border: 1px solid #dcdcde;
}
.weam-smp-popup-cancel:hover { background: #e2e4e7; }
.weam-smp-popup-confirm {
	background: #d97706; color: #fff;
}
.weam-smp-popup-confirm:hover { background: #b45309; }
.weam-smp-popup-confirm:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Field save flash ── */
@keyframes weam-flash-border {
	0%   { box-shadow: 0 0 0 2px #f59e0b; }
	65%  { box-shadow: 0 0 0 2px rgba(245,158,11,0.4); }
	100% { box-shadow: 0 0 0 2px transparent; }
}
@keyframes weam-flash-text {
	0%   { color: #d97706; }
	100% { color: inherit; }
}
.weam-flash-border { animation-name: weam-flash-border; animation-timing-function: ease-out; animation-fill-mode: forwards; animation-duration: 2s; }
.weam-flash-text   { animation-name: weam-flash-text;   animation-timing-function: ease-out; animation-fill-mode: forwards; animation-duration: 2s; }

/* ═══════════════════════════════════════════════════════════════════════
   Shared Card Layout (weam-gs-card) — used by Settings + Product Health
   ═══════════════════════════════════════════════════════════════════════ */

.weam-gs-card {
	background: white;
	border: 1px solid var(--weam-border, #E2E8F0);
	border-radius: var(--weam-r-pill, 12px);
	margin-bottom: 20px;
	overflow: hidden;
}
.weam-gs-card:last-child { margin-bottom: 0; }

.weam-gs-card-hdr {
	display: flex;
	align-items: center;
	padding: 12px 20px;
	background: var(--weam-slate-50, #F8FAFC);
	border-bottom: 1px solid var(--weam-border, #E2E8F0);
}
.weam-gs-card-icon {
	width: 48px;
	flex-shrink: 0;
	font-size: var(--weam-text-2xl, 20px);
}
.weam-gs-card-title {
	font-size: var(--weam-text-lg, 14px);
	font-weight: 600;
	margin: 0;
	padding: 0;
}
.weam-gs-card-body { padding: 0 20px; }

/* ═══════════════════════════════════════════════════════════════════════
   Scanner Layout (main + sidebar) — shared by Pro scanner + Free health
   ═══════════════════════════════════════════════════════════════════════ */

.weam-sc-layout { display: grid; grid-template-columns: 1fr 220px; gap: 16px; align-items: start; padding: 20px 24px; }
.weam-sc-main { min-width: 0; }
.weam-sc-sidebar { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 10px; }

/* ═══════════════════════════════════════════════════════════════════════
   Product Health — Free Dashboard (scanner page structure)
   ═══════════════════════════════════════════════════════════════════════ */

.weam-ph-sumbar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 14px 24px;
	font-size: 14px;
	color: var(--weam-slate-600, #475569);
	border-bottom: 1px solid var(--weam-border, #E2E8F0);
	background: white;
}
.weam-ph-sumbar strong { color: var(--weam-slate-900, #0F172A); }
.weam-ph-sep { display: inline-block; width: 1px; height: 14px; background: var(--weam-border, #E2E8F0); margin: 0 8px; }

.weam-ph-table {
	background: white;
	border-radius: 0 0 var(--weam-r-pill, 12px) var(--weam-r-pill, 12px);
	margin-bottom: 20px;
}

.weam-ph-thead {
	display: grid;
	grid-template-columns: 1fr 200px 80px;
	padding: 10px 24px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: var(--weam-slate-400, #94A3B8);
	text-transform: uppercase;
	border-bottom: 1px solid var(--weam-border, #E2E8F0);
}

.weam-ph-trow {
	display: grid;
	grid-template-columns: 1fr 200px 80px;
	align-items: center;
	padding: 14px 24px;
	font-size: 14px;
	border-bottom: 1px solid #f8fafc;
}
.weam-ph-trow:last-child { border-bottom: none; }

.weam-ph-td-check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	color: var(--weam-slate-700, #334155);
}

.weam-ph-trow.pass .weam-ph-td-status { color: var(--weam-slate-400, #94A3B8); }
.weam-ph-trow.warn .weam-ph-td-status { color: var(--weam-slate-600, #475569); }
.weam-ph-trow.warn .weam-ph-td-status strong { color: #d97706; }

.weam-ph-td-count { text-align: center; font-weight: 600; }
.weam-ph-td-count.ok { color: #16a34a; }
.weam-ph-td-count.warn { color: #d97706; }

.weam-ph-empty {
	padding: 60px 24px;
	text-align: center;
	color: var(--weam-slate-400, #94A3B8);
	font-size: 14px;
}

.weam-sc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; }
.weam-sc-dot.green { background: #16a34a; }
.weam-sc-dot.amber { background: #f59e0b; }
.weam-sc-dot.red   { background: #dc2626; }

.weam-ph-upsell-wrap {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 20px 24px;
	background: white;
	border: 1px solid var(--weam-border, #E2E8F0);
	border-radius: var(--weam-r-pill, 12px);
	margin-bottom: 20px;
}
.weam-ph-upsell-badge {
	display: inline-block;
	padding: 2px 10px;
	background: #1e293b;
	color: #fff;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.5px;
	flex-shrink: 0;
	margin-top: 2px;
}
.weam-ph-upsell-body { font-size: 13px; color: var(--weam-slate-500, #64748B); line-height: 1.5; }
.weam-ph-upsell-body strong { display: block; color: var(--weam-slate-900, #0F172A); margin-bottom: 4px; }
.weam-ph-upsell-body p { margin: 0 0 4px; }
.weam-ph-upsell-body a { color: #2563eb; text-decoration: none; }
.weam-ph-upsell-body a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════
   Upsell Info Card — shared across Free screens
   ═══════════════════════════════════════════════════════════════════════ */

.weam-upsell-card {
	margin: 20px 0;
}
.weam-upsell-card-inner {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 20px 24px;
	background: white;
	border: 1px solid var(--weam-border, #E2E8F0);
	border-radius: var(--weam-r-pill, 12px);
	position: relative;
}
.weam-upsell-card-badge {
	display: inline-block;
	padding: 2px 10px;
	background: #1e293b;
	color: #fff;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.5px;
	flex-shrink: 0;
	margin-top: 2px;
}
.weam-upsell-card-body { font-size: 13px; color: var(--weam-slate-500, #64748B); line-height: 1.5; padding-right: 24px; }
.weam-upsell-card-body strong { display: block; color: var(--weam-slate-900, #0F172A); margin-bottom: 4px; }
.weam-upsell-card-body p { margin: 0 0 4px; }
.weam-upsell-card-body a { color: #2563eb; text-decoration: none; }
.weam-upsell-card-body a:hover { text-decoration: underline; }
.weam-upsell-card-dismiss {
	position: absolute;
	top: 12px;
	right: 12px;
	background: none;
	border: none;
	font-size: 18px;
	color: var(--weam-slate-400, #94A3B8);
	cursor: pointer;
	padding: 4px 8px;
	line-height: 1;
}
.weam-upsell-card-dismiss:hover { color: var(--weam-slate-600, #475569); }
