/* ═══════════════════════════════════════════════
   HOME — Estilos exclusivos de la página Home
   Mobile-first (375px base)
═══════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  height: 680px;
  overflow: hidden;
  background-color: var(--fm-beige);
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Frosted glass product card */
.hero__product-card {
  position: absolute;
  bottom: 24px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: var(--fm-space-md);
  padding: 16px 20px;
  border-radius: 8px;
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
  background: linear-gradient(90deg, rgba(20,18,16,0.1), rgba(20,18,16,0.1)),
              rgba(245, 238, 222, 0.2);
  box-shadow: 0 2px 10px rgba(77,73,70,0.4),
              inset 0 4px 40px rgba(214,201,182,0.5);
}

.hero__product-info {
  flex: 1;
  min-width: 0;
}

.hero__product-name {
  font-family: var(--fm-font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--fm-beige-light);
  letter-spacing: 0.1em;
  margin: 0 0 4px;
  line-height: 1.2;
}

.hero__product-category {
  font-family: var(--fm-font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fm-black);
  margin: 0 0 10px;
  opacity: 0.75;
}

.hero__product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fm-font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--fm-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__product-thumb {
  width: 90px;
  height: 86px;
  flex-shrink: 0;
  overflow: hidden;
}

.hero__product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* ─── Launch Video ──────────────────────────── */
.launch-video {
  padding: var(--fm-space-2xl) var(--fm-margin-mobile) var(--fm-space-xl);
  text-align: center;
}

.launch-video__header {
  max-width: 34ch;
  margin: 0 auto var(--fm-space-lg);
}

.launch-video__title {
  font-family: var(--fm-font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--fm-black);
  margin: 0 0 var(--fm-space-sm);
}

.launch-video__copy {
  font-family: var(--fm-font-body);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--fm-gray-warm);
  margin: 0;
}

.launch-video__player {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  margin: 0 auto var(--fm-space-lg);
  background-color: var(--fm-black);
  overflow: hidden;
}

.launch-video__poster {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}

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

.launch-video__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(250, 250, 248, 0.9);
  color: var(--fm-black);
  transition: transform 0.25s var(--fm-ease-hover), background-color 0.25s var(--fm-ease-hover);
}

.launch-video__play-icon svg {
  margin-left: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .launch-video__poster:hover .launch-video__play-icon {
    transform: translate(-50%, -50%) scale(1.08);
    background-color: var(--fm-white);
  }
}

.launch-video__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Category Nav (BOLSOS / CARTERAS) ─ */
.category-nav {
  padding: var(--fm-space-xl) var(--fm-margin-mobile) var(--fm-space-lg);
  text-align: center;
}

.category-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: var(--fm-space-lg);
}

.category-nav__item {
  font-family: var(--fm-font-display);
  font-size: clamp(2.6rem, 12vw, 3rem);
  font-weight: 400;
  color: var(--fm-black);
  text-decoration: none;
  letter-spacing: 0.06em;
  line-height: 1.15;
  transition: opacity 0.2s;
}

.category-nav__item:hover {
  opacity: 0.45;
}

/* ─── Category Image Grid ───────────────────── */
.category-grid {
  padding: 0 6px var(--fm-space-xl);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-grid__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

/* Category button (image + label overlay) */
.category-btn {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: inset 0 0 0 5px var(--fm-white);
}

.category-btn--half {
  aspect-ratio: 195 / 322;
}

.category-btn--full {
  aspect-ratio: 389 / 270;
}

.category-btn__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.category-btn:hover .category-btn__image,
.category-btn:focus-visible .category-btn__image {
  transform: scale(1.1);
}

/* Text label at bottom-left */
.category-btn__label {
  position: absolute;
  bottom: 16px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.category-btn__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-btn__name {
  font-family: var(--fm-font-narrow);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fm-white);
  line-height: 1;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.category-btn__prefix {
  font-family: var(--fm-font-narrow);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(245, 238, 222, 0.9);
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.category-btn__arrow {
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}

/* ─── Brand Statement ───────────────────────── */
.brand-statement {
  background-color: var(--fm-beige-light);
  border: 5px solid white;
  margin: 0 7px;
  padding: var(--fm-space-2xl) var(--fm-space-xl) var(--fm-space-2xl);
}

.brand-statement__inner {
  text-align: center;
}

.brand-statement__monogram {
  margin-bottom: var(--fm-space-lg);
}

.brand-statement__monogram img {
  width: 140px;
  height: auto;
  display: inline-block;
}

.brand-statement__quote {
  font-family: var(--fm-font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--fm-terracota);
  margin: 0 0 var(--fm-space-lg);
  font-weight: 400;
}

.brand-statement__copy {
  font-family: var(--fm-font-body);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--fm-gray-warm);
  max-width: 34ch;
  margin: 0 auto;
}

.brand-statement__brands {
  max-width: 40ch;
  margin-top: var(--fm-space-md);
}

.brand-statement__brands strong {
  color: var(--fm-black);
  font-weight: 400;
}

.brand-statement__brand-names {
  white-space: nowrap;
}

.brand-statement .fm-rule {
  margin: var(--fm-space-lg) auto 0;
}

/* ─── Favorites Section ─────────────────────── */
.favorites-section {
  padding: var(--fm-space-2xl) 0 var(--fm-space-xl);
}

.favorites-section__header {
  padding: 0 var(--fm-margin-mobile);
  margin-bottom: var(--fm-space-xl);
}

.favorites-section__title {
  font-family: var(--fm-font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--fm-black);
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin: 0;
}

.favorites-section__title span {
  display: block;
  font-size: 1.5625rem;
  letter-spacing: 0.2em;
}

/* Horizontal scroll carousel */
.favorites-carousel {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 var(--fm-margin-mobile);
  cursor: grab;
}

.favorites-carousel::-webkit-scrollbar {
  display: none;
}

.favorites-carousel:active {
  cursor: grabbing;
}

.favorites-carousel__track {
  display: flex;
  gap: var(--fm-space-md);
  width: max-content;
  padding-bottom: 4px;
}

.favorites-carousel__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  color: var(--fm-black);
  flex-shrink: 0;
}

.favorites-carousel__img-wrap {
  width: 130px;
  height: 150px;
  overflow: hidden;
  background-color: var(--fm-gray-surface);
}

.favorites-carousel__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.35s ease;
}

