/* ============================================================================
   Choice Flowers — Weekly Subscription landing page
   ----------------------------------------------------------------------------
   Loaded ONLY on pages using the "Subscription Landing" template
   (page-subscription.php). See includes/cf-subscription.php.

   Typeface: Inter only. Verified against the design by glyph-shape IoU —
   Inter scored 0.68-0.76, Playfair Display 0.45. There is no serif on this
   page. Inter is already the site-wide family (functions.php enqueues it).

   Every colour, dimension and type size below was measured from the approved
   reference art, not estimated. Card geometry comes from the 1414px-wide
   reference scaled x0.903; section heights hold their proportions to 0.26%.

   All rules are scoped under .cf-sub so nothing leaks into the theme.
   ============================================================================ */

.cf-sub{
  /* ---- section palette ---- */
  --cf-deep:     #022B2A;   /* brand dark - nav/footer green, reused by the
                               composer summary panel. Must be declared here:
                               the nav and footer come from the parent theme, so
                               this stylesheet is the only place the composer can
                               get it from. Without it the panel loses its
                               background and the CTA renders white-on-white. */
  --cf-lav:      #F6F5F8;   /* philosophy background   */
  --cf-grey8:    #F8F8F8;   /* press bar + testimonial */
  --cf-red:      #F93658;   /* features bar            */
  --cf-magenta:  #A85399;   /* testimonial heading     */
  --cf-atl-l:    #932996;   /* atelier gradient left   */
  --cf-atl-r:    #7C2DB3;   /* atelier gradient right  */

  /* ---- tier cards: light = outside arc, dark = inside arc ---- */
  --cf-t1-l:#676DC8; --cf-t1-d:#6065C7;   /* Classic  */
  --cf-t2-l:#5776B2; --cf-t2-d:#4269AE;   /* Premium  */
  --cf-t3-l:#C2494B; --cf-t3-d:#B13C3F;   /* Luxury   */
  --cf-t4-l:#80B49A; --cf-t4-d:#75AC8E;   /* Plant    */

  /* ---- process step cards: bright top band + dark text band ---- */
  --cf-s1:#1D9EF6; --cf-s1-d:#071724;
  --cf-s2:#FE548B; --cf-s2-d:#250D15;
  --cf-s3:#FEAB08; --cf-s3-d:#251803;
  --cf-s4:#FFDB31; --cf-s4-d:#252105;

  --cf-ink:#111; --cf-body:#444; --cf-muted:#777;

  /* ---- measured type scale @1280 design width ---- */
  --cf-fs-body:23px;  --cf-fs-kicker:23px;  --cf-fs-h2:76px;
  --cf-fs-h2p:94px;   --cf-fs-testi:56px;   --cf-fs-faql:44px;
  --cf-fs-faqh:70px;  --cf-fs-atl:43.8px;   --cf-fs-heroh:61px;
  --cf-fs-herok:25px;

  --cf-sans:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;

  font-family:var(--cf-sans);
  font-size:var(--cf-fs-body);
  line-height:1.62;
  color:var(--cf-body);
  background:#fff;
  -webkit-font-smoothing:antialiased;
}

/* ---- neutralise Gutenberg defaults inside this page only ---- */
.cf-sub *,.cf-sub *::before,.cf-sub *::after{box-sizing:border-box}
.cf-sub p,.cf-sub h1,.cf-sub h2,.cf-sub h3,.cf-sub h4,.cf-sub figure{margin:0}
.cf-sub img{display:block;max-width:100%;height:auto}
.cf-sub a{text-decoration:none;color:inherit}
.cf-sub .wp-block-columns{margin-block:0;gap:0;flex-wrap:nowrap!important;align-items:flex-start}
.cf-sub .wp-block-column{margin:0;word-break:normal;overflow-wrap:normal}
.cf-sub .wp-block-image,.cf-sub .wp-block-image figure{margin:0}
.cf-sub .wp-block-buttons{margin:0;gap:0}

/* ---- core-block layout, restated so this page never depends on the load
        order of wp-block-library and renders identically in the editor ---- */
.cf-sub .wp-block-columns{display:flex}
.cf-sub .wp-block-column{flex:1 1 0%;min-width:0}
.cf-sub .wp-block-buttons{display:flex;flex-wrap:wrap}
.cf-sub .wp-block-button{display:inline-block}
.cf-sub .wp-block-button__link{display:inline-block;text-decoration:none;cursor:pointer}
.cf-sub .wp-block-cover{position:relative;display:flex;align-items:center;justify-content:flex-start}
.cf-sub .wp-block-cover__image-background{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;margin:0;z-index:0}
.cf-sub .wp-block-cover__background{position:absolute;inset:0;z-index:1}
.cf-sub .wp-block-cover__inner-container{position:relative;z-index:2}
.cf-sub .wp-block-details summary{display:list-item}

/* ---- shared section furniture ---- */
.cf-sub-inner{max-width:1280px;margin:0 auto;padding:0 24px}
.cf-sub .cf-kicker{font-size:var(--cf-fs-kicker);color:var(--cf-muted);font-weight:400;line-height:1.3}
.cf-sub .cf-h2{font-size:var(--cf-fs-h2);font-weight:800;line-height:1.14;
               color:var(--cf-ink);letter-spacing:-1.5px}
.cf-sub .cf-lede{max-width:930px;margin-inline:auto!important;color:var(--cf-body);line-height:1.6}

