html,
body {
  overflow-x: hidden;
}

.cg-reveal,
.cg-text-reveal,
.cg-heading-reveal,
.cg-reveal-left,
.cg-reveal-right,
.cg-reveal-scale,
.cg-image-zoom,
.cg-stagger > *,
.cg-split-lines {
  opacity: 0;
}

.cg-image-zoom,
.cg-image-reveal {
  will-change: transform, opacity;
}

.cg-image-reveal {
  overflow: hidden;
}

.cg-reveal.is-gsap-visible,
.cg-text-reveal.is-gsap-visible,
.cg-heading-reveal.is-gsap-visible,
.cg-reveal-left.is-gsap-visible,
.cg-reveal-right.is-gsap-visible,
.cg-reveal-scale.is-gsap-visible,
.cg-image-zoom.is-gsap-visible,
.cg-split-lines.is-gsap-visible,
.cg-stagger > .is-gsap-visible {
  opacity: 1;
}

.cg-split-lines {
  opacity: 1;
}

.cg-split-line {
  display: block;
  overflow: hidden;
  line-height: inherit;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.cg-split-line-inner {
  display: block;
  line-height: inherit;
  will-change: transform, opacity;
}

.cg-split-word {
  display: inline-block;
}

.cg-parallax {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .cg-reveal,
  .cg-text-reveal,
  .cg-heading-reveal,
  .cg-reveal-left,
  .cg-reveal-right,
  .cg-reveal-scale,
  .cg-image-zoom,
  .cg-stagger > *,
  .cg-split-lines,
  .cg-split-line-inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.cg-shop-page {
  padding: clamp(1rem, 2vw, 2rem) 0 clamp(3rem, 5vw, 5rem);
}

.cg-shop-hero {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
}

.cg-shop-hero__inner {
  max-width: 72rem;
}

.cg-shop-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cg-shop-hero__title {
  margin: 0;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.cg-shop-hero__description {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.55;
}

.cg-shop-rail-section {
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.cg-shop-rail__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cg-shop-rail__count {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cg-shop-rail__controls {
  display: flex;
  gap: 0.6rem;
}

.cg-shop-rail__button {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.cg-shop-rail__button:hover {
  transform: scale(1.06);
  background: #111;
  color: #fff;
}

.cg-shop-rail-wrap {
  position: relative;
  overflow: hidden;
}

.cg-shop-rail {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto;
  overflow-y: visible;
  padding: 0.5rem 0 2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.cg-shop-rail::-webkit-scrollbar {
  display: none;
}

.cg-shop-rail.is-dragging {
  cursor: grabbing;
}

.cg-shop-card {
  position: relative;
  flex: 0 0 clamp(18rem, 28vw, 28rem);
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  transform-origin: center center;
  transition: transform 0.35s ease, opacity 0.35s ease;
  user-select: none;
}

.cg-shop-rail:hover .cg-shop-card {
  opacity: 0.72;
}

.cg-shop-rail .cg-shop-card:hover {
  opacity: 1;
  transform: scale(1.06);
  z-index: 3;
}

.cg-shop-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.75rem;
  background: #f3f0eb;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.cg-shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cg-shop-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cg-shop-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 0.2rem 0;
}

.cg-shop-card__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.cg-shop-card__title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1;
}

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

.cg-shop-card__price {
  font-size: 1rem;
  font-weight: 500;
}

.cg-shop-card__price ins {
  text-decoration: none;
}

.cg-shop-card__cta .button,
.cg-shop-card__cta .added_to_cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
}

.cg-shop-empty {
  padding: 2rem 0;
}

@media (max-width: 767px) {
  .cg-shop-rail__topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .cg-shop-card {
    flex-basis: min(78vw, 22rem);
  }

  .cg-shop-rail .cg-shop-card:hover {
    transform: scale(1.02);
  }
}
