/* ============================================================
   Flooring showroom — styles added on top of v2c.styles.shopify.css
   (that file is the shared engine stylesheet and is left untouched).
   Rules start with #v2c-root so they beat the stylesheet's reset.
   ============================================================ */

/* ---------- one setting, two endings ---------- */
#v2c-root[data-mode="quote"] [data-only="cart"],
#v2c-root[data-mode="cart"]  [data-only="quote"]{ display:none !important }
#v2c-root[data-mode="quote"] details.setup{ display:none }
#v2c-root[data-mode="cart"]  .sr-start-new{ display:none }

/* ---------- banners (outside #v2c-root, so plain selectors) ---------- */
.sr-banner{
  position:sticky; top:0; z-index:60;
  padding:10px 16px; text-align:center;
  font:600 14px/1.4 Inter,system-ui,-apple-system,sans-serif;
}
.sr-banner[hidden]{ display:none }
.sr-banner-demo{
  background:repeating-linear-gradient(45deg,#B3261E,#B3261E 14px,#8E1C16 14px,#8E1C16 28px);
  color:#fff; letter-spacing:.04em; text-transform:uppercase;
}
.sr-banner-offline{ background:#1F2933; color:#fff }
.sr-banner-proto{ background:#B7791F; color:#fff; letter-spacing:.02em }

/* ---------- safe areas (iPad home screen, notches) ---------- */
body{
  padding-left:env(safe-area-inset-left,0); padding-right:env(safe-area-inset-right,0);
  padding-bottom:env(safe-area-inset-bottom,0);
}

/* ---------- in an iframe: the content decides the height (the page around reports it back), so the iframe never has its own scrollbar ---------- */
html.sr-embedded, html.sr-embedded body{ overflow:hidden }

/* settings.showHeader: false: no top bar */
html.sr-noheader #v2c-root header.top{ display:none !important }

/* ---------- touch-first ---------- */
#v2c-root button, #v2c-root select, #v2c-root input, #v2c-root label{ touch-action:manipulation }
#v2c-root button{ -webkit-tap-highlight-color:transparent }
#v2c-root .btn-link{ min-height:48px; display:inline-flex; align-items:center }
#v2c-root .btn-ghost, #v2c-root .btn-primary{ min-height:56px }
#v2c-root .sr-start-new{ min-height:48px; padding:0 18px }
#v2c-root .consent{ min-height:48px; align-items:center }
#v2c-root .consent input[type=checkbox]{ width:26px; height:26px }

/* A shared screen: no accidental text selection or long-press menus, but inputs still work */
html.sr-kiosk body{ -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; overscroll-behavior:none }
html.sr-kiosk input, html.sr-kiosk textarea{ -webkit-user-select:text; user-select:text }

/* ---------- form controls the engine stylesheet does not cover ---------- */
#v2c-root input[type=tel], #v2c-root textarea{
  width:100%; height:52px; padding:0 14px; border:1px solid var(--line-2); border-radius:8px;
  background:var(--surface); color:var(--ink); font-family:inherit; font-size:16px;
}
#v2c-root textarea{ height:auto; min-height:96px; padding:12px 14px; resize:vertical }
#v2c-root .sr-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden }
#v2c-root .sr-error{ color:#A8442A; font-size:14px; line-height:1.45 }

/* ---------- step 3: summary + lead form ---------- */
#v2c-root .sr-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:20px; display:grid; gap:16px;
}
#v2c-root .sr-summary{ display:grid; grid-template-columns:96px 1fr; gap:16px; align-items:center }
#v2c-root .sr-thumb{ width:96px; height:96px; border-radius:8px; background-size:cover; background-position:center; border:1px solid var(--line) }
#v2c-root .sr-badge{
  display:inline-block; padding:3px 9px; border-radius:999px; background:var(--moss); color:var(--moss-ink);
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase;
}
#v2c-root .sr-facts{ display:grid; gap:0 }
#v2c-root .sr-facts .spec:last-child{ border-bottom:0 }
#v2c-root .sr-from{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding-top:12px; border-top:1px solid var(--line) }
#v2c-root .sr-actions{ display:grid; gap:12px }
#v2c-root .sr-visit-link{ text-align:center }
#v2c-root .sr-sent{ text-align:center; display:grid; gap:12px }
#v2c-root .sr-card.sr-sent{ padding:32px 24px }
#v2c-root .sr-dialog .sr-sent{ padding:8px 0 }
#v2c-root .sr-tick{
  width:56px; height:56px; border-radius:50%; margin:0 auto; background:var(--moss); color:var(--moss-ink);
  display:flex; align-items:center; justify-content:center; font-size:30px; line-height:1;
}