.favorites-carousel__item:hover .favorites-carousel__img-wrap img {
  transform: scale(1.06);
}

.favorites-carousel__name {
  font-family: var(--fm-font-body);
  font-size: 0.875rem;
  color: var(--fm-black);
  white-space: nowrap;
}

/* ─── New Collection ────────────────────────── */
.new-collection {
  padding: var(--fm-space-2xl) 0 var(--fm-space-2xl);
  background-color: rgba(245, 238, 222, 0.4);
}

.new-collection__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--fm-margin-mobile);
  margin-bottom: var(--fm-space-xl);
}

.new-collection__title {
  font-family: var(--fm-font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--fm-black);
  margin: 0;
}

.new-collection__link {
  font-family: var(--fm-font-body);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fm-gray-warm);
  text-decoration: none;
  border-bottom: 1px solid var(--fm-gray-light);
  padding-bottom: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Horizontal product carousel */
.products-carousel {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 var(--fm-margin-mobile);
  cursor: grab;
}

.products-carousel::-webkit-scrollbar {
  display: none;
}

.products-carousel:active {
  cursor: grabbing;
}

.products-carousel__track {
  display: flex;
  gap: var(--fm-space-md);
  width: max-content;
  padding-bottom: 4px;
}

/* ─── Gallery — Sesión editorial ────────────── */
.gallery-section {
  padding: var(--fm-space-xl) 0 var(--fm-space-xl);
}

.gallery-section__header {
  padding: 0 var(--fm-margin-mobile);
  margin-bottom: var(--fm-space-xl);
}

.gallery-section__title {
  font-family: var(--fm-font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--fm-black);
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin: 0;
}

.gallery-section__title span {
  display: block;
  font-size: 1.5625rem;
  letter-spacing: 0.2em;
}

.gallery-carousel {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 var(--fm-margin-mobile);
  cursor: grab;
}

.gallery-carousel::-webkit-scrollbar {
  display: none;
}

.gallery-carousel:active {
  cursor: grabbing;
}

.gallery-carousel__track {
  display: flex;
  gap: var(--fm-space-md);
  width: max-content;
  padding-bottom: 4px;
}

.gallery-carousel__item {
  flex-shrink: 0;
  width: 220px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background-color: var(--fm-gray-surface);
}

.gallery-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-carousel__item:hover img {
  transform: scale(1.04);
}

/* Newsletter y Footer → ver components/footer.css */

/* ─── Tablet+ ───────────────────────────────── */
@media (min-width: 768px) {
  .hero {
    height: 800px;
  }

  .hero__product-card {
    left: 24px;
    right: auto;
    width: 380px;
    bottom: 32px;
  }

  .category-grid {
    padding: 0 var(--fm-margin-tablet) var(--fm-space-xl);
  }

  .category-grid__row {
    gap: var(--fm-space-sm);
  }

  .new-collection__title {
    font-size: 1.25rem;
  }

  .gallery-carousel__item {
    width: 260px;
  }
}

@media (min-width: 1280px) {
  .hero {
    height: auto;
    aspect-ratio: 1920 / 1072;
  }

  .category-nav__item {
    font-size: 3.5rem;
  }

  .products-carousel {
    overflow: visible;
    padding: 0 var(--fm-margin-desktop);
  }

  .products-carousel__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: var(--fm-space-md);
  }

  .card {
    width: 100%;
  }

  .gallery-carousel {
    padding: 0 var(--fm-margin-desktop);
  }

  .gallery-carousel__item {
    width: 280px;
  }
}
