:root {
  --bg: #000;
  --fg: #fff;
  --muted: #888;
  --line: #262626;
  --panel: #111;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
}

html {
  scroll-behavior: smooth;
}

#bestsellers,
#shop-by-anime,
#shinobi-cargo-v2 {
  scroll-margin-top: 70px;
}

body {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

body.viewer-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

h1,
h2,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Asset library */

#asset-library {
  max-width: 1600px;
  margin: 0 auto;
  padding: 16px;
}

.assets-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.assets-header span:last-child {
  color: var(--muted);
}

.assets-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.assets-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.assets-tab,
.assets-search,
.viewer button {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  padding: 6px 9px;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.assets-tab:hover,
.assets-tab.is-active,
.viewer button:hover {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}

.assets-tab span {
  margin-left: 4px;
  opacity: 0.6;
}

.assets-search {
  width: 220px;
  max-width: 100%;
  color: var(--fg);
  text-transform: none;
  letter-spacing: 0;
  outline: 0;
}

.assets-search::placeholder {
  color: var(--muted);
  opacity: 1;
}

.assets-search:focus {
  border-color: var(--fg);
}

.assets-controls__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.assets-sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.assets-sort select {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  text-transform: none;
  outline: 0;
}

.assets-sort select:focus {
  border-color: var(--fg);
}

.assets-tagbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.assets-tagbar__label {
  padding-top: 4px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.assets-taglist {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.assets-tagbar__empty {
  color: #555;
  font-size: 11px;
}

.assets-tagbar__clear,
.assets-tagbar__export,
.assets-tagbar__bulk,
.assets-tag-create button,
.assets-batch button {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.assets-tagbar__clear:hover,
.assets-tagbar__export:hover,
.assets-tagbar__bulk:hover,
.assets-tag-create button:hover,
.assets-batch button:hover:not(:disabled) {
  border-color: var(--fg);
  color: var(--fg);
}

.assets-tagbar__bulk.is-active {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}

.assets-batch button:disabled {
  opacity: 0.3;
  cursor: default;
}

.assets-tag-create {
  display: flex;
  gap: 4px;
}

.assets-tag-create input {
  width: 130px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--fg);
  font-size: 10px;
  outline: 0;
}

.assets-tag-create input:focus {
  border-color: var(--fg);
}

.assets-tag-create input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.assets-batch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: #0b0b0b;
  font-size: 10px;
  color: var(--muted);
}

.assets-batch[hidden] {
  display: none;
}

.assets-batch__count {
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.assets-batch__tags {
  min-width: 120px;
}

.assets-batch__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.assets-batch__status {
  margin-left: auto;
  color: #777;
}

.asset__check {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid #555;
  background: #000;
  color: transparent;
  font-size: 10px;
  line-height: 1;
}

#asset-library.is-bulk .asset__check {
  display: flex;
}

#asset-library.is-bulk .asset {
  cursor: crosshair;
}

.asset.is-selected {
  border-color: var(--fg);
  box-shadow: inset 0 0 0 2px var(--fg);
}

.asset.is-selected .asset__check {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.tag--filter {
  padding: 0;
  gap: 0;
}

.tag__select {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
}

.tag--filter:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.tag--filter.is-active {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}

.tag__count {
  opacity: 0.6;
}

.tag__edit,
.tag__x,
.tag__save {
  display: none;
  align-items: center;
  align-self: stretch;
  padding: 0 6px;
  border: 0;
  border-left: 1px solid var(--line);
  background: none;
  color: #888;
  font-family: inherit;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

.tag__x {
  font-size: 13px;
}

.tag--filter:hover .tag__edit,
.tag--filter:hover .tag__x,
.tag--filter:focus-within .tag__edit,
.tag--filter:focus-within .tag__x {
  display: inline-flex;
}

.tag--filter.is-editing .tag__save,
.tag--filter.is-editing .tag__x {
  display: inline-flex;
}

.tag__x:hover {
  background: #ff3b30;
  color: #fff;
}

.tag__edit:hover,
.tag__save:hover {
  background: #fff;
  color: #000;
}

.tag--filter.is-active .tag__edit,
.tag--filter.is-active .tag__x {
  border-left-color: rgba(0, 0, 0, 0.25);
  color: #000;
}

.tag--filter.is-active .tag__x:hover {
  background: #ff3b30;
  color: #fff;
}

.tag--filter.is-active .tag__edit:hover {
  background: #000;
  color: #fff;
}

.tag--filter.is-editing {
  border-color: var(--fg);
}

.tag__input {
  width: 110px;
  padding: 3px 6px;
  border: 0;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  line-height: 1.2;
  outline: 0;
}

@media (hover: none) {
  .tag__edit,
  .tag__x {
    display: inline-flex;
  }
}

.tag--card {
  padding: 2px 4px;
  border-color: #333;
  color: #888;
  font-size: 9px;
}

.tag--more {
  color: #666;
}

.tag--removable {
  cursor: pointer;
}

.tag--removable:hover {
  border-color: #ff5a5a;
  color: #ff5a5a;
}

.tag--removable span {
  font-size: 12px;
  line-height: 1;
}

.asset__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 0 6px 6px;
}

.assets-status {
  padding: 8px 0;
  color: var(--muted);
  font-size: 10px;
}

.assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 6px;
}

.asset {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  text-align: left;
}

.asset:hover,
.asset:focus-visible {
  border-color: var(--fg);
  outline: 0;
}

.asset__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0a0a0a;
  border-bottom: 1px solid var(--line);
}

.asset__media img,
.asset__media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.asset__num {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  padding: 3px 4px;
  border: 1px solid #333;
  background: #000;
  color: #fff;
  font-size: 9px;
  line-height: 1;
}

.asset--logo .asset__media {
  background: #8a8a8a;
}

.asset__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px;
}

.asset__name {
  min-width: 0;
  overflow: hidden;
  color: #bbb;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.asset__ext {
  flex: 0 0 auto;
  color: #555;
  font-size: 9px;
  text-transform: uppercase;
}

.assets-empty {
  padding: 48px 0;
  color: var(--muted);
}

.assets-empty[hidden] {
  display: none;
}

/* Viewer */

.viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.viewer[hidden] {
  display: none;
}

.viewer__bar,
.viewer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: #ccc;
}

.viewer__foot {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: var(--muted);
  font-size: 10px;
}

.viewer__name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.viewer__stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--bg);
}

.viewer__tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
}

.viewer__tags-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.viewer__tag-status {
  color: #666;
  text-transform: none;
  letter-spacing: 0;
}

.viewer__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.viewer__tag-empty {
  color: #555;
  font-size: 11px;
}

.viewer__tag-form {
  display: flex;
  gap: 6px;
}

.viewer__tag-form input {
  flex: 1;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--fg);
  outline: 0;
}

.viewer__tag-form input:focus {
  border-color: var(--fg);
}