/* ---------- overlays ---------- */
#v2c-root .sr-overlay{
  position:fixed; inset:0; z-index:80; background:rgba(20,24,20,.6);
  display:flex; align-items:center; justify-content:center; padding:20px; overflow:auto;
}
#v2c-root .sr-overlay[hidden]{ display:none !important }
#v2c-root .sr-dialog{
  width:100%; max-width:520px; max-height:100%; overflow:auto;
  background:var(--surface); border-radius:14px; padding:24px; display:grid; gap:16px;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
}
#v2c-root .sr-dialog h2{ font-size:24px }
#v2c-root .sr-dialog-actions{ display:flex; gap:12px; flex-wrap:wrap }
#v2c-root .sr-dialog-actions > *{ flex:1 1 140px }

/* ---------- landscape iPad: keep two columns and three tiers ---------- */
@media (min-width:900px) and (orientation:landscape){
  #v2c-root .tiers{ grid-template-columns:repeat(3,minmax(0,1fr)) }
}
@media (max-width:480px){
  #v2c-root .sr-summary{ grid-template-columns:72px 1fr }
  #v2c-root .sr-thumb{ width:72px; height:72px }
  #v2c-root .sr-start-new{ min-height:44px; padding:0 14px; font-size:15px }
  .sr-banner{ font-size:12px; padding:8px 12px }
}
@media (prefers-reduced-motion:reduce){ #v2c-root *{ animation:none !important; transition:none !important } }

/* showroom details card (step 3, left column) */

/* showroom details card (step 3, left column) */

/* ---------- favourites: pick grid, then the looks ---------- */
#v2c-root #tierCards.picks-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px }
#v2c-root #tierCards.looks-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px }
#v2c-root .picks-bar{ grid-column:1/-1; display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between }
#v2c-root .pick-swatch{ height:150px; background-size:cover; background-position:center }
#v2c-root .pick-card .body{ padding:16px; gap:8px }
#v2c-root .pick-card h3{ font-size:17px }
#v2c-root .pick-card button[disabled]{ opacity:.55 }
@media (max-width:1000px){ #v2c-root #tierCards.picks-grid{ grid-template-columns:repeat(3,minmax(0,1fr)) } }
@media (max-width:760px){
  #v2c-root #tierCards.picks-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
  #v2c-root #tierCards.looks-grid{ grid-template-columns:minmax(0,1fr) }
  #v2c-root .pick-swatch{ height:110px }
}

/* ---------- one setting, two step-3 layouts ---------- */
#v2c-root[data-selection="favourites"] .step3-classic{ display:none !important }
#v2c-root[data-selection="tiers"] .step3-favourites{ display:none !important }

/* ---------- step 1 extras ---------- */
#v2c-root .sr-sizemode{ margin-bottom:8px }
#v2c-root .sr-sizemode{ flex-wrap:nowrap }
#v2c-root .sr-sizemode button{ min-height:48px; flex:1 1 0; padding:8px 6px; font-size:15px }
#v2c-root .sr-samplerow{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px }
#v2c-root .sr-phone{
  display:flex; gap:18px; align-items:center; flex-wrap:wrap;
  border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); padding:16px;
}
#v2c-root .sr-qr{ width:150px; height:150px; flex:0 0 auto; border:1px solid var(--line); border-radius:8px; overflow:hidden; background:#fff }
#v2c-root .sr-qr svg{ display:block; width:100%; height:100% }
#v2c-root .sr-phone-text{ flex:1 1 200px; min-width:0; display:grid; gap:6px }
#v2c-root .sr-phone-text h3{ font-size:17px }
#v2c-root .sr-phone .sr-tick{ margin:0; width:48px; height:48px; font-size:26px }

