/* Product page: the shoe stands in a pool of light, the order form is a stitched leather wallet. */
.ak-product {
  display: block;
  padding-block-end: 5.6rem;
}

.ak-product__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

/* Gallery */
.ak-gallery {
  --ak-fond: #f2f2f2;
  position: relative;
  display: block;
  min-width: 0;
}

.ak-gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

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

.ak-gallery__slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--noir-soft);
}

/* Every photo of a shoe on its own stands on the house light grey, filling the slide edge to edge. */
.ak-gallery__slide[data-kind='cut'],
.ak-gallery__slide[data-kind='studio'] {
  background: var(--ak-fond);
}

.ak-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ak-gallery__slide[data-kind='cut'] img {
  padding: 6%;
  filter: drop-shadow(0 24px 22px rgb(0 0 0 / 18%));
}

.ak-gallery__slide[data-kind='photo'] img {
  object-fit: cover;
}

/* The owner's studio photos are already square on flat light grey (tools/fond.py), so the slide colour continues them. */
.ak-gallery__slide[data-kind='studio'] img {
  object-fit: contain;
}

.ak-gallery__slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--noir);
}

/* The reels, filmed upright: cropped to the shoes on a phone, shown whole on a dark frame on desktop. */
.ak-gallery__slide[data-kind='film'] video,
.ak-gallery__slide[data-kind='film'] .ak-gallery__poster {
  object-fit: cover;
  object-position: 50% 72%;
}

/* The poster frame waits like any other photo; the film covers it once it plays. */
.ak-gallery__slide[data-kind='film'] .ak-gallery__poster {
  position: absolute;
  inset: 0;
}

.ak-gallery__slide[data-kind='film'] video {
  position: relative;
  opacity: 0;
  transition: opacity 0.5s var(--ease-silk);
}

.ak-gallery__slide[data-kind='film'] video.is-playing {
  opacity: 1;
}

/* Square product videos: they fill a phone's square slide and sit whole, centred, in the taller desktop slide. */
.ak-gallery__slide[data-kind='clip'] {
  background: var(--noir);
}

.ak-gallery__slide[data-kind='clip'] video,
.ak-gallery__slide[data-kind='clip'] .ak-gallery__poster {
  object-fit: contain;
}

.ak-gallery__slide[data-kind='clip'] .ak-gallery__poster {
  position: absolute;
  inset: 0;
}

.ak-gallery__slide[data-kind='clip'] video {
  position: relative;
  opacity: 0;
  transition: opacity 0.5s var(--ease-silk);
}

.ak-gallery__slide[data-kind='clip'] video.is-playing {
  opacity: 1;
}

.ak-gallery__film {
  position: absolute;
  inset-inline-start: 1.4rem;
  inset-block-end: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.5rem 1.3rem 0.5rem 1rem;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgb(30 23 19 / 72%);
  border: 1px solid var(--line);
  border-radius: 2rem;
  pointer-events: none;
}

.ak-gallery__film .ak-icon {
  color: var(--brass);
}

.ak-gallery__thumb--video {
  position: relative;
}

.ak-gallery__thumb--video::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0;
  height: 0;
  margin: -0.7rem 0 0 -0.4rem;
  border-block: 0.7rem solid transparent;
  border-inline-start: 1.1rem solid var(--ivory);
  filter: drop-shadow(0 1px 3px rgb(0 0 0 / 70%));
}

@media screen and (min-width: 990px) {
  .ak-gallery__slide[data-kind='film'] {
    background: radial-gradient(60% 70% at 50% 50%, var(--havana), var(--noir) 80%);
  }

  .ak-gallery__slide[data-kind='film'] .ak-gallery__poster {
    inset: 0 auto 0 50%;
    width: auto;
    aspect-ratio: 9 / 16;
    transform: translateX(-50%);
  }

  .ak-gallery__slide[data-kind='film'] video {
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    aspect-ratio: 9 / 16;
    border-inline: 1px solid var(--line);
    box-shadow: 0 0 80px rgb(0 0 0 / 55%);
  }
}

