/* FRM Club v1.0 — scoped to plugin to avoid affecting Elementor and other plugins. */
.frm-club{--frm-bg:#210c35;--frm-violet:#72279e;--frm-gold:#f1c35c;--frm-ink:#321747;--frm-border:#e9dceb;box-sizing:border-box;width:100%;max-width:1080px;margin:26px auto 35px;padding:0 14px;font-family:inherit;color:#311a3d;line-height:1.45;overflow-wrap:anywhere}
.frm-club *{box-sizing:border-box}
.frm-club .frm-club-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 80% 7%,#a43abe 0%,#692191 32%,#2e0d47 85%);border-radius:25px;padding:33px 35px 32px;color:#fff;box-shadow:0 12px 35px #3e175338}
.frm-club .frm-club-hero:after{content:'✦';position:absolute;right:7%;top:18%;font-size:128px;color:#ffd976;opacity:.13;transform:rotate(-12deg);pointer-events:none}
.frm-club .frm-club-eyebrow{font-weight:850;letter-spacing:2px;font-size:11px;color:#ffe0a0}
.frm-club .frm-club-hero h2{margin:12px 0 8px!important;color:#fff!important;font-size:clamp(34px,6vw,66px)!important;font-weight:950!important;line-height:1.06!important;letter-spacing:-1.5px}
.frm-club .frm-club-hero h2 span{color:#ffdb80}
.frm-club .frm-club-hero p{max-width:550px;margin:0!important;color:#f7ecff;font-size:clamp(15px,2.8vw,19px)}
.frm-club .frm-club-hero-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}
.frm-club .frm-club-hero-chips span{border:1px solid #ffe5a977;color:#fff0c9;border-radius:30px;padding:6px 12px;font-size:11px;font-weight:800;letter-spacing:.3px}
.frm-club .frm-club-banner{background:#fff7de;color:#59401a;border:1px solid #f1d391;border-radius:12px;margin:18px 0 0;padding:12px 15px;font-size:13px}
.frm-club .frm-club-banner-demo{background:#eee5ff;color:#42215d;border-color:#cfb1ff}
.frm-club .frm-club-body{padding:25px 0 4px}
.frm-club .frm-club-card{border-radius:23px;position:relative;overflow:hidden;max-width:730px;min-height:250px;padding:30px;box-shadow:0 15px 31px #2c12422b;background:radial-gradient(circle at 90% 16%,#8a42ac 0%,#491665 41%,#281039 100%);border:1px solid #e7b959;color:white;display:flex;flex-direction:column;justify-content:space-between}
.frm-club .frm-club-card:after{content:'';pointer-events:none;position:absolute;width:210px;height:210px;right:-80px;bottom:-90px;border:26px solid #ffe59d1c;border-radius:50%}
.frm-club .frm-club-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;position:relative;z-index:1}
.frm-club .frm-club-card-kicker{display:block;color:#f4deac;font-weight:850;letter-spacing:1.6px;font-size:11px;margin-bottom:8px}
.frm-club .frm-club-tier{display:block;color:#ffd774;letter-spacing:1.5px;font-size:clamp(37px,8vw,66px);line-height:1.1;font-weight:950}
.frm-club .frm-club-tier-mark{font-size:clamp(60px,11vw,102px);color:#ffdc81;text-shadow:0 0 24px #ffd37644;line-height:1}
.frm-club .frm-club-bronze .frm-club-tier,.frm-club .frm-club-bronze .frm-club-tier-mark{color:#ecc09b}
.frm-club .frm-club-vip .frm-club-tier,.frm-club .frm-club-vip .frm-club-tier-mark{color:#f6ebff}
.frm-club .frm-club-card-footer{position:relative;z-index:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.frm-club .frm-club-card-footer span{font-size:11px;color:#f6ddff}
.frm-club .frm-club-card-footer strong{font-size:clamp(15px,3vw,20px);color:#fff;font-weight:800;overflow-wrap:anywhere}
.frm-club .frm-club-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:20px}
.frm-club .frm-club-stat{background:#f9f6fc;border:1px solid var(--frm-border);border-radius:18px;padding:22px 20px;min-width:0}
.frm-club .frm-club-stat>span{display:block;color:#795c88;font-size:11px;font-weight:900;letter-spacing:.8px}
.frm-club .frm-club-stat>strong{display:block;color:#4c1b71;font-size:clamp(23px,4vw,35px);font-weight:900;margin:7px 0 4px;line-height:1.2}
.frm-club .frm-club-stat strong small{font-size:13px;color:#89609f}
.frm-club .frm-club-stat p{color:#735e78;font-size:12px;margin:0!important}
.frm-club .frm-club-progress-wrap{background:#fff;border:1px solid var(--frm-border);border-radius:18px;padding:21px;margin-top:16px}
.frm-club .frm-club-progress-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}
.frm-club .frm-club-progress-head strong{display:block;color:#3b2050;font-size:17px;font-weight:850}
.frm-club .frm-club-progress-head span{font-size:12px;color:#846f8a}
.frm-club .frm-club-progress-head b{color:#6d2597;font-size:17px}
.frm-club .frm-club-track{height:11px;background:#eae0ee;border-radius:50px;overflow:hidden}
.frm-club .frm-club-track>div{height:100%;border-radius:50px;background:linear-gradient(90deg,#a75ed2,#f8c953);transition:width .5s ease}
.frm-club .frm-club-section-head{margin:30px 0 14px}
.frm-club .frm-club-section-head h3{margin:0!important;color:#43175c!important;font-size:clamp(18px,3vw,23px)!important;font-weight:900!important;letter-spacing:.3px}
.frm-club .frm-club-section-head p{font-size:13px;margin:5px 0 0!important;color:#786380}
.frm-club .frm-club-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.frm-club .frm-club-level{background:#faf8fc;border:1px solid #e9dbea;border-radius:16px;min-width:0;display:flex;align-items:center;flex-direction:column;padding:19px 8px;gap:4px}
.frm-club .frm-club-level.is-current{background:#f6edff;border-color:#a25ccd;box-shadow:0 0 0 2px #d3a9ee33}
.frm-club .frm-club-level-icon{font-size:26px;color:#b37e38;line-height:1}
.frm-club .frm-club-level strong{font-size:13px;color:#4f2069;font-weight:900}
.frm-club .frm-club-level small{font-size:11px;color:#84688c}
.frm-club .frm-club-orders{background:#fff;border:1px solid var(--frm-border);border-radius:16px;overflow:hidden}
.frm-club .frm-club-order{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 19px;border-bottom:1px solid #eee4ee}
.frm-club .frm-club-order:last-child{border-bottom:none}
.frm-club .frm-club-order>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.frm-club .frm-club-order strong{font-size:14px;color:#3c2250;font-weight:800}
.frm-club .frm-club-order small{font-size:12px;color:#846b8b}
.frm-club .frm-club-order-amount{text-align:right}
.frm-club .frm-club-order-amount small{color:#7e4698;font-weight:700}
.frm-club .frm-club-empty{margin:0!important;padding:18px;color:#7a677b;font-size:13px}
.frm-club .frm-club-actions{margin-top:24px}
.frm-club .frm-club-cta{background:linear-gradient(180deg,#ffe698,#e9b94b);border:1px solid #d49e25;color:#431751!important;display:inline-flex;gap:14px;align-items:center;justify-content:center;min-height:48px;padding:13px 24px;text-decoration:none!important;font-size:13px;letter-spacing:.2px;font-weight:900;border-radius:40px;box-shadow:0 5px 18px #e0b45355}
.frm-club .frm-club-cta:hover{background:linear-gradient(180deg,#fff2b6,#f1c65c)}
.frm-club .frm-club-cta:focus-visible{outline:3px solid #4c1b71;outline-offset:3px}
.frm-club .frm-club-disclaimer{color:#796b7b;font-size:12px;line-height:1.6;margin-top:24px;padding:16px 19px;background:#f9f5fb;border-radius:13px}
.frm-club .frm-club-guest{background:linear-gradient(130deg,#2d0e47,#752f9a);text-align:center;border-radius:24px;color:#fff;padding:40px 25px}
.frm-club .frm-club-guest-icon{color:#ffdb86;font-size:39px}
.frm-club .frm-club-guest h2{font-size:38px;color:#ffe29a!important;font-weight:900!important;margin:10px 0!important}
.frm-club .frm-club-guest p{color:#fff;margin:0 0 20px!important}
.frm-club .frm-club-warning{color:#7d2e35;background:#fff1f1;padding:14px;border-radius:12px}
@media(max-width:600px){.frm-club{margin:21px auto 30px;padding:0 12px}.frm-club .frm-club-hero{border-radius:21px;padding:30px 24px 27px}.frm-club .frm-club-hero:after{font-size:85px;right:-5px}.frm-club .frm-club-hero-chips{margin-top:18px}.frm-club .frm-club-card{min-height:208px;padding:25px 22px}.frm-club .frm-club-stats{gap:10px}.frm-club .frm-club-stat{padding:15px 12px}.frm-club .frm-club-stat>span{font-size:10px}.frm-club .frm-club-stat p{font-size:11px}.frm-club .frm-club-progress-wrap{padding:16px}.frm-club .frm-club-order{padding:13px 12px}.frm-club .frm-club-level{padding:16px 5px}.frm-club .frm-club-cta{display:flex;width:100%}}
@media(max-width:355px){.frm-club .frm-club-level strong{font-size:11px}.frm-club .frm-club-stat>strong{font-size:21px}.frm-club .frm-club-hero-chips span{font-size:10px;padding:6px 9px}}

/* v1.2 — link visibile e coerente nell'area cliente */
.frm-club-account-entry{display:flex;flex-wrap:wrap;gap:12px;align-items:center;max-width:100%;margin:18px 0 24px;padding:16px;background:linear-gradient(115deg,#331346,#602280);border:1px solid #e1b953;border-radius:16px;color:#fff!important;box-sizing:border-box;box-shadow:0 9px 21px #2b0e4026}
.frm-club-account-entry *{box-sizing:border-box}
.frm-club-account-entry-icon{font-size:29px;color:#f5d57c}
.frm-club-account-entry>div{display:flex;flex-direction:column;gap:3px;flex:1;min-width:135px}
.frm-club-account-entry strong{color:#ffe292;font-size:17px}
.frm-club-account-entry span{font-size:12px;color:#f1ddff}
.frm-club-account-entry>a{border-radius:35px;padding:11px 17px;background:linear-gradient(#ffe498,#e3ac38);color:#321244!important;text-decoration:none!important;font-size:12px;font-weight:900;white-space:normal;text-align:center}
.frm-club-account-entry>a:focus-visible{outline:3px solid white;outline-offset:3px}
@media(max-width:480px){.frm-club-account-entry>a{width:100%}}


/* FRM Club v1.5 — only the dedicated Club page, not the account or menu.
   Hide the theme-generated WordPress page title; keep FRM CLUB purple hero intact. */
body.frm-club-dedicated-page main .entry-header,
body.frm-club-dedicated-page .site-main .page-header,
body.frm-club-dedicated-page .site-main .entry-title,
body.frm-club-dedicated-page h1.entry-title,
body.frm-club-dedicated-page h1.page-title,
body.frm-club-dedicated-page .wp-block-post-title,
body.frm-club-dedicated-page .elementor-widget-theme-post-title {
    display:none!important;
}
/* Remove extra gap reserved by the title area. */
body.frm-club-dedicated-page .entry-content,
body.frm-club-dedicated-page .page-content {
    margin-top:0!important;
}
/* Same top spacing as FRM Box Creator v1.3 (relative to parent content).
   Desktop 38px; phone 48px. */
body.frm-club-dedicated-page .frm-club {
    margin-top:0!important;
    padding-top:38px!important;
}
@media(max-width:710px){
    body.frm-club-dedicated-page .frm-club {padding-top:48px!important;}
}
