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

.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;
}

/* Pantalla de carga */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 38%, #3a141c 0%, #1c060b 60%, #120608 100%);
  transition: opacity 1.05s ease, visibility 1.05s ease;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__stain {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42vmax;
  height: 42vmax;
  transform: translate(-50%, -50%) scale(0.25) rotate(0deg);
  border-radius: 46% 54% 51% 49% / 52% 46% 54% 48%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 169, 98, 0.22), rgba(201, 169, 98, 0.06) 55%, transparent 72%);
  opacity: 0;
  filter: blur(8px);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.1s ease;
}

.preloader.is-done .preloader__stain {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.6) rotate(35deg);
}

.preloader__logo {
  position: relative;
  width: min(88vw, 420px);
  animation: preloaderBreath 2.6s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(201, 169, 98, 0.22));
}

.preloader__brand {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 3.8vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  color: #c9a962;
  line-height: 1.25;
}

.preloader.is-done .preloader__logo {
  animation: none;
  transform: scale(1.18);
  opacity: 0;
  filter: blur(10px) drop-shadow(0 0 60px rgba(201, 169, 98, 0.5));
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.95s ease, filter 1.05s ease;
}

@keyframes preloaderBreath {
  0%, 100% { transform: scale(1); opacity: 0.82; }
  50% { transform: scale(1.05); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader__logo { animation: none; }
}

.is-loading,
.is-loading body {
  overflow: hidden;
}

html {
  font-size: 16px;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #120608;
  font-family: "Jost", "helvetica neue", helvetica, sans-serif;
  overflow: hidden;
  color: #f7f0eb;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(107, 29, 51, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 90%, rgba(139, 41, 66, 0.12) 0%, transparent 50%),
    linear-gradient(165deg, #120608 0%, #1e0a0e 45%, #2d1018 100%);
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
  pointer-events: none;
}

a {
  color: #f7f0eb;
  text-decoration: none;
}

.scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(232, 213, 176, 0.55);
  font-family: "Jost", sans-serif;
  font-size: calc(0.55rem + 0.3vw);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  z-index: 10;
}

.scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 2.5rem;
  margin: 0.75rem auto 0;
  background: linear-gradient(to bottom, rgba(201, 169, 98, 0.6), transparent);
}

.logo {
  position: absolute;
  top: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
  margin: 0;
  z-index: 10;
  text-align: center;
}

.logo__img {
  display: block;
  width: auto;
  height: clamp(6rem, 4rem + 8vw, 11rem);
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(18, 6, 8, 0.45));
}

.logo__brand {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.95rem, 1.2vw + 0.55rem, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #f7f0eb;
  line-height: 1.2;
  max-width: min(92vw, 22rem);
  margin: 0 auto;
}

.logo__tagline {
  display: block;
  margin-top: 0.45rem;
  font-family: "Jost", sans-serif;
  font-size: calc(0.45rem + 0.2vw);
  font-weight: 300;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: rgba(201, 169, 98, 0.75);
}

ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav {
  position: absolute;
  top: 2rem;
  z-index: 60;
}

.nav--left {
  left: calc(1.5rem + 2vw);
}

.nav--right {
  right: calc(1.5rem + 2vw);
}

.nav ul {
  display: flex;
  align-items: center;
  height: 1rem;
}

.nav li {
  display: block;
  margin: 0 1.25rem;
  padding: 0;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: calc(0.55rem + 0.28vw);
  font-family: "Jost", sans-serif;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 240, 235, 0.72);
  transition: color 0.4s ease;
}

.nav a span {
  position: relative;
}

.nav a span::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #c9a962, #e8d5b0);
  transition: transform 0.75s ease;
  transform-origin: right;
  transform: scaleX(0);
}

.nav a:hover,
.nav a.is-active {
  color: #f7f0eb;
}

.nav a:hover span::before,
.nav a.is-active span::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav a.is-active span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.85rem;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c9a962;
}