.ak-gallery__count {
  position: absolute;
  inset-inline-end: 1.4rem;
  inset-block-start: 1.4rem;
  margin: 0;
  padding: 0.2rem 1.1rem;
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
  color: var(--ivory);
  background: rgb(30 23 19 / 72%);
  border-radius: 2rem;
}

.ak-gallery__thumbs {
  display: flex;
  gap: 0.6rem;
  padding: 0.8rem var(--ak-gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.ak-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.ak-gallery__thumb {
  flex: none;
  width: 6rem;
  height: 6rem;
  padding: 0;
  overflow: hidden;
  background: var(--ak-fond);
  border: 0;
  border-radius: var(--ak-radius);
  cursor: pointer;
  opacity: 0.68;
  outline: 1px solid transparent;
  outline-offset: 2px;
  transition: opacity 0.3s, outline-color 0.3s;
}

.ak-gallery__thumb:hover {
  opacity: 1;
}

.ak-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ak-gallery__thumb[data-kind='photo'] img,
.ak-gallery__thumb--video img {
  object-fit: cover;
}

.ak-gallery__thumb.is-active {
  opacity: 1;
  outline-color: var(--brass);
}

/* Info column */
.ak-product__info {
  min-width: 0;
  padding: 2.4rem var(--ak-gutter) 0;
}

.ak-product__label {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.1em;
  color: var(--brass);
}

.ak-product__title {
  margin: 0;
  font-size: clamp(2.6rem, 8.4vw, 7.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ak-product__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.4rem;
  font-size: 1.4rem;
}

.ak-product__price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 1.2rem 0 2.4rem;
  font-size: 3rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--brass-hi);
}

.ak-product__price s {
  font-size: 2rem;
  color: var(--ivory-soft);
}

/* Order form */
.ak-order {
  position: relative;
  padding: 2.8rem 2.2rem 2.4rem;
  background-color: #36140f;
  background-image:
    url('ak-grain.webp'),
    radial-gradient(120% 70% at 72% 0%, #6a2622, transparent 70%);
  background-size: 260px, auto;
  border-radius: 5px;
  box-shadow: 0 1px 0 rgb(255 222 180 / 18%) inset, 0 26px 56px rgb(0 0 0 / 56%);
}

.ak-order__title {
  margin: 0 0 2.2rem;
  font-size: clamp(2.6rem, 3vw, 3.2rem);
  font-weight: 500;
  line-height: 1.12;
}

.ak-step {
  min-width: 0;
  margin: 0 0 2.2rem;
  padding: 0;
  border: 0;
}

.ak-step legend,
.ak-field label {
  display: block;
  margin-block-end: 0.8rem;
  padding: 0;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ak-step__value {
  margin-inline-start: 0.4rem;
  font-weight: 300;
  color: var(--ivory-soft);
}

.ak-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 0.2rem;
}

.ak-step__head legend {
  float: inline-start;
  margin: 0;
}

.ak-text-btn {
  min-height: 4.4rem;
  padding: 0;
  font-size: 1.5rem;
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  background: none;
  border: 0;
  cursor: pointer;
}

.ak-text-btn:hover {
  color: var(--brass-hi);
}

/* Swatches: real grain, polished */
.ak-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.ak-swatch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 6.8rem;
  cursor: pointer;
}

.ak-swatch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.ak-swatch__hide {
  display: block;
  width: 6.8rem;
  height: 4.8rem;
  background-color: var(--ak-swatch, #4a2a18);
  background-image:
    linear-gradient(120deg, rgb(255 244 222 / 34%), transparent 42%),
    url('ak-grain.webp');
  background-size: auto, 160px;
  border-radius: var(--ak-radius);
  box-shadow: 0 1px 0 rgb(255 244 222 / 26%) inset, 0 0 0 1px rgb(244 234 217 / 18%);
  outline: 1.5px dashed transparent;
  outline-offset: 3px;
  transition: outline-color 0.25s;
}

.ak-swatch__name {
  font-size: 1.4rem;
}

.ak-swatch--black .ak-swatch__hide,
.ak-swatch--noir .ak-swatch__hide {
  --ak-swatch: #241b16;
}

.ak-swatch--marron .ak-swatch__hide,
.ak-swatch--brown .ak-swatch__hide {
  --ak-swatch: #5a2e1a;
}

.ak-swatch--tabac .ak-swatch__hide {
  --ak-swatch: #a86b3c;
}

.ak-swatch--blanc .ak-swatch__hide,
.ak-swatch--white .ak-swatch__hide {
  --ak-swatch: #efe7d7;
}

.ak-swatch input:checked ~ .ak-swatch__hide {
  outline-color: var(--brass);
}

/* Colour swatches as shoe photos */
.ak-step legend {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ak-step__value {
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: none;
}

.ak-swatches {
  gap: 0.8rem;
}

.ak-swatch--photo {
  min-width: 0;
}

/* Small rounded-square tiles with the shoe photo, light backdrop; the chosen one gets a strong frame. */
.ak-swatch__photo {
  display: block;
  width: 5.6rem;
  height: 4.8rem;
  padding: 0.2rem;
  overflow: hidden;
  background: #f4efe8;
  border: 1px solid rgb(244 234 217 / 25%);
  border-radius: 6px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.ak-swatch__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.ak-swatch--photo:hover .ak-swatch__photo {
  border-color: var(--brass);
}

.ak-swatch__photo img {
  border-radius: 4px;
}

.ak-swatch input:checked ~ .ak-swatch__photo {
  border: 2px solid var(--ivory);
  box-shadow: 0 0 0 1px var(--noir);
}

.ak-swatch input:focus-visible ~ .ak-swatch__photo {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.ak-step__head--inline {
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0 1rem;
  margin-block-end: 0.8rem;
}

.ak-step__head--inline .ak-text-btn {
  min-height: 3.6rem;
}

.ak-step__head--inline legend {
  font-size: clamp(1.35rem, 3.9vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  color: var(--ivory-soft);
}

.ak-step__head--inline legend strong {
  font-weight: 700;
  color: var(--ivory);
}

.ak-text-btn--guide {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1.3rem, 3.7vw, 1.5rem);
  white-space: nowrap;
  letter-spacing: 0;
  text-transform: none;
  background: none;
}

.ak-swatch input:focus-visible ~ .ak-swatch__hide {
  outline: 2px solid var(--brass);
}

/* Sizes: 48px targets, four per row */
.ak-sizes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.4rem;
  clear: both;
}

.ak-sizes.is-shaking {
  animation: ak-shake 0.45s var(--ease-leather);
}

@keyframes ak-shake {
  20%,
  60% {
    transform: translateX(-6px);
  }

  40%,
  80% {
    transform: translateX(6px);
  }
}

.ak-size {
  position: relative;
  cursor: pointer;
}

.ak-size input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.ak-size span {
  display: grid;
  place-items: center;
  min-height: 4.6rem;
  font-size: clamp(1.3rem, 3.6vw, 1.7rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: transparent;
  border: 1px solid rgb(244 234 217 / 30%);
  border-radius: 4px;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.ak-size:hover input:not(:disabled) + span {
  border-color: var(--ivory);
}

.ak-size input:checked + span {
  font-weight: 600;
  color: #1a0908;
  background: var(--ivory);
  border-color: var(--ivory);
}

.ak-size input:focus-visible + span {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.ak-size.is-sold-out,
.ak-size.is-sold-out input {
  cursor: not-allowed;
}

.ak-size.is-sold-out span {
  color: var(--ivory-soft);
  background:
    linear-gradient(to top right, transparent calc(50% - 0.75px), rgb(244 234 217 / 48%) calc(50% - 0.75px), rgb(244 234 217 / 48%) calc(50% + 0.75px), transparent calc(50% + 0.75px)),
    transparent;
  border-color: var(--line-soft);
  box-shadow: none;
}

.ak-deals-step {
  margin: 1.6rem 0 2.4rem;
}

.ak-deals-step[hidden] {
  display: none;
}

/* Offer line under the price, with the "Voir nos offres" toggle. */
.ak-offerline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.2rem;
  margin: -1.2rem 0 2.4rem;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--brass-hi);
}

.ak-offerline__toggle {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 500;
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: .3em;
  cursor: pointer;
}

.ak-deals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding-top: 1rem;
}

.ak-deal {
  position: relative;
  cursor: pointer;
}

.ak-deal input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.ak-deal__box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  height: 100%;
  min-height: 9.6rem;
  padding: 1.4rem 0.4rem 1rem;
  text-align: center;
  border: 1px solid rgb(244 234 217 / 30%);
  border-radius: 4px;
  transition: border-color 0.25s, background-color 0.25s;
}

.ak-deal:hover .ak-deal__box {
  border-color: var(--brass);
}

.ak-deal input:checked + .ak-deal__box {
  background: rgb(217 178 111 / 12%);
  border: 2px solid var(--brass);
}

.ak-deal input:focus-visible + .ak-deal__box {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.ak-deal__save {
  position: absolute;
  top: -1rem;
  left: 50%;
  padding: 0.2rem 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  color: #1a0908;
  background: var(--success);
  border-radius: 999px;
  transform: translateX(-50%);
}

.ak-deal__name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.1;
  white-space: nowrap;
}

.ak-deal__price {
  font-size: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--brass-hi);
}

.ak-deal__was {
  font-size: 1.25rem;
  white-space: nowrap;
  color: var(--ivory-soft);
  opacity: 0.75;
}

.ak-low-stock {
  margin: 0.8rem 0 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--brass-hi);
}

/* Offers */
/* One row per offer: name on the left, old price struck through then new price on the right */
.ak-offers {
  display: grid;
  gap: 0.6rem;
}

.ak-offer {
  position: relative;
  display: grid;
  cursor: pointer;
}

.ak-offer input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.ak-offer__box {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 0 0.8rem;
  min-width: 0;
  min-height: 5.4rem;
  padding: 0.8rem 1.4rem;
  background: rgb(30 23 19 / 46%);
  border: 1px solid var(--line);
  border-radius: var(--ak-radius);
  box-shadow: 0 1px 2px rgb(0 0 0 / 55%) inset;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.ak-offer__name,
.ak-offer__price {
  white-space: nowrap;
}

.ak-offer__name {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}

.ak-offer__price {
  font-size: 1.6rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ivory);
}

.ak-offer__was,
.ak-summary__was {
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
  color: var(--ivory-soft);
  opacity: 0.7;
  white-space: nowrap;
}

.ak-summary__was {
  font-size: 1.6rem;
}

/* Old price then new price; on a very narrow screen the old price moves above */
.ak-offer__prices {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0 0.6rem;
  text-align: end;
}

.ak-offer__save {
  grid-column: 1;
  grid-row: 2;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--success);
}