/* ---------- favourites: step 2, pick your floors ---------- */
#v2c-root .fav-host{ display:block; min-width:0; max-width:100% }   /* min-width:0 lets the tab bar scroll inside the page instead of stretching it */
#v2c-root .picks-bar{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; margin-bottom:14px }
#v2c-root .picks-count{ font-weight:600; font-size:17px }
#v2c-root .picks-bar-sticky{ display:none }
#v2c-root .showLooks[disabled]{ opacity:.45; cursor:not-allowed }   /* off until the first pick */
/* the tabs above the grid: one line that scrolls sideways when it is too wide, never stacking */
#v2c-root .fav-tabs{
  display:flex; flex-wrap:nowrap; gap:6px; margin-bottom:16px; border-bottom:1px solid var(--line);
  overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; max-width:100%;
}
#v2c-root .fav-tabs::-webkit-scrollbar{ display:none }
#v2c-root .fav-tab{
  flex:none; white-space:nowrap; min-height:48px; padding:0 18px; margin-bottom:-1px; background:none; border:0;
  border-bottom:3px solid transparent; color:var(--ink-2); font-size:16px; font-weight:500;
}
#v2c-root .fav-tab[aria-selected="true"]{ color:var(--ink); font-weight:700; border-bottom-color:var(--moss) }
#v2c-root .fav-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px }
#v2c-root .fav-card{
  display:flex; flex-direction:column; min-width:0; overflow:hidden;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
}
#v2c-root .fav-card.is-picked{ border:2px solid var(--moss) }
/* the whole card is tappable (favourites.js); touch-action stops a quick second tap zooming the page on an iPad */
#v2c-root .fav-card{ cursor:pointer; touch-action:manipulation; -webkit-tap-highlight-color:transparent }
#v2c-root .fav-card.is-full{ cursor:not-allowed }
@media (hover:hover){ #v2c-root .fav-card:not(.is-full):not(.is-picked):hover{ border-color:var(--moss) } }
#v2c-root .fav-photo{ position:relative; aspect-ratio:3/2; background:var(--line) }
#v2c-root .fav-photo img{ display:block; width:100%; height:100%; object-fit:cover }
#v2c-root .fav-tick{
  position:absolute; left:10px; top:10px; width:34px; height:34px; border-radius:50%;
  background:var(--moss); color:var(--moss-ink); display:flex; align-items:center; justify-content:center;
  font-size:20px; line-height:1; box-shadow:0 1px 4px rgba(0,0,0,.35);
}
#v2c-root .fav-body{ padding:14px 16px 16px; display:flex; flex-direction:column; gap:8px; flex:1 }
#v2c-root .fav-body h3{ font-size:17px }
#v2c-root .fav-estimate{ font-weight:600; font-size:15px }
/* the small "Herringbone" label on a floor's photo (only when the product has a format) */
#v2c-root .fav-format{
  position:absolute; left:10px; bottom:10px; padding:3px 10px; border-radius:999px;
  background:rgba(255,255,255,.92); color:var(--ink); font-size:12px; font-weight:600; line-height:1.4;
  box-shadow:0 1px 3px rgba(0,0,0,.25);
}
#v2c-root .fav-actions{ margin-top:auto; padding-top:6px; display:flex }
#v2c-root .fav-actions .btn-ghost{ width:100%; min-height:48px }
#v2c-root .fav-actions .btn-link{ min-height:48px; padding:0 4px }
#v2c-root .fav-actions button[disabled]{ opacity:.5 }

/* ---------- favourites: step 3, your looks ---------- */
#v2c-root .fav-step3{ display:block }

/* one look per row: the picture, with the details beside it (wide) or below it (narrow) */
#v2c-root .fav-looks{ display:grid; grid-template-columns:minmax(0,1fr); gap:20px }
#v2c-root .fav-look{
  display:grid; grid-template-columns:minmax(0,1fr);
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden;
}
#v2c-root .fav-look.is-favourite{ border:3px solid var(--moss); box-shadow:0 0 0 3px color-mix(in srgb, var(--moss) 22%, transparent), var(--shadow) }
@media (min-width:700px){
  #v2c-root .fav-look{ grid-template-columns:minmax(0,65fr) minmax(0,35fr) }
}
#v2c-root .fav-picwrap{ position:relative; align-self:start }
#v2c-root .fav-pic{ border:0; border-radius:0; aspect-ratio:16 / 9 }
#v2c-root .fav-pic .knob{ width:60px; height:60px; margin:-30px 0 0 -30px; font-size:24px; box-shadow:0 2px 10px rgba(0,0,0,.4) }
#v2c-root .fav-pic .divider{ width:3px }
/* the whole picture is the slider, and the page can still be scrolled up and down with a finger on it */
#v2c-root .fav-pic input[type=range]{ touch-action:pan-y }

