/* Generated file. Source: shared/brand/styles/orders/detail-carousel.css. Do not edit directly. Run: node tools/brand/sync-shared-brand.mjs */
/* Detail carousel — arrows, dots, lightbox */
body[data-orders-surface="cs-detail"] .orders-media-canvas {
  overflow: hidden;
  isolation: isolate;
}

body[data-orders-surface="cs-detail"] .orders-carousel-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-orders-surface="cs-detail"] .orders-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  backdrop-filter: blur(6px);
  transition:
    border-color 200ms ease,
    background 200ms ease,
    color 200ms ease;
  user-select: none;
}

body[data-orders-surface="cs-detail"] .orders-carousel-arrow:hover {
  border-color: var(--orders-tone-custom-line);
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

body[data-orders-surface="cs-detail"] .orders-carousel-arrow--prev {
  left: 10px;
}

body[data-orders-surface="cs-detail"] .orders-carousel-arrow--next {
  right: 10px;
}

body[data-orders-surface="cs-detail"] .orders-carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 14px;
}

body[data-orders-surface="cs-detail"] .orders-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

body[data-orders-surface="cs-detail"] .orders-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

body[data-orders-surface="cs-detail"] .orders-carousel-dot.is-active {
  background: var(--orders-tone-custom-bright);
  transform: scale(1.35);
}

body[data-orders-surface="cs-detail"] .orders-carousel-caption {
  position: static;
  text-align: center;
  padding: 12px 0 0;
  color: var(--orders-muted);
  font-size: 13px;
  line-height: 1.55;
}

body[data-orders-surface="cs-detail"] .orders-carousel-caption-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body[data-orders-surface="cs-detail"] .orders-media-title {
  font-size: 15px;
  color: var(--orders-text);
}

/* Lightbox */
.orders-carousel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.orders-carousel-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.orders-carousel-lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--orders-geom-radius);
}

.orders-carousel-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  border-radius: 50%;
  transition: all 200ms ease;
}

.orders-carousel-lightbox-close:hover {
  border-color: var(--orders-tone-custom-line);
  color: #fff;
}

.orders-carousel-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: all 200ms ease;
}

.orders-carousel-lightbox-arrow:hover {
  border-color: var(--orders-tone-custom-line);
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

.orders-carousel-lightbox-arrow--prev {
  left: 20px;
}

.orders-carousel-lightbox-arrow--next {
  right: 20px;
}

@media (max-width: 860px) {
  .orders-carousel-lightbox-arrow {
    bottom: 20px;
    top: auto;
    width: 36px;
    height: 36px;
    font-size: 14px;
    border-radius: 50%;
  }

  .orders-carousel-lightbox-arrow--prev {
    left: auto;
    right: 72px;
  }

  .orders-carousel-lightbox-arrow--next {
    right: 20px;
  }

  .orders-carousel-lightbox-img {
    max-width: 96vw;
    max-height: 82vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-orders-surface="cs-detail"] .orders-carousel-arrow,
  body[data-orders-surface="cs-detail"] .orders-carousel-dot,
  .orders-carousel-lightbox {
    transition: none !important;
  }
}