.ak-offer input:checked + .ak-offer__box {
  border-color: var(--brass);
  box-shadow: inset 0 0 0 1px var(--brass);
}

.ak-offer input:focus-visible + .ak-offer__box {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* Fields: debossed into the leather */
.ak-field {
  margin-block-end: 1rem;
}

.ak-field[hidden] {
  display: none;
}

.ak-field__control {
  position: relative;
}

.ak-field input {
  display: block;
  width: 100%;
  height: 5.4rem;
  padding: 0 4.4rem 0 1.5rem;
  font-family: var(--font-text);
  font-size: 1.7rem;
  color: var(--ivory);
  caret-color: var(--brass);
  background: rgb(30 23 19 / 62%);
  border: 1px solid var(--line);
  border-radius: var(--ak-radius);
  box-shadow: 0 2px 4px rgb(0 0 0 / 60%) inset;
  outline: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.ak-field input::placeholder {
  color: #a8987f;
}

.ak-field input:focus {
  border-color: var(--brass);
  box-shadow: 0 2px 4px rgb(0 0 0 / 60%) inset, 0 0 0 2px rgb(217 178 111 / 32%);
}

.ak-field__ok {
  position: absolute;
  inset-block-start: 1.7rem;
  inset-inline-end: 1.3rem;
  display: none;
  color: var(--success);
  line-height: 0;
}

.ak-field.is-valid .ak-field__ok {
  display: block;
}

.ak-field.is-valid input {
  border-color: var(--success);
}

.ak-field.is-invalid input {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}

.ak-error {
  margin: 0.6rem 0 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--error);
}

.ak-error[hidden] {
  display: none;
}

.ak-phone {
  display: flex;
}

.ak-phone__prefix {
  display: grid;
  place-items: center;
  flex: none;
  padding-inline: 1.1rem;
  font-size: 1.7rem;
  font-variant-numeric: tabular-nums;
  color: var(--brass-hi);
  background: rgb(217 178 111 / 12%);
  border: 1px solid var(--line);
  border-inline-end: 0;
  border-radius: var(--ak-radius) 0 0 var(--ak-radius);
}

.ak-phone input {
  padding-inline: 1.2rem 3.4rem;
  border-radius: 0 var(--ak-radius) var(--ak-radius) 0;
}

.ak-phone .ak-field__ok {
  inset-inline-end: 1rem;
}

.ak-city__list {
  position: absolute;
  inset-inline: 0;
  z-index: 5;
  max-height: 26rem;
  margin: 0.4rem 0 0;
  padding: 0.4rem;
  overflow-y: auto;
  list-style: none;
  background: var(--noir-soft);
  border: 1px solid var(--line);
  border-radius: var(--ak-radius);
  box-shadow: 0 18px 36px rgb(0 0 0 / 60%);
}

.ak-city__list[hidden] {
  display: none;
}

.ak-city__list li {
  display: flex;
  align-items: center;
  min-height: 4.8rem;
  padding-inline: 1rem;
  font-size: 1.7rem;
  border-radius: 2px;
  cursor: pointer;
}

.ak-city__list li:hover,
.ak-city__list li[aria-selected='true'] {
  color: #1a0f07;
  background: var(--brass);
}

.ak-city__list li.is-other {
  font-weight: 500;
  border-block-start: 1px dashed var(--line);
}

.ak-honeypot {
  position: absolute !important;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Summary and action */
.ak-summary {
  margin-block: 2.2rem 1.8rem;
  padding-block: 1.5rem;
  border-block: 1px dashed var(--line);
}

.ak-summary__line {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--ivory-soft);
}

.ak-summary__total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 1.2rem;
  margin: 0;
  font-size: 1.7rem;
}