#v2c-root .fav-veil{
  position:absolute; inset:0; z-index:5; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px; padding:16px; text-align:center; font-size:15px; font-weight:600; color:#fff; background:rgba(20,24,20,.55);
}
#v2c-root .fav-spinner{ width:30px; height:30px; border-radius:50%; border:3px solid rgba(255,255,255,.35); border-top-color:#fff; animation:v2cspin 1s linear infinite }
@keyframes v2cspin{ to{ transform:rotate(360deg) } }
#v2c-root .fav-retry{ background:#fff; color:#1C1A16 }
#v2c-root .fav-nophoto{ display:flex; flex-wrap:wrap; gap:6px 12px; align-items:center; padding:10px 16px; font-size:13.5px; color:var(--ink-2); background:var(--surface-2) }
#v2c-root .fav-lookbody{ padding:16px 18px; display:flex; flex-direction:column; justify-content:center; gap:12px; min-width:0 }
#v2c-root .fav-name{ font-size:24px; line-height:1.15 }
#v2c-root .fav-prices{ display:grid; gap:2px }
#v2c-root .fav-price{ font-weight:700; font-size:16px }
#v2c-root .fav-price-fitted{ font-weight:600; font-size:16px; color:var(--ink-2) }
#v2c-root .fav-choose{ width:100%; min-height:56px; padding:0 8px; font-size:16px; font-weight:600; white-space:nowrap }
#v2c-root .fav-choose.btn-ghost{ border:2px solid var(--line-2) }
/* the tick on the chosen picture (the same badge as on the picker cards) */
#v2c-root .fav-picwrap .fav-tick{ left:14px; top:14px; z-index:4 }

/* the buttons that take them on: the main one, then two smaller ones side by side. iPad and phones: stuck to the bottom of
   the screen. A mouse on a big screen: just below the cards. */
#v2c-root .fav-panel{
  display:grid; gap:10px; margin-top:20px; padding:14px 0 calc(14px + env(safe-area-inset-bottom));
  position:sticky; bottom:0; z-index:30; background:var(--surface); border-top:1px solid var(--line);
  box-shadow:0 -4px 14px rgba(0,0,0,.08);
}
@media (min-width:1101px) and (hover:hover) and (pointer:fine){
  #v2c-root .fav-panel{ position:static; box-shadow:none; border-top:0; background:none; padding:0; max-width:720px; margin-left:auto; margin-right:auto }
  /* on a big screen the buttons come straight after the cards, before the showroom details */
  #v2c-root #looksHost{ display:flex; flex-direction:column }
  #v2c-root #looksHost .fav-panel{ order:1; width:100% }
  #v2c-root #looksHost .fav-disclaimer{ order:2 }
  #v2c-root #looksHost .fav-store{ order:3 }
}
#v2c-root .fav-main-btn{ width:100%; min-height:64px; font-size:19px; font-weight:700 }
#v2c-root .fav-main-btn[disabled]{ opacity:.55; cursor:not-allowed }
#v2c-root .fav-panel-row{ display:grid; grid-template-columns:1fr 1fr; gap:10px }
#v2c-root .fav-panel-row-one{ grid-template-columns:1fr }
#v2c-root .fav-secondary{ min-height:52px; padding:0 8px; font-size:15px; font-weight:600; line-height:1.2 }
#v2c-root .fav-panel-hint{ margin:0; text-align:center; font-weight:600; color:#A8442A }

/* step 4: the quote */
#v2c-root .fav-quote{ display:grid; grid-template-columns:minmax(0,1fr); gap:20px; align-items:start }
@media (min-width:900px){ #v2c-root .fav-quote{ grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) } }
#v2c-root .fav-quote-pic{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow) }
#v2c-root .fav-qtitle{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px }
#v2c-root .fav-qtitle h2{ font-size:26px; line-height:1.15 }
#v2c-root .fav-format-pill{ padding:3px 10px; border-radius:999px; background:var(--surface-2); font-size:13px; font-weight:600 }
#v2c-root .fav-qlines{ display:grid; gap:2px; margin:12px 0 14px }
#v2c-root .fav-qline{ display:flex; justify-content:space-between; gap:16px; padding:9px 0; border-bottom:1px solid var(--line); font-size:15px }
#v2c-root .fav-qline span:last-child{ font-weight:600; text-align:right }
#v2c-root .fav-qhead{ margin:14px 0 0; font-size:13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-2) }
#v2c-root .fav-qsub{ font-weight:600 }
#v2c-root .fav-qtotal{ border-bottom:0; padding-top:14px; font-size:20px; font-weight:700 }
#v2c-root .fav-qtotal span:last-child{ font-size:24px }

/* the confirmation after an order request */
#v2c-root .sr-ref{ margin:6px 0; font-size:40px; font-weight:800; letter-spacing:.06em; text-align:center }
#v2c-root .fav-disclaimer{ margin-top:14px }
@media (max-width:1000px){
  #v2c-root .fav-grid{ grid-template-columns:repeat(3,minmax(0,1fr)) }
}
@media (max-width:760px){
  #v2c-root .fav-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
  /* phones: the "Show my looks" bar sticks to the bottom of the screen, clear of the home bar */
  #v2c-root .fav-host > .picks-bar:not(.picks-bar-sticky){ display:none }
  #v2c-root .picks-bar-sticky{
    display:flex; position:sticky; bottom:0; z-index:30; margin:16px -20px 0; padding:12px 20px calc(12px + env(safe-area-inset-bottom));
    background:var(--surface); border-top:1px solid var(--line); box-shadow:0 -4px 14px rgba(0,0,0,.08);
  }
  #v2c-root .picks-bar-sticky{ flex-wrap:nowrap; justify-content:space-between; gap:10px }
  #v2c-root .picks-bar-sticky .picks-count{ font-size:16px; white-space:nowrap }
  #v2c-root .fav-tab{ padding:0 14px; font-size:15px }
  #v2c-root .fav-add{ font-size:14px; line-height:1.25; padding:0 6px }
  #v2c-root .sr-qr{ width:130px; height:130px }
  #v2c-root .fav-name{ font-size:24px }
  #v2c-root .fav-price, #v2c-root .fav-price-fitted{ font-size:17px }
}

