.shade-brand-name{
  display:block;
  margin:0;
  color:#17181A;
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:22px;
  font-weight:700;
  letter-spacing:.04em;
  line-height:.95;
  text-transform:uppercase;
}
.shade-model-line,
.shade-swipe-sub{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin:4px 0 0;
}
.shade-model,
.shade-shot-count,
.shade-shot-color,
.shade-spec-kicker{
  margin:0;
  font-family:'Courier New',Courier,monospace;
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.shade-shot-count{color:#626158}
.shade-shot-color{margin-top:4px}
.shade-face-head{position:relative;z-index:2;padding:10px 12px 8px;color:#17181A}
.shade-face-head .shade-brand-name{font-size:22px}
.shade-color-groups{display:flex;align-items:center;gap:8px;max-width:100%;margin-top:8px}
.shade-color-groups span{flex:none;font-family:'Courier New',Courier,monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#626158}
.shade-color-select{flex:1;min-width:0;max-width:220px;margin:0;padding:6px 28px 6px 10px;border:1px solid #C9C3B3;border-radius:999px;background:#F6F1E5;color:#17181A;font-family:'Courier New',Courier,monospace;font-size:11px;letter-spacing:.04em;text-transform:uppercase}

.shade-flip{position:relative;transform-style:preserve-3d}
.shade-flip-inner{
  position:relative;
  height:100%;
  transform-style:preserve-3d;
  transition:transform .55s ease;
}
.shade-flip.is-flipped .shade-flip-inner{transform:rotateY(180deg)}
.shade-flip-front,.shade-flip-back{
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.shade-flip-back{
  position:absolute;
  inset:0;
  transform:rotateY(180deg);
  overflow:auto;
  padding:44px 16px 16px;
  background:#EEE8D7;
  color:#17181A;
}
.shade-spec{margin:8px 0 0}
.shade-spec div{display:grid;grid-template-columns:88px 1fr;gap:8px;padding:6px 0;border-top:1px solid #C9C3B3}
.shade-spec dt{margin:0;font-family:'Courier New',Courier,monospace;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#626158}
.shade-spec dd{margin:0;font-size:14px;line-height:1.35}

.shade-flip-toggle,
.shade-photo-arrow{
  position:absolute;
  z-index:4;
  display:grid;
  place-items:center;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(246,241,229,.72);
  color:#17181A;
  cursor:pointer;
}
.shade-flip-toggle{top:10px;right:10px;width:32px;height:32px}
.shade-flip-toggle svg,.shade-photo-arrow svg{width:16px;height:16px;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.shade-photo-arrow{top:46%;width:28px;height:28px;opacity:.55}
.shade-photo-arrow.is-prev{left:8px}
.shade-photo-arrow.is-next{right:8px}
.shade-photo-arrow:hover,.shade-flip-toggle:hover{opacity:1;background:rgba(246,241,229,.92)}
.shade-photo-arrow[hidden]{display:none}
.product-photo{position:relative}
.product-photo>.shade-flip{position:absolute;inset:0}
.product-photo .shade-flip-front{height:100%}
.product-photo .shade-flip-front>a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.product-photo .shade-flip-front img{width:100%;height:100%;object-fit:contain;object-position:center}
.gallery-main,
.product-photo img,
.gallery-thumbs img,
.color-option img,
.hero-product img,
.recent-card img,
.zoom-dialog>img,
.shade-swipe-photo img,
.shade-bag-photo,
.bag-item img{
  background:transparent;
  mix-blend-mode:normal;
  filter:url(#shade-knock-white);
}
.bag-item .shade-face-head{padding:0 0 6px}
.bag-item .bag-stage{position:relative;min-height:96px}
.bag-item .shade-flip-inner{width:108px;height:96px}
.bag-item .shade-flip-front img{width:108px;height:96px;object-fit:contain}
.bag-item .shade-flip-toggle{top:0;right:0;width:28px;height:28px}
.recent-card .recent-stage{position:relative;min-height:120px}
.recent-card img{width:100%;height:120px;object-fit:contain}
.gallery-thumbs{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:8px;margin:8px 0 0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.gallery-thumbs::-webkit-scrollbar{display:none}
.gallery-thumbs button{flex:none;scroll-snap-align:center}
.product-gallery .gallery-stage{position:relative;min-height:280px}
.product-gallery .shade-flip{min-height:280px}
.product-gallery .gallery-main{width:100%;height:min(52vh,520px);object-fit:contain;margin:0 auto}
.product-gallery .shade-shot-color{position:absolute;left:auto;right:12px;bottom:12px;z-index:3;padding:4px 8px;border-radius:999px;background:rgba(246,241,229,.88)}
.product-gallery .shade-shot-count{position:absolute;left:12px;bottom:12px;z-index:4;margin:0;padding:4px 8px;border-radius:999px;background:rgba(246,241,229,.88);pointer-events:none}
.product-brand-link{text-decoration:none}
.product-brand-link .shade-brand-name{font-size:28px}
.product-gallery .shade-face-head #product-name{margin:4px 0 0;font-family:var(--heading),'Barlow Condensed','Arial Narrow',Arial,sans-serif;font-size:clamp(28px,7.4vw,36px);font-weight:700;line-height:.96;letter-spacing:-.02em;text-transform:uppercase;color:#17181A}
.product-gallery .shade-face-head{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:0}
.product-gallery .product-brand-link{display:block;line-height:1;min-height:0;margin:0}
.product-gallery .shade-face-head .product-back{min-height:0;min-width:0;margin:0 0 4px;padding:0;font-size:12px;line-height:1.2}
.product-gallery .shade-face-head .shade-brand-name{font-size:clamp(34px,9vw,44px);line-height:.88}
.product-gallery .shade-face-head #product-name{margin:0;font-size:clamp(16px,4.2vw,20px);line-height:1}
.product-gallery .shade-face-head .shade-model-line{margin:0}
.product-gallery .shade-face-head .shade-color-groups{margin-top:2px}
.product-gallery .shade-face-head .shade-color-select{padding:4px 24px 4px 10px}
.product-gallery>.shade-face-head{grid-row:1;grid-column:1}
.product-gallery>.gallery-thumbs{grid-row:2;grid-column:1;margin-top:8px}
.product-gallery>.gallery-stage{grid-row:3;grid-column:1}
.product-gallery:has(.gallery-main)::before{grid-row:3;grid-column:1}
.recent-card{position:relative}
.recent-card .recent-mark{display:block;margin-top:6px}
@media (prefers-reduced-motion: reduce){
  .shade-flip-inner{transition:none}
}
@media(max-width:800px){
  .shade-photo-arrow{width:auto;height:auto;min-width:0;min-height:32px;padding:0 8px;border-radius:999px;font:600 11px/1 Barlow,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase}
  .shade-photo-arrow svg{display:none}
  .shade-color-select{-webkit-appearance:none;appearance:none;padding-right:10px}
  .product-page .product-gallery{min-height:0;padding:8px 16px 8px}
  .product-gallery .gallery-stage,.product-gallery .shade-flip{min-height:0}
  .product-gallery .gallery-main{height:240px}
  .product-gallery>.gallery-thumbs{margin-top:10px}
  .product-gallery>.gallery-stage{margin-top:10px}
}
