/* V35 styles — fix-20261113 home review fixes. Candidate only. */

/* ---------- H02: purpose-search entry (inside Find your bag style) ---------- */
.v35-use-search{display:flex;gap:8px;margin:14px 0 0;max-width:560px}
.v35-use-search input{flex:1;min-height:44px;padding:10px 14px;border:1px solid #cfe2d6;border-radius:8px;font:inherit;color:#123527;background:#fff}
.v35-use-search input:focus{outline:2px solid #075c3d;outline-offset:1px}
.v35-use-search .btn{min-height:44px;white-space:nowrap}
.v35-use-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}
.v35-chip{min-height:36px;padding:7px 14px;border-radius:999px;border:1px solid #cfe2d6;background:#fff;color:#075c3d;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
.v35-chip:hover,.v35-chip:focus-visible{background:#eef6f1;border-color:#075c3d}
.v35-use-note{margin:10px 0 16px;font-size:13.5px;color:#5e7467}
.v35-use-note a{color:#075c3d;font-weight:600}

/* ---------- H05: Continue project card ---------- */
.v35-continue{padding-top:18px}
.v35-continue-card{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#f2f8f4;border:1px solid #cfe2d6;border-radius:12px;padding:14px 18px}
.v35-continue-label{font-size:11px;font-weight:700;letter-spacing:.08em;color:#4d6858}
.v35-continue-main{flex:1;min-width:220px}
.v35-continue-main b{display:block;font-size:16px;color:#123527}
.v35-continue-main small{color:#5e7467;font-size:12.5px}
.v35-continue-card .btn{min-height:44px}

/* ---------- O01: mobile account entry touch targets (candidate only) ---------- */
@media (max-width:799px){
  .v34-acct-float{top:6px;right:8px}
  .v34-acct-float .v34-toggle{min-height:44px;min-width:76px;padding:10px 16px;font-size:13px}
  .v34-acct-float .v34-toggle .v34-count{font-size:12px}
  .v34-acct-float .v34-acctpanel{min-width:210px;padding:10px}
  .v34-acct-float .v34-acctpanel .v34-hbtn{min-height:44px;font-size:14px;padding:11px 14px}
}

/* ---------- O02 OPTIONAL: mobile-only compaction of the five-step process.
 * Keep every step and its text; shrink the step photo and tighten spacing.
 * Desktop (>=800px) keeps the accepted five-column layout untouched.
 * Marked optional: acceptance decides whether to keep this block. ---------- */
@media (max-width:799px){
  .v27-photo-steps{gap:8px}
  .v27-photo-step-img img{aspect-ratio:2.6;max-height:150px}
  .v27-photo-step-copy h3{font-size:14px}
  .v27-photo-step-copy p{font-size:12.5px;margin-top:2px}
  .v27-step-rail .v27-step-num{width:24px;height:24px;font-size:12px}
}

/* ---------- R4: in-artwork safe spacing between the fixed account entry and
 * the hero copy (supersedes the R3 hero offset, which re-created a solid band
 * above the artwork and left 431px Custom intersecting).
 *
 * Codex R3 findings, addressed here:
 *   1. The artwork must stay full-bleed from the page top: the hero offset is
 *      GONE (hero.y is 0 again at every width; no solid band).
 *   2. 431px Custom still intersected because the fix stopped at 430 while the
 *      account entry keeps its mobile layout to 799px.
 *
 * Fix: give the hero COPY a floor instead of moving the artwork:
 *   top: max(58px, <accepted percentage>)
 * 58px = account-entry bottom edge (fixed top 6px + 44px touch target) + an
 * 8px safe gap. The floor only bites while the accepted percentage would put
 * the copy under the entry; at wider mobile widths the accepted percentage
 * applies unchanged, and >=800px desktop is untouched (rules live inside
 * max-width media queries).
 *
 * Per-page coverage, from the measured intersection map of the deployed R2
 * (132 runs, 320..1440, guest + real isolated signed-in session):
 *   - custom:    intersects 320-431 (480 clears by only 0.4px) -> floored to
 *     799px, natural percentage from 553px up;
 *   - home carousel: intersects 320-360, 390-414 clears by <8px -> floored to
 *     799px, natural from 415px up;
 *   - factory:   intersects 320-390 -> floored to 799px (harmless in between:
 *     the copy stays well above the artwork's product area, which starts ~52%);
 *   - products:  the title sits below an eyebrow (14.2px) + 5px gap and only
 *     intersects <=389px -> the BLOCK is floored to 40px (40 + 14.2 + 5 = 59.2
 *     title top), moving it half as far as a 58px floor would.
 *
 * Nothing is clipped or hidden; the entry keeps its 44px touch target and
 * stays enabled; logo, title, subtitle, CTA and all three carousel slides are
 * unchanged apart from the copy block's top offset. ---------- */
@media (max-width:799px){
  .v28-hero.v25-carousel .v25-slide.v26-slide .v26-copy{ top: max(58px, 14%) }
  .v28-hero.v26-hero-custom   .v26-copy{ top: max(58px, 14%) }
  .v28-hero.v26-hero-factory  .v26-copy{ top: max(58px, 13.5%) }
}
@media (max-width:389px){
  .v28-hero.v26-hero-products .v26-copy{ top: max(40px, 9%) }
}

/* R4b: at <=389px the 58px copy floor pushes the Custom/Products subtitle onto
 * the artwork's product photos (their bags start at ~40% of the hero height,
 * so after the title clears the account entry no clear band remains for the
 * subtitle). A soft white halo keeps the subtitle readable without changing
 * its position, size, colour or the artwork (geometry-neutral; invisible on
 * the light background). Home/Factory subtitles stay on clear artwork. */
@media (max-width:389px){
  .v28-hero.v26-hero-custom   .v26-desc,
  .v28-hero.v26-hero-products .v26-desc{
    background: rgba(250,252,250,.85);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    border-radius: 8px;
    /* the spread rim acts as visual padding WITHOUT changing layout geometry */
    box-shadow: 0 0 0 4px rgba(250,252,250,.85);
  }
}

/* Mobile customer-service header: keep the identity readable and move the
 * non-shrinking online badge onto its own row. Desktop remains unchanged. */
@media(max-width:799px){
  .v31-head{
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    align-items:start;
    gap:8px 10px;
  }
  .v31-head>div:nth-child(2){min-width:0}
  .v31-head strong{display:block;overflow-wrap:anywhere}
  .v31-head small{color:#d6e9e0;overflow-wrap:anywhere;line-height:1.5}
  .v31-head .v31-agentline{color:#d6e9e0}
  .v31-head .v31-status{
    grid-column:1/-1;
    justify-self:start;
    margin-left:0;
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
  }
}