/* the "Visit the showroom" card (address, phone, hours) */
#v2c-root .sr-card h3{ font-size:20px }
#v2c-root .sr-hours{ display:grid; gap:2px; color:var(--ink-2); font-size:14px }
#v2c-root .sr-card a{ color:var(--ink); font-weight:600; text-decoration:underline }

/* when the bottom bar scrolls to the form, leave room for the banner that sticks to the top */
#v2c-root #srForm{ scroll-margin-top:64px }
#v2c-root .fav-store{ margin-top:20px }

#v2c-root .sr-protocard{ display:flex; gap:12px; align-items:center; padding:12px; margin-top:10px; border:1px solid var(--line, #d9d4c9); border-radius:12px; background:#FBF6E9 }
#v2c-root .sr-protocard img{ width:84px; height:64px; object-fit:cover; border-radius:8px; flex:none }
#v2c-root .sr-protocard p{ margin:0 }
#v2c-root .sr-protocard-title{ font-weight:600; margin-bottom:2px }

/* ---------- header, step 1 and footer ---------- */
/* the logo on the left, "Start new design" on the right, on one line at every width: the logo shrinks first */
#v2c-root header.top{ flex-wrap:nowrap; gap:12px; align-items:center }
#v2c-root header.top .logo{ flex:0 1 auto; min-width:0; max-width:100%; object-fit:contain }
#v2c-root header.top .spacer{ flex:1 1 0; min-width:0 }
#v2c-root header.top .sr-start-new{ flex:0 0 auto; white-space:nowrap }
@media (max-width:480px){
  #v2c-root header.top .logo{ height:34px }
  #v2c-root header.top .sr-start-new{ min-height:44px; padding:0 12px; font-size:14px }
}

/* step 1 is just the form: the room size, the photo and the button */
#v2c-root .step1-form{ max-width:680px }

/* the photo box: everything stays inside the dashed line, and the box grows to fit */
#v2c-root .dropzone{ padding:18px; box-sizing:border-box; max-width:100% }
#v2c-root .dropzone .copy{ grid-template-columns:minmax(0,1fr) }
#v2c-root .dropzone .copy p{ overflow-wrap:anywhere }
#v2c-root .sr-photo-btns{ display:flex; flex-wrap:wrap; gap:10px }
#v2c-root .sr-photo-btn{ white-space:nowrap; padding:0 12px; position:relative; display:inline-flex; align-items:center; justify-content:center; flex:1 1 140px; box-sizing:border-box; text-align:center; cursor:pointer; font-size:15px }
#v2c-root .sr-photo-btn input[type=file]{ position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; font-size:0 }
#v2c-root .sr-photo-btn:focus-within{ outline:3px solid var(--moss); outline-offset:2px }
@media (max-width:520px){
  /* phones: the preview sits on top, full width, and the words and the button below it, so nothing is squeezed */
  #v2c-root .dropzone{ flex-direction:column; align-items:stretch; gap:14px }
  #v2c-root .dropzone .thumb{ width:100%; height:130px }
  #v2c-root .dropzone .copy{ flex:0 0 auto; width:100% }
}

/* the quiet credit at the bottom of every step */
#v2c-root .sr-credit{ margin-top:10px; font-size:12px; color:var(--ink-2); opacity:.7 }
#v2c-root .sr-credit a{ color:inherit; text-decoration:underline; text-underline-offset:2px; font-weight:400 }
#v2c-root .sr-credit a:hover{ opacity:1; color:var(--ink) }