.viewer__tag-form button {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.viewer__tag-form button:hover {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}

.viewer__stage img,
.viewer__stage video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Plain skeleton pages */

.page-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-shell h1 {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-shell__intro {
  max-width: 640px;
  margin-top: 12px;
  color: #aaa;
  line-height: 1.6;
}

.page-shell__intro img,
.rte img {
  max-width: 100%;
  height: auto;
}

.rte > * + * {
  margin-top: 1em;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px solid #444;
  background: var(--bg);
  color: var(--fg);
  font-size: 10px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn:hover {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}

.page-shell input[type="password"],
.page-shell input[type="search"],
.page-shell input[type="text"] {
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #444;
  border-radius: 0;
  background: var(--bg);
  color: var(--fg);
  outline: 0;
}

.page-shell input:focus {
  border-color: var(--fg);
}

@media (max-width: 640px) {
  #asset-library {
    padding: 10px;
  }

  .assets-controls {
    align-items: stretch;
  }

  .assets-controls__right {
    width: 100%;
  }

  .assets-sort {
    flex: 0 0 auto;
  }

  .assets-search {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .assets-tagbar {
    gap: 6px;
  }

  .assets-tag-create {
    flex: 1 1 auto;
  }

  .assets-tag-create input {
    width: auto;
    min-width: 0;
    flex: 1;
  }

  .assets-taglist {
    flex-basis: 100%;
    order: 5;
  }

  .assets-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 4px;
  }

  .viewer__bar,
  .viewer__foot {
    padding: 8px 10px;
  }

  .viewer__stage {
    padding: 8px;
  }

  .viewer__tags {
    padding: 8px 10px;
  }
}

/* Home */

.template-index {
  background: #fff;
}

.home-hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: #fff;
}

.home-hero__media {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 20;
  width: clamp(180px, 24vw, 420px);
  opacity: 0;
  animation: home-media-in 1900ms cubic-bezier(0.22, 0.61, 0.36, 1) 1800ms forwards;
}

.home-hero__media--left {
  left: 0;
}

.home-hero__media--right {
  right: 0;
  /* Fades in after the left photo, and slower. */
  animation-duration: 2200ms;
  animation-delay: 2200ms;
}

/* Clips the photo so hotspot tags can still open past the panel edge. */
.home-hero__media-inner {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.hero-slide--contain img {
  object-fit: contain;
  background: #fff;
}

/* Rebirth/force slide: a touch larger than the panel while staying uncropped. */
.hero-slide--inset img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 106%;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
  background: #fff;
}

/* Evangelist slide: full height, no side crop — the photo may run wider than
   the panel into the hero whitespace, anchored to the outer edge. */
.hero-slide.hero-slide--bleed img {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  background: #fff;
}

.hero-slide.hero-slide--bleed-left img {
  left: 0;
  right: auto;
}

.hero-pin-set {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-pin-set.is-active {
  display: block;
  opacity: 1;
  pointer-events: auto;
  animation: hero-pins-in 700ms ease forwards;
}

@keyframes hero-pins-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-pin-set .hero-pin {
  pointer-events: auto;
}

.home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero hotspot pins: white dots that open a shoppable tag on hover/focus. */
.hero-pin {
  position: absolute;
  top: var(--pin-y, 50%);
  left: var(--pin-x, 50%);
  z-index: 2;
  display: flex;
  align-items: center;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

/* Mobile pin defaults (≤800px). Kept outside the media query so the pin
   editor can read and save them from any viewport; desktop still positions
   with --pin-x / --pin-y above. The drag editor writes --pin-mx / --pin-my. */
.home-hero .hero-pin[data-pin-id='centipede'] {
  --pin-mx: 53.06%;
  --pin-my: 31.22%;
}

.home-hero .hero-pin[data-pin-id='fullmetal'] {
  --pin-mx: 33.08%;
  --pin-my: 24.88%;
}

.home-hero .hero-pin[data-pin-id='shinobi'] {
  --pin-mx: 62.15%;
  --pin-my: 61.95%;
}

.home-hero .hero-pin[data-pin-id='evangelist'] {
  --pin-mx: 76.9%;
  --pin-my: 26.78%;
}

.home-hero .hero-pin[data-pin-id='rebirth-long-sleeve'] {
  --pin-mx: 25.34%;
  --pin-my: 30.57%;
}

.home-hero .hero-pin[data-pin-id='force-pant'] {
  --pin-mx: 18%;
  --pin-my: 73%;
}

.home-hero .hero-pin[data-pin-id='centipede-slide-3'] {
  --pin-mx: 76.5%;
  --pin-my: 56.66%;
}

.hero-pin__dot {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.18);
}

.hero-pin__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.25);
  animation: hero-pin-ping 2.6s ease-out infinite;
}

.hero-pin__tag {
  position: absolute;
  top: 50%;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  color: #111;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-6px, -50%);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 200ms;
}

/* Pins on the right photo open their tag toward the centre of the page. */
.hero-pin--flip .hero-pin__tag {
  right: 12px;
  left: auto;
  transform: translate(6px, -50%);
}

.hero-pin:hover .hero-pin__tag,
.hero-pin:focus-within .hero-pin__tag,
.hero-pin.is-open .hero-pin__tag {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s;
}

.hero-pin__price {
  font-weight: 600;
}

.hero-pin__arrow {
  font-size: 11px;
}

.home-splash {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: #000;
  animation: home-bg 700ms cubic-bezier(0.4, 0, 0.2, 1) 900ms forwards;
}

.home-hero__logo {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.home-hero__logo .home-splash__logo--black {
  display: block;
  width: clamp(140px, 22vw, 300px);
  height: auto;
  translate: 0 -8svh;
}

.home-splash__logo {
  width: clamp(140px, 22vw, 300px);
  height: auto;
  pointer-events: none;
  user-select: none;
  /* Sit high from the start so the logo never has to travel once the
     splash turns white. */
  translate: 0 -8svh;
}

.home-splash__logo--white {
  grid-area: 1 / 1;
  opacity: 0;
  transform: scale(0.97);
  animation:
    home-white-in 350ms ease forwards,
    home-white-out 700ms ease 900ms forwards;
}

.home-splash__logo--black {
  grid-area: 1 / 1;
  opacity: 0;
  animation: home-black-in 700ms ease 900ms forwards;
}

.home-hero__copy {
  position: absolute;
  top: calc(50% + 50px);
  left: 50%;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(380px, 80vw);
  text-align: center;
  transform: translateX(-50%);
}

.home-brand__button {
  display: inline-flex;
  opacity: 0;
  visibility: hidden;
  animation: home-button-in 350ms ease-out 2500ms forwards;
  padding: 12px 22px;
  border: 0;
  background: #111;
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.home-brand__button-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-brand__button-mark {
  display: block;
  flex: none;
  width: auto;
  height: 12px;
}

.home-brand__button-mark--fang {
  display: none;
}

/* Desktop hover: the button inverts to white, so swap the white mark for the
   black fang. Touch devices keep the white mark. */
@media (min-width: 801px) {
  .home-brand__button:hover .home-brand__button-mark--logo {
    display: none;
  }

  .home-brand__button:hover .home-brand__button-mark--fang {
    display: block;
  }
}

/* Mobile-only CTA parts; desktop keeps the original compact button. */
.home-hero__proof {
  display: none;
}

.home-brand__button:hover {
  background: #fff;
  color: #111;
  outline: 1px solid #111;
  outline-offset: 0;
}

.home-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 0 24px;
  border-bottom: 0;
  background: transparent;
  /* Nav is always present: white over the black splash, then it fades to
     black in step with the splash turning white. */
  color: #fff;
  animation: home-nav-color 900ms cubic-bezier(0.4, 0, 0.2, 1) 1000ms forwards;
}

.home-nav a {
  color: inherit;
  text-decoration: none;
}

.home-nav__left {
  display: flex;
  align-items: center;
}

.home-nav__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.home-nav__menu span {
  display: block;
  width: 19px;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 220ms ease,
    opacity 160ms ease;
}

.home-nav__menu.is-open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.home-nav__menu.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.home-nav__menu.is-open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.home-nav__menu:focus,
.home-nav__menu:focus-visible {
  outline: none;
}

.home-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  transition: opacity 160ms ease;
  cursor: pointer;
}

.home-nav__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.home-nav__icon:hover {
  opacity: 0.55;
}


.home-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: min(340px, 86vw);
  padding: 70px 24px 24px;
  overflow-y: auto;
  background: #fff;
  color: #111;
  visibility: hidden;
  transform: translateX(-100%);
  transition:
    transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 320ms;
}

.home-menu.is-open {
  visibility: visible;
  transform: none;
  transition:
    transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s;
}

.home-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #777;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-menu__head button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.home-menu:focus {
  outline: none;
}