.vert-text {
  position: absolute;
  bottom: 2rem;
  right: calc(1.5rem + 2vw);
  width: 15rem;
  display: flex;
  align-items: center;
  z-index: 10;
}

.vert-text span {
  display: block;
  color: rgba(232, 213, 176, 0.85);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  transform: rotate(-90deg) translateY(15rem);
  transform-origin: bottom left;
  font-size: calc(0.95rem + 0.25vw);
}

.cart-link__icon {
  display: none;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.65rem;
  width: 1.65rem;
  background: rgba(107, 29, 51, 0.65);
  border: 1px solid rgba(201, 169, 98, 0.45);
  border-radius: 50%;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #c9a962;
  margin-left: 0.85rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav a:hover .cart-total {
  background: rgba(139, 41, 66, 0.85);
  border-color: #c9a962;
}

.slider {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 6, 8, 0.55) 0%, transparent 28%, transparent 72%, rgba(18, 6, 8, 0.45) 100%),
    linear-gradient(180deg, rgba(30, 10, 14, 0.35) 0%, transparent 22%, transparent 78%, rgba(18, 6, 8, 0.5) 100%);
  z-index: 2;
  pointer-events: none;
}

.slider__text {
  position: absolute;
  bottom: calc(2.5rem + 3vw);
  left: calc(2rem + 3vw);
  z-index: 10;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(1.1rem + 3.8vw);
  text-transform: none;
  transform-origin: top;
  line-height: 1.12;
  color: #f7f0eb;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(18, 6, 8, 0.6);
}

.slider__text-line {
  overflow: hidden;
}

.slider__text-line div em {
  font-style: italic;
  color: #c9a962;
}

.slider__inner {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.slider__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 16, 24, 0.28);
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.slider__nav {
  position: absolute;
  top: 50%;
  right: calc(1.5rem + 1vw);
  transform: translateY(-50%);
  z-index: 10;
  padding-right: 0.5rem;
}

.slider-bullet {
  display: flex;
  align-items: center;
  padding: 0.85rem 0;
  cursor: pointer;
}

.slider-bullet__text {
  color: #f7f0eb;
  font-family: "Jost", sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-right: 1rem;
}

.slider-bullet__line {
  background: linear-gradient(90deg, #c9a962, #e8d5b0);
  height: 1px;
  width: 1.25rem;
  box-shadow: 0 0 8px rgba(201, 169, 98, 0.35);
}

.slider canvas {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.slide {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 3;
}

.slide__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.slide__img {
  position: relative;
  width: 22vw;
  height: 68vh;
  padding: 0;
  margin: 0;
  min-width: 11rem;
  transform-origin: top;
  border: 1px solid rgba(201, 169, 98, 0.22);
  box-shadow:
    0 24px 48px rgba(18, 6, 8, 0.55),
    0 0 0 1px rgba(247, 240, 235, 0.04) inset;
  overflow: hidden;
}

.slide__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 10, 14, 0.08) 0%,
    transparent 35%,
    transparent 65%,
    rgba(18, 6, 8, 0.25) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.slide__img:first-child {
  top: -1.25rem;
}

.slide__img:last-child {
  bottom: -1.25rem;
}

.slide__img img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.slide__content--grid {
  padding: 4rem 1.5rem 2rem;
  align-items: center;
  justify-content: center;
}

.store-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  width: min(72rem, 94vw);
  z-index: 10;
}

.store-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 1.15rem + 2.8vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #f7f0eb;
  margin: 0;
  padding-left: 0.42em;
  text-align: center;
  text-shadow: 0 4px 28px rgba(18, 6, 8, 0.55);
}

.store-title::after {
  content: "";
  display: block;
  width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a962, #e8d5b0, #c9a962, transparent);
  margin: 0.85rem auto 0;
  opacity: 0.85;
}

.store-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
}