/* step 1: two cards side by side (size, photo) from 768px; one column below */
#v2c-root .step1-form{ max-width:none }
#v2c-root .step1-cards{ display:grid; grid-template-columns:minmax(0,1fr); gap:16px }
#v2c-root .step1-card{ display:flex; flex-direction:column; gap:16px; min-width:0; padding:20px; box-sizing:border-box; border:1px solid var(--line); border-radius:12px; background:var(--surface) }
#v2c-root .step1-card__head{ display:flex; align-items:flex-start; gap:12px }
#v2c-root .step1-card__head p{ margin:4px 0 0 }
#v2c-root .step1-card__title{ margin:0; font-size:20px; line-height:1.2 }
#v2c-root .step1-badge{ flex:none; display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--moss); color:var(--moss-ink); font-weight:700; font-size:16px }
#v2c-root .step1-area{ margin:0; padding:12px 14px; border-radius:8px; background:var(--surface-2); border:1px solid var(--line); font-size:18px; font-weight:700 }
#v2c-root .step1-tip{ margin:auto 0 0 }
#v2c-root .step1-sr-only{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0 }
#v2c-root .step1-card input[type=text]{ font-size:16px }
#v2c-root .step1-card #areaNote{ display:none }
#v2c-root .step1-cards.sr-nosize{ grid-template-columns:minmax(0,1fr) !important }
#v2c-root .step1-next{ justify-content:flex-start }
@media (min-width:768px){
  #v2c-root .step1-cards{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:stretch }
  #v2c-root .step1-next{ justify-content:flex-end }
}
/* the example rooms under the upload box */
#v2c-root .sr-examples{ display:grid; gap:12px; margin:4px 0 0; font-size:inherit }
#v2c-root .sr-examples-heading{ font-size:18px; font-weight:700; color:var(--ink) }
#v2c-root .sr-rooms{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px }
#v2c-root .sr-room{ display:flex; flex-direction:column; padding:0; overflow:hidden; border:2px solid var(--line); border-radius:10px; background:var(--surface); color:var(--ink); font:inherit; cursor:pointer; text-align:left }
#v2c-root .sr-room[hidden]{ display:none }
#v2c-root .sr-room img{ display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; background:var(--line) }
#v2c-root .sr-room-label{ display:block; padding:8px 10px; min-height:48px; box-sizing:border-box; font-size:16px; font-weight:600; line-height:1.25 }
#v2c-root .sr-room[aria-pressed="true"]{ border-color:var(--moss); box-shadow:inset 0 0 0 2px var(--moss) }
#v2c-root .sr-room[aria-pressed="true"] .sr-room-label{ background:var(--moss); color:var(--moss-ink) }
#v2c-root .sr-room:focus-visible, #v2c-root .sr-more-rooms:focus-visible{ outline:3px solid var(--moss); outline-offset:2px }
#v2c-root .sr-more-rooms{ justify-self:start; min-height:48px; font-size:18px; font-weight:600 }
#v2c-root .sr-more-rooms[hidden]{ display:none }
#v2c-root .sr-room-status{ min-height:1.4em; margin:0; font-size:16px; font-weight:600 }
/* the big photo preview: only on iPad-style screens (wide, touch) */
#v2c-root .step1-side{ display:none }
@media (min-width:768px) and (pointer:coarse){
  /* iPad: the form on the left, the big photo preview on the right with the consent tick and the Next button under it */
  #v2c-root .step1-form{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-areas:"intro intro" "cards side"; grid-template-rows:auto 1fr; column-gap:28px; row-gap:16px; align-items:start }
  #v2c-root .step1-form > p.muted{ grid-area:intro; margin:0; max-width:none !important }
  #v2c-root .step1-cards{ grid-area:cards; grid-template-columns:minmax(0,1fr); gap:16px }
  /* the size part is plain (no card, heading, strip or tip); the photo part keeps its numbered card */
  #v2c-root .step1-card:first-child{ padding:0; border:0; background:none; border-radius:0 }
  #v2c-root .step1-card:first-child .step1-card__head, #v2c-root .step1-area, #v2c-root .step1-tip{ display:none }
  #v2c-root .step1-card #areaNote{ display:block }
  #v2c-root .step1-card .field-row .row-wrap{ flex-wrap:wrap }
  #v2c-root .step1-card .field-row .notice{ flex:1 1 220px; margin-left:0; padding:10px 12px; font-size:13px; line-height:1.4 }
  #v2c-root .step1-side{ grid-area:side; display:grid; gap:16px; align-content:start }
  /* in the photo card the grey photo box and the upload button + hint stay side by side, even in the narrower portrait column */
  #v2c-root .step1-card .dropzone{ flex-wrap:nowrap; align-items:center; gap:14px; padding:14px }
  #v2c-root .step1-card .dropzone .thumb{ width:92px; height:70px }
  #v2c-root .step1-card .dropzone .copy{ flex:1 1 0; min-width:0 }
  #v2c-root .step1-card .dropzone .sr-photo-btn{ white-space:normal; padding:8px 12px; flex-basis:100%; line-height:1.25 }
  #v2c-root .step1-side > .notice{ display:none }
  #v2c-root .step1-side .consent{ margin:0; min-height:0; align-items:flex-start; padding-top:0 }
  #v2c-root .step1-side .consent input[type=checkbox]{ margin:0 }
  #v2c-root .step1-side .consent span{ font-size:12px; line-height:1.45 }
  #v2c-root .step1-side .step1-next{ justify-content:flex-start; margin:0 }
  #v2c-root .step1-preview{ margin:0 }
  #v2c-root .step1-preview__box{ position:relative; display:grid; place-items:center; aspect-ratio:1/1; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--surface-2) }
  #v2c-root .step1-preview__box img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:var(--surface-2) }
  #v2c-root .step1-preview__box img[hidden], #v2c-root .step1-preview__box [hidden]{ display:none }
  #v2c-root .step1-preview__empty{ padding:0 24px; text-align:center; color:var(--ink-2); font-size:16px }
  #v2c-root .step1-preview__tag{ position:absolute; left:14px; bottom:12px; padding:4px 10px; border-radius:6px; background:rgba(23,32,27,.78); color:#fff; font-family:'IBM Plex Mono',monospace; font-size:12px }
}