.ak-summary__total strong {
  font-size: 2.6rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--brass-hi);
}

.ak-summary__free {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--success);
}

.ak-eta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.4rem;
  margin: 0.6rem 0 0;
  font-size: 1.5rem;
}

.ak-eta--center {
  justify-content: center;
  margin-top: 1.2rem;
  text-align: center;
}

.ak-eta .ak-icon {
  flex: none;
  color: var(--brass);
}

.ak-submit {
  width: 100%;
  min-height: 5.8rem;
  padding-inline: 1.2rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.ak-submit::after {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 62%), transparent);
  transform: translateX(-130%) skewX(-14deg);
  animation: ak-sheen 5.5s var(--ease-leather) infinite;
  pointer-events: none;
  will-change: transform;
}

@keyframes ak-sheen {
  0%,
  50% {
    transform: translateX(-130%) skewX(-14deg);
  }

  100% {
    transform: translateX(280%) skewX(-14deg);
  }
}

.ak-order__panel {
  margin-top: 2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
  animation: ak-panel-in 0.45s var(--ease-silk);
}

.ak-order__panel .ak-submit {
  margin-top: 1.6rem;
}

@keyframes ak-panel-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.ak-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 5.6rem;
  margin: 1.4rem 0 1.2rem;
  padding: 1rem 1.6rem;
  font: 600 1.4rem/1.2 var(--font-text);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  white-space: nowrap;
  color: var(--ivory);
  background: transparent;
  border: 1px solid var(--brass);
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s;
}

