/**
 * Gold Masters — Bracarli layout + Gold Masters gold/ochre brand
 * Tokens: Jost, gold #B8953D / ochre #8A6D28, white canvas, dark hero, pill CTAs
 */

@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap");

.elementor-page-12,
.home.elementor-page-12 {
  /* Brand = gold/ochre (replaces former pine/teal #17484C) */
  --gm-teal: #8a6d28;
  --gm-teal-soft: #b8953d;
  --gm-teal-deep: #6b5420;
  --gm-ink: #6b5420;
  --gm-muted: #8a7d5c;
  --gm-line: rgba(184, 149, 61, 0.22);
  --gm-paper: #ffffff;
  --gm-mist: #f7f3ea;
  --gm-gold: #b8953d;
  --gm-gold-bright: #d4b45a;
  --gm-gold-deep: #8a6d28;
  --gm-ochre: #a67c2d;
  --gm-brand-surface: #b8953d;
  --gm-price: #8a6d28;
  --gm-ship: #1f9d55;
  --gm-font: "Jost", sans-serif;
  --gm-hero-img: url("https://goldmastersjoyeria.online/wp-content/uploads/2026/09/IMG_0436.jpg");
  font-family: var(--gm-font);
  color: var(--gm-ink);
  background: var(--gm-paper);
}

.elementor-page-12 .elementor-heading-title,
.elementor-page-12 .elementor-button,
.elementor-page-12 .elementor-widget-text-editor,
.elementor-page-12 .woocommerce-loop-product__title,
.elementor-page-12 .price,
.elementor-page-12 .gm-product-card__info {
  font-family: var(--gm-font) !important;
}

/* Header (HFE) — Bracarli clean white bar */
body.home #masthead,
body.elementor-page-12 #masthead {
  background: #fff !important;
  border-bottom: 1px solid var(--gm-line);
  box-shadow: none !important;
}

body.home #masthead .elementor-heading-title,
body.home #masthead a,
body.elementor-page-12 #masthead a {
  color: var(--gm-teal) !important;
  font-family: var(--gm-font) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
}

body.home #masthead .elementor-nav-menu--main .elementor-item,
body.elementor-page-12 #masthead .elementor-nav-menu--main .elementor-item {
  padding: 0.55rem 0.85rem !important;
}

/* ---------- Hero — full-bleed muted looping video ---------- */
#inicio {
  position: relative;
  min-height: min(92vh, 860px);
  color: #fff;
  overflow: hidden;
  background-color: #0b1517 !important;
  background-image: none !important;
}

#inicio > .elementor-background-overlay {
  background-color: #0b1517 !important;
  opacity: 0.42 !important;
  background-image: none !important;
  z-index: 1;
  pointer-events: none;
}

.gm-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.gm-hero-video__el {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

#inicio .elementor-container {
  position: relative;
  z-index: 2;
  min-height: min(92vh, 860px);
  align-items: center !important;
}

#inicio .elementor-widget-image,
#inicio .elementor-widget-image img {
  display: none !important;
}

#inicio .gm-br-hero-copy {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 1.25rem 4rem;
}

#inicio .gm-br-hero-brand .elementor-heading-title,
#inicio .gm-home-hero-brand .elementor-heading-title {
  color: #fff !important;
  font-family: var(--gm-font) !important;
  font-weight: 700 !important;
  font-size: clamp(2.5rem, 7.5vw, 4.75rem) !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  margin: 0 0 0.85rem !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

#inicio .gm-br-hero-tag .elementor-heading-title {
  color: #fff !important;
  font-family: var(--gm-font) !important;
  font-weight: 600 !important;
  font-size: clamp(1.2rem, 3vw, 1.85rem) !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  margin: 0 0 1.5rem !important;
}

#inicio .gm-home-hero-body,
#inicio .gm-br-hero-body {
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

#inicio .gm-home-hero-body p,
#inicio .gm-br-hero-body p {
  color: inherit !important;
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 400;
}

#inicio .elementor-button {
  border-radius: 999px !important;
  min-width: 12.5rem;
  padding: 1rem 1.75rem !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

#inicio .gm-home-cta-primary .elementor-button,
#inicio .gm-br-cta-primary .elementor-button {
  background: #fff !important;
  color: var(--gm-teal) !important;
  border: 0 !important;
}

