/* FRM Box Creator – styles fully scoped; compatible with Elementor and WooCommerce themes. */
.frm-box,.frm-box *{box-sizing:border-box!important}
.frm-box{--fb-purple:#531677;--fb-purple2:#872db3;--fb-gold:#eec453;--fb-ink:#261333;--fb-muted:#725e7c;--fb-border:#eee5f2;font-family:inherit;color:var(--fb-ink);max-width:1190px;width:100%;margin:0 auto 42px;overflow:clip;line-height:1.4}
.frm-box [hidden]{display:none!important}
.frm-box button,.frm-box input,.frm-box select{font:inherit}
.frm-box-hero{position:relative;overflow:hidden;border-radius:24px;padding:34px 40px;background:radial-gradient(circle at 85% 18%,#ac4dcb 0,transparent 37%),linear-gradient(120deg,#2c0b43,#5d1784 60%,#8625af);color:#fff;box-shadow:0 12px 35px #4c1b7729;min-height:230px;display:flex;align-items:center;justify-content:space-between;isolation:isolate}
.frm-box-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle,#fff5c2 1px,transparent 2px);background-size:78px 92px;opacity:.18;z-index:-1}
.frm-box-hero-copy{position:relative;z-index:2;max-width:670px}.frm-box-eyebrow{font-size:12px;letter-spacing:2.4px;font-weight:900;color:#ffe8a4;margin-bottom:9px}.frm-box-hero h2{color:#ffdf79!important;line-height:1.05!important;font-weight:900!important;letter-spacing:.7px;margin:0 0 13px!important;font-size:clamp(30px,4.2vw,53px)!important;text-shadow:0 3px 9px #1c042e8a!important}.frm-box-hero p{color:#fff!important;font-size:clamp(14px,1.6vw,18px)!important;margin:0 0 20px!important;max-width:570px}.frm-box-pills{display:flex;gap:8px;flex-wrap:wrap}.frm-box-pills span{font-weight:700;font-size:12px;border:1px solid #f2d67b7a;border-radius:20px;color:#fff5d1;background:#18032852;padding:7px 10px}.frm-box-hero-deco{position:relative;min-width:180px;height:175px;display:grid;place-items:center}.frm-box-hero-gift{font-size:115px;line-height:1;transform:rotate(-8deg);filter:drop-shadow(0 10px 15px #13041caa)}.frm-box-hero-spark{position:absolute;color:#ffe6a6;top:4px;right:20px;font-size:45px;text-shadow:0 0 24px #fff0a7}.frm-box-hero-spark.bottom{top:auto;right:auto;bottom:15px;left:12px;font-size:24px}
.frm-box-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,330px);align-items:start;gap:22px;margin-top:28px}.frm-box-catalog{min-width:0}.frm-box-section-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:0 0 14px}.frm-box-step{font-size:11px;letter-spacing:2px;font-weight:900;color:#852dac}.frm-box-section-heading h3,.frm-box-summary h3{margin:5px 0 0!important;color:#38154c!important;font-weight:850!important;font-size:24px!important;line-height:1.16!important}.frm-box-product-count{font-size:12px;color:#6e5c77;white-space:nowrap}.frm-box-controls{display:grid;grid-template-columns:1fr 180px;gap:10px;margin-bottom:16px}.frm-box-search{border:1px solid #e7dced;border-radius:12px;display:flex;align-items:center;background:#fff;padding:0 13px;min-width:0}.frm-box-search span{font-size:30px;line-height:1;color:#8c53a3}.frm-box-search input,.frm-box-category-select{min-width:0;width:100%;height:46px!important;line-height:1.3!important;outline:0!important;box-shadow:none!important;background:white!important;border:0!important;font-size:14px!important;color:#422b50!important;margin:0!important;padding:8px!important}.frm-box-category-select{border:1px solid #e7dced!important;border-radius:12px!important}.frm-box-search:focus-within,.frm-box-category-select:focus{border-color:#a04bc4!important;box-shadow:0 0 0 3px #aa54ce20!important}.frm-box-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.frm-box-product{min-width:0;background:#fff;border:1px solid #eadfeb;border-radius:18px;overflow:hidden;box-shadow:0 6px 20px #2d103b0b;transition:border-color .2s,box-shadow .2s;display:flex;flex-direction:column}.frm-box-product.is-selected{border-color:#c58bda;box-shadow:0 6px 24px #792ca125}.frm-box-product.is-unavailable{opacity:.66}.frm-box-product-image{height:172px;display:grid;place-items:center;background:linear-gradient(150deg,#fbf7ff,#f1e6f7);padding:13px;overflow:hidden}.frm-box-product-image img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;mix-blend-mode:multiply}.frm-box-product-image span{font-size:65px}.frm-box-product-body{padding:15px;display:flex;flex:1;flex-direction:column;gap:8px}.frm-box-product-tag{color:#76249d;font-weight:900;letter-spacing:1.15px;font-size:9px}.frm-box-product.is-unavailable .frm-box-product-tag{color:#9e2330}.frm-box-product h4{font-size:16px!important;font-weight:800!important;margin:0!important;line-height:1.3!important;color:#2e133c!important;overflow-wrap:anywhere}.frm-box-product-bottom{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-top:auto;padding-top:7px}.frm-box-price{font-size:19px;font-weight:900;color:#7623a0;white-space:nowrap}.frm-box-price .amount,.frm-box-price bdi{color:inherit!important;font-size:inherit!important;font-weight:inherit!important}.frm-box-stepper{display:flex;align-items:center;background:#f6effa;border:1px solid #e6d8ed;border-radius:12px;padding:3px;gap:2px;flex-shrink:0}.frm-box-stepper button{font-size:20px!important;font-weight:800!important;line-height:1!important;min-width:30px!important;height:32px!important;border:0!important;background:#fff!important;color:#6d218d!important;border-radius:9px!important;padding:0!important;cursor:pointer!important;box-shadow:0 1px 3px #30103d16!important}.frm-box-stepper button:disabled{color:#b7a6bf!important;background:#f9f6fb!important;cursor:default!important}.frm-box-qty{min-width:24px;text-align:center;font-weight:850;color:#3d164f;font-size:15px}.frm-box-noresults{text-align:center;padding:30px;background:#faf8fb;border-radius:12px;color:#725c7e}
.frm-box-summary{border:1px solid #e8d7ec;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 13px 35px #38104b19;position:sticky;top:24px}.frm-box-summary-top{padding:21px 21px 0}.frm-box-summary-top h3{font-size:25px!important}.frm-box-summary-top p{margin:8px 0 0!important;color:#80698b!important;font-size:13px!important}.frm-box-summary-graphic{min-height:150px;position:relative;display:grid;place-items:center;margin:7px 17px 5px;border-radius:16px;background:radial-gradient(ellipse at 50% 80%,#e4bbee,transparent 65%),linear-gradient(#fbf5ff,#f8effc)}.frm-box-present{font-size:91px;filter:drop-shadow(0 12px 12px #57207c24)}.frm-box-bubble{position:absolute;bottom:8px;right:12px;padding:5px 11px;background:#702297;color:#fff;font-size:11px;font-weight:850;border-radius:50px}.frm-box-selection{padding:6px 21px 17px;max-height:235px;overflow:auto}.frm-box-summary-placeholder{color:#87778e;font-size:13px;text-align:center;margin:7px 0!important}.frm-box-summary-line{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dashed #eddfef;padding:10px 0;font-size:13px;color:#45314d}.frm-box-summary-line span{overflow-wrap:anywhere;min-width:0}.frm-box-summary-line strong{white-space:nowrap;color:#7625a0}.frm-box-summary-bottom{background:#fbf7fc;border-top:1px solid #eee0f1;padding:19px 21px 21px}.frm-box-total{display:flex;align-items:center;justify-content:space-between;gap:12px}.frm-box-total span{font-size:14px;color:#6b5874;font-weight:650}.frm-box-total strong{color:#4e176a;font-size:clamp(21px,2.6vw,28px);font-weight:950;white-space:nowrap}.frm-box-minimum{font-size:12px!important;color:#856b90!important;margin:5px 0 14px!important}.frm-box-add-to-cart{width:100%;min-height:52px;background:linear-gradient(125deg,#fff1a1,#e3b036)!important;color:#361449!important;border:1px solid #cc982f!important;border-radius:12px!important;box-shadow:0 5px 14px #d29c4a38!important;font-size:12px!important;letter-spacing:.2px;font-weight:900!important;cursor:pointer;padding:12px!important;display:flex;align-items:center;justify-content:center;gap:10px;text-align:center}.frm-box-add-to-cart:disabled{background:#ddd6df!important;box-shadow:none!important;border-color:#ddd6df!important;color:#85748d!important;cursor:default}.frm-box-taxes{font-size:11px;color:#8b7b94;line-height:1.35;display:block;margin-top:12px}.frm-box-feedback{border-radius:12px;padding:14px;margin-top:12px;font-size:13px}.frm-box-feedback.is-success{background:#edf9ef;border:1px solid #b4dfbc;color:#174d25}.frm-box-feedback.is-error{background:#fff0f2;border:1px solid #f3c3c9;color:#8a2137}.frm-box-feedback p{margin:6px 0 10px!important}.frm-box-cart-link{display:block;text-align:center;background:#64208d;color:#fff!important;text-decoration:none!important;border-radius:9px;padding:10px 14px;font-weight:900}.frm-box-notice,.frm-box-empty{border-radius:15px;border:1px dashed #bfa6ce;padding:28px;text-align:center;background:#f9f4fb}.frm-box-empty strong{font-size:20px;color:#5d247e}.frm-box-empty p{color:#756481}
@media(max-width:940px){.frm-box-layout{grid-template-columns:minmax(0,1fr) minmax(270px,290px);gap:14px}.frm-box-product-grid{gap:10px}.frm-box-product-image{height:140px}.frm-box-product-body{padding:12px}.frm-box-price{font-size:16px}.frm-box-stepper button{min-width:26px!important;height:29px!important}.frm-box-hero{padding:28px}}
@media(max-width:710px){.frm-box{max-width:100%!important;padding:0 12px 18px!important;margin:0 auto 25px!important}.frm-box-hero{padding:26px 20px!important;border-radius:18px!important;min-height:190px}.frm-box-hero-deco{min-width:95px;height:100px}.frm-box-hero-gift{font-size:72px}.frm-box-hero-spark{font-size:22px}.frm-box-hero h2{font-size:clamp(27px,6.3vw,42px)!important}.frm-box-hero p{font-size:14px!important}.frm-box-eyebrow{font-size:9px;letter-spacing:1.5px}.frm-box-pills span{font-size:10px;padding:5px 7px}.frm-box-layout{display:flex;flex-direction:column;gap:23px;margin-top:25px}.frm-box-catalog,.frm-box-summary{width:100%}.frm-box-summary{position:static}.frm-box-product-image{height:145px}.frm-box-summary-graphic{min-height:120px}.frm-box-present{font-size:77px}}
@media(max-width:420px){.frm-box-hero{padding:25px 17px!important;min-height:205px}.frm-box-hero-deco{min-width:64px}.frm-box-hero-gift{font-size:58px}.frm-box-hero p{max-width:290px}.frm-box-pills span{font-size:9px}.frm-box-controls{grid-template-columns:1fr;gap:9px}.frm-box-product-grid{gap:9px}.frm-box-product-image{height:121px;padding:10px}.frm-box-product-body{padding:10px 9px}.frm-box-product h4{font-size:13px!important;min-height:34px}.frm-box-product-tag{font-size:8px}.frm-box-product-bottom{flex-wrap:wrap;align-items:flex-end;gap:7px}.frm-box-price{font-size:17px}.frm-box-stepper{margin-left:auto}.frm-box-stepper button{min-width:30px!important;height:31px!important}.frm-box-section-heading h3{font-size:21px!important}.frm-box-product-count{font-size:10px}}
@media(prefers-reduced-motion:reduce){.frm-box *{transition:none!important}}

/* v1.2: extra breathing room below the PayPal/header bar; prevents the purple hero from touching it. */
.frm-box { padding-top: 38px !important; }
@media (max-width:710px) { .frm-box { padding-top: 48px !important; } }


/* v1.3 — Hide ONLY the WordPress page's automatic title on the Box Creator page.
   Keep the purple hero title, navigation, PayPal banner and WooCommerce untouched. */
body.frm-box-creator-page main .entry-header,
body.frm-box-creator-page .site-main .page-header,
body.frm-box-creator-page h1.entry-title,
body.frm-box-creator-page h1.page-title,
body.frm-box-creator-page .wp-block-post-title,
body.frm-box-creator-page .elementor-widget-theme-post-title {
 display:none!important;
}
body.frm-box-creator-page .entry-content,
body.frm-box-creator-page .page-content {
 margin-top:0!important;
}
/* The exact spacing previously approved for v1.2. */
body.frm-box-creator-page .frm-box{padding-top:38px!important;margin-top:0!important;}
@media(max-width:710px){body.frm-box-creator-page .frm-box{padding-top:48px!important;}}