.ak-cart-btn:hover {
  color: var(--brass-hi);
  background: rgb(217 178 111 / 8%);
}

.ak-submit--order {
  justify-content: center;
  gap: 1.2rem;
  min-height: 6.2rem;
  padding: 1rem 1.6rem;
  border-radius: 4px;
}

.ak-submit--order .ak-icon {
  width: 2.4rem;
  height: 2.4rem;
}

.ak-submit--order:hover .ak-icon {
  transform: none;
}

.ak-submit__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.ak-submit__main {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
}

.ak-submit__sub {
  font-size: 1.3rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.85;
}

.ak-submit:disabled {
  cursor: progress;
  opacity: 0.82;
}

.ak-submit:disabled::after {
  animation: none;
}

.ak-reassure {
  margin: 1.2rem 0 0.4rem;
  font-size: 1.45rem;
  line-height: 1.45;
  text-align: center;
}

.ak-order__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 1.6rem;
}

.ak-order__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 4.4rem;
  font-size: 1.5rem;
}

/* Promises and client strip */
/* Promises: icons in a row, small caps under each */
.ak-promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 2.8rem 0 0;
  padding: 2.2rem 0;
  list-style: none;
  border-block: 1px solid var(--line-soft);
}

.ak-promises li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 1.25rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.ak-promises .ak-icon {
  flex: none;
  width: 2.8rem;
  height: 2.8rem;
  color: var(--brass);
}