/* the looks while they load: their own photo, a soft shimmer, and "Laying [floor]..." */
#v2c-root .fav-pic-wait{ background:var(--surface-2) }
#v2c-root .fav-shimmer{ position:absolute; inset:0; z-index:4; overflow:hidden; pointer-events:none }
#v2c-root .fav-shimmer::after{ content:''; position:absolute; top:0; bottom:0; left:-60%; width:60%; background:linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent); animation:favShimmer 1.6s ease-in-out infinite }
@keyframes favShimmer{ to{ left:110% } }
#v2c-root .fav-veil-wait{ background:linear-gradient(to top, rgba(20,24,20,.62), rgba(20,24,20,.05) 55%); justify-content:flex-end; align-items:flex-start; text-align:left; padding:12px 14px; font-size:16px; z-index:5; pointer-events:none }
#v2c-root .fav-veil-retry{ border:0; font:inherit; font-size:16px; font-weight:600; cursor:pointer; background:rgba(20,24,20,.62); color:#fff; width:100%; height:100% }
#v2c-root .fav-veil-retry:focus-visible{ outline:3px solid #fff; outline-offset:-6px }
#v2c-root .fav-picwrap.is-arriving .lay.after, #v2c-root .fav-picwrap.is-arriving .divider, #v2c-root .fav-picwrap.is-arriving .knob{ animation:favFadeIn .7s ease both }
@keyframes favFadeIn{ from{ opacity:0 } to{ opacity:1 } }
@media (prefers-reduced-motion:reduce){ #v2c-root .fav-shimmer::after{ animation:none } #v2c-root .fav-picwrap.is-arriving .lay.after, #v2c-root .fav-picwrap.is-arriving .divider, #v2c-root .fav-picwrap.is-arriving .knob{ animation:none } }

/* "Creating your design": the bar and the rotating messages above the looks */
#v2c-root .gen-panel{ display:grid; gap:10px; margin:0 0 16px; padding:16px 18px; border:1px solid var(--line); border-radius:12px; background:var(--surface) }
#v2c-root .gen-panel[hidden]{ display:none }
#v2c-root .gen-title{ margin:0; font-size:17px; font-weight:700 }
#v2c-root .gen-bar{ height:8px; border-radius:999px; background:var(--line); overflow:hidden }
#v2c-root .gen-bar__fill{ height:100%; width:0; border-radius:999px; background:var(--moss); transition:width .35s ease-out }
#v2c-root .gen-panel.is-done .gen-bar__fill{ transition-duration:.25s }
#v2c-root .gen-msg{ margin:0; min-height:1.4em; font-size:15px; color:var(--ink-2) }

/* ============================================================
   Embed mode (?embed=1): the compact layout for a showroom's own website.
   Everything is under html.sr-embed, which only exists with ?embed=1, so the
   standalone page is untouched. showroom.js adds html.sr-started once a photo
   is in or a floor is picked.
   ============================================================ */
html.sr-embed #v2c-root{ padding-block:0 12px; padding-inline:12px }
html.sr-embed #showroomName{ display:none }

/* no header or logo. Once a design has begun a slim right-aligned row appears: the basket count (ecommerce mode) and "Start again" */
html.sr-embed #v2c-root header.top{ display:none }
html.sr-embed.sr-started #v2c-root header.top{
  display:flex; justify-content:flex-end; align-items:center; gap:14px;
  margin:0; padding:2px 0 0; border:0; min-height:0;
}
html.sr-embed #v2c-root #brandLogo, html.sr-embed #v2c-root header.top .spacer{ display:none }
html.sr-embed #v2c-root header.top .sr-start-new{
  min-height:32px; padding:0; border:0; background:none; box-shadow:none;
  font-size:14px; font-weight:500; color:var(--ink-2); text-decoration:underline; text-underline-offset:3px;
}
html.sr-embed #v2c-root header.top .sr-start-new:hover{ color:var(--ink) }