.store-head .store-title {
  text-align: left;
  padding-left: 0;
  margin-right: auto;
}

.store-head .store-title::after {
  margin-left: 0;
}

.store-search-box[hidden],
.store-cats[hidden],
.store-carousel[hidden],
.store-clients[hidden] {
  display: none;
}

/* Vistas a pantalla completa (Clientes / Cursos) */
.clients-view,
.courses-view {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  padding: clamp(5rem, 9vh, 7.5rem) clamp(1.25rem, 5vw, 5rem) clamp(3rem, 6vh, 5rem);
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(201, 169, 98, 0.16), transparent 60%),
    linear-gradient(160deg, #2a0e14 0%, #18060a 55%, #2a0e14 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s;
}

.clients-view.is-open,
.courses-view.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.clients-view__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.clients-hero {
  text-align: center;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.clients-hero__eyebrow {
  font-family: "Jost", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.7rem;
  color: #c9a962;
  margin: 0 0 1rem;
}

.clients-hero__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem);
  color: #f7f0eb;
  margin: 0;
  line-height: 1.12;
}

.clients-hero__title em {
  font-style: italic;
  color: #c9a962;
}

.clients-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.clients-avatars {
  display: flex;
}

.clients-avatar {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 2px solid #2a0e14;
  margin-left: -0.75rem;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c9a962, #8a6d3b);
  color: #1e0a0e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 0.85rem;
}

.clients-avatar:first-child {
  margin-left: 0;
}

.clients-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clients-avatar--more {
  background: rgba(247, 240, 235, 0.12);
  color: #e8d5b0;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
}

.clients-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.clients-rating__stars {
  color: #c9a962;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}

.clients-rating__value {
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  color: rgba(247, 240, 235, 0.7);
  letter-spacing: 0.05em;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.store-clients__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(247, 240, 235, 0.6);
  font-family: "Jost", sans-serif;
  letter-spacing: 0.08em;
  padding: 2rem 0;
}

.clients-view .client-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.clients-view.is-open .client-card {
  opacity: 1;
  transform: none;
}

.clients-view.is-open .client-card:nth-child(1) { transition-delay: 0.12s; }
.clients-view.is-open .client-card:nth-child(2) { transition-delay: 0.19s; }
.clients-view.is-open .client-card:nth-child(3) { transition-delay: 0.26s; }
.clients-view.is-open .client-card:nth-child(4) { transition-delay: 0.33s; }
.clients-view.is-open .client-card:nth-child(5) { transition-delay: 0.4s; }
.clients-view.is-open .client-card:nth-child(6) { transition-delay: 0.47s; }
.clients-view.is-open .client-card:nth-child(7) { transition-delay: 0.54s; }
.clients-view.is-open .client-card:nth-child(8) { transition-delay: 0.61s; }

/* Cursos */
.courses-hero__sub {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-family: "Jost", sans-serif;
  color: rgba(247, 240, 235, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.4rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  background: rgba(30, 10, 14, 0.5);
  border: 1px solid rgba(201, 169, 98, 0.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(10, 3, 5, 0.4);
}

.course-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, #4a2230, #1e0a0e);
}

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

.course-card__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201, 169, 98, 0.6);
  font-size: 2.5rem;
}

.course-card__body {
  flex: 1;
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.course-card__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1.45rem;
  color: #f7f0eb;
  letter-spacing: 0.02em;
}