.ak-strip {
  margin-block-start: 2.8rem;
}

.ak-strip h2 {
  margin: 0 0 1.2rem;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.1;
}

.ak-strip ul {
  display: flex;
  gap: 0.8rem;
  margin: 0;
  margin-inline: calc(-1 * var(--ak-gutter));
  padding: 0.2rem var(--ak-gutter);
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.ak-strip ul::-webkit-scrollbar {
  display: none;
}

.ak-strip li {
  flex: none;
  width: 11rem;
}

.ak-strip a {
  display: block;
  aspect-ratio: 9 / 13;
  overflow: hidden;
  background: #ebe7df;
  border-radius: var(--ak-radius);
}

.ak-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Size guide */
.ak-drawer {
  width: 100%;
  max-width: 100%;
  max-height: 88svh;
  margin: auto 0 0;
  padding: 0;
  color: var(--ivory);
  background: var(--noir-soft);
  border: 0;
  border-block-start: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
}

.ak-drawer[open] {
  animation: ak-rise 0.7s var(--ease-silk);
}

.ak-drawer::backdrop {
  background: rgb(30 23 19 / 72%);
}

@keyframes ak-rise {
  from {
    transform: translateY(64px);
    opacity: 0;
  }
}

.ak-drawer__head {
  position: sticky;
  inset-block-start: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.8rem 0.8rem 2rem;
  background: var(--noir-soft);
  border-block-end: 1px solid var(--line-soft);
}

.ak-drawer__head h2 {
  margin: 0;
  font-size: 3rem;
  font-weight: 500;
}

.ak-drawer__body {
  padding: 2rem;
}

.ak-size__subhead {
  margin: 0 0 0.8rem;
  font-size: 2.4rem;
  font-weight: 500;
}

.ak-size__how {
  margin: 0 0 2.4rem;
  padding-inline-start: 2rem;
  font-weight: 300;
}

.ak-size__how li {
  margin-block-end: 0.4rem;
}

.ak-placeholder--inline {
  margin: 1.6rem 0 0;
  padding: 1.2rem 1.4rem;
  font-size: 1.5rem;
}

.ak-placeholder--inline strong {
  display: inline;
  margin: 0;
}

.ak-drawer__help {
  margin: 1.8rem 0 0;
}

.ak-drawer__help a {
  color: var(--brass);
}

/* Sticky bar */
.ak-sticky {
  position: fixed;
  inset: auto 0 0;
  z-index: 24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.9rem var(--ak-gutter) calc(0.9rem + env(safe-area-inset-bottom));
  background: rgb(30 23 19 / 97%);
  border-block-start: 1px solid var(--line);
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-silk), visibility 0.6s;
}