#inicio .gm-home-cta-primary .elementor-button:hover,
#inicio .gm-br-cta-primary .elementor-button:hover {
  transform: translateY(-2px);
  background: #f4f7f7 !important;
}

#inicio .gm-home-cta-ghost .elementor-button,
#inicio .gm-br-cta-ghost .elementor-button {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  margin-top: 0.75rem;
}

#inicio .gm-home-cta-ghost .elementor-button:hover,
#inicio .gm-br-cta-ghost .elementor-button:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

/* ---------- Trust strip ---------- */
#confianza {
  background: var(--gm-brand-surface) !important;
}

#confianza .elementor-heading-title {
  color: #f7f6f3 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  font-family: var(--gm-font) !important;
}

/* ---------- Section chrome ---------- */
.elementor-page-12 .gm-br-section-title .elementor-heading-title,
#favoritos .elementor-heading-title,
#colecciones .elementor-heading-title,
#numeros .elementor-heading-title,
#anillos .elementor-heading-title,
#candongas .elementor-heading-title,
#pulsos .elementor-heading-title,
#legado .elementor-heading-title,
#sedes .elementor-heading-title,
#visita .elementor-heading-title {
  color: var(--gm-teal) !important;
  font-family: var(--gm-font) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-size: clamp(1.55rem, 3.2vw, 2.5rem) !important;
  text-align: center;
}

#visita .elementor-heading-title {
  color: #fff !important;
}

.elementor-page-12 .gm-br-eyebrow,
.elementor-page-12 .gm-br-lead,
.elementor-page-12 .gm-br-lead p {
  text-align: center;
  color: var(--gm-muted) !important;
  font-size: 0.95rem;
  font-family: var(--gm-font) !important;
}

.elementor-page-12 .elementor-button {
  border-radius: 999px !important;
  font-family: var(--gm-font) !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  padding: 0.9rem 1.5rem !important;
}

.elementor-page-12 .gm-br-btn-solid .elementor-button {
  background: var(--gm-gold) !important;
  color: #1a1408 !important;
  border: 0 !important;
}

.elementor-page-12 .gm-br-btn-solid .elementor-button:hover {
  background: var(--gm-gold-deep) !important;
  color: #fff !important;
}

.elementor-page-12 .gm-br-btn-outline .elementor-button {
  background: transparent !important;
  color: var(--gm-teal) !important;
  border: 1.5px solid var(--gm-teal) !important;
}

.elementor-page-12 .gm-br-btn-outline .elementor-button:hover {
  background: var(--gm-teal) !important;
  color: #fff !important;
}

/* Category CTAs as Bracarli text links */
.gm-home-collections .gm-br-btn-outline .elementor-button {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--gm-teal) !important;
  text-decoration: underline !important;
  text-underline-offset: 0.28em;
  padding: 0.35rem 0 !important;
  min-height: auto;
  box-shadow: none !important;
}

.gm-home-collections .gm-br-btn-outline .elementor-button:hover {
  background: transparent !important;
  color: var(--gm-teal-deep) !important;
}

/* ---------- Numbers ---------- */
#confianza,
#numeros,
#numeros + .elementor-section,
#numeros-stats {
  background: var(--gm-brand-surface) !important;
}

#numeros .elementor-heading-title {
  color: #fff !important;
}

#numeros .gm-br-stat-value .elementor-heading-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: #fff !important;
}

#numeros .gm-br-stat-label .elementor-heading-title,
#numeros + .elementor-section .gm-br-stat-label .elementor-heading-title {
  font-size: 0.72rem !important;
  opacity: 0.85;
  color: #fff !important;
}

#numeros + .elementor-section .gm-br-stat-value .elementor-heading-title {
  color: #fff !important;
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
}

/* ---------- Categories ---------- */
.gm-home-cat-img img,
.gm-br-cat-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #ebebeb;
  border-radius: 14px;
  transition: transform 0.45s ease;
}

.gm-home-collections .elementor-column:hover .gm-br-cat-img img {
  transform: scale(1.03);
}

.gm-br-cat-name .elementor-heading-title {
  margin-top: 0.85rem !important;
  color: var(--gm-teal) !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-size: 0.92rem !important;
}

/* ---------- Compra tu favorito — Bracarli tabs + horizontal carousel ---------- */
#favoritos .elementor-widget-heading,
#favoritos .gm-br-section-title {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