.course-card__desc {
  margin: 0;
  font-family: "Jost", sans-serif;
  color: rgba(247, 240, 235, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

.course-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #07271a;
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.course-card__cta:hover {
  background: #1fc05c;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.course-card__cta svg {
  flex: none;
}

.courses-view .course-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.courses-view.is-open .course-card {
  opacity: 1;
  transform: none;
}

.courses-view.is-open .course-card:nth-child(1) { transition-delay: 0.12s; }
.courses-view.is-open .course-card:nth-child(2) { transition-delay: 0.19s; }
.courses-view.is-open .course-card:nth-child(3) { transition-delay: 0.26s; }
.courses-view.is-open .course-card:nth-child(4) { transition-delay: 0.33s; }
.courses-view.is-open .course-card:nth-child(5) { transition-delay: 0.4s; }
.courses-view.is-open .course-card:nth-child(6) { transition-delay: 0.47s; }

.client-card {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 98, 0.25);
  background: #1e0a0e;
  box-shadow: 0 18px 40px rgba(10, 3, 5, 0.45);
}

.client-card__media {
  position: absolute;
  inset: 0;
}

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

.client-card__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #4a2230, #1e0a0e);
  color: rgba(201, 169, 98, 0.85);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.05em;
}

.client-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.6rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: linear-gradient(
    to top,
    rgba(12, 4, 6, 0.94) 8%,
    rgba(12, 4, 6, 0.7) 45%,
    rgba(12, 4, 6, 0) 100%
  );
}

.client-card__name {
  font-family: "Jost", sans-serif;
  color: #c9a962;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.client-card__quote {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #f7f0eb;
  font-size: clamp(1.15rem, 0.9rem + 0.7vw, 1.5rem);
  line-height: 1.3;
}

.store-search {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 10, 14, 0.5);
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  min-width: 15rem;
  transition: border-color 0.25s ease;
}

.store-search:focus-within {
  border-color: rgba(201, 169, 98, 0.7);
}

.store-search svg {
  width: 1.05rem;
  height: 1.05rem;
  color: rgba(247, 240, 235, 0.55);
  flex: none;
}

.store-search input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #f7f0eb;
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0;
}

.store-search input::placeholder {
  color: rgba(247, 240, 235, 0.5);
}

.store-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.store-empty {
  text-align: center;
  color: rgba(247, 240, 235, 0.6);
  font-family: "Jost", sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin: 2.5rem 0 0.5rem;
}

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

.store-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.4rem auto 0.4rem;
  max-width: 52rem;
}

.store-cats:empty {
  display: none;
}

.store-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Jost", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 240, 235, 0.7);
  background: rgba(30, 10, 14, 0.5);
  border: 1px solid rgba(201, 169, 98, 0.25);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.store-cat:hover {
  color: #f7f0eb;
  border-color: rgba(201, 169, 98, 0.6);
}

.store-cat.is-active {
  color: #1e0a0e;
  background: linear-gradient(135deg, #e8d5b0, #c9a962);
  border-color: #c9a962;
}

.store-cat__emoji {
  font-size: 0.85rem;
}

.store-carousel {
  --per-view: 4;
  --gap: 1.35rem;
  position: relative;
  width: 100%;
  padding: 0 3.5rem;
  z-index: 10;
}

.carousel__viewport {
  width: 100%;
  overflow: hidden;
}

.store-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  gap: var(--gap);
  width: 100%;
  height: min(64vh, 33rem);
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel__arrow {
  position: absolute;
  top: calc(50% - 0.25rem);
  transform: translateY(-50%);
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.45);
  background: rgba(107, 29, 51, 0.5);
  color: #f7f0eb;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.35s ease, border-color 0.35s ease,
    transform 0.35s ease, opacity 0.35s ease;
}

.carousel__arrow:hover {
  background: rgba(139, 41, 66, 0.9);
  border-color: #c9a962;
  transform: translateY(-50%) scale(1.08);
}

.carousel__arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.carousel__arrow--prev {
  left: 0;
}

.carousel__arrow--next {
  right: 0;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border-radius: 1rem;
  border: 1px solid rgba(201, 169, 98, 0.5);
  background: transparent;
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease, border-color 0.35s ease;
}