.ak-sticky.is-visible {
  visibility: visible;
  transform: none;
}

.ak-sticky__price {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.ak-sticky__title {
  overflow: hidden;
  font-size: 1.4rem;
  color: var(--ivory-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ak-sticky__price strong {
  font-size: 2.1rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--brass-hi);
}

.ak-sticky .ak-btn {
  flex: none;
  min-height: 4.8rem;
  padding-block: 0.8rem;
}

@media screen and (min-width: 990px) {
  .ak-product {
    padding-block-end: 9.6rem;
  }

  .ak-product__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 5.6rem;
    align-items: start;
    padding-inline-end: var(--ak-gutter);
  }

  .ak-gallery {
    position: sticky;
    inset-block-start: var(--ak-header-h);
  }

  /* Square on desktop too (1080 x 1080), no taller than the screen allows. */
  .ak-gallery {
    width: min(100%, calc(100vh - var(--ak-header-h) - 9.2rem));
    min-width: min(100%, 48rem);
    justify-self: center;
  }

  .ak-gallery__slide {
    aspect-ratio: 1;
  }

  .ak-gallery__slide[data-kind='cut'] img {
    padding: 7%;
  }

  .ak-gallery__thumbs {
    padding-inline: var(--ak-gutter) 0;
  }

  .ak-gallery__thumb {
    width: 7.2rem;
    height: 7.2rem;
  }

  .ak-product__info {
    padding: 4.8rem 0 0;
  }

  .ak-product__title {
    font-size: clamp(4.8rem, 5vw, 7.6rem);
  }

  .ak-order {
    padding: 3.2rem 3rem 2.8rem;
  }

  .ak-sizes {
    gap: 0.6rem;
  }

  .ak-promises li {
    font-size: 1.3rem;
  }

  .ak-sticky {
    inset-inline: auto var(--ak-gutter);
    inset-block-end: 1.6rem;
    width: min(44rem, 40vw);
    padding-inline: 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--ak-radius);
    box-shadow: 0 18px 40px rgb(0 0 0 / 60%);
  }

  .ak-drawer {
    width: min(54rem, 92vw);
    height: 100dvh;
    max-height: 100dvh;
    margin: 0 0 0 auto;
    border-block-start: 0;
    border-inline-start: 1px solid var(--line);
    border-radius: 0;
  }
}

/* Below the fold */
.ak-benefits {
  display: grid;
  gap: 3.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ak-benefits li {
  padding-block-start: 2rem;
  border-block-start: 1px solid var(--line);
}

.ak-benefits h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(3rem, 3.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.05;
}

.ak-benefits p {
  max-width: 40ch;
  margin: 0;
  font-weight: 300;
  color: var(--ivory-soft);
}

@media screen and (min-width: 750px) {
  .ak-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4rem;
  }
}

.ak-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.ak-detail__image {
  position: relative;
  aspect-ratio: 1;
  background-image:
    radial-gradient(70% 58% at 50% 46%, rgb(222 172 118 / 62%), rgb(168 110 66 / 26%) 46%, transparent 80%);
}

.ak-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ak-detail__copy {
  padding: 5.6rem var(--ak-gutter) 3.2rem;
}

.ak-detail__copy p {
  margin: 0;
}