/* ---- measured gradient headlines ---- */
.cf-sub .cf-grad-warm{
  background:linear-gradient(90deg,#0F82DD 0%,#1480CE 22%,#CF64D1 40%,#CD437F 55%,#D64B4C 74%,#D85329 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.cf-sub .cf-grad-green{
  background:linear-gradient(90deg,#138226 0%,#1B815C 32%,#21846E 55%,#2B8E88 78%,#24929C 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}

/* ═══════════════════════ HERO ═══════════════════════ */
.cf-sub .cf-hero{position:relative;min-height:722px;display:flex;align-items:center;
                 padding:0;overflow:hidden}
/* Focus on the flower bowl (about 82% across, 65% down the 8647x3768
   inside-banner photo): at 80% 60% it stays on the right, clear of the text,
   from 641px up to wide desktops. */
.cf-sub .cf-hero .wp-block-cover__image-background{object-position:80% 60%}
.cf-sub .cf-hero .wp-block-cover__background{
  background:linear-gradient(90deg,rgba(8,10,6,.62) 0%,rgba(8,10,6,.34) 34%,
             rgba(8,10,6,.06) 60%,transparent 78%)!important;opacity:1!important}
.cf-sub .cf-hero .wp-block-cover__inner-container{width:100%;max-width:none;padding:0 0 0 7%}
.cf-sub .cf-hero-tx{max-width:620px;color:#fff}
.cf-sub .cf-hero-k{font-size:var(--cf-fs-herok);font-weight:400;opacity:.94;margin-bottom:16px!important}
.cf-sub .cf-hero-h1{font-size:var(--cf-fs-heroh);font-weight:800;line-height:1.12;
                    letter-spacing:-1.2px;margin-bottom:22px!important;color:#fff}
.cf-sub .cf-hero-p{font-size:21px;font-weight:300;line-height:1.62;opacity:.93}

/* ═══════════════════════ PRESS BAR ═══════════════════════ */
.cf-sub .cf-press{background:var(--cf-grey8);min-height:48px;display:flex;align-items:center;
                  justify-content:center;gap:34px;flex-wrap:wrap;padding:0 20px}
.cf-sub .cf-press p{font-size:15px;color:#9a9a9e;white-space:nowrap}
.cf-sub .cf-press p:first-child{color:#6f6f74}

/* ═══════════════════════ PHILOSOPHY ═══════════════════════ */
.cf-sub .cf-philo{background:var(--cf-lav);text-align:center;padding:118px 0 172px}
.cf-sub .cf-philo .cf-kicker{margin-bottom:22px!important}
.cf-sub .cf-philo .cf-h2{margin-bottom:34px!important}
.cf-sub .cf-philo .cf-lede{max-width:900px}

/* ═══════════════════════ COLLECTION ═══════════════════════ */
.cf-sub .cf-coll{background:#fff;text-align:center;padding:80px 0 176px}
.cf-sub .cf-coll .cf-kicker{margin-bottom:20px!important}
.cf-sub .cf-coll .cf-h2{margin-bottom:26px!important}
.cf-sub .cf-coll .cf-lede{max-width:940px;margin-bottom:64px!important}

/* card rail — measured: rail 92% of page, gap 1.30% of rail */
.cf-sub .cf-rail{width:92%;margin:0 auto!important;gap:0 1.30%!important}

/* card — radius 13px top / 35px bottom, photo = 33.9% of card height */
.cf-sub .cf-tier{border-radius:13px 13px 35px 35px;overflow:hidden;color:#fff;
                 text-align:center;display:flex;flex-direction:column;min-height:533px}
.cf-sub .cf-tier>figure,.cf-sub .cf-tier>.wp-block-image{flex:0 0 181px;width:100%}
.cf-sub .cf-tier>.wp-block-image img,.cf-sub .cf-tier>figure img{
  width:100%;height:181px;object-fit:cover}

/* Inner arc shading — EXACT shape, traced from the reference art.
   Each card's arc was measured independently by sub-pixel 50%-crossing
   detection down every column; the four cards genuinely differ, so each
   gets its own clip path. Premium is the odd one out: its light region is
   a pair of asymmetric wedges (left sliver + top-right wedge), not a dome,
   so cfArc2 carries two subpaths. Paths use objectBoundingBox units and
   therefore scale with the card. Contrast is only ~7-38/255, as measured. */
.cf-sub .cf-tier>.cf-body{flex:1;display:flex;flex-direction:column;align-items:center;
                          padding:48px 15px 0;position:relative}
.cf-sub .cf-tier>.cf-body>*{position:relative;z-index:1}
.cf-sub .cf-tier>.cf-body::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none}
.cf-sub .cf-t1>.cf-body{background:var(--cf-t1-d)}
.cf-sub .cf-t2>.cf-body{background:var(--cf-t2-d)}
.cf-sub .cf-t3>.cf-body{background:var(--cf-t3-d)}
.cf-sub .cf-t4>.cf-body{background:var(--cf-t4-d)}
.cf-sub .cf-t1>.cf-body::before{background:var(--cf-t1-l);-webkit-clip-path:url(#cfArc1);clip-path:url(#cfArc1)}
.cf-sub .cf-t2>.cf-body::before{background:var(--cf-t2-l);-webkit-clip-path:url(#cfArc2);clip-path:url(#cfArc2)}
.cf-sub .cf-t3>.cf-body::before{background:var(--cf-t3-l);-webkit-clip-path:url(#cfArc3);clip-path:url(#cfArc3)}
.cf-sub .cf-t4>.cf-body::before{background:var(--cf-t4-l);-webkit-clip-path:url(#cfArc4);clip-path:url(#cfArc4)}

/* card type — every value measured from the reference ink positions */
.cf-sub .cf-tier .cf-tier-name{font-size:21.5px;font-weight:700;line-height:1.1;
                               letter-spacing:-.2px;margin-bottom:11px!important;color:#fff}
.cf-sub .cf-tier .cf-stems{font-size:13px;font-weight:400;line-height:1.3;opacity:.95;
                           margin-bottom:14px!important}
.cf-sub .cf-tier .cf-price{font-size:12.6px;font-weight:700;line-height:1.43;margin-bottom:13px!important}
.cf-sub .cf-tier .cf-feats{font-size:12.6px;font-weight:400;line-height:1.48;margin-bottom:30px!important}
/* WordPress adds "is-layout-flex" to the buttons wrapper when it RENDERS the
   block - that class is not in the saved markup, so this only misbehaves on the
   front end. Core's layout CSS leaves justify-content at its initial value
   while the wrapper stretches wider than the pill, which parked the button
   50-60px left of the card centre. Forcing the wrapper to full width and
   centring its content fixes it at every breakpoint.
   The pill is padding-sized rather than fixed-width so the label always has
   breathing room either side; min-width keeps the short "Notify Me" pill from
   collapsing narrower than the rest. */
.cf-sub .cf-tier .wp-block-buttons{width:100%;justify-content:center;margin:0}
/* line-height:0 kills the line-box strut. The pill is inline-level, so the
   .wp-block-button block otherwise forms a 37px line box around a 27px pill
   and pushes the card 8px taller than the measured 533px. */
.cf-sub .cf-tier .wp-block-button{margin:0 0 56px;line-height:0}
.cf-sub .cf-tier .wp-block-button__link{background:#fff;border:0;border-radius:999px;
  width:auto;min-width:84px;height:27px;padding:0 16px;font-family:var(--cf-sans);
  font-size:10.5px;font-weight:600;line-height:1;white-space:nowrap;
  display:inline-flex;align-items:center;justify-content:center;vertical-align:top}
.cf-sub .cf-t1 .wp-block-button__link{color:#5457b8}
.cf-sub .cf-t2 .wp-block-button__link{color:#3a5f9f}
.cf-sub .cf-t3 .wp-block-button__link{color:#a33338}
.cf-sub .cf-t4 .wp-block-button__link{color:#4f8a6e}
.cf-sub .cf-tier .wp-block-button__link:hover{opacity:.9}

/* ═══════════════════════ TESTIMONIAL ═══════════════════════ */
.cf-sub .cf-testi{background:var(--cf-grey8);text-align:center;padding:160px 0 158px}
.cf-sub .cf-testi .cf-testi-name{font-size:var(--cf-fs-testi);font-weight:700;
  color:var(--cf-magenta);line-height:1.18;margin-bottom:30px!important;letter-spacing:-1px}
.cf-sub .cf-testi .cf-quote{font-size:23px;color:#555;line-height:1.62;max-width:600px;
  margin:0 auto!important;font-weight:300}

/* ═══════════════════════ ATELIER ═══════════════════════
   Rebuilt from the high-resolution reference (section 1055x698), scaled to
   the 1280 design width by x1.2133. Every number below is measured:

     section height   66.16% of width            -> 847px
     container        80.8% of section, centred  -> 1034px
     photo track      40.1% of container         -> 415px
     gutter           12.0% of container         -> 124px
     text track       47.9% of container         -> 495px
     photo            415 x 485, square corners  (aspect 0.855)
     content top      28.5% of section height    -> 241px

   The photo's top edge and the heading's first ink row both sit at 241px in
   the reference, so the two columns are TOP-aligned, not centre-aligned. The
   photo therefore needs a small top margin to offset the heading's line-box
   leading, otherwise it rides ~25px above the heading's cap line.
   ------------------------------------------------------------------------ */
.cf-sub .cf-atelier{background:linear-gradient(90deg,var(--cf-atl-l) 0%,var(--cf-atl-r) 100%);
                    min-height:847px;display:block;padding:220px 0 0}
.cf-sub .cf-atelier-cols{display:grid!important;grid-template-columns:40.1% 1fr;
  gap:0 12%;align-items:start;max-width:1034px;margin:0 auto!important;
  width:100%;padding:0}
.cf-sub .cf-atelier-cols>.wp-block-column{flex:none;width:auto;min-width:0}
.cf-sub .cf-atelier-img{margin-top:21px}
.cf-sub .cf-atelier-img img{width:100%;height:485px;object-fit:cover;border-radius:0}
.cf-sub .cf-atelier-tx{color:#fff}
/* Heading metrics solved from the reference glyphs, not guessed:
   line-2 ink height is 41px -> font-size 43.8px; and the reference's ink
   aspect (12.0) is wider than ANY Inter weight at zero tracking, so the
   design carries POSITIVE tracking - +1.6px reproduces the 495px measured
   width exactly. Weight 800 confirmed by glyph IoU (0.636 vs 0.552 at 600).
   nowrap: the heading exactly fills its 495px track, so sub-pixel rounding
   could otherwise spill "week" onto a third line - the bug this section had.
   The line break is explicit in the markup. */
.cf-sub .cf-atelier-h2{font-size:var(--cf-fs-atl);font-weight:800;line-height:1.69;
  margin-bottom:4px!important;letter-spacing:1.6px;color:#fff;white-space:nowrap}
.cf-sub .cf-atelier-p{font-size:18.6px;font-weight:300;line-height:1.2;opacity:.95;
  margin-bottom:55px!important}
.cf-sub .cf-atelier-sig{font-size:22.5px;line-height:1.19;font-weight:300}
.cf-sub .cf-atelier-sig strong{font-weight:600;display:block}

/* ═══════════════════════ PROCESS ═══════════════════════ */
.cf-sub .cf-proc{background:#fff;text-align:center;padding:180px 0 214px}
.cf-sub .cf-proc .cf-kicker{margin-bottom:22px!important}
.cf-sub .cf-proc-h2{font-size:var(--cf-fs-h2p);font-weight:800;line-height:1.1;
  margin-bottom:30px!important;letter-spacing:-2px}
.cf-sub .cf-proc .cf-lede{max-width:760px;margin-bottom:64px!important}

.cf-sub .cf-steps{width:88.3%;margin:0 auto!important;gap:0 2.4%!important}
.cf-sub .cf-step{border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-height:284px}
.cf-sub .cf-step-top{flex:0 0 55.4%;display:grid;place-items:center;padding:12px 0}
.cf-sub .cf-step-num{font-size:90px;font-weight:800;color:#fff;line-height:1;margin:0}
.cf-sub .cf-step-bot{flex:1;padding:18px 18px 22px;text-align:left;color:#fff}
.cf-sub .cf-step-bot h4{font-size:17px;font-weight:700;margin-bottom:9px!important;
  line-height:1.2;letter-spacing:-.2px;color:#fff}
.cf-sub .cf-step-bot p{font-size:13px;font-weight:300;line-height:1.6;opacity:.86}
.cf-sub .cf-s1 .cf-step-top{background:var(--cf-s1)} .cf-sub .cf-s1 .cf-step-bot{background:var(--cf-s1-d)}
.cf-sub .cf-s2 .cf-step-top{background:var(--cf-s2)} .cf-sub .cf-s2 .cf-step-bot{background:var(--cf-s2-d)}
.cf-sub .cf-s3 .cf-step-top{background:var(--cf-s3)} .cf-sub .cf-s3 .cf-step-bot{background:var(--cf-s3-d)}
.cf-sub .cf-s4 .cf-step-top{background:var(--cf-s4)} .cf-sub .cf-s4 .cf-step-bot{background:var(--cf-s4-d)}

/* ═══════════════════════ FEATURES BAR ═══════════════════════ */
.cf-sub .cf-feat{background:var(--cf-red);padding:152px 0 156px}
.cf-sub .cf-feat-cols{width:80.2%;margin:0 auto!important;gap:0 3%!important}
.cf-sub .cf-feat-cols>.wp-block-column{text-align:left;color:#fff}
.cf-sub .cf-feat-cols h4{font-size:31px;font-weight:700;line-height:1.2;
  margin-bottom:9px!important;letter-spacing:-.5px;color:#fff}
.cf-sub .cf-feat-cols p{font-size:13px;font-weight:300;line-height:1.55;opacity:.92;max-width:210px}
/* Feature icons (white PNG on transparent, served at 144px for retina):
   left-aligned with the heading, 18px above it; 56px on phones. */
.cf-sub .cf-feat-icon{margin:0 0 18px!important}
.cf-sub .cf-feat-icon img{width:72px!important;height:72px!important;object-fit:contain;display:block}
@media (max-width:640px){
  .cf-sub .cf-feat-icon{margin-bottom:12px!important}
  .cf-sub .cf-feat-icon img{width:56px!important;height:56px!important}
}

/* ═══════════════════════ FAQ ═══════════════════════ */
.cf-sub .cf-faq{background:#fff;padding:114px 0 120px}
.cf-sub .cf-faq-in{width:64.2%;margin:0 auto;text-align:left}
.cf-sub .cf-faq-label{font-size:var(--cf-fs-faql);color:#3a3a3a;font-weight:400;
  line-height:1.25;margin-bottom:14px!important}
.cf-sub .cf-faq-h2{font-size:var(--cf-fs-faqh);font-weight:800;color:var(--cf-ink);
  line-height:1.15;margin-bottom:56px!important;letter-spacing:-1.6px}
.cf-sub .cf-faq-in .wp-block-details{border-top:1px solid #e9e9ec;padding:0;margin:0}
.cf-sub .cf-faq-in .wp-block-details:last-of-type{border-bottom:1px solid #e9e9ec}
.cf-sub .cf-faq-in summary{list-style:none;cursor:pointer;display:flex;align-items:center;
  justify-content:space-between;gap:24px;padding:30px 0;font-size:24px;color:#2a2a2a;
  font-weight:400;line-height:1.4}
.cf-sub .cf-faq-in summary::-webkit-details-marker,
.cf-sub .cf-faq-in summary::marker{display:none;content:""}
.cf-sub .cf-faq-in summary::after{content:"";flex:none;width:34px;height:34px;border-radius:50%;
  border:1px solid #c9c9cf;background:no-repeat center/13px 13px;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%236e6e76' stroke-width='2'%3E%3Cpath d='M3 5.5 7 9.5l4-4'/%3E%3C/svg%3E");
  transition:transform .22s,border-color .22s}
.cf-sub .cf-faq-in details[open] summary::after{transform:rotate(180deg);border-color:#8d8d96}
.cf-sub .cf-faq-in .wp-block-details p{padding:0 58px 30px 0;font-size:20px;color:#5a5a5f;
  font-weight:300;line-height:1.7}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width:1279px){
  .cf-sub{--cf-fs-h2:62px;--cf-fs-h2p:76px;--cf-fs-testi:47px;--cf-fs-faql:35px;
          --cf-fs-faqh:57px;--cf-fs-atl:39px;--cf-fs-heroh:50px;--cf-fs-herok:21px;
          --cf-fs-body:20px;--cf-fs-kicker:20px}
  .cf-sub .cf-hero{min-height:610px}
  /* 641-1279px shows the medium crop, whose bouquet touches its right edge:
     anchor the photo to the right so trimming happens on the left, behind
     the text. */
  .cf-sub .cf-hero .wp-block-cover__image-background{object-position:100% 50%}
  .cf-sub .cf-hero-p{font-size:19px}
  .cf-sub .cf-step-num{font-size:74px}
  .cf-sub .cf-atelier{min-height:728px;padding:186px 0 0}
  .cf-sub .cf-atelier-img{margin-top:21px}
  .cf-sub .cf-atelier-img img{height:417px}
  .cf-sub .cf-atelier-p{font-size:16px;margin-bottom:50px!important}
  .cf-sub .cf-atelier-sig{font-size:19px}
  .cf-sub .cf-faq-in summary{font-size:21px}
}
@media (max-width:980px){
  .cf-sub{--cf-fs-h2:46px;--cf-fs-h2p:54px;--cf-fs-testi:37px;--cf-fs-faql:27px;
          --cf-fs-faqh:43px;--cf-fs-atl:32px;--cf-fs-heroh:38px;--cf-fs-herok:18px;
          --cf-fs-body:18px;--cf-fs-kicker:18px}
  .cf-sub .cf-hero{min-height:520px}
  /* Tablet and phone: the same shading at 120deg instead of 90deg (owner). */
  .cf-sub .cf-hero .wp-block-cover__background{
    background:linear-gradient(120deg,rgba(8,10,6,.62) 0%,rgba(8,10,6,.34) 34%,
               rgba(8,10,6,.06) 60%,transparent 78%)!important}
  /* Narrower text column so the bouquet on the right stays visible. */
  .cf-sub .cf-hero-tx{max-width:48%}
  .cf-sub .cf-hero-p br{display:none}
  .cf-sub .cf-press{gap:20px;padding:14px 20px}
  .cf-sub .cf-philo{padding:76px 0 100px}
  .cf-sub .cf-coll{padding:60px 0 104px}
  .cf-sub .cf-testi{padding:104px 0}
  .cf-sub .cf-proc{padding:88px 0 104px}
  .cf-sub .cf-feat{padding:80px 0}
  .cf-sub .cf-faq{padding:84px 0 92px}
  .cf-sub .cf-faq-in{width:86%}
  .cf-sub .cf-rail,.cf-sub .cf-steps{width:94%;flex-wrap:wrap!important;gap:18px!important}
  .cf-sub .cf-rail>.wp-block-column,.cf-sub .cf-steps>.wp-block-column{flex-basis:calc(50% - 9px)!important}
  .cf-sub .cf-atelier{min-height:0;padding:76px 0;display:flex;align-items:center}
  .cf-sub .cf-atelier-cols{grid-template-columns:1fr;gap:42px 0;max-width:86%}
  .cf-sub .cf-atelier-img{margin-top:0}
  .cf-sub .cf-atelier-img img{height:380px}
  .cf-sub .cf-atelier-p{font-size:16px;margin-bottom:34px!important}
  .cf-sub .cf-atelier-sig{font-size:18px}
  .cf-sub .cf-feat-cols{width:90%;flex-wrap:wrap!important;gap:34px 3%!important}
  .cf-sub .cf-feat-cols>.wp-block-column{flex-basis:calc(50% - 3%)!important}
}
@media (max-width:640px){
  .cf-sub{--cf-fs-h2:34px;--cf-fs-h2p:38px;--cf-fs-testi:27px;--cf-fs-faql:21px;
          --cf-fs-faqh:32px;--cf-fs-atl:26px;--cf-fs-heroh:30px;--cf-fs-herok:16px;
          --cf-fs-body:16px;--cf-fs-kicker:16px}
  /* Phone: text overlaid at the TOP of the photo, the bouquet below it.
     The mobile crop (1734x1181) fills a 560px-tall frame, scaled to the
     frame's height (822px wide), anchored right so the bouquet - right of
     centre in that crop - stays whole. The <picture> wrapper is
     layout-neutral so the <img> stays the cover block's absolutely
     positioned background. */
  .cf-sub .cf-hero{min-height:560px;align-items:flex-start}
  .cf-sub .cf-hero picture{display:contents}
  .cf-sub .cf-hero .wp-block-cover__image-background{object-position:100% 100%}
  .cf-sub .cf-hero .wp-block-cover__inner-container{padding:34px 6% 0}
  .cf-sub .cf-hero-tx{max-width:none}
  .cf-sub .cf-hero-p{font-size:15px}
  .cf-sub .cf-hero-p br{display:none}
  .cf-sub .cf-rail>.wp-block-column,.cf-sub .cf-steps>.wp-block-column,
  .cf-sub .cf-feat-cols>.wp-block-column{flex-basis:100%!important}
  .cf-sub .cf-step{min-height:0}
  .cf-sub .cf-faq-in{width:90%}
  .cf-sub .cf-faq-in summary{font-size:17px;padding:22px 0}
  .cf-sub .cf-faq-in .wp-block-details p{font-size:16px;padding-right:0}
}


/* ═══════════════════════ COMPOSER (purchase step) ═══════════════════════
   Added section, not part of the original reference art. Deliberately built
   from tokens already on this page so it cannot drift from the theme:
   background --cf-lav (as the philosophy band), summary panel --cf-deep,
   badges --cf-red, selected state takes the chosen tier's own colour, and the
   type comes from the existing --cf-fs-* scale. No new colours introduced.
   ---------------------------------------------------------------------- */
/* The composer is hidden until a tier's "Begin ..." button opens it, then it
   expands into view. Hiding is applied by JS (.cf-js-hidden), so with no
   JavaScript the section stays visible and the anchor link still works. */
.cf-sub .cf-compose{background:var(--cf-lav);padding:120px 0 128px}
.cf-sub .cf-compose.cf-js-hidden{display:none}
/* When opened, the script sets display:block and animates the height so the
   section slowly unfolds into view. The transition is defined here; the
   script toggles the height values. */
.cf-sub .cf-compose.cf-js-hidden.is-open{display:block}
.cf-sub .cf-compose.is-animating{overflow:hidden;
  transition:height 1.15s cubic-bezier(.4,0,.2,1), opacity .95s ease}
/* Read-only tier display in step I. */
.cf-sub .cf-tier-chosen{display:flex;flex-direction:column;gap:4px;border:1.5px solid var(--cf-deep);
  border-radius:12px;padding:16px 18px;max-width:340px}
.cf-sub .cf-tier-chosen-l{font-size:17px;font-weight:700;color:var(--cf-ink)}
.cf-sub .cf-tier-chosen-n{font-size:14px;font-weight:600;color:var(--cf-body)}
.cf-sub .cf-tier-chosen-s{font-size:13px;color:var(--cf-muted)}
.cf-sub .cf-compose-in{max-width:1280px;margin:0 auto;padding:0 24px}
.cf-sub .cf-compose-head{text-align:center;margin-bottom:64px}
.cf-sub .cf-compose-head .cf-kicker{margin-bottom:20px}
.cf-sub .cf-compose-head .cf-h2{margin-bottom:26px}
.cf-sub .cf-compose-head .cf-lede{max-width:820px}

/* selected-state accent follows the chosen tier */
.cf-sub .cf-compose[data-tier=classic]{--cf-acc:var(--cf-t1-d)}
.cf-sub .cf-compose[data-tier=premium]{--cf-acc:var(--cf-t2-d)}
.cf-sub .cf-compose[data-tier=luxury]{--cf-acc:var(--cf-t3-d)}

.cf-sub .cf-compose-grid{display:grid;grid-template-columns:1fr 360px;gap:0 56px;align-items:start}

/* ---- steps ---- */
.cf-sub .cf-cstep{background:#fff;border-radius:13px;padding:34px 34px 36px;margin-bottom:22px}
.cf-sub .cf-cstep-n{font-size:15px;font-weight:800;color:var(--cf-acc,var(--cf-t2-d));
  letter-spacing:.5px;margin-bottom:8px!important}
.cf-sub .cf-cstep-t{font-size:27px;font-weight:700;color:var(--cf-ink);line-height:1.2;
  letter-spacing:-.4px;margin-bottom:10px!important}
.cf-sub .cf-cstep-d{font-size:15px;font-weight:300;color:var(--cf-muted);line-height:1.6;
  margin-bottom:22px!important}

.cf-sub .cf-opts{display:grid;gap:12px}
.cf-sub .cf-opts-2{grid-template-columns:repeat(2,1fr)}
.cf-sub .cf-opts-3{grid-template-columns:repeat(3,1fr)}
.cf-sub .cf-opts-4{grid-template-columns:repeat(4,1fr)}

.cf-sub .cf-opt{position:relative;display:flex;flex-direction:column;gap:3px;text-align:left;
  background:#fff;border:1.5px solid #e4e4ea;border-radius:11px;padding:15px 16px;cursor:pointer;
  font-family:var(--cf-sans);transition:border-color .16s,box-shadow .16s,background .16s}
.cf-sub .cf-opt:hover{border-color:#c6c6d2}
.cf-sub .cf-opt.is-on{border-color:var(--cf-acc,var(--cf-t2-d));background:#fbfbfd;
  box-shadow:inset 0 0 0 1px var(--cf-acc,var(--cf-t2-d))}
.cf-sub .cf-opt-l{font-size:16px;font-weight:700;color:var(--cf-ink);line-height:1.25}
.cf-sub .cf-opt-n{font-size:13px;font-weight:400;color:var(--cf-muted)}
.cf-sub .cf-opt-s{font-size:12.5px;font-weight:300;color:var(--cf-muted);line-height:1.5;margin-top:2px}
.cf-sub .cf-opt-wide{padding:18px 18px 20px}
.cf-sub .cf-opt-badge{position:absolute;top:-9px;right:12px;background:var(--cf-red);color:#fff;
  font-size:10px;font-weight:600;letter-spacing:.3px;border-radius:999px;padding:3px 9px;line-height:1.4}

/* ---- v4.2 expectation-setting note + flower picker ---- */
.cf-sub .cf-brief-note{font-size:13px;line-height:1.55;color:var(--cf-muted);
  margin:16px 0 0;padding:11px 14px;background:#f7f7fa;border-radius:9px}
.cf-sub .cf-flowers{margin-top:22px;padding-top:24px;border-top:1px solid #ececf1}
.cf-sub .cf-flowers[hidden]{display:none}
.cf-sub .cf-fld-lbl{font-size:13px;font-weight:600;color:var(--cf-ink);margin:0 0 10px}
/* "optional" spelled out - v4.2 B asks for the word, not an implied absence
   of an asterisk. */
.cf-sub .cf-opt-tag{font-weight:400;color:var(--cf-muted)}
.cf-sub .cf-flower-grid{display:flex;flex-wrap:wrap;gap:9px}
/* ---- v4.2 real-vase add-on options ---- */
.cf-sub .cf-vases{display:flex;flex-direction:column;gap:10px}
.cf-sub .cf-vase-opt{cursor:pointer}
.cf-sub .cf-vase-opt input{position:absolute;opacity:0;pointer-events:none}
.cf-sub .cf-vase-img{width:38px;height:38px;border-radius:8px;object-fit:cover;
  flex:0 0 38px;background:#f0f0f4;margin-right:10px}
.cf-sub .cf-vase-opt .cf-extra-b{display:flex;align-items:center}
/* The checked vase gets the same treatment the checkbox extras get. */
.cf-sub .cf-vase-opt input:checked ~ .cf-extra-b .cf-extra-l{font-weight:700}
.cf-sub .cf-vase-opt:has(input:checked){border-color:var(--cf-deep);
  box-shadow:0 0 0 1.5px var(--cf-deep) inset}

.cf-sub .cf-flower{display:inline-flex;align-items:center;gap:9px;
  font-family:var(--cf-sans);font-size:13.5px;font-weight:600;
  color:var(--cf-ink);background:#fff;border:1.5px solid #e4e4ea;border-radius:999px;
  padding:9px 17px;cursor:pointer;transition:border-color .16s,background .16s,color .16s}
.cf-sub .cf-flower[hidden]{display:none}
/* Photos come from the Odoo catalogue and are optional - a flower with no
   photo renders as a plain pill beside ones that have them, so the team can
   add pictures gradually without the row looking broken. */
.cf-sub .cf-flower-img{width:26px;height:26px;border-radius:50%;object-fit:cover;
  flex:0 0 26px;background:#f0f0f4}
.cf-sub .cf-flower-has-img{padding-left:8px}
.cf-sub .cf-flower.is-on{background:var(--cf-deep);border-color:var(--cf-deep);color:#fff}
/* Disabled is the cap doing its job, not an error - keep it legible and
   obviously inert rather than alarming. */
.cf-sub .cf-flower:disabled{opacity:.42;cursor:not-allowed}
.cf-sub .cf-flower-cap{font-size:12.5px;color:var(--cf-muted);margin:11px 0 0}
.cf-sub .cf-flower-cap[hidden]{display:none}

/* ---- Your Design brief ---- */
.cf-sub .cf-brief{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:22px;
  padding-top:24px;border-top:1px solid #ececf1}
/* In Your Design the picker already draws the separator, so the colour/avoid
   grid should not draw a second one directly beneath it. */
.cf-sub .cf-flowers:not([hidden]) + .cf-brief{border-top:0;padding-top:0;margin-top:18px}
.cf-sub .cf-brief[hidden]{display:none}
.cf-sub .cf-fld{display:flex;flex-direction:column;gap:6px}
.cf-sub .cf-fld-wide{grid-column:1 / -1}
.cf-sub .cf-fld span{font-size:13px;font-weight:600;color:var(--cf-ink)}
.cf-sub .cf-fld input,.cf-sub .cf-fld select{font-family:var(--cf-sans);font-size:14px;
  color:var(--cf-ink);background:#fff;border:1.5px solid #e4e4ea;border-radius:9px;
  padding:11px 12px;width:100%}
.cf-sub .cf-weekday{font-family:var(--cf-sans);font-size:14px;font-weight:600;color:var(--cf-ink);
  background:#f4f4f7;border:1.5px solid #e4e4ea;border-radius:9px;padding:11px 12px;display:block}
.cf-sub .cf-fld input:focus,.cf-sub .cf-fld select:focus{outline:0;border-color:var(--cf-acc,var(--cf-t2-d))}
/* A time slot already closed for today: same look as the checkout's
   #dfo_delivery_time option:disabled. */
.cf-sub .cf-fld select option:disabled{color:#999 !important;background-color:#f0f0f0 !important;cursor:not-allowed}
/* ---- Base colour swatches (the shop's assets/colors PNGs) ----
   Geometry and the selected ring are applied inline (see the composer render
   and its script) so the dots survive a stale combined stylesheet. These are
   just the hover polish. */
.cf-sub .cf-swatches{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}
.cf-sub .cf-swatch{display:inline-block;line-height:0}
.cf-sub .cf-swatch:hover{transform:translateY(-2px)}

/* ---- extras ---- */
.cf-sub .cf-extras{display:grid;gap:12px}
.cf-sub .cf-extra{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start;
  border:1.5px solid #e4e4ea;border-radius:11px;padding:16px 18px;cursor:pointer}
.cf-sub .cf-extra:hover{border-color:#c6c6d2}
.cf-sub .cf-extra input{width:18px;height:18px;margin-top:2px;accent-color:var(--cf-acc,var(--cf-t2-d))}
.cf-sub .cf-extra-l{display:block;font-size:15px;font-weight:600;color:var(--cf-ink);line-height:1.3}
.cf-sub .cf-extra-d{display:block;font-size:12.5px;font-weight:300;color:var(--cf-muted);
  line-height:1.5;margin-top:3px}
.cf-sub .cf-extra-p{font-size:14px;font-weight:700;color:var(--cf-ink);white-space:nowrap}

/* ---- summary ---- */
.cf-sub .cf-sum{position:sticky;top:24px;background:var(--cf-deep);color:#fff;
  border-radius:13px;padding:30px 28px 32px}
.cf-sub .cf-sum-t{font-size:20px;font-weight:700;letter-spacing:-.2px;margin-bottom:20px!important}
.cf-sub .cf-sum-rows{display:grid;gap:5px;margin-bottom:20px;
  padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.16)}
.cf-sub .cf-sum-rows>div{display:flex;justify-content:space-between;gap:16px;line-height:1.3}
.cf-sub .cf-sum-rows dt{font-size:13.5px;font-weight:300;color:rgba(255,255,255,.66)}
.cf-sub .cf-sum-rows dd{font-size:13.5px;font-weight:600;color:#fff;text-align:right}
.cf-sub .cf-sum-total{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
.cf-sub .cf-sum-total-l{font-size:13.5px;font-weight:300;color:rgba(255,255,255,.66)}
.cf-sub .cf-sum-total-v{font-size:34px;font-weight:800;letter-spacing:-1px;line-height:1.1}
.cf-sub .cf-sum-vat{font-size:11.5px;font-weight:300;color:rgba(255,255,255,.55)}
.cf-sub .cf-sum-save{font-size:13px;font-weight:600;color:#8FE3B0;margin-bottom:20px!important}
.cf-sub .cf-sum-save[hidden]{display:none}
.cf-sub .cf-sum-cta{display:flex;align-items:center;justify-content:center;background:#fff;
  color:var(--cf-deep);border-radius:999px;height:48px;font-size:15px;font-weight:700;
  letter-spacing:-.1px;transition:opacity .16s}
.cf-sub .cf-sum-cta:hover{opacity:.9}
.cf-sub button.cf-sum-cta{width:100%;border:0;cursor:pointer;font-family:var(--cf-sans)}
.cf-sub button.cf-sum-cta:disabled{opacity:.55;cursor:not-allowed}
.cf-sub .cf-sum-cta-err{font-size:12.5px;color:#ffd7d7;margin:10px 0 0;line-height:1.5}
.cf-sub .cf-sum-cta-err[hidden]{display:none}
.cf-sub .cf-gift-toggle{display:flex;align-items:center;gap:8px;margin-top:16px;
  font-size:14px;font-weight:600;color:var(--cf-ink);cursor:pointer}
.cf-sub .cf-gift-fields[hidden]{display:none}
.cf-sub .cf-sum-pts{font-size:12.5px;font-weight:300;color:rgba(255,255,255,.7);
  line-height:1.55;margin-top:16px!important}
.cf-sub .cf-sum-pts b{font-weight:700;color:#E8D5A3}
.cf-sub .cf-sum-flex{font-size:11.5px;font-weight:300;color:rgba(255,255,255,.5);
  line-height:1.5;margin-top:10px!important}

@media (max-width:1279px){
  .cf-sub .cf-compose-grid{grid-template-columns:1fr 320px;gap:0 36px}
  .cf-sub .cf-cstep-t{font-size:24px}
}
@media (max-width:980px){
  .cf-sub .cf-compose{padding:84px 0 92px}
  .cf-sub .cf-compose-head{margin-bottom:44px}
  .cf-sub .cf-compose-grid{grid-template-columns:1fr;gap:22px}
  .cf-sub .cf-sum{position:static}
  .cf-sub .cf-opts-4{grid-template-columns:repeat(2,1fr)}
  .cf-sub .cf-cstep{padding:26px 24px 28px}
}
@media (max-width:640px){
  .cf-sub .cf-compose{padding:60px 0 68px}
  .cf-sub .cf-opts-2,.cf-sub .cf-opts-3,.cf-sub .cf-opts-4{grid-template-columns:1fr}
  .cf-sub .cf-brief{grid-template-columns:1fr}
  .cf-sub .cf-cstep-t{font-size:21px}
  .cf-sub .cf-sum-total-v{font-size:29px}
  .cf-sub .cf-extra{grid-template-columns:auto 1fr;gap:10px}
  .cf-sub .cf-extra-p{grid-column:2;margin-top:4px}
}

/* ---- v4.3 extras: soft-gallery redesign (overrides the older extras rules) ---- */
.cf-sub .cf-extras{display:block}
.cf-sub .cf-vases{display:block;gap:0}
.cf-sub .cf-vase-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}
.cf-sub .cf-vase-head b{font-size:15px;font-weight:700;color:var(--cf-ink)}
.cf-sub .cf-vase-head em{font-style:normal;color:var(--cf-muted);font-size:13px;font-weight:400}

/* No-vase pill */
.cf-sub .cf-novase{display:flex;align-items:center;gap:12px;width:100%;
  border:1.5px solid #e4e4ea;background:#fff;border-radius:11px;padding:15px 18px;
  cursor:pointer;font-weight:600;color:var(--cf-body);margin-bottom:22px;transition:.16s}
.cf-sub .cf-novase input{position:absolute;opacity:0;pointer-events:none}
.cf-sub .cf-novase-dot{width:20px;height:20px;border-radius:50%;border:2px solid #cfcfd6;
  flex:0 0 20px;transition:.16s}
.cf-sub .cf-novase:has(input:checked){border-color:var(--cf-deep);color:var(--cf-ink);
  box-shadow:inset 0 0 0 1px var(--cf-deep);background:#fbfbfd}
.cf-sub .cf-novase:has(input:checked) .cf-novase-dot{border-color:var(--cf-deep);
  background:var(--cf-deep);box-shadow:inset 0 0 0 4px #fff}

/* Vase gallery */
.cf-sub .cf-vase-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cf-sub .cf-vcard{position:relative;display:block;border:1.5px solid #e4e4ea;border-radius:13px;
  padding:18px 16px 20px;cursor:pointer;background:#fff;text-align:center;
  transition:transform .18s,box-shadow .18s,border-color .18s}
.cf-sub .cf-vcard input{position:absolute;opacity:0;pointer-events:none}
.cf-sub .cf-vcard:hover{border-color:#c6c6d2;transform:translateY(-3px);
  box-shadow:0 1px 2px rgba(17,17,17,.05),0 14px 34px -16px rgba(17,17,17,.14)}
.cf-sub .cf-vcard:has(input:checked){border-color:var(--cf-deep);
  box-shadow:inset 0 0 0 1.5px var(--cf-deep)}
.cf-sub .cf-vcard-art{height:264px;display:grid;place-items:center;border-radius:11px;padding:6px;
  background:linear-gradient(160deg,#f4f3f7,#eae8ef);margin-bottom:14px;overflow:hidden}
.cf-sub .cf-vcard-art img{width:100%;height:100%;object-fit:contain;display:block}
.cf-sub .cf-vcard-name{display:block;font-size:13px;font-weight:700;line-height:1.35;
  min-height:36px;color:var(--cf-ink)}
.cf-sub .cf-vcard-price{margin-top:8px;display:inline-block;background:rgba(2,43,42,.07);
  color:var(--cf-deep);font-weight:700;font-size:13px;padding:5px 12px;border-radius:999px}
.cf-sub .cf-vcard-check{position:absolute;top:12px;right:12px;width:24px;height:24px;border-radius:50%;
  background:var(--cf-deep);display:none;place-items:center;color:#fff;font-size:13px}
.cf-sub .cf-vcard:has(input:checked) .cf-vcard-check{display:grid}

/* Candle row */
.cf-sub .cf-candle{margin-top:22px;display:flex;align-items:center;gap:16px;border:1.5px solid #e4e4ea;
  border-radius:13px;padding:20px 22px;background:#fff;cursor:pointer;transition:.16s}
.cf-sub .cf-candle input{position:absolute;opacity:0;pointer-events:none}
.cf-sub .cf-candle:has(input:checked){border-color:var(--cf-deep);
  box-shadow:inset 0 0 0 1px var(--cf-deep);background:#fbfbfd}
.cf-sub .cf-candle-ic{width:46px;height:46px;border-radius:11px;background:var(--cf-lav);
  display:grid;place-items:center;font-size:22px;flex:0 0 46px}
.cf-sub .cf-candle-txt{flex:1}
.cf-sub .cf-candle-txt b{display:block;font-size:15px;font-weight:600;color:var(--cf-ink)}
.cf-sub .cf-candle-txt small{color:var(--cf-muted);font-size:12.5px;font-weight:300}
.cf-sub .cf-candle-pr{font-weight:700;font-size:14px;color:var(--cf-ink);white-space:nowrap}
.cf-sub .cf-sw{width:48px;height:28px;border-radius:999px;background:#d7d7de;position:relative;
  flex:0 0 48px;transition:.22s}
.cf-sub .cf-sw::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;
  border-radius:50%;background:#fff;transition:.22s;box-shadow:0 2px 4px rgba(0,0,0,.2)}
.cf-sub .cf-candle:has(input:checked) .cf-sw{background:var(--cf-deep)}
.cf-sub .cf-candle:has(input:checked) .cf-sw::after{transform:translateX(20px)}

@media (max-width:560px){
  .cf-sub .cf-vase-gallery{grid-template-columns:1fr 1fr}
}