.home-menu__links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-menu__links a {
  color: #111;
  font-size: 22px;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Floating "Shop by anime" panel that opens to the right of the drawer. */
.home-anime-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: min(340px, 86vw);
  z-index: 89;
  display: flex;
  flex-direction: column;
  width: clamp(160px, calc(100svh * 0.5333), 560px);
  padding: 0;
  background: transparent;
  color: #fff;
  visibility: hidden;
  overflow: hidden;
  overflow: clip;
  opacity: 0;
  transform: translateX(24px);
  transition:
    transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 240ms ease,
    visibility 0s linear 320ms;
}

body.menu-open .home-anime-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition:
    transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 240ms ease 80ms,
    visibility 0s;
}

.home-anime-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.home-anime-menu__card {
  position: relative;
  display: block;
  height: calc(100svh / 3);
  overflow: hidden;
  background: #eaeaea;
  color: #fff;
  text-decoration: none;
  opacity: 0;
}

/* Posters settle in one at a time once the drawer has finished sliding. */
body.menu-open .home-anime-menu__card {
  animation: home-anime-card-in 520ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

body.menu-open .home-anime-menu__card:nth-child(1) {
  animation-delay: 360ms;
}

body.menu-open .home-anime-menu__card:nth-child(2) {
  animation-delay: 450ms;
}

body.menu-open .home-anime-menu__card:nth-child(3) {
  animation-delay: 540ms;
}

body.menu-open .home-anime-menu__card:nth-child(4) {
  animation-delay: 630ms;
}

body.menu-open .home-anime-menu__card:nth-child(5) {
  animation-delay: 720ms;
}

body.menu-open .home-anime-menu__card:nth-child(6) {
  animation-delay: 810ms;
}

.home-anime-menu__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-anime-menu__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}

.home-anime-menu__card span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  font-size: 8px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-anime-menu__card:hover img {
  opacity: 0.85;
}

.home-menu__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.home-menu__country {
  position: relative;
}

.home-menu__country-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: opacity 160ms ease;
}

.home-menu__country-toggle:hover {
  opacity: 0.55;
}

.home-menu__country-list {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 2;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid #111;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.home-menu__country-list[hidden] {
  display: none;
}

.home-menu__country-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  background: #fff;
  color: #111;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
}

.home-menu__country-option[aria-selected="true"],
.home-menu__country-option:hover {
  background: #111;
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.home-menu__account {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #111;
  transition: opacity 160ms ease;
}

.home-menu__account svg {
  display: block;
  width: 22px;
  height: 22px;
}

.home-menu__account:hover {
  opacity: 0.55;
}

.home-menu__links a:hover {
  opacity: 0.55;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

body.cart-open {
  overflow: hidden;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 125;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.cart-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  display: flex;
  flex-direction: column;
  width: min(400px, 90vw);
  background: #fff;
  color: #111;
  visibility: hidden;
  transform: translateX(100%);
  transition:
    transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 320ms;
}

.cart-gift-tab {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 220px;
  padding: 0;
  border: 0;
  background: #111;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transform: translate(-100%, -50%) rotate(180deg);
  transition: opacity 160ms ease;
}

.cart-gift-tab:hover {
  opacity: 0.8;
}

.gift-backdrop {
  position: fixed;
  inset: 0;
  z-index: 135;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.gift-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gift-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 140;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100svh - 48px);
  padding: 28px 28px 24px;
  overflow-y: auto;
  background: #fff;
  color: #111;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, -46%);
  transition:
    transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 200ms ease,
    visibility 0s linear 260ms;
}

.gift-popup.is-open {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%);
  transition:
    transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 200ms ease,
    visibility 0s;
}

