/* Two landscape feature cards, sized to the Store reference's 16:9 tiles. */
.storefront-page .store-featured-gear {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:40px;
  width:calc(100% - 120px);
  margin:60px auto 0;
  padding:0;
  scroll-margin-top:100px;
}
.store-featured-gear__card {
  position:relative;
  display:block;
  min-width:0;
  overflow:hidden;
  border:1px solid #3c4147;
  border-radius:8px;
  background:#e7e6e2;
  box-shadow:0 8px 12px #0008;
  text-decoration:none;
  isolation:isolate;
}
.store-featured-gear__canvas {
  position:relative;
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
}
.store-featured-gear__art {
  position:absolute;
  display:block;
  top:0;
  right:1%;
  width:60%;
  height:100%;
  transition:transform 280ms ease;
}
.store-featured-gear__art img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.store-featured-gear__art--hoodie {
  top:5%;
  right:1%;
  width:auto;
  height:90%;
  aspect-ratio:1;
  overflow:hidden;
}
/* Display the complete front half of the approved front/back product image. */
.store-featured-gear__art--hoodie img {
  width:200%;
  max-width:none;
  height:100%;
  object-fit:fill;
}
.store-featured-gear__copy {
  position:absolute;
  z-index:1;
  left:5%;
  top:50%;
  width:37%;
  display:grid;
  gap:10px;
  transform:translateY(-50%);
}
.store-featured-gear__copy small {
  color:#65501d;
  font:600 clamp(9px,.85vw,12px)/1.4 'Segoe UI',sans-serif;
  letter-spacing:1px;
  text-transform:uppercase;
}
.store-featured-gear__copy strong {
  color:#171a20;
  font:700 clamp(30px,3.2vw,60px)/.98 'XFG Condensed','Arial Narrow',sans-serif;
  text-transform:uppercase;
}
.store-featured-gear__card:is(:hover,:focus-visible) .store-featured-gear__art {
  transform:translateY(-2px) scale(1.025);
}
.store-featured-gear__card:focus-visible {
  outline:3px solid #f4cc78;
  outline-offset:4px;
}
@media(max-width:1023px) {
  .storefront-page .store-featured-gear {
    grid-template-columns:1fr;
    width:calc(100% - 80px);
  }
  .store-featured-gear__copy small { font-size:clamp(10px,1.5vw,13px); }
  .store-featured-gear__copy strong { font-size:clamp(36px,6vw,60px); }
}
@media(max-width:767px) {
  .storefront-page .store-featured-gear {
    width:calc(100% - 32px);
    gap:16px;
    margin-top:40px;
    scroll-margin-top:80px;
  }
  .store-featured-gear__copy { gap:7px; }
  .store-featured-gear__copy small { font-size:clamp(8px,2.2vw,12px); letter-spacing:.7px; }
  .store-featured-gear__copy strong { font-size:clamp(26px,7.6vw,52px); }
}
@media(prefers-reduced-motion:reduce) {
  .store-featured-gear__art { transition:none; }
  .store-featured-gear__card:is(:hover,:focus-visible) .store-featured-gear__art { transform:none; }
}