.carousel__dot.is-active {
  width: 1.7rem;
  background: linear-gradient(90deg, #c9a962, #e8d5b0);
  border-color: #c9a962;
}

.store-grid__item {
  position: relative;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  top: 0 !important;
  bottom: auto !important;
  transform-origin: center;
  display: flex;
  flex-direction: column;
  background: rgba(30, 10, 14, 0.72);
  border: 1px solid rgba(201, 169, 98, 0.35);
  box-shadow:
    0 20px 40px rgba(18, 6, 8, 0.5),
    0 0 0 1px rgba(247, 240, 235, 0.05) inset;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.store-grid__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(18, 6, 8, 0.55) 68%,
    rgba(18, 6, 8, 0.92) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.store-grid__item:hover {
  border-color: rgba(201, 169, 98, 0.65);
  transform: translateY(-4px);
  box-shadow:
    0 28px 48px rgba(18, 6, 8, 0.6),
    0 0 0 1px rgba(201, 169, 98, 0.15) inset;
}

.product-actions {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(-0.4rem);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.store-grid__item:hover .product-actions,
.store-grid__item:focus-within .product-actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.product-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.5);
  background: rgba(18, 6, 8, 0.72);
  color: #f7f0eb;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transform: scale(0.85);
  opacity: 0;
  transition: background 0.3s ease, border-color 0.3s ease,
    color 0.3s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.store-grid__item:hover .product-action,
.store-grid__item:focus-within .product-action {
  transform: scale(1);
  opacity: 1;
}

.store-grid__item:hover .product-action:nth-child(2) {
  transition-delay: 0.07s;
}

.product-action:hover {
  background: rgba(139, 41, 66, 0.92);
  border-color: #c9a962;
  color: #c9a962;
}

.product-action svg {
  width: 1.05rem;
  height: 1.05rem;
}

.store-grid__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.store-grid__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(18, 6, 8, 0.97) 0%,
    rgba(18, 6, 8, 0.88) 55%,
    transparent 100%
  );
}

.store-grid__name {
  font-family: "Jost", sans-serif;
  font-size: clamp(0.72rem, 0.55rem + 0.35vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f7f0eb;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(18, 6, 8, 0.8);
}

.store-grid__price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 0.85rem + 0.9vw, 1.65rem);
  font-weight: 600;
  color: #c9a962;
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(201, 169, 98, 0.45);
}