#favoritos .elementor-widget-shortcode > .elementor-widget-container {
  max-width: none;
}

.gm-favoritos {
  font-family: var(--gm-font);
  color: var(--gm-teal);
}

.gm-favoritos__tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.15rem 1.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--gm-line);
  margin: 0 0 1.25rem;
  padding: 0 1.25rem;
}

@media (min-width: 900px) {
  .gm-favoritos__tabs {
    justify-content: center;
  }
}

.gm-favoritos__tabs::-webkit-scrollbar {
  display: none;
}

.gm-favoritos__tab {
  flex: 0 0 auto;
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin: 0;
  padding: 0.85rem 0;
  font-family: var(--gm-font);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gm-muted);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}

.gm-favoritos__tab.is-active,
.gm-favoritos__tab:hover {
  color: var(--gm-teal);
}

.gm-favoritos__tab.is-active {
  border-bottom-color: var(--gm-teal);
  font-weight: 600;
}

.gm-favoritos__panel.is-hidden,
.gm-favoritos__panel[hidden] {
  display: none !important;
}

.gm-favoritos__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.9rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 72, 76, 0.35) transparent;
  padding: 0.15rem 1.25rem 1rem;
  margin: 0;
  list-style: none;
}

.gm-favoritos__track::-webkit-scrollbar {
  height: 4px;
}

.gm-favoritos__track::-webkit-scrollbar-thumb {
  background: rgba(23, 72, 76, 0.3);
  border-radius: 999px;
}

.gm-fav-card {
  flex: 0 0 74vw;
  max-width: 320px;
  min-width: 240px;
  scroll-snap-align: start;
  background: transparent;
  text-align: left;
}

@media (min-width: 768px) {
  .gm-fav-card {
    flex-basis: 280px;
  }
}

@media (min-width: 1100px) {
  .gm-fav-card {
    flex-basis: 300px;
  }
}

.gm-fav-card__media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #f0f0f0;
  aspect-ratio: 4 / 5;
}

.gm-fav-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.gm-fav-card__img,
.gm-fav-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transition: transform 0.45s ease;
}

.gm-fav-card:hover .gm-fav-card__img,
.gm-fav-card:hover .gm-fav-card__media img {
  transform: scale(1.04);
}

.gm-fav-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  color: #14110e;
  font-family: var(--gm-font);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gm-fav-card__badge--out {
  background: #14110e;
  color: #fff;
}

.gm-fav-card__cart {
  position: absolute !important;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-grid !important;
  place-items: center;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--gm-gold) !important;
  color: #1a1408 !important;
  box-shadow: 0 6px 18px rgba(138, 109, 40, 0.28) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.gm-fav-card__cart:hover {
  background: var(--gm-gold-deep) !important;
  color: #fff !important;
}

.gm-fav-card__cart-icon,
.gm-fav-card__cart-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.gm-fav-card__info {
  padding: 0.85rem 0.15rem 0.25rem;
  text-align: left;
}

.gm-fav-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.gm-fav-card__brand {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gm-muted);
  font-weight: 500;
}

