/* ==========================================================================
   INFINITY CITY · Rentals · v6.3b (2026-11-02)
   v6 page skeleton (hero, multi-day first, delivery slip, brand labels, single-items CTA)
   + the v6.3 configurator, one section per category, + kids rentals band.
   ========================================================================== */
/* category sections: one heading, board type on the same row */
.ic-cfgs--x .ic-cat--h{display:flex;align-items:flex-end;margin:0;border-bottom:1px solid rgba(11,12,15,.14)}
.ic-cfgs--x .ic-cat__t{margin:0;padding:0 0 14px!important;border:0;box-shadow:none;color:var(--ic-ink);cursor:default}
.ic-cfgs--x .ic-cat__t::after{display:none}
.ic-cfgs--pow .ic-kitg .ic-cell{background:var(--ic-paper)}
.ic-cfgs--pow .ic-cell.is-off{background:rgba(245,246,249,.6)}
.ic-cfgs--pow .ic-pkg[aria-checked="true"]{background:var(--ic-paper)}
.ic-pkg__g,.ic-pkg__d{display:none}

/* kids rentals */
.ic-kids{background:#fff}
.ic-kids__in{display:grid;gap:24px;align-items:center}
.ic-kids .ic-sh__desc{margin-top:12px;max-width:52ch}
.ic-kids__btn{justify-self:start;gap:10px}
@media (min-width:1024px){
  .ic-kids{padding-top:96px;padding-bottom:96px}
  .ic-kids__in{grid-template-columns:minmax(0,1fr) auto;gap:64px}
}

/* hero: v6.3 height (shorter than v6) so the photo and the discount rules share the first screen */
.ic-header[data-ic-over] ~ main#main > .ic-phero:first-child{height:calc(300px + var(--ic-top-h))}
@media (min-width:1024px){
  .ic-header[data-ic-over] ~ main#main > .ic-phero:first-child{height:calc(400px + var(--ic-top-h))}
  .ic-phero__c{bottom:48px}
  .ic-phero__h{font-size:56px}
}
.ic-phero__media img{object-position:50% 80%}
/* multi-day right under the hero */
@media (min-width:1024px){
  .ic-sec--overlap.ic-sec--crumb{padding-top:24px}
  .ic-multiday .ic-md{margin-top:0}
  .ic-multiday{padding-bottom:72px}
}

/* two category sections: All-Mountain on paper, Powder on white */
.ic-cfgs.ic-cfgs--x.ic-cfgs--am{background:var(--ic-paper)}
.ic-cfgs.ic-cfgs--x.ic-cfgs--pow{background:#fff}
.ic-cfgs--x .ic-cfg__info{margin-top:28px}
@media (min-width:1024px){ .ic-cfgs--x .ic-cfg__info{margin-top:36px} .ic-cfgs--x .ic-cat__t{font-size:36px!important} }

/* ---------- phones / tablets: one category = one screen ----------
   heading + Ski|Snowboard  →  kit sheet  →  swipe row of package cards  →  price + Add to cart */
@media (max-width:1023px){
  .ic-cfgs.ic-cfgs--x{position:relative;padding:20px var(--ic-gutter) 24px}
  .ic-cfgs--x .ic-cat--h{border-bottom:0;min-height:36px;align-items:center}
  .ic-cfgs--x .ic-cat__t{font-size:19px!important;padding:0!important;line-height:1}
  .ic-cfgs--x .ic-cfg,.ic-cfgs--x.ic-cfgs--am .ic-cfg{padding:0!important}
  .ic-cfgs--x .ic-cfg__grid{display:flex!important;flex-direction:column;gap:14px;margin-top:14px}
  .ic-cfgs--x .ic-cfg__info{display:none}
  .ic-cfgs--x .ic-cfg__side{display:contents}
  .ic-cfgs--x .ic-cfg__stage{order:1;display:block;margin:0}
  .ic-cfgs--x .ic-cfg__pkgs{order:2}
  .ic-cfgs--x .ic-cfg__buy{order:3}
  /* board type sits on the heading row */
  .ic-cfgs--x .ic-cfg,.ic-cfgs--x .ic-cfg__grid,.ic-cfgs--x .ic-cfg__side{position:static!important}
  .ic-cfgs--x .ic-cfg__type{z-index:2;position:absolute!important;top:20px;right:var(--ic-gutter);width:auto;margin:0}
  .ic-cfgs--x .ic-seg{height:36px;border-bottom:0;gap:16px;align-items:center}
  .ic-cfgs--x .ic-seg__b{font-size:12px!important;letter-spacing:.1em;padding:0 0 6px!important}
  .ic-cfgs--x .ic-cfg__note{display:none}
  /* kit sheet: compact, no numbers */
  .ic-cfgs--x .ic-kitg{height:340px!important;gap:6px;grid-template-rows:minmax(0,.78fr) minmax(0,1fr) minmax(0,1fr)!important}
  .ic-cfgs--x .ic-kitg .ic-cell,.ic-cfgs--x .ic-kitg .ic-cell[data-part]{padding:10px 6px 6px!important}
  .ic-cfgs--x .ic-kitg .ic-cell[data-part="board"]{padding:8px 12px 26px!important}
  .ic-cfgs--x .ic-cell__n{display:none}
  .ic-cfgs--x .ic-cell__c{min-height:31px!important;padding-top:4px!important;justify-content:center;align-items:flex-end;text-align:center;font-size:12px!important;line-height:1.25}
  .ic-cfgs--x .ic-cell[data-part="board"] .ic-cell__c{left:0;right:0;bottom:7px;min-height:0!important;padding:0!important}
  .ic-cfgs--x .ic-cell img.is-cur{padding:0!important;object-position:50% 50%!important}
  /* package cards: swipe left / right; the middle card is the package */
  .ic-cfgs--x .ic-cfg__pkgs{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:10px;margin:0 calc(-1 * var(--ic-gutter));padding:2px var(--ic-gutter);overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 var(--ic-gutter);scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .ic-cfgs--x .ic-cfg__pkgs::-webkit-scrollbar{display:none}
  .ic-cfgs--x .ic-pg,.ic-cfgs--x .ic-pg__row{display:contents!important}
  .ic-cfgs--x .ic-pg__h{display:none}
  .ic-cfgs--x .ic-pkg,.ic-cfgs--x .ic-pkg[aria-checked="true"]{flex:0 0 78%;scroll-snap-align:center;display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto 1fr;align-content:start;gap:4px 12px;min-height:148px;height:auto;margin:0;padding:14px 16px 16px!important;border:1px solid rgba(11,12,15,.16);border-radius:4px;background:#fff;color:var(--ic-ink);text-align:left;box-shadow:none;transform:none}
  .ic-cfgs--x .ic-pkg::before,.ic-cfgs--x .ic-pkg::after{display:none!important}
  .ic-cfgs--x .ic-pkg__g{display:block;grid-column:1/-1;font:600 12px/1.3 var(--ic-font);letter-spacing:.08em;text-transform:uppercase;color:var(--ic-muted)}
  .ic-cfgs--x .ic-pkg__n{grid-column:1;font:600 18px/1.25 var(--ic-font)!important;letter-spacing:-.01em;color:inherit}
  .ic-cfgs--x .ic-pkg__p{grid-column:2;grid-row:2;align-self:baseline;font:500 15px/1.25 var(--ic-font)!important;color:inherit;white-space:nowrap}
  .ic-cfgs--x .ic-pkg__d{display:-webkit-box;grid-column:1/-1;margin-top:4px;font:400 14px/1.45 var(--ic-font);color:var(--ic-text);-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .ic-cfgs--x .ic-pkg[aria-checked="true"]{background:var(--ic-ink);border-color:var(--ic-ink);color:#fff}
  .ic-cfgs--x .ic-pkg[aria-checked="true"] .ic-pkg__g{color:var(--ic-snow)}
  .ic-cfgs--x .ic-pkg[aria-checked="true"] .ic-pkg__d{color:rgba(255,255,255,.82)}
  .ic-cfgs--x .ic-pkg[hidden]{display:none!important}
  /* price + Add to cart under the cards (the whole category fits one screen, so nothing sticks) */
  .ic-cfgs--x .ic-cfg__buy,.ic-cfgs--one.ic-cfgs--x .ic-cfg__buy{position:static!important;display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
  .ic-cfgs--x .ic-cfg__pv{margin:0;white-space:nowrap}
  .ic-cfgs--x .ic-cfg__pv b{font-size:28px!important}
  .ic-cfgs--x .ic-cfg__cart .ic-btn{width:100%;height:50px;justify-content:center}
}
@media (min-width:640px) and (max-width:1023px){
  .ic-cfgs--x .ic-kitg{height:420px!important}
  .ic-cfgs--x .ic-pkg,.ic-cfgs--x .ic-pkg[aria-checked="true"]{flex-basis:44%}
}

/* skis come with poles: give the board row more height when skis are shown */
@media (max-width:1023px){
  .ic-cfgs--x .ic-kitg:has(img.is-cur[data-v^="board-ski"]){grid-template-rows:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr)!important}
}
@media (min-width:1024px){
  .ic-cfgs--x .ic-kitg:has(img.is-cur[data-v^="board-ski"]){grid-template-rows:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr)!important;min-height:740px!important}
  .ic-cfgs--x .ic-kitg .ic-cell[data-part="board"]:has(img.is-cur[data-v^="board-ski"]){padding:30px 24px 34px!important}
}

/* phones, rev 2 (2026-11-02): description above the gear, cards carry only the package name */
@media (max-width:1023px){
  .ic-cfgs--x .ic-cfg__info{display:block!important;order:0;margin:0!important}
  .ic-cfgs--x .ic-cfg__name{display:none}
  .ic-cfgs--x .ic-cfg__desc{margin:0!important;max-width:none;font-size:14px!important;line-height:1.5!important;color:var(--ic-text)}
  .ic-cfgs--x .ic-cfg__grid{gap:12px}
  .ic-cfgs--x .ic-pkg,.ic-cfgs--x .ic-pkg[aria-checked="true"]{flex:0 0 auto;display:flex!important;align-items:center;min-height:46px;padding:0 18px!important;grid-template-columns:none;white-space:nowrap}
  .ic-cfgs--x .ic-pkg__g,.ic-cfgs--x .ic-pkg__d,.ic-cfgs--x .ic-pkg__p{display:none!important}
  .ic-cfgs--x .ic-pkg__n{font:600 15px/1.2 var(--ic-font)!important}
  .ic-cfgs--x .ic-cfg__pkgs{gap:8px}
}
@media (min-width:640px) and (max-width:1023px){
  .ic-cfgs--x .ic-pkg,.ic-cfgs--x .ic-pkg[aria-checked="true"]{flex-basis:auto}
}
@media (max-width:1023px){
  /* room at both ends so the first and last package can sit in the middle too */
  .ic-cfgs--x .ic-cfg__pkgs{padding-left:calc(50% - 40px)!important;padding-right:calc(50% - 40px)!important;scroll-padding:0!important}
}

/* phones, rev 3 (2026-11-02): more air between the parts */
@media (max-width:1023px){
  .ic-cfgs.ic-cfgs--x{padding-top:32px;padding-bottom:40px}
  .ic-cfgs--x .ic-cfg__type{top:32px}
  .ic-cfgs--x .ic-cfg__grid{gap:24px;margin-top:20px}
  .ic-cfgs--x .ic-cfg__desc{line-height:1.6!important}
  .ic-cfgs--x .ic-kitg{gap:10px;height:360px!important}
  .ic-cfgs--x .ic-cfg__pkgs{gap:10px}
  .ic-cfgs--x .ic-cfg__buy{margin-top:4px!important}
}

/* v7.9 (2026-11-08): package rows — hover is a highlight only: no underline on the name, no darker line between rows.
   The hovered row gets the same quiet ground as the selected row (white on All-Mountain's paper, paper on Powder's white);
   the selected row is still told apart by its filled marker and bold name. */
.ic-pkg:hover{border-color:rgba(11,12,15,.2)}
@media (max-width:1023px){.ic-cfgs--x .ic-pkg:not([aria-checked="true"]):hover{border-color:rgba(11,12,15,.16)}}
@media (min-width:1024px){
  .ic-pkg{transition:background-color .2s}
  .ic-pkg:hover{border-color:rgba(11,12,15,.12)}
  .ic-pkg:hover .ic-pkg__n{text-decoration:none}
  .ic-cfgs--am .ic-pkg:hover{background:#fff}
  .ic-cfgs--pow .ic-pkg:hover{background:var(--ic-paper)}
}
@media (prefers-reduced-motion:reduce){.ic-pkg{transition:none}}

/* v7.10 (2026-11-08): desktop configurator fits one screen (1440×900 and 1280×800, under the sticky header).
   - package name + description move to the top of the right column, so the kit grid starts right under the title row
   - kit grid is 560 tall for every package and board type (skis + poles no longer stretch it to 740), so nothing jumps
   - the price + Add to cart sit at the bottom of the right column, level with the bottom of the kit grid
   - tighter section padding and package rows */
@media (min-width:1024px){
  .ic-cfgs.ic-cfgs--x{padding-top:40px!important;padding-bottom:64px!important}
  .ic-cfgs--x .ic-cfg__grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,320px)!important;grid-template-rows:auto minmax(0,1fr)!important;grid-template-areas:"stage info" "stage side"!important;column-gap:56px!important;row-gap:20px!important;align-items:stretch!important;margin-top:40px!important}
  .ic-cfgs--x .ic-cfg__info{grid-area:info!important;margin:0!important}
  .ic-cfgs--x .ic-cfg__name{margin:0 0 8px!important}
  .ic-cfgs--x .ic-cfg__desc{margin:0!important;max-width:none!important;font-size:15px!important;line-height:1.45!important}
  .ic-cfgs--x .ic-cfg__stage{grid-area:stage!important;height:auto!important;align-self:start}
  .ic-cfgs--x .ic-kitg,.ic-cfgs--x .ic-kitg:has(img.is-cur[data-v^="board-ski"]){height:560px!important;min-height:0!important;max-width:none!important}
  .ic-cfgs--x .ic-kitg:has(img.is-cur[data-v^="board-ski"]){grid-template-rows:minmax(0,.9fr) minmax(0,1fr) minmax(0,1fr)!important}
  .ic-cfgs--x .ic-kitg .ic-cell[data-part="board"]:has(img.is-cur[data-v^="board-ski"]){padding:28px 20px 30px!important}
  .ic-cfgs--x .ic-cfg__side{grid-area:side!important;display:flex!important;flex-direction:column!important;height:auto!important;gap:0!important;align-self:stretch!important}
  .ic-cfgs--one.ic-cfgs--x .ic-cfg__type{top:40px!important}   /* level with the title after the smaller top padding; the ski note stays in the gap above the grid */
  .ic-cfgs--x .ic-cfg__pkgs{gap:12px!important}
  .ic-cfgs--x .ic-pkg,.ic-cfgs--x .ic-pkg[aria-checked="true"]{padding-top:9px!important;padding-bottom:9px!important}
  .ic-cfgs--x .ic-cfg__buy{margin:auto 0 0!important;padding-top:14px!important}
}
@media (min-width:1280px){
  .ic-cfgs--x .ic-cfg__grid{column-gap:64px!important}
}
/* Japanese / Traditional Chinese: the global CJK reading leading (1.75) made the right column outgrow the kit grid */
@media (min-width:1024px){ html:is([lang="ja"],[lang="zh-Hant"]) body .ic-cfgs--x p.ic-cfg__desc{line-height:1.55!important} html:is([lang="ja"],[lang="zh-Hant"]) .ic-cfgs--x .ic-pkg,html:is([lang="ja"],[lang="zh-Hant"]) .ic-cfgs--x .ic-pkg[aria-checked="true"]{padding-top:7px!important;padding-bottom:7px!important} }
/* goggles: their inset is a share of the cell width, which shrank them to a sliver in the shorter cells */
@media (min-width:1024px){ .ic-cfgs--x .ic-cell[data-part="goggles"] img.is-cur{padding:6% 27% 0!important} }

/* v7.11 (2026-11-08): phones and tablets (≤1023)
   1) packages are a checklist like desktop: GEAR ONLY / GEAR + WEAR / FULL SET headings, one row per package with
      a radio marker, name and price per day (replaces the swipe row of package cards)
   2) price + Add to cart float at the bottom of the screen while the configurator is on screen (v6 behaviour):
      sticky to the viewport bottom from the moment the category comes into view until its end scrolls past */
@media (max-width:1023px){
  .ic-cfgs--x .ic-cfg__pkgs{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:16px!important;margin:4px 0 0!important;padding:0!important;overflow:visible!important;scroll-snap-type:none!important}
  .ic-cfgs--x .ic-pg{display:block!important}
  .ic-cfgs--x .ic-pg[hidden]{display:none!important}
  .ic-cfgs--x .ic-pg__h{display:block!important;margin:0 0 6px!important;font:600 12px/1.3 var(--ic-font)!important;letter-spacing:.08em;text-transform:uppercase;color:var(--cfg-mut)}
  .ic-cfgs--x .ic-pg__row{display:flex!important;flex-direction:column!important;gap:0!important;border-top:1px solid rgba(11,12,15,.12)}
  .ic-cfgs--x .ic-pkg,.ic-cfgs--x .ic-pkg[aria-checked="true"]{position:relative;flex:none!important;display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:baseline;gap:12px;width:100%;min-height:48px!important;height:auto;margin:0!important;padding:12px 12px 12px 38px!important;border:0!important;border-bottom:1px solid rgba(11,12,15,.12)!important;border-radius:0!important;background:none;color:var(--ic-ink)!important;white-space:normal;box-shadow:none!important;transform:none!important;scroll-snap-align:none}
  .ic-cfgs--x .ic-pkg::before{display:block!important;content:"";position:absolute;left:12px;top:50%;width:14px;height:14px;margin-top:-7px;border:1.5px solid rgba(11,12,15,.45);border-radius:50%;box-sizing:border-box}
  .ic-cfgs--x .ic-pkg[aria-checked="true"]::before{border:4.5px solid var(--ic-ink)}
  .ic-cfgs--am.ic-cfgs--x .ic-pkg[aria-checked="true"]{background:#fff}
  .ic-cfgs--pow.ic-cfgs--x .ic-pkg[aria-checked="true"]{background:var(--ic-paper)}
  .ic-cfgs--x .ic-pkg__n{font:500 15px/1.3 var(--ic-font)!important;letter-spacing:0;color:inherit}
  .ic-cfgs--x .ic-pkg[aria-checked="true"] .ic-pkg__n{font-weight:600!important}
  .ic-cfgs--x .ic-pkg__p{display:block!important;flex:none;font:500 14px/1.3 var(--ic-font)!important;font-variant-numeric:tabular-nums;color:var(--cfg-mut)!important;white-space:nowrap}
  .ic-cfgs--x .ic-pkg[aria-checked="true"] .ic-pkg__p{color:var(--ic-ink)!important}
  .ic-cfgs--x .ic-pkg__g,.ic-cfgs--x .ic-pkg__d{display:none!important}
  .ic-cfgs--x .ic-pkg[hidden]{display:none!important}
  /* floating price bar */
  .ic-cfgs--x .ic-cfg__buy,.ic-cfgs--one.ic-cfgs--x .ic-cfg__buy{position:sticky!important;bottom:0;z-index:5;display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;margin:8px calc(-1 * var(--ic-gutter)) 0!important;padding:12px var(--ic-gutter) calc(12px + env(safe-area-inset-bottom))!important;border:0!important;border-top:1px solid var(--ic-line)!important;background:#fff!important;box-shadow:0 -8px 24px rgba(11,12,15,.08)!important}
  .ic-cfgs--x .ic-cfg__pv b{font-size:26px!important}
  .ic-cfgs--x .ic-cfg__cart .ic-btn{height:48px}
}