/* Keep each added product complete inside the existing carousel viewport. */
.storefront-page #essentials { scroll-margin-top:90px; }
.storefront-page .storefront-merch__slide--ranked > img,
.storefront-page .storefront-merch__slide--controller > img,
.storefront-page .storefront-merch__slide--cutout > img {
  height:auto;
  object-fit:contain;
}
.storefront-page .storefront-merch__slide--controller > img { background:#fff; }
.storefront-page .storefront-merch__slide--cutout > img {
  padding:20px;
  background:#e7e6e2;
}

/* Three equal Store columns: recommendations, merchandise and updates. */
.storefront-page .store-discovery {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:40px;
  width:calc(100% - 120px);
  margin:60px auto;
  color:#f3f4f5;
  scroll-margin-top:100px;
}
.store-discovery > * { min-width:0; }
.storefront-page .store-discovery__heading,
.storefront-page .store-discovery .storefront-merch__heading {
  display:flex;
  align-items:center;
  gap:10px;
  height:24px;
  margin:0 0 16px;
  padding:0;
}
.storefront-page .store-discovery__heading h2 {
  flex:none;
  margin:0;
  color:#daddE0;
  font:700 17px/1 'XFG Condensed','Arial Narrow',sans-serif;
  text-transform:uppercase;
}
.storefront-page .store-discovery__heading::after {
  content:"";
  flex:1;
  min-width:0;
  height:1px;
  background:#73777b;
}
.storefront-page .store-discovery__heading > a {
  position:relative;
  order:1;
  flex:none;
  display:inline-flex;
  align-items:center;
  min-height:20px;
  margin:0;
  padding:3px 4px;
  border:0;
  border-radius:0;
  color:#1b1b1b;
  background:#dadde0;
  font:700 10px/14px 'Segoe UI',sans-serif;
  text-transform:uppercase;
  text-decoration:none;
}
/* The visual button stays small while its touch target remains usable. */
.store-discovery__heading > a::before { content:""; position:absolute; inset:-10px 0; }
.storefront-page .store-discovery__heading > a:hover { background:#fff; }
.storefront-page .store-discovery__updates .store-discovery__heading > a:hover { background:#dadde0; }
.store-discovery a:focus-visible { outline:2px solid #f4cc78; outline-offset:4px; }
.store-discovery__tiles { display:grid; gap:28px; }
.store-promo {
  display:block;
  position:relative;
  border:1px solid #3c4147;
  border-radius:8px;
  background:#24272a;
  box-shadow:0 8px 12px #0008;
  overflow:hidden;
  text-decoration:none;
}
.store-promo__canvas { display:block; position:relative; aspect-ratio:16/9; overflow:hidden; }
.store-promo--ember { background:radial-gradient(ellipse at 82% 50%,#844322 0%,#3c251d 45%,#1c1716 85%); }
.store-promo--cups { background:radial-gradient(ellipse at 80% 30%,#565963 0%,#282b30 50%,#171a1e 85%); }
.store-promo__canvas::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,#08080870,transparent 65%);
}
.store-promo img {
  position:absolute;
  top:0;
  right:-2%;
  width:65%;
  height:100%;
  object-fit:contain;
  object-position:center;
  filter:drop-shadow(0 8px 10px #0006);
  transition:transform 300ms ease;
}
.store-promo--cups img { width:62%; right:0; padding:8px 0; }
.store-promo__copy {
  position:absolute;
  z-index:1;
  left:6%;
  top:50%;
  width:47%;
  display:grid;
  gap:9px;
  transform:translateY(-50%);
}
.store-promo__copy small {
  color:#e5d6c7;
  font:600 clamp(8px,.7vw,11px)/1.4 'Segoe UI',sans-serif;
  letter-spacing:.8px;
  text-transform:uppercase;
}
.store-promo__copy strong {
  color:#fff;
  font:700 clamp(23px,2.35vw,40px)/1 'XFG Condensed','Arial Narrow',sans-serif;
  text-transform:uppercase;
  text-shadow:0 2px 8px #0008;
}
.store-promo:is(:hover,:focus-visible) img { transform:scale(1.035); }
.storefront-page .store-discovery .storefront-merch { padding:0; background:transparent; }
.storefront-page .store-discovery .storefront-merch__window {
  border:1px solid #3c4147;
  border-radius:8px;
  background:#24272a;
  box-shadow:0 8px 12px #0008;
}
.storefront-page .store-discovery .storefront-merch__slide { background:#24272a; }
.storefront-page .store-discovery .storefront-merch__slide > img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1;
  object-fit:contain;
}
.storefront-page .store-discovery .storefront-merch__slide > span {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  min-height:56px;
  padding:12px 20px;
  background:#24272a;
}
.storefront-page .store-discovery .storefront-merch__slide strong {
  font:700 16px/1 'XFG Condensed','Arial Narrow',sans-serif;
  color:#dadde0;
  text-transform:uppercase;
}
.storefront-page .store-discovery .storefront-merch__slide .xfg-product-price {
  align-self:end;
  margin:0;
  color:#dadde0;
  font:900 16px/16px 'XFG Condensed','Arial Narrow',sans-serif;
  letter-spacing:1px;
  white-space:nowrap;
}
.storefront-page .store-discovery .xfg-product-price__cents {
  position:static;
  top:auto;
  margin-left:2px;
  font-size:8px;
  line-height:16px;
  vertical-align:super;
}
.storefront-page .store-discovery .xfg-product-price__accessible {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}
.storefront-page .store-discovery .storefront-merch__controls { margin-top:6px; }
.store-update-list { display:grid; gap:0; }
.store-update {
  position:relative;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:24px;
  text-decoration:none;
  color:inherit;
}
.store-update + .store-update { margin-top:24px; padding-top:24px; }
.store-update + .store-update::before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg,rgba(62,62,62,0),#636262 50%,rgba(62,62,62,0));
  pointer-events:none;
}
.store-update__image {
  display:block;
  overflow:hidden;
  border:1px solid #585348;
  border-radius:0;
  background:#24272a;
  box-shadow:none;
}
.store-update__image img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:854/480;
  object-fit:cover;
}
.store-update__image--vector { background:#c7c5bf; }
.store-update__image--vector img { object-fit:contain; }
.store-update__copy { min-width:0; }
.store-update__meta {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  margin-bottom:10px;
  color:#c1c5ca;
  font:500 11px/10px 'Segoe UI',sans-serif;
  text-transform:uppercase;
}
.store-update__tag { display:inline-block; padding:4px; border:0; border-radius:0; color:#000; background:#9c978f; font-weight:500; }
.store-update__copy strong { display:block; color:#f3f4f5; font:400 16px/22px 'Segoe UI',sans-serif; letter-spacing:1px; }
.store-update:is(:hover,:focus-visible) img { transform:none; }
.store-update:is(:hover,:focus-visible) strong { color:#f3f4f5; }
/* Keep the legal footer continuous with the Store's charcoal background. */
.storefront-page .site-footer::before { content:none; display:none; }
@media(max-width:1023px) {
  .storefront-page .store-discovery { width:calc(100% - 80px); grid-template-columns:1fr; gap:40px; }
  .store-discovery__tiles { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
  .storefront-page .store-discovery .storefront-merch { width:100%; }
  .storefront-page .store-discovery .storefront-merch__slide > img { max-height:520px; }
  .store-promo__copy strong { font-size:clamp(24px,3.4vw,40px); }
  .store-promo__copy small { font-size:9px; }
}
@media(max-width:767px) {
  .storefront-page .store-discovery { width:calc(100% - 32px); margin:40px auto; }
  .store-discovery__tiles { grid-template-columns:1fr; gap:28px; }
  .storefront-page .store-discovery__heading h2 { font-size:20px; }
  .storefront-page .store-discovery__updates .store-discovery__heading h2 { font-size:17px; }
  .storefront-page .store-discovery__heading > a { font-size:10px; }
  .store-promo__copy strong { font-size:clamp(28px,8vw,44px); }
  .store-promo__copy small { font-size:10px; }
  .storefront-page .store-discovery .storefront-merch__slide > img { max-height:none; }
}
@media(prefers-reduced-motion:reduce) {
  .store-promo img,.store-update__image img { transition:none; }
  .store-promo:is(:hover,:focus-visible) img,.store-update:is(:hover,:focus-visible) img { transform:none; }
}

/* Match the Store reference's centered width, separate cards and controls. */
.storefront-page .store-featured-gear,
.storefront-page .store-discovery { max-width:1320px; }
.storefront-page .store-discovery .storefront-merch__window {
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.storefront-page [data-store-merch-carousel] .storefront-merch__track {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  transform:none;
  transition:none;
  will-change:auto;
}
.storefront-page [data-store-merch-carousel] .storefront-merch__slide {
  grid-area:1 / 1;
  width:100%;
  min-width:0;
  box-sizing:border-box;
  overflow:hidden;
  border:1px solid #3c4147;
  border-radius:8px;
  box-shadow:0 8px 12px #0008;
}
.storefront-page [data-store-merch-carousel] .storefront-merch__slide[hidden] { display:none; }
.storefront-page [data-store-merch-carousel]:not([data-carousel-ready]) .storefront-merch__slide[aria-hidden="true"] { visibility:hidden; }
.storefront-page .store-discovery .storefront-merch__controls {
  display:grid;
  grid-template-columns:minmax(0,1fr) 132px;
  align-items:center;
  gap:12px;
  min-height:32px;
  margin-top:11px;
  padding:0;
}
.storefront-page .store-discovery .storefront-merch__progress {
  display:flex;
  align-items:center;
  width:100%;
  height:2px;
  margin:0;
  border:0;
  border-radius:0;
  overflow:visible;
  background:#79838d;
}
.storefront-page .store-discovery .storefront-merch__progress i {
  position:static;
  inset:auto;
  display:block;
  flex:none;
  height:6px;
  border:0;
  border-radius:0;
  background:#f3f4f5;
  transition:none;
}
.storefront-page .storefront-merch__navigation {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:11.2px;
  width:132px;
}
.storefront-page .store-discovery .storefront-merch__count {
  min-width:0;
  margin:0;
  color:#f3f4f5;
  font:400 12px/16px 'Segoe UI',sans-serif;
  letter-spacing:1px;
  white-space:nowrap;
}
.storefront-page .storefront-merch__arrows { display:flex; align-items:center; gap:8px; }
.storefront-page .store-discovery .storefront-merch__controls button {
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:32px;
  min-width:0;
  min-height:0;
  margin:0;
  padding:0 8px;
  border:1px solid #79838d;
  border-radius:8px;
  background:transparent;
  color:#f3f4f5;
  box-shadow:none;
  transform:none;
}
.storefront-page .store-discovery .storefront-merch__controls button:hover { border-color:#f3f4f5; background:transparent; }
.storefront-page .store-discovery .storefront-merch__controls button::before,
.storefront-page .store-discovery .storefront-merch__controls button::after { content:none; display:none; }
.storefront-page .store-discovery .storefront-merch__controls button:focus-visible { outline:2px solid #f4cc78; outline-offset:3px; }
.storefront-page .store-discovery .storefront-merch__controls button svg { flex:none; width:16px; height:17px; opacity:.8; fill:none; stroke:currentColor; stroke-width:1.5; }
.storefront-page .store-discovery .storefront-merch__controls button:hover svg { opacity:1; }

/* Stay in the Know: the phone layout and fading separators from the Store reference. */
.storefront-page .store-discovery__updates .store-discovery__heading {
  align-items:flex-end;
  gap:0;
}
.storefront-page .store-discovery__updates .store-discovery__heading::after {
  margin:0 7.5px 2.5px;
  background:#dadde0;
  opacity:.6;
}
@media(max-width:1024px) {
  .store-update__copy strong { font-size:18px; }
}
@media(max-width:600px) {
  .store-update { grid-template-columns:minmax(0,1fr); gap:16px; }
}