@media (max-width: 768px) {
  .nav--left {
    display: block;
    left: 0.85rem;
    top: 1.15rem;
    z-index: 60;
  }

  .nav--left li {
    margin: 0 0.9rem 0 0;
  }

  .nav--left a {
    font-size: 0.62rem;
    letter-spacing: 0.13em;
    color: rgba(247, 240, 235, 0.9);
  }

  .nav--right {
    display: block;
    right: 0.85rem;
    top: 1.1rem;
    z-index: 60;
  }

  .nav--right li {
    margin: 0;
  }

  .nav--right li:first-child {
    display: none;
  }

  .nav--right .js-cart-toggle {
    position: relative;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    color: rgba(247, 240, 235, 0.9);
  }

  .nav--right .cart-link__label {
    display: none;
  }

  .nav--right .cart-link__icon {
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    stroke: currentColor;
  }

  .nav--right .cart-total {
    position: absolute;
    top: -0.1rem;
    right: -0.1rem;
    margin-left: 0;
    width: 1.1rem;
    height: 1.1rem;
    font-size: 0.5rem;
  }

  .logo {
    top: -0.5rem;
    max-width: calc(100% - 4.5rem);
    padding: 0 0.5rem;
  }

  .logo__brand {
    font-size: clamp(0.78rem, 2.8vw, 1.05rem);
    letter-spacing: 0.05em;
    max-width: 11rem;
  }

  .logo__tagline {
    font-size: 0.42rem;
    letter-spacing: 0.4em;
  }

  .vert-text {
    display: none;
  }

  .slide__img {
    width: 42vw;
    min-width: 8.5rem;
    height: 58vh;
  }

  .slider__text {
    font-size: calc(0.95rem + 5.5vw);
    left: 1rem;
    right: 1rem;
    bottom: 4.5rem;
  }

  .slider__nav {
    right: 0.35rem;
    top: 52%;
  }

  .slider-bullet {
    padding: 0.65rem 0;
  }

  .scroll {
    bottom: 1.25rem;
    font-size: 0.5rem;
    letter-spacing: 0.28em;
  }

  .slide__content--grid {
    padding: 3.25rem clamp(1rem, 4.5vw, 1.5rem) 1.25rem;
    overflow: hidden;
    align-items: center;
    justify-content: center;
  }

  .store-showcase {
    width: 100%;
    max-width: 100%;
    gap: 1rem;
    padding-bottom: 0;
    overflow: hidden;
  }

  .store-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .store-head .store-title {
    text-align: center;
    margin-right: 0;
  }

  .clients-grid,
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .clients-hero__meta {
    gap: 1rem;
  }

  .clients-rating {
    align-items: center;
  }

  .store-head .store-title::after {
    margin-left: auto;
  }

  .store-search {
    width: 100%;
    min-width: 0;
  }

  .store-title {
    font-size: 1.65rem;
    letter-spacing: 0.22em;
    padding: 0;
  }

  .store-carousel {
    --per-view: 2;
    --gap: 0.7rem;
    padding: 0;
  }

  .store-grid {
    height: min(66vh, 32rem);
    padding: 0.25rem 0;
  }

  .carousel__arrow {
    top: auto;
    bottom: 0;
    width: 2.1rem;
    height: 2.1rem;
    background: rgba(18, 6, 8, 0.62);
    transform: none;
  }

  .carousel__arrow:hover {
    transform: scale(1.06);
  }

  .carousel__arrow:active {
    transform: scale(0.95);
  }

  .carousel__arrow svg {
    width: 16px;
    height: 16px;
  }

  .carousel__arrow--prev {
    left: 1.5rem;
    right: auto;
  }

  .carousel__arrow--next {
    right: 1.5rem;
    left: auto;
  }

  .carousel__dots {
    margin-top: 1rem;
    min-height: 2.1rem;
  }

  .store-grid__caption {
    padding: 0.75rem 0.65rem 0.7rem;
    gap: 0.2rem;
  }

  .store-grid__name {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .store-grid__price {
    font-size: 1rem;
  }

  .cart-panel {
    width: 100%;
    max-width: 100%;
  }

  .cart-toast {
    bottom: 1.25rem;
    width: calc(100% - 2rem);
    text-align: center;
    font-size: 0.65rem;
  }
}

.store-grid__item.js-product.is-added {
  border-color: rgba(201, 169, 98, 0.9);
  box-shadow:
    0 0 0 2px rgba(201, 169, 98, 0.35),
    0 20px 40px rgba(18, 6, 8, 0.5);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 6, 8, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(24rem, 92vw);
  height: 100%;
  background: linear-gradient(180deg, #1e0a0e 0%, #120608 100%);
  border-left: 1px solid rgba(201, 169, 98, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.45);
}

.cart-overlay.is-open .cart-panel {
  transform: translateX(0);
}

.cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.cart-panel__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f7f0eb;
  margin: 0;
}

.cart-panel__close {
  background: none;
  border: none;
  color: rgba(247, 240, 235, 0.7);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.25s ease;
}

.cart-panel__close:hover {
  color: #c9a962;
}

.cart-panel__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  list-style: none;
  margin: 0;
}

.cart-panel__empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(247, 240, 235, 0.45);
}

.cart-panel__empty.is-hidden {
  display: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.12);
}

.cart-item__img {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 98, 0.2);
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.cart-item__name {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f7f0eb;
}

.cart-item__price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  color: #c9a962;
}