.gift-popup__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.gift-popup__eyebrow {
  margin: 0 0 10px;
  color: #777;
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gift-popup__mark {
  display: block;
  width: 28px;
  height: auto;
  margin: 0 auto 12px;
}

.gift-popup__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.gift-popup__copy {
  margin: 0 0 20px;
  color: #555;
  font-size: 11px;
  line-height: 1.5;
}

.gift-popup__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gift-popup__option {
  padding: 13px 14px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.gift-popup__option:hover,
.gift-popup__option.is-active {
  background: #111;
  color: #fff;
}

.gift-popup__field input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.gift-popup__submit {
  width: 100%;
  height: 46px;
  margin-top: 12px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.gift-popup__submit:hover:not(:disabled) {
  background: #fff;
  color: #111;
}

.gift-popup__submit:disabled {
  border-color: #ddd;
  background: #fff;
  color: #8a8a8a;
  cursor: default;
}

.gift-popup__status {
  margin: 12px 0 0;
  color: #1f7a3d;
  font-size: 9px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gift-step[hidden],
.gift-popup__status[hidden] {
  display: none;
}

.cart-drawer.is-open {
  visibility: visible;
  transform: none;
  transition:
    transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid #e4e4e4;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cart-drawer__head button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cart-shipping {
  padding: 13px 20px 12px;
  border-bottom: 1px solid #e4e4e4;
  background: #fafafa;
}

.cart-shipping__text {
  margin: 0 0 8px;
  text-align: center;
  color: #111;
  font-size: 9px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-shipping__track {
  position: relative;
  height: 3px;
  background: #e4e4e4;
}

.cart-shipping__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: #111;
  transition: width 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cart-shipping.is-unlocked .cart-shipping__text {
  color: #1f7a3d;
}

.cart-shipping.is-unlocked .cart-shipping__fill {
  background: #1f7a3d;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-drawer__body.is-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.cart-item:first-child {
  padding-top: 0;
}

.cart-item img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  background: #eee;
}

.cart-item__title {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cart-item__price {
  margin-top: 4px;
  color: #555;
  font-size: 11px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-qty button {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.cart-qty button:hover {
  border-color: #111;
}

.cart-qty span {
  min-width: 14px;
  text-align: center;
  font-size: 11px;
}

.cart-item__remove {
  padding: 0 4px;
  border: 0;
  background: none;
  color: #999;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.cart-item__remove:hover {
  color: #111;
}

.cart-empty {
  text-align: center;
  color: #777;
  font-size: 12px;
  line-height: 1.6;
}

/* Empty-cart CTA: primary button, centred under the empty message. */
.cart-empty + a {
  display: block;
  width: max-content;
  margin: 14px auto 0;
  padding: 12px 22px;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.cart-empty + a:hover {
  background: #fff;
  color: #111;
}

.cart-drawer__foot {
  padding: 18px 20px;
  border-top: 1px solid #e4e4e4;
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-drawer__checkout {
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.cart-drawer__checkout:hover:not(:disabled) {
  background: #fff;
  color: #111;
}

.cart-drawer__checkout:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Floats just above the best sellers strip and rides up with its peek. */
.home-badge {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100vw - 24px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-family: var(--mono);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  animation: home-button-in 500ms cubic-bezier(0.22, 0.61, 0.36, 1) 2900ms forwards;
}

.home-badge__stars {
  color: #ffcc00;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
}

.home-badge__text {
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* Best sellers */

.bestsellers {
  position: relative;
  z-index: 60;
  margin-top: -6svh;
  padding: 24px 24px 72px;
  border-top: 1px solid #dcdcdc;
  background: #f2f2f2;
  color: #111;
  transform: translateY(6svh);
  animation: bestsellers-peek 600ms cubic-bezier(0.22, 0.61, 0.36, 1) 2900ms forwards;
}

.bestsellers__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 8px;
  max-width: 1500px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: transparent;
  color: #111;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eaeaea;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 0;
  background: transparent;
  color: #111;
  font-size: 7px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card__info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 8px;
  padding: 5px 5px 0;
}

.product-card__title {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-card__price {
  font-size: 11px;
  white-space: nowrap;
}

.product-card__note {
  flex-basis: 100%;
  color: #777;
  font-size: 9px;
}

.product-card__add {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: opacity 160ms ease;
}

.product-card__add:hover:not(:disabled) {
  opacity: 0.55;
}

.product-card__add:disabled {
  opacity: 0.2;
  cursor: default;
}

.product-card__badge--soldout {
  right: 8px;
  left: auto;
  color: #111;
  font-weight: 600;
}

.bestsellers__more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.bestsellers__more-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 22px;
  /* Invisible outline so the hover outline doesn't shift the layout. */
  border: 1px solid transparent;
  background: transparent;
  color: #111;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.bestsellers__more-arrow {
  display: block;
  flex: none;
  width: 12px;
  height: 12px;
}

.bestsellers__more-button:hover {
  border-color: #111;
  background: transparent;
  color: #111;
}

/* Shop by anime */

.anime {
  padding: 0;
  background: #fff;
  color: #111;
}

.anime__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.anime-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eaeaea;
  color: #fff;
  text-decoration: none;
}

.anime-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}

.anime-card h3 {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@keyframes home-bg {
  to {
    background: #fff;
  }
}

@keyframes home-white-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes home-white-out {
  to {
    opacity: 0;
  }
}

@keyframes home-black-in {
  to {
    opacity: 1;
  }
}

@keyframes home-nav-color {
  to {
    color: #111;
  }
}


@keyframes home-media-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes home-anime-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-pin-ping {
  0% {
    opacity: 0.9;
    transform: scale(0.7);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@keyframes home-button-in {
  to {
    opacity: 1;
    visibility: visible;
  }
}

/* Mobile CTA: rises into place instead of just snapping visible. */
@keyframes home-button-up {
  from {
    opacity: 0;
    visibility: visible;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@keyframes bestsellers-peek {
  to {
    transform: translateY(0);
  }
}

@keyframes home-proof-in {
  to {
    opacity: 1;
  }
}

@keyframes home-logo-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 1100px) {
  .home-anime-menu {
    padding: 60px 0 24px;
  }

  .bestsellers__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 8px;
  }

  .anime__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .bestsellers {
    padding: 20px 12px 52px;
  }

  .bestsellers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 6px;
  }

  .product-card__info {
    padding: 4px 4px 0;
  }

  .product-card__add {
    right: 6px;
    bottom: 6px;
    width: 28px;
    height: 28px;
  }

  .anime {
    padding: 0;
  }

  .anime__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .anime-card h3 {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 10px;
  }

  /* Mobile hero: the campaign photos become a full-bleed slideshow behind the
     logo. Both media columns are stacked full-screen so every slide index has
     a photo (each column has one empty slot); only the column on top gets pins.
     Only the top column fades in; the one underneath switches on afterwards so
     the stacked photos never ghost through each other. */
  .home-hero__media {
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    /* The stacked full-screen columns must not block the lower column's pins. */
    pointer-events: none;
    animation: home-media-in 1ms linear 3500ms forwards;
  }

  .home-hero__media--right {
    z-index: 21;
    /* First photo eases in right after the logo starts clearing. */
    animation: home-media-in 1500ms cubic-bezier(0.22, 0.61, 0.36, 1) 1800ms forwards;
  }

  /* The covered left photo is hidden only once a slide is shown, so its
     fade-out on 3→1 stays soft; this also stops the centipede ghosting
     through the right photo on 1→2. */
  .home-hero[data-hero-active='0'] .home-hero__media--left,
  .home-hero[data-hero-active='1'] .home-hero__media--left {
    visibility: hidden;
  }

  /* Calmer mobile slide change: 700ms out, short beat, 700ms in. */
  .home-hero .hero-slide {
    transition: opacity 700ms ease-in-out;
  }

  /* Mobile intro: let the logo dissolve slowly, then the photo fades up. */
  .home-hero__logo {
    animation: home-logo-out 900ms ease 1600ms forwards;
  }

  .home-hero__media-inner {
    overflow: hidden;
  }

  /* Full bleed — no margins. */
  .home-hero .hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    transform: none;
    object-fit: cover;
    object-position: center;
    background: none;
  }

  /* Nudge the crop (not the box) so the photos shift without any margin. */
  .home-hero .hero-slide[data-hero-slide='0'] img {
    top: -3px;
    bottom: auto;
    height: calc(100% + 3px);
    object-position: 56% center;
  }

  .home-hero .hero-slide[data-hero-slide='1'] img {
    object-position: 44% center;
  }

  /* Mobile pins: only the photo that is actually visible gets pins. Slides 0
     and 1 show the right column on top; slide 2 falls through to the left
     column, so the covered left pins stay off. */
  .home-hero .hero-pin-set {
    display: none;
  }

  .home-hero .hero-pin-set.is-active {
    display: block;
    pointer-events: auto;
  }

  .home-hero__media--left .hero-pin-set.is-active:not([data-hero-pins='2']) {
    display: none;
  }

  .home-hero__media--right .hero-pin-set.is-active[data-hero-pins='2'] {
    display: none;
  }

  /* Re-placed for the full-bleed cover crop. The defaults live outside this
     media query (with the base pin styles) so the editor can read them; the
     drag editor writes --pin-mx / --pin-my inline. */
  .home-hero .hero-pin {
    top: var(--pin-my, 50%) !important;
    left: var(--pin-mx, 50%) !important;
  }

  /* Keep the open tag inside the screen: the desktop flip direction assumed a
     narrow side column, not the full-bleed photo. The 22px offset clears the
     10px tap padding plus the 12px dot. */
  .home-hero .hero-pin__tag {
    left: 22px;
  }

  .home-hero .hero-pin--flip .hero-pin__tag {
    right: auto;
    left: 22px;
    transform: translate(-6px, -50%);
  }

  .home-hero .hero-pin--flip:hover .hero-pin__tag,
  .home-hero .hero-pin--flip:focus-within .hero-pin__tag,
  .home-hero .hero-pin--flip.is-open .hero-pin__tag {
    transform: translate(0, -50%);
  }

  .home-hero .hero-pin[data-pin-id='shinobi'] .hero-pin__tag,
  .home-hero .hero-pin[data-pin-id='evangelist'] .hero-pin__tag,
  .home-hero .hero-pin[data-pin-id='centipede-slide-3'] .hero-pin__tag {
    right: 22px;
    left: auto;
    transform: translate(6px, -50%);
  }

  .home-hero .hero-pin[data-pin-id='shinobi']:hover .hero-pin__tag,
  .home-hero .hero-pin[data-pin-id='shinobi']:focus-within .hero-pin__tag,
  .home-hero .hero-pin[data-pin-id='shinobi'].is-open .hero-pin__tag,
  .home-hero .hero-pin[data-pin-id='evangelist']:hover .hero-pin__tag,
  .home-hero .hero-pin[data-pin-id='evangelist']:focus-within .hero-pin__tag,
  .home-hero .hero-pin[data-pin-id='evangelist'].is-open .hero-pin__tag,
  .home-hero .hero-pin[data-pin-id='centipede-slide-3']:hover .hero-pin__tag,
  .home-hero .hero-pin[data-pin-id='centipede-slide-3']:focus-within .hero-pin__tag,
  .home-hero .hero-pin[data-pin-id='centipede-slide-3'].is-open .hero-pin__tag {
    transform: translate(0, -50%);
  }

  /* Bigger tap target around the small dot. */
  .home-hero .hero-pin {
    padding: 10px;
  }

  .home-hero .hero-pin__dot {
    width: 12px;
    height: 12px;
  }

  .home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 25;
    /* Full-opacity photos; only the bottom fade remains for the star line. */
    background:
      linear-gradient(
        to top,
        rgba(255, 255, 255, 0.66) 0%,
        rgba(255, 255, 255, 0.5) 5%,
        rgba(255, 255, 255, 0.3) 10%,
        rgba(255, 255, 255, 0.12) 14%,
        rgba(255, 255, 255, 0) 18%
      );
    pointer-events: none;
    opacity: 0;
    /* Fades up together with the first photo. */
    animation: home-media-in 1500ms cubic-bezier(0.22, 0.61, 0.36, 1) 1800ms forwards;
  }

  .home-hero__logo .home-splash__logo--black,
  .home-splash__logo--white {
    width: clamp(170px, 44vw, 220px);
  }

  .home-hero__copy {
    top: auto;
    right: 12px;
    bottom: calc(6svh + 18px);
    left: 12px;
    width: auto;
    transform: none;
  }

  .home-hero__copy {
    top: auto;
    right: 12px;
    bottom: calc(6svh + 39px);
    left: 12px;
    width: auto;
    transform: none;
  }

  /* Mobile CTA variant: a near-full-width bar at the bottom of the hero. The
     star line is parked in the best-sellers section so it slides up with that
     section, not with the button. Desktop keeps the original pill and badge. */
  .home-brand__button {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 18px 16px;
    font-size: 12px;
    animation: home-button-up 550ms cubic-bezier(0.22, 0.61, 0.36, 1) 2500ms forwards;
  }

  .home-brand__button-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .home-brand__button-mark {
    height: 14px;
  }

  .home-hero__proof {
    position: absolute;
    bottom: calc(100% + 18px);
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    color: #111;
    font-family: var(--mono);
    font-size: 8.5px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    /* Lives above the strip, so hold it back until the strip starts its slide. */
    opacity: 0;
    transform: translateX(-50%);
    /* Fades in over the same 600ms the strip takes to slide up. */
    animation: home-proof-in 600ms ease-out 2900ms forwards;
  }

  .home-hero__proof-stars {
    color: #ffcc00;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0;
  }

  /* The star line now lives under the CTA, so the floating badge is off. */
  .template-index .home-badge {
    display: none;
  }

  .home-badge {
    gap: 5px;
    max-width: calc(100vw - 24px);
  }

  .home-badge__stars {
    font-size: 12px;
    letter-spacing: 0;
  }

  .home-badge__text {
    font-size: 7.5px;
    letter-spacing: 0.03em;
  }
}

@media (max-width: 640px) {
  .home-nav {
    padding: 0 16px;
  }

  .home-nav__left {
    gap: 2px;
  }

  .home-nav__actions {
    gap: 12px;
  }

  .home-menu {
    width: 100vw;
    padding: 64px 20px 20px;
  }

  .home-menu__links {
    gap: 14px;
  }

  .home-menu__links a {
    font-size: 30px;
  }

  .home-anime-menu {
    display: none;
  }

  .cart-drawer {
    width: 92vw;
  }

  .cart-drawer__body {
    padding: 14px;
  }

  .cart-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .cart-item img {
    width: 56px;
    height: 70px;
  }
}

@media (max-width: 360px) {
  .home-badge {
    gap: 3px;
  }

  .home-badge__stars {
    font-size: 10px;
  }

  .home-badge__text {
    font-size: 6.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-splash {
    background: #fff;
    animation: none;
  }

  .home-hero__media {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .home-hero::after {
    opacity: 1;
    animation: none;
  }

  .home-splash__logo--white {
    opacity: 0;
    transform: none;
    animation: none;
  }

  .home-splash__logo--black {
    opacity: 1;
    animation: none;
  }

  .home-brand__button {
    opacity: 1;
    visibility: visible;
    animation: none;
  }

  .hero-pin__dot::after {
    animation: none;
    opacity: 0;
  }


  .home-badge {
    opacity: 1;
    visibility: visible;
    animation: none;
  }

  .home-hero__proof {
    opacity: 1;
    animation: none;
  }

  .home-hero__logo {
    animation: none;
  }

  .home-nav {
    color: #111;
    animation: none;
  }

  .bestsellers {
    transform: none;
    animation: none;
  }

  .home-anime-menu__card,
  body.menu-open .home-anime-menu__card {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Content pages: contact, terms, policies */

body.template-page-contact,
body.template-page-terms,
body.template-page-policies,
body.template-page-return-refund-policy,
body.template-page-return-policy,
body.template-page-shipping-policy,
body.template-page-privacy-policy {
  background: #fff;
}

html:has(.content-page) {
  background: #fff;
}

.content-page {
  background: #fff;
  color: #111;
}

.collections-page.content-page {
  min-height: 0;
}

.content-page__inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 64px 24px 12px;
}

.content-page__inner--terms {
  max-width: 1180px;
  padding-bottom: 28px;
}

.content-page__inner--policies {
  max-width: 790px;
  padding-top: 58px;
  padding-bottom: 12px;
}

.content-page__inner--contact {
  max-width: 900px;
  padding-bottom: 12px;
}

.content-page h1 {
  margin: 0;
  color: #111;
  font-family: var(--mono);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.content-page__inner--policies h1 {
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.content-page__display {
  margin: 0 0 54px;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(44px, 6vw, 78px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.05em !important;
}

.legal-copy {
  max-width: 100%;
  color: #111;
  font-size: 12px;
  line-height: 1.7;
}

.legal-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}

.legal-copy h3 {
  margin: 30px 0 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-copy p {
  margin: 0 0 14px;
}

.legal-copy ul {
  margin: 0 0 16px;
  padding-left: 18px;
  list-style: disc;
}

.legal-copy li + li {
  margin-top: 8px;
}

.legal-copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-copy a:hover {
  opacity: 0.6;
}

.legal-copy__meta {
  margin-bottom: 20px !important;
  color: #777;
  font-size: 10px;
  line-height: 1.4;
}

/* Contact form */

.contact-form {
  max-width: 860px;
  margin-top: 34px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form__field {
  display: block;
  margin-bottom: 18px;
}

.contact-form__field > span {
  display: block;
  margin-bottom: 7px;
  color: #111;
  font-size: 11px;
  line-height: 1.3;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #c9c9c9;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
  outline: 0;
}

.contact-form textarea {
  min-height: 164px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #111;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form__submit {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #111;
  border-radius: 0;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.contact-form__submit:hover {
  background: #fff;
  color: #111;
}

.contact-form__note {
  margin: 12px 0 0;
  color: #555;
  font-size: 9px;
  line-height: 1.5;
}

.contact-form__note a {
  color: inherit;
  text-decoration: underline;
}

.contact-form__status {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid #111;
  color: #111;
  font-size: 10px;
  line-height: 1.5;
}

/* Policy accordions */

.policy-list {
  margin-top: 38px;
  border-top: 1px solid #111;
}

.policy-item {
  border-bottom: 1px solid #111;
  scroll-margin-top: 76px;
}

.policy-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 0;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.policy-item summary::-webkit-details-marker {
  display: none;
}

.policy-item__icon {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 400;
  line-height: 0.8;
  transition: transform 200ms ease;
}

.policy-item[open] .policy-item__icon {
  transform: rotate(45deg);
}

.policy-item__body {
  padding: 2px 0 26px;
}

.policy-item__body h3:first-child {
  margin-top: 0;
}

@media (max-width: 760px) {
  .content-page__inner {
    padding: 44px 16px 10px;
  }

  .content-page__inner--policies {
    padding-top: 40px;
  }

  .content-page__display {
    margin-bottom: 36px;
    font-size: clamp(40px, 15vw, 58px) !important;
  }

  .legal-copy {
    font-size: 11px;
    line-height: 1.65;
  }

  .legal-copy h3 {
    margin-top: 24px;
  }

  .contact-form {
    margin-top: 26px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .policy-list {
    margin-top: 28px;
  }

  .policy-item summary {
    padding: 16px 0;
    font-size: 12px;
  }
}

/* Collections / all */

body.template-collections,
body.template-collection {
  background: #fff;
}

.collections-page {
  min-height: 100vh;
  padding-top: 58px;
  background: #fff;
  color: #111;
}

.collections-page .page-nav {
  height: 58px;
  border-bottom: 1px solid #ededed;
  background: #fff;
  color: #111;
  transform: none;
  animation: none;
}

.page-nav__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease;
}

body.menu-open .page-nav__logo {
  opacity: 0;
  pointer-events: none;
}

.page-nav__logo img {
  width: 100%;
  height: auto;
}

.collections-page .home-nav__left,
.collections-page .home-nav__actions {
  position: relative;
  z-index: 1;
}

.collections-hero {
  max-width: 1500px;
  margin: 0 auto;
  padding: 62px 24px 46px;
}

.collections-hero h1 {
  font-family: var(--mono);
  font-size: clamp(44px, 5.5vw, 64px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.collections-hero sup {
  position: relative;
  top: -0.25em;
  margin-left: 8px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}

.collections-categories-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
}

.collections-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.collections-kicker,
.collections-reset,
.collections-toolbar__caption,
.collections-sort {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.collections-kicker {
  color: #111;
}

.collections-reset {
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  cursor: pointer;
  text-align: right;
}

.collections-reset:hover {
  opacity: 0.55;
}

.collections-categories {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.collections-category {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  text-align: left;
  cursor: pointer;
}

.collections-category__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e9e9e9;
}

.collections-category__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.collections-category:hover .collections-category__media img {
  transform: scale(1.035);
}

.collections-category__name {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.collections-category.is-active .collections-category__media {
  outline: 1px solid #111;
  outline-offset: 2px;
}

.collections-category.is-active .collections-category__name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.collections-products {
  max-width: 1500px;
  margin: 48px auto 0;
  padding: 0 24px 80px;
}

.collections-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #e3e3e3;
}

.collections-toolbar__caption {
  color: #777;
}

.collections-sort {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.collections-sort select {
  max-width: 180px;
  padding: 2px 18px 2px 0;
  border: 0;
  background: transparent;
  color: #111;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: inherit;
  cursor: pointer;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #e3e3e3;
  border-left: 1px solid #e3e3e3;
}

.collections-grid .product-card {
  flex: none;
  min-width: 0;
  padding: 12px;
  border-right: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
  background: #fff;
}

.collections-grid .product-card.is-hidden {
  display: none;
}

.collections-grid .product-card__media {
  background: #f5f5f5;
}

.collections-grid .product-card__info {
  padding: 8px 5px 2px;
}

.collections-grid .product-card__title,
.collections-grid .product-card__price {
  font-size: 10px;
}

.collections-grid .product-card__note {
  font-size: 8px;
}

.collections-empty {
  padding: 48px 0;
  color: #777;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.collections-empty[hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .collections-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .collections-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .collections-page {
    padding-top: 56px;
  }

  .collections-page .page-nav {
    height: 56px;
  }

  .page-nav__logo {
    width: 40px;
  }

  .collections-hero {
    padding: 44px 16px 30px;
  }

  .collections-hero h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .collections-categories-section,
  .collections-products {
    padding-right: 16px;
    padding-left: 16px;
  }

  .collections-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
  }

  .collections-category__name {
    font-size: 9px;
  }

  .collections-products {
    margin-top: 32px;
    padding-bottom: 56px;
  }

  .collections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collections-grid .product-card {
    padding: 6px;
  }

  .collections-toolbar__caption,
  .collections-sort,
  .collections-kicker,
  .collections-reset {
    font-size: 9px;
  }

  .collections-sort select {
    max-width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .collections-category__media img {
    transition: none;
  }
}

/* Homepage reviews */

/* Reviews + FAQs side by side; reviews auto-advance as a carousel. */
.reviews-faqs {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
  padding: 64px 24px 56px;
  background: #fff;
  color: #111;
}

.reviews-faqs .home-reviews,
.reviews-faqs .home-faqs {
  padding: 0;
}

.reviews-faqs .home-reviews__inner,
.reviews-faqs .home-faqs__inner {
  max-width: none;
}

.reviews-faqs .home-reviews__rail {
  gap: 8px;
}

.reviews-faqs .review-card {
  flex: 0 0 calc((100% - 8px) / 2);
}

.home-reviews__dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.home-reviews__dot {
  width: 18px;
  height: 3px;
  padding: 0;
  border: 0;
  background: #e4e4e4;
  cursor: pointer;
  transition: background 160ms ease;
}

.home-reviews__dot[aria-current="true"] {
  background: #111;
}

.home-reviews {
  padding: 64px 24px 56px;
  background: #fff;
  color: #111;
}

.home-reviews__inner {
  max-width: 1500px;
  margin: 0 auto;
}

.home-reviews__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.home-reviews__head h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.home-reviews__eyebrow {
  color: #777;
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-reviews__rail {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-reviews__rail::-webkit-scrollbar {
  display: none;
}

.review-card {
  display: flex;
  flex: 0 0 calc((100% - 16px) / 3);
  flex-direction: column;
  min-width: 0;
  margin: 0;
  background: #f4f4f4;
  scroll-snap-align: start;
}

.review-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8e8e8;
}

.review-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px;
}

.review-card__stars {
  color: #111;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
}

.review-card__product {
  margin-top: 8px;
  color: #111;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.review-card blockquote {
  margin: 9px 0 0;
  font-size: 11px;
  line-height: 1.45;
}

.review-card__author {
  margin-top: auto;
  padding-top: 16px;
  font-size: 9px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.review-card__author span {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 8px;
}

/* FAQs */

.home-faqs {
  padding: 8px 24px 64px;
  background: #fff;
  color: #111;
}

.home-faqs__inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid #111;
}

.faq-item:last-child {
  border-bottom: 1px solid #111;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 400;
  line-height: 0.8;
  transition: transform 200ms ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-width: 680px;
  overflow: hidden;
  padding: 0 0 20px;
  font-size: 11px;
  line-height: 1.6;
}

.faq-item__answer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Footer */

.site-footer {
  padding: 56px 24px 30px;
  background: #f2f2f2;
  color: #111;
  text-align: center;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 48px;
  align-items: start;
  max-width: 1500px;
  margin: 0 auto;
  text-align: left;
}

/* Rest on the left, FAQs on the narrower right column. */
.site-footer__rest {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  text-align: left;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer__logo {
  display: block;
  flex: 0 0 auto;
  width: 28px;
  height: auto;
  opacity: 0.4;
}

.site-footer__brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.site-footer__rest .site-footer__payments {
  justify-content: flex-start;
}

.site-footer__rest .site-footer__legal {
  text-align: left;
}

.site-footer__faqs {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 100%;
  max-width: 340px;
  text-align: left;
}

.site-footer__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer__faq-list .faq-item {
  border-top: 1px solid #dcdcdc;
}

.site-footer__faq-list .faq-item:last-child {
  border-bottom: 1px solid #dcdcdc;
}

.site-footer__faq-list .faq-item summary {
  padding: 11px 0;
  font-size: 9px;
}

.site-footer__faq-list .faq-item__answer {
  font-size: 9px;
  line-height: 1.5;
}

.site-footer__legal {
  width: 100%;
  color: #555;
  font-size: 11px;
  line-height: 1.65;
  text-align: right;
}

.site-footer__legal p {
  margin: 0;
}

.site-footer__legal p + p {
  margin-top: 12px;
}

.site-footer__legal a {
  color: inherit;
  text-decoration: none;
}

.site-footer__legal a:hover {
  text-decoration: underline;
}

.site-footer__payments {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 0;
}

.payment-icon {
  display: block;
  width: 38px;
  height: 24px;
}

.payment-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 1100px) {
  .review-card {
    flex-basis: calc((100% - 8px) / 2);
  }

  .reviews-faqs .review-card {
    flex-basis: calc((100% - 8px) / 2);
  }
}

@media (max-width: 760px) {
  .home-reviews {
    padding: 48px 16px 40px;
  }

  .home-reviews__head h2 {
    font-size: 18px;
  }

  .home-reviews__eyebrow {
    max-width: 120px;
    font-size: 8px;
    text-align: right;
  }

  .home-reviews__rail {
    gap: 6px;
    margin-top: 14px;
  }

  .review-card {
    flex-basis: 82%;
  }

  .review-card__body {
    padding: 10px;
  }

  .review-card blockquote {
    font-size: 10px;
  }

  .home-faqs {
    padding: 4px 16px 48px;
  }

  .faq-item summary {
    padding: 15px 0;
    font-size: 11px;
  }

  .faq-item__answer {
    padding-bottom: 16px;
    font-size: 10px;
  }

  .site-footer {
    padding: 44px 16px 26px;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  /* FAQs first, then the brand block centred underneath. */
  .site-footer__faqs {
    grid-column: 1;
    grid-row: 1;
    justify-self: stretch;
    max-width: none;
    margin-bottom: 16px;
  }

  .site-footer__rest {
    grid-row: 2;
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .site-footer__brand {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .site-footer__brand-copy {
    align-items: center;
  }

  .site-footer__logo {
    width: 40px;
  }

  .site-footer__rest .site-footer__legal {
    text-align: center;
  }

  .site-footer__rest .site-footer__payments {
    justify-content: center;
  }

  .payment-icon {
    width: 34px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__icon {
    transition: none;
  }
}

/* Product detail pages */

body.template-product-page {
  background: #fff;
}

/* The nav floats over the PDP with no fill or divider, but it still reserves
   its height: the product starts right underneath it, not behind it. */
.pdp-page .page-nav {
  border-bottom: 0;
  background: transparent;
}

.pdp-page .page-nav__logo {
  width: 64px;
}

@media (max-width: 760px) {
  .pdp-page .page-nav__logo {
    width: 54px;
  }
}

.pdp-loading,
.pdp-notfound {
  max-width: 1500px;
  margin: 0 auto;
  padding: 84px 24px;
  color: #111;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pdp-notfound h1 {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

.pdp-notfound p {
  margin-top: 12px;
  color: #777;
  text-transform: none;
  letter-spacing: 0;
}

.pdp-notfound a {
  color: #111;
}

.pdp-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px 64px;
  align-items: start;
}

.pdp-gallery {
  min-width: 0;
}

.pdp-gallery__stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f5f5f5;
}

/* Native scroll-snap carousel: a swipe on touch, arrows/thumbnails on desktop. */
.pdp-gallery__track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pdp-gallery__track::-webkit-scrollbar {
  display: none;
}

.pdp-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.pdp-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.pdp-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  /* Arrows are gone on every breakpoint: thumbnails and the swipe do the work. */
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.pdp-gallery__arrow:hover {
  background: #111;
}

.pdp-gallery__arrow--prev {
  left: 16px;
}

.pdp-gallery__arrow--next {
  right: 16px;
}

.pdp-gallery__note {
  min-height: 16px;
  margin-top: 8px;
  color: #777;
  font-size: 9px;
  text-align: center;
}

.pdp-thumbs {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.pdp-thumb {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: 56px;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: #f5f5f5;
  cursor: pointer;
  opacity: 0.38;
  transition: opacity 160ms ease;
}

.pdp-thumb:hover,
.pdp-thumb.is-active {
  opacity: 1;
}

.pdp-thumb:focus-visible {
  outline: 1px solid #111;
  outline-offset: 1px;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desktop: the thumbnails run down the left edge of the stage and share its
   height, so every image shows without scrolling. */
@media (min-width: 761px) {
  .pdp-gallery {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: stretch;
    gap: 8px 10px;
  }

  .pdp-gallery__stage {
    grid-column: 2;
    grid-row: 1;
  }

  .pdp-gallery__note {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }

  .pdp-thumbs {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    gap: 4px;
    min-height: 0;
    margin-top: 0;
  }

  .pdp-thumb {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
  }
}

.pdp-info {
  padding-top: 28px;
  min-width: 0;
}

.pdp-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pdp-category {
  margin-bottom: 0;
  color: #777;
  font-size: 9px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pdp-title {
  color: #111;
  font-size: clamp(21px, 2.1vw, 28px);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.pdp-price {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.2;
}

.pdp-rating {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 6px;
  color: #111;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.pdp-rating:hover {
  opacity: 0.6;
}

.pdp-rating span:first-child {
  letter-spacing: 1px;
}

.pdp-options {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 26px;
}

.pdp-option__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: #111;
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pdp-option__head > span {
  font-weight: 600;
}

.pdp-size-link {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #111;
  background: none;
  color: #111;
  font: inherit;
  font-size: 9px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.pdp-option__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.pdp-option__value {
  min-width: 48px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
}

.pdp-option__value.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.pdp-option__value.is-soldout {
  border-color: #e6e6e6;
  color: #aaa;
  text-decoration: line-through;
}

.pdp-option__value.is-active.is-soldout {
  border-color: #b5b5b5;
  background: #fff;
  color: #8a8a8a;
}

.pdp-preorder {
  min-height: 13px;
  margin-top: 14px;
  color: #777;
  font-size: 9px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pdp-preorder__dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: #2c6ecb;
  vertical-align: 1px;
}

.pdp-preorder__dot--soldout {
  background: #9a9a9a;
}

.pdp-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  margin-top: 16px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.pdp-add:hover:not(:disabled) {
  background: #fff;
  color: #111;
}

.pdp-add:disabled {
  border-color: #ddd;
  background: #fff;
  color: #8a8a8a;
  cursor: default;
}

.pdp-installments {
  margin-top: 10px;
  color: #777;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.pdp-installments strong {
  color: #111;
}

.pdp-accordions {
  margin-top: 24px;
  border-top: 1px solid #ddd;
}

.pdp-accordion {
  border-bottom: 1px solid #ddd;
}

.pdp-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  color: #111;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  list-style: none;
  cursor: pointer;
}

.pdp-accordion summary::-webkit-details-marker {
  display: none;
}

.pdp-accordion summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  line-height: 0.8;
}

.pdp-accordion[open] summary::after {
  content: "×";
}

/* While a panel animates shut it is still technically open, so the marker
   swaps early instead of waiting for the attribute to flip. */
.pdp-accordion.is-closing summary::after {
  content: "+";
}

.pdp-accordion__body {
  padding: 0 0 18px;
  color: #555;
  font-size: 11px;
  line-height: 1.6;
}

.pdp-accordion__body p {
  margin: 0;
}

.pdp-accordion__body p + p {
  margin-top: 10px;
}

.pdp-accordion__body ul {
  margin: 10px 0 0;
  padding-left: 17px;
  list-style: disc;
}

.pdp-accordion__body li + li {
  margin-top: 4px;
}

/* An optional clip that sits beside the bullet points (e.g. Shinobi Cargo). */
.pdp-details__split {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 12px;
}

.pdp-details__split ul {
  margin: 0;
}

/* The clip keeps a fixed height; its width follows the 9:16 frame. */
.pdp-details__media {
  min-width: 0;
}

.pdp-details__video {
  display: block;
  width: auto;
  height: 340px;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  background: #111;
  object-fit: cover;
}

.pdp-accordion__body a {
  color: inherit;
  text-decoration: underline;
}

.pdp-accordion__care {
  margin-top: 12px !important;
  color: #777;
  font-size: 10px;
}

.pdp-product-faq + .pdp-product-faq {
  margin-top: 14px;
}

.pdp-product-faq h3 {
  color: #111;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.pdp-product-faq p {
  margin-top: 3px;
}

.pdp-action {
  max-width: 1500px;
  margin: 0 auto;
  padding: 8px 24px 48px;
}

.pdp-section__inner {
  max-width: 1500px;
  margin: 0 auto;
}

.pdp-action h2,
.pdp-reviews h2,
.pdp-customer-title,
.pdp-bundle h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.pdp-action__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-width: 360px;
  margin-top: 0;
}

.pdp-action__video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  background: #111;
  object-fit: cover;
}

.pdp-reviews {
  padding: 44px 24px 64px;
  border-top: 1px solid #eee;
}

.pdp-fit {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(620px, 100%);
  margin-top: 24px;
}

.pdp-fit__label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #777;
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pdp-fit__label strong {
  color: #111;
  font-weight: 500;
}

.pdp-fit__track {
  position: relative;
  height: 2px;
  margin-top: 8px;
  background: #ddd;
}

.pdp-fit__track span {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #111;
  transform: translate(-50%, -50%);
}

.pdp-review-photos {
  display: flex;
  gap: 8px;
  margin-top: 34px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pdp-review-photos::-webkit-scrollbar {
  display: none;
}

.pdp-review-photo {
  flex: 0 0 calc((100% - 16px) / 3);
  min-width: 0;
  margin: 0;
  background: #f4f4f4;
  scroll-snap-align: start;
}

.pdp-review-photo__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9e9e9;
}

.pdp-review-photo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-review-photo figcaption {
  padding: 12px;
}

.pdp-review-photo__stars {
  display: block;
  color: #111;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 1px;
}

.pdp-review-photo__title {
  display: block;
  margin-top: 8px;
  color: #111;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdp-review-photo blockquote {
  margin: 9px 0 0;
  color: #111;
  font-size: 11px;
  line-height: 1.45;
}

.pdp-review-photo__author {
  display: block;
  margin-top: 16px;
  color: #111;
  font-size: 9px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdp-review-photo__author em {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 8px;
  font-style: normal;
}

.pdp-customer-title {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid #eee;
}

.pdp-review-summary {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 20px;
}

.pdp-review-score strong {
  font-size: 44px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.pdp-review-score__outof {
  margin-left: 3px;
  color: #777;
  font-size: 12px;
}

.pdp-review-score__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: #777;
  font-size: 9px;
}

.pdp-review-score__stars {
  color: #111;
  font-size: 13px;
  letter-spacing: 1px;
}

.pdp-summary-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pdp-summary-photos img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f4f4f4;
}

.pdp-review-list {
  margin-top: 28px;
  border-top: 1px solid #eee;
}

.pdp-review {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.pdp-review__stars {
  color: #111;
  font-size: 11px;
  letter-spacing: 1px;
}

.pdp-star-empty {
  color: #c7c7c7;
}

.pdp-review__photo {
  display: block;
  width: 100%;
  max-width: 220px;
  margin-top: 12px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f4f4f4;
}

.pdp-review h3 {
  margin-top: 8px;
  color: #111;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pdp-review blockquote {
  max-width: 720px;
  margin: 6px 0 0;
  color: #444;
  font-size: 11px;
  line-height: 1.5;
}

.pdp-review p {
  margin-top: 9px;
  color: #111;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdp-review p span {
  margin-left: 5px;
  color: #777;
}

.pdp-review-more {
  margin-top: 24px;
  padding: 10px 16px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.pdp-review-more:hover {
  background: #111;
  color: #fff;
}

.pdp-bundle {
  padding: 48px 24px 56px;
  background: #f2f2f2;
}

.pdp-bundle__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.pdp-bundle__head p {
  max-width: 620px;
  margin-top: 10px;
  color: #555;
  font-size: 11px;
  line-height: 1.5;
}

.pdp-bundle__deal {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pdp-bundle__deal strong {
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.pdp-bundle__deal span,
.pdp-bundle__deal em {
  font-size: 9px;
  font-style: normal;
}

.pdp-bundle__deal em {
  margin-left: 8px;
  color: #777;
}

.pdp-bundle__current {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ddd;
  background: #fff;
}

.pdp-bundle__current img {
  width: 54px;
  height: 68px;
  object-fit: cover;
  background: #eee;
}

.pdp-bundle__current span {
  color: #777;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.pdp-bundle__current h3 {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.pdp-bundle__current p,
.pdp-bundle__current small {
  margin-top: 3px;
  color: #555;
  font-size: 9px;
}

.pdp-bundle__current strong {
  color: #111;
}

.pdp-bundle__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.pdp-bundle-card {
  position: relative;
  padding: 12px;
  background: #fff;
}

.pdp-bundle-card.is-soldout > img {
  opacity: 0.5;
}

.pdp-bundle-card__soldout {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 6px;
  background: #111;
  color: #fff;
  font-size: 8px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pdp-bundle-card > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #eee;
}

.pdp-bundle-card h3 {
  margin-top: 9px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.pdp-bundle-card p {
  margin-top: 3px;
  color: #555;
  font-size: 9px;
}

.pdp-bundle-card button {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.pdp-bundle-card button.is-active,
.pdp-bundle-card button:hover {
  background: #111;
  color: #fff;
}

.pdp-bundle-card button:disabled,
.pdp-bundle-card button:disabled:hover {
  border-color: #e1e1e1;
  background: #f7f7f7;
  color: #9a9a9a;
  cursor: default;
}

.pdp-bundle__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
}

.pdp-bundle__foot span {
  color: #555;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdp-bundle__add {
  min-width: 220px;
  padding: 14px 24px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.pdp-bundle__add:disabled {
  border-color: #bbb;
  background: #bbb;
  cursor: default;
}

.pdp-bundle__add:not(:disabled):hover {
  background: #fff;
  color: #111;
}

.pdp-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.48);
}

.pdp-modal[hidden] {
  display: none;
}

.pdp-modal__panel {
  position: relative;
  width: min(600px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px 24px 24px;
  background: #fff;
  color: #111;
}

.pdp-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.pdp-modal h2 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.pdp-size-table {
  margin-top: 20px;
}

.pdp-size-table__unit {
  margin-bottom: 10px;
  color: #777;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pdp-size-table__scroll {
  overflow-x: auto;
}

.pdp-size-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.pdp-size-table th,
.pdp-size-table td {
  padding: 9px 8px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-weight: 400;
  white-space: nowrap;
}

.pdp-size-table thead th {
  color: #777;
  font-size: 9px;
  text-transform: uppercase;
}

.pdp-size-table tbody th {
  color: #555;
  text-transform: uppercase;
  font-size: 9px;
}

.pdp-size-table__hint {
  margin-top: 14px;
  color: #777;
  font-size: 9px;
}

body.pdp-modal-open {
  overflow: hidden;
}

.product-card {
  cursor: pointer;
}

.product-card__add {
  cursor: pointer;
}

@media (max-width: 1000px) {
  .reviews-faqs {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .pdp-top {
    gap: 32px;
    padding: 0 16px 48px;
  }

  .pdp-title {
    font-size: 24px;
  }

  .pdp-details__video {
    height: 240px;
  }

  .pdp-review-photo {
    flex-basis: calc((100% - 8px) / 2);
  }

  .pdp-bundle__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .pdp-top {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 12px 40px;
  }

  .pdp-info {
    padding-top: 0;
  }

  .pdp-gallery {
    /* Full-bleed product image on mobile. */
    margin-inline: -12px;
  }

  .pdp-thumbs {
    padding-inline: 8px;
  }

  .pdp-thumb {
    max-width: 40px;
  }

  .pdp-details__video {
    height: 260px;
  }

  .pdp-action {
    padding: 4px 16px 36px;
  }

  .pdp-action__grid {
    max-width: 320px;
  }

  .pdp-reviews {
    padding: 34px 16px 46px;
  }

  .pdp-review-photos {
    gap: 6px;
    margin-top: 26px;
  }

  .pdp-review-photo {
    flex-basis: 82%;
  }

  .pdp-review-summary {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pdp-review-score strong {
    font-size: 40px;
  }

  .pdp-bundle {
    padding: 36px 16px 42px;
  }

  .pdp-bundle__head {
    flex-direction: column;
    gap: 14px;
  }

  .pdp-bundle__grid {
    gap: 6px;
  }

  .pdp-bundle-card {
    padding: 8px;
  }

  .pdp-bundle__foot {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .pdp-bundle__add {
    width: 100%;
  }

  .pdp-loading,
  .pdp-notfound {
    padding: 56px 16px;
  }
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
}

.product-card__title a:hover {
  opacity: 0.6;
}

.pdp-gallery__arrow[hidden],
.pdp-gallery__note[hidden],
.pdp-action[hidden],
.pdp-modal[hidden] {
  display: none !important;
}