/* tighter steps row and step 1 */
html.sr-embed #v2c-root .steps{ margin:0 0 10px }
html.sr-embed #v2c-root .steps button{ min-height:40px; padding-block:6px 8px }
html.sr-embed #v2c-root #step1.stack{ gap:10px }
html.sr-embed #v2c-root #step1 h1{ font-size:clamp(26px,3vw,34px); margin-top:4px !important }
html.sr-embed #v2c-root .step1-form{ gap:10px }
html.sr-embed #v2c-root .step1-form > p.muted{ margin:0; font-size:15px; line-height:1.45 }
html.sr-embed #v2c-root .step1-cards{ gap:12px }
html.sr-embed #v2c-root .step1-card{ padding:14px; gap:10px }
html.sr-embed #v2c-root .step1-card__title{ font-size:18px }
html.sr-embed #v2c-root .step1-card__head p{ margin:2px 0 0 }
html.sr-embed #v2c-root .step1-area{ padding:8px 12px; font-size:16px }
html.sr-embed #v2c-root .dropzone{ padding:12px }
html.sr-embed #v2c-root .sr-examples{ gap:8px; margin:0 }
html.sr-embed #v2c-root .sr-examples-heading{ font-size:16px }
html.sr-embed #v2c-root .sr-room img{ aspect-ratio:16/9 }
html.sr-embed #v2c-root .sr-room-label{ min-height:0; padding:6px 10px; font-size:15px }
html.sr-embed #v2c-root .sr-more-rooms{ min-height:36px; font-size:16px }
html.sr-embed #v2c-root .sr-room-status{ min-height:0 }
html.sr-embed #v2c-root .consent{ min-height:0 }
html.sr-embed #v2c-root .consent .small{ font-size:12.5px; line-height:1.4 }
html.sr-embed #v2c-root .step1-next{ margin-top:2px }

/* the footer: smaller and quieter; the "Built by VisionToCart" credit stays */
html.sr-embed #v2c-root footer{ margin-top:20px !important; padding-top:10px !important }
html.sr-embed #v2c-root footer .small{ font-size:12px; line-height:1.4 }
html.sr-embed #v2c-root .sr-credit{ margin-top:4px; font-size:11px; opacity:.6 }

@media (max-width:520px){
  html.sr-embed #v2c-root{ padding-inline:10px }
  html.sr-embed #v2c-root .dropzone .thumb{ height:70px }
  html.sr-embed #v2c-root .sr-rooms{ gap:8px }
  /* on a phone the photo box must be on the first screen: drop the intro line and the size tip (the steps and the card titles say it) */
  html.sr-embed #v2c-root .step1-form > p.muted, html.sr-embed #v2c-root .step1-tip{ display:none }
}

/* "I don't know my measurements" (showPricing false): the size boxes step aside when it is ticked */
#v2c-root .sr-nomeasure{ margin:0 }
#v2c-root .step1-card.is-nomeasure .field-row, #v2c-root .step1-card.is-nomeasure .step1-area{ display:none }
#v2c-root .step1-card.has-nomeasure .notice{ display:none }

/* brand.accentsOnly (Conran): nothing green is left, including the arrow on the before / after slider */
#v2c-root[data-accents="brand"] .ba .knob{ color:var(--ink) }
/* a showroom's own heading font ("fonts": { "heading": ... } in its JSON, set by loader.js) */
#v2c-root[data-heading-font] h1, #v2c-root[data-heading-font] h2, #v2c-root[data-heading-font] h3, #v2c-root[data-heading-font] .price{ font-family:var(--heading-font) }