.cart-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item__qty button {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: rgba(107, 29, 51, 0.4);
  color: #f7f0eb;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cart-item__qty button:hover {
  border-color: #c9a962;
  background: rgba(139, 41, 66, 0.6);
}

.cart-item__qty span {
  font-size: 0.8rem;
  min-width: 1rem;
  text-align: center;
}

.cart-item__remove {
  background: none;
  border: none;
  color: rgba(247, 240, 235, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

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

.cart-panel__footer {
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid rgba(201, 169, 98, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-panel__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247, 240, 235, 0.7);
}

.cart-panel__total .js-cart-total-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #c9a962;
  letter-spacing: 0.04em;
}

.cart-panel__checkout,
.cart-panel__clear {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: "Jost", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(201, 169, 98, 0.45);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.cart-panel__checkout {
  background: rgba(107, 29, 51, 0.75);
  color: #f7f0eb;
}

.cart-panel__checkout:hover {
  background: rgba(139, 41, 66, 0.9);
  border-color: #c9a962;
}

.cart-panel__clear {
  background: transparent;
  color: rgba(247, 240, 235, 0.5);
  border-color: rgba(201, 169, 98, 0.2);
}

.cart-panel__clear:hover {
  color: #f7f0eb;
  border-color: rgba(201, 169, 98, 0.4);
}

.cart-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  z-index: 110;
  padding: 0.75rem 1.5rem;
  background: rgba(30, 10, 14, 0.95);
  border: 1px solid rgba(201, 169, 98, 0.4);
  color: #c9a962;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.cart-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cart-total.is-bump {
  animation: cart-bump 0.45s ease;
}

@keyframes cart-bump {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.quickview-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(18, 6, 8, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.quickview-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.quickview {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(54rem, 100%);
  max-height: 90vh;
  overflow: hidden;
  background: linear-gradient(165deg, #1e0a0e 0%, #120608 100%);
  border: 1px solid rgba(201, 169, 98, 0.25);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.quickview-overlay.is-open .quickview {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.quickview__close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 6, 8, 0.55);
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: 50%;
  color: rgba(247, 240, 235, 0.8);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.quickview__close:hover {
  color: #c9a962;
  border-color: #c9a962;
  background: rgba(139, 41, 66, 0.6);
}

.quickview__media {
  position: relative;
  margin: 0;
  min-height: 22rem;
  overflow: hidden;
}

.quickview__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.quickview__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, rgba(18, 6, 8, 0.5) 100%);
  pointer-events: none;
}

.quickview__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: 2.75rem 2.5rem;
}

.quickview__eyebrow {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(201, 169, 98, 0.8);
}

.quickview__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #f7f0eb;
  margin: 0;
  line-height: 1.1;
}

.quickview__price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: #c9a962;
  margin: 0;
  letter-spacing: 0.03em;
}

.quickview__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: rgba(247, 240, 235, 0.7);
  margin: 0;
}

.quickview__add {
  margin-top: 0.75rem;
  align-self: flex-start;
  padding: 0.9rem 2.25rem;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f7f0eb;
  cursor: pointer;
  background: rgba(107, 29, 51, 0.8);
  border: 1px solid rgba(201, 169, 98, 0.5);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.quickview__add:hover {
  background: rgba(139, 41, 66, 0.95);
  border-color: #c9a962;
}

.quickview__add:active {
  transform: scale(0.97);
}

@media (max-width: 768px) {
  .quickview {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
  }

  .quickview__media {
    min-height: 14rem;
    height: 42vw;
    max-height: 18rem;
  }

  .quickview__media::after {
    background: linear-gradient(180deg, transparent 70%, rgba(18, 6, 8, 0.5) 100%);
  }

  .quickview__info {
    padding: 1.75rem 1.5rem 2rem;
    gap: 0.7rem;
  }

  .quickview__price {
    font-size: 1.6rem;
  }

  .quickview__add {
    align-self: stretch;
    text-align: center;
  }
}