.gm-fav-card__ship {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--gm-ship);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.gm-fav-card__price,
.gm-fav-card__price .amount,
.gm-fav-card__price .woocommerce-Price-amount {
  margin: 0 0 0.35rem !important;
  color: var(--gm-gold-deep) !important;
  font-family: var(--gm-font) !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

.gm-fav-card__title {
  display: block;
  color: var(--gm-teal) !important;
  font-family: var(--gm-font) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

.gm-fav-card__title:hover {
  color: var(--gm-teal-deep) !important;
}

.gm-favoritos__viewall {
  margin: 0.35rem 0 0;
  padding: 0 1.25rem;
  text-align: center;
}

.gm-favoritos__viewall a {
  color: var(--gm-teal);
  font-family: var(--gm-font);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

/* ---------- Category product rows — horizontal scroll ---------- */
.gm-home-scroll-products .elementor-widget-heading,
.gm-home-scroll-products .elementor-widget-button {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.elementor-page-12 .gm-home-scroll-products ul.products,
.elementor-page-12 .gm-home-scroll-products .woocommerce ul.products,
body.home .gm-home-scroll-products ul.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  gap: 0.9rem !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  margin: 1.25rem 0 !important;
  padding: 0.15rem 1.25rem 1rem !important;
  list-style: none !important;
  width: 100% !important;
  max-width: none !important;
}

.elementor-page-12 .gm-home-scroll-products ul.products li.product,
body.home .gm-home-scroll-products ul.products li.product {
  flex: 0 0 74vw !important;
  max-width: 300px;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  scroll-snap-align: start;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}

@media (min-width: 768px) {
  .elementor-page-12 .gm-home-scroll-products ul.products li.product,
  body.home .gm-home-scroll-products ul.products li.product {
    flex-basis: 260px !important;
  }
}

.elementor-page-12 .gm-home-scroll-products .gm-product-card__media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #f0f0f0 !important;
  aspect-ratio: 4 / 5 !important;
}

.elementor-page-12 .gm-home-scroll-products .gm-product-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  background: #f0f0f0 !important;
  transition: transform 0.45s ease;
}

.elementor-page-12 .gm-home-scroll-products ul.products li.product:hover .gm-product-card__media img {
  transform: scale(1.04);
}

.elementor-page-12 .gm-home-scroll-products ul.products li.product a.button.gm-product-card__cart,
body.home .gm-home-scroll-products ul.products li.product a.button.gm-product-card__cart {
  border-radius: 999px !important;
  background: var(--gm-gold) !important;
  color: #1a1408 !important;
  border: 0 !important;
  width: 42px !important;
  height: 42px !important;
  box-shadow: 0 6px 16px rgba(138, 109, 40, 0.25) !important;
}

.elementor-page-12 .gm-home-scroll-products .gm-product-card__info {
  padding: 0.75rem 0.1rem 0.2rem;
  text-align: left;
}

.elementor-page-12 .gm-home-scroll-products .woocommerce-loop-product__title {
  color: var(--gm-teal) !important;
  font-family: var(--gm-font) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  text-align: left !important;
  text-transform: uppercase;
  line-height: 1.35 !important;
}

.elementor-page-12 .gm-home-scroll-products ul.products li.product .price {
  color: var(--gm-gold-deep) !important;
  font-family: var(--gm-font) !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  text-align: left !important;
}

/* ---------- Story / sedes ---------- */
#legado {
  background: var(--gm-mist) !important;
}

#visita {
  background: var(--gm-brand-surface) !important;
}

#visita .elementor-heading-title,
#visita .elementor-widget-text-editor,
#visita .elementor-widget-text-editor p {
  color: #fff !important;
}

#visita .elementor-button {
  background: #fff !important;
  color: var(--gm-gold-deep) !important;
  border-radius: 999px !important;
}

#legado .elementor-widget-image img,
#legado .gm-legado-video,
#legado .gm-legado-video__el {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  background: #1a1408;
  display: block;
}

#legado .gm-legado-video {
  overflow: hidden;
  position: relative;
}

#legado .gm-legado-video__el {
  height: 100%;
  max-height: none;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  @keyframes gm-br-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes gm-br-hero-ken {
    from { transform: scale(1); }
    to { transform: scale(1.04); }
  }

  #inicio {
    animation: none;
  }

  #inicio .gm-home-hero-brand,
  #inicio .gm-br-hero-tag,
  #inicio .gm-home-hero-body,
  #inicio .gm-home-cta-primary,
  #inicio .gm-home-cta-ghost {
    animation: gm-br-rise 0.75s ease both;
  }
  #inicio .gm-br-hero-tag { animation-delay: 0.08s; }
  #inicio .gm-home-hero-body { animation-delay: 0.14s; }
  #inicio .gm-home-cta-primary { animation-delay: 0.2s; }
  #inicio .gm-home-cta-ghost { animation-delay: 0.26s; }

  .elementor-page-12 ul.products li.product,
  .gm-home-collections .elementor-column {
    animation: gm-br-rise 0.65s ease both;
  }
}

@media (max-width: 767px) {
  #inicio {
    min-height: min(88vh, 720px);
  }
  #inicio .elementor-container {
    min-height: min(88vh, 720px);
    flex-direction: column !important;
  }
  #inicio .gm-br-hero-copy {
    padding-top: 4.5rem;
  }
  #inicio .gm-br-hero-brand .elementor-heading-title,
  #inicio .gm-home-hero-brand .elementor-heading-title {
    letter-spacing: 0.12em !important;
  }
}