@media screen and (min-width: 750px) {
  .ak-detail {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
  }

  .ak-detail__copy {
    grid-column: span 5;
    align-self: center;
    padding: 5.6rem var(--ak-gutter);
  }

  .ak-detail__image {
    grid-column: span 7;
    aspect-ratio: auto;
    min-height: 68rem;
  }

  .ak-detail__image img {
    position: absolute;
    inset: 0;
  }
}

.ak-specs {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem 2.4rem;
  margin: 0 0 1.4rem;
}

.ak-specs dt {
  font-weight: 500;
  color: var(--ivory);
}

.ak-specs dd {
  margin: 0;
}

.ak-care {
  margin: 0;
  padding-inline-start: 2rem;
}

.ak-care li {
  margin-block-end: 0.4rem;
}

.ak-rte {
  margin-block-end: 1.4rem;
}

.ak-rte img {
  display: block;
  width: 100%;
  max-width: 44rem;
  height: auto;
  margin-block: 1rem;
  border-radius: var(--ak-radius);
}

/* Scroll turn: a tall section; its stage stays pinned under the header while the shoe turns. */
.ak-spin {
  position: relative;
  height: 280vh;
  background: var(--noir);
}

.ak-spin__stage {
  position: sticky;
  inset-block-start: var(--ak-header-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  height: calc(100svh - var(--ak-header-h));
  padding: 2rem var(--ak-gutter);
  overflow: hidden;
  text-align: center;
}

.ak-spin__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
}

.ak-spin__head .ak-heading {
  margin: 0;
}

.ak-spin__frame {
  position: relative;
  width: min(100%, 52svh, 62rem);
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--noir-soft);
  border: 1px solid var(--line);
  border-radius: var(--ak-radius);
}

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

.ak-spin__degrees {
  position: absolute;
  inset-block-end: 1.2rem;
  inset-inline-end: 1.2rem;
  min-width: 5.6rem;
  padding: 0.5rem 1rem;
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
  color: var(--ivory);
  background: rgb(30 23 19 / 72%);
  border-radius: 99rem;
}

.ak-spin__control {
  width: min(100%, 52svh, 62rem);
}

.ak-spin__control input {
  width: 100%;
  accent-color: var(--brass);
  cursor: grab;
}

.ak-spin__hint {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--ivory-soft);
}

@media screen and (min-width: 990px) {
  .ak-spin {
    height: 300vh;
  }

  .ak-spin__frame,
  .ak-spin__control {
    width: min(100%, 62svh, 66rem);
  }
}

/* Tagline under the promises, then the "Ajoutez une 2e paire" box. */
.ak-tagline {
  margin: 2.4rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 2.6rem);
  font-style: italic;
  line-height: 1.25;
  color: var(--ivory);
}

.ak-tagline__sub {
  margin: 0 0 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}

.ak-pair {
  padding: 1.8rem 1.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.ak-pair__title {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0;
}

.ak-pair__sub {
  margin: 0.4rem 0 1.4rem;
  font-size: 1.35rem;
  color: var(--brass-hi);
}

.ak-pair__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ak-pair__row {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line-soft);
}

.ak-pair__img {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
}

.ak-pair__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ak-pair__info {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.ak-pair__name {
  overflow: hidden;
  font-size: 1.45rem;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ivory);
  text-decoration: none;
}

.ak-pair__price {
  font-size: 1.35rem;
  color: var(--brass-hi);
}

.ak-pair__act {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.ak-pair__size {
  flex: 1;
  min-width: 0;
  min-height: 4rem;
  padding: 0 1rem;
  font: inherit;
  font-size: 1.4rem;
  color: var(--ivory);
  background: var(--noir-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.ak-pair__add {
  flex: none;
  min-height: 4rem;
  padding: 0 1.4rem;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ivory);
  background: transparent;
  border: 1px solid var(--brass);
  border-radius: 4px;
  cursor: pointer;
}

.ak-pair__add:hover {
  color: var(--noir);
  background: var(--brass);
}
