/* Restrained button feedback; dimensions and existing link destinations stay unchanged. */
.cta {
  --cta-color: #fff;
  --cta-hover-bg: #fff;
  --cta-hover-color: #c13252;
  --cta-border: var(--pink);
  color: var(--cta-color);
  background: var(--cta-bg, var(--pink));
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .1s ease;
}

.cta-icon {
  position: absolute;
  width: calc(var(--u)*26);
  height: calc(var(--u)*26);
  right: calc(var(--u)*18);
  background: currentColor;
  pointer-events: none;
  -webkit-mask: url('../assets/calendar.webp') center / contain no-repeat;
  mask: url('../assets/calendar.webp') center / contain no-repeat;
}

.shop-cta .cta-icon {
  width: calc(var(--u)*18);
  height: calc(var(--u)*18);
  right: calc(var(--u)*13);
}

.fixed-cta {
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .1s ease;
}

.fixed-cta::before {
  border-color: currentColor;
  transition: border-color .18s ease;
  pointer-events: none;
}

.cta:is(:focus-visible, :active) {
  background: var(--cta-hover-bg);
  color: var(--cta-hover-color);
  box-shadow: inset 0 0 0 1.5px var(--cta-border);
}

.fixed-cta:is(:focus-visible, :active) {
  background: #fff;
  color: #be2440;
  box-shadow: inset 0 0 0 1.5px #be2440;
}

.cta:active,
.fixed-cta:active {
  transform: translateY(2px) scale(.99);
}

/* Section-matched controls; SVG geometry is centered independently of text layout. */
#brand {
  --carousel-surface: #eaf8ff;
  --carousel-accent: #147fa8;
  --carousel-muted: #bfdde9;
}

#original {
  --carousel-surface: #fff3fb;
  --carousel-accent: #b73183;
  --carousel-muted: #edc5df;
}

#selection {
  --carousel-surface: #eafffb;
  --carousel-accent: #337e76;
  --carousel-muted: #b5d9d4;
}

.carousel-arrow {
  display: grid;
  place-items: center;
  width: calc(var(--u)*36);
  height: calc(var(--u)*36);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 0;
  font-size: 0;
  line-height: 1;
  flex-shrink: 0;
  background: var(--carousel-surface, #fff);
  color: var(--carousel-accent, #514344);
  border-color: currentColor;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .1s ease;
}

.carousel-chevron {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--u)*16);
  height: calc(var(--u)*16);
  display: block;
  transform: translate(-50%, -50%);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.carousel-arrow.previous .carousel-chevron {
  transform: translate(-50%, -50%) rotate(180deg);
}

.carousel-dots {
  gap: 0;
}

.carousel-dot {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: calc(var(--u)*8);
  height: calc(var(--u)*24);
}

.carousel-dot::before {
  width: calc(var(--u)*4);
  height: calc(var(--u)*4);
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0;
  background: var(--carousel-muted, #c2aaaa);
  transition: background-color .18s ease, transform .1s ease;
}

.carousel-dot[aria-current=true]::before {
  width: calc(var(--u)*6);
  height: calc(var(--u)*6);
  background: var(--carousel-accent, #795b59);
}

.carousel-arrow:is(:focus-visible, :active) {
  background: var(--carousel-accent, #795b59);
  color: #fff;
  border-color: var(--carousel-accent, #795b59);
}

.carousel-dot:is(:focus-visible, :active)::before {
  background: var(--carousel-accent, #795b59);
}

.carousel-arrow:active {
  transform: translateY(1px) scale(.96);
}

.carousel-dot:active::before {
  transform: scale(.85);
}

.carousel-track.is-looping {
  overflow-anchor: none;
}

.carousel-track.is-looping .slide {
  overflow-anchor: none;
}

@media (hover:hover) and (pointer:fine) {
  .cta:hover {
    background: var(--cta-hover-bg);
    color: var(--cta-hover-color);
    box-shadow: inset 0 0 0 1.5px var(--cta-border);
  }

  .fixed-cta:hover {
    background: #fff;
    color: #be2440;
    box-shadow: inset 0 0 0 1.5px #be2440;
  }

  .carousel-arrow:hover {
    background: var(--carousel-accent, #795b59);
    color: #fff;
    border-color: var(--carousel-accent, #795b59);
  }

  .carousel-dot:hover::before {
    background: var(--carousel-accent, #795b59);
  }
}

@media (prefers-reduced-motion:reduce) {

  .cta,
  .fixed-cta,
  .fixed-cta::before,
  .carousel-arrow,
  .carousel-dot::before {
    transition: none;
  }

  .cta:active,
  .fixed-cta:active,
  .carousel-arrow:active,
  .carousel-dot:active::before {
    transform: none;
  }
}

/* Updated exported artwork: reservation bands are standalone linked assets. */
.design-reservation {
  display: block;
  line-height: 0;
}

.design-reservation:focus-visible {
  outline: 3px solid #141316;
  outline-offset: -3px;
}

/* Inverted HTML button over the exported artwork. */
.design-reservation {
  position: relative;
  cursor: pointer;
}

.reservation-inverse {
  position: absolute;
  left: 6.6%;
  right: 6.4%;
  top: 30.7%;
  bottom: 8.6%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: calc(var(--u)*1) solid #141316;
  border-radius: 999px;
  background: #fff;
  color: #e9627d;
  font-family: "Noto Sans JP", sans-serif;
  font-size: calc(var(--u)*20);
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}

#special .reservation-inverse {
  clip-path: polygon(0 0, 18.5% 0, 19% 3%, 20% 7%, 22% 9%, 44% 9%, 47% 13%, 49% 20%, 50.5% 25%, 52% 19%, 54% 13%, 57% 9%, 78% 9%, 81% 5%, 82% 0, 100% 0, 100% 100%, 0 100%);
}

#process .reservation-inverse {
  top: 11.5%;
  bottom: 8.5%;
  font-size: calc(var(--u)*18);
}

.hover-calendar {
  position: absolute;
  right: 7.5%;
  width: 8.3%;
  height: 48%;
}

@media (hover:hover) and (pointer:fine) {
  .design-reservation:hover .reservation-inverse {
    opacity: 1;
  }
}

.design-reservation:active .reservation-inverse {
  opacity: 1;
}

@media (prefers-reduced-motion:reduce) {
  .reservation-inverse {
    transition: none;
  }
}
/* Updated special artwork button bounds. */
#special .reservation-inverse { left:4.8%; right:8.4%; }
