/* ==========================================================================
   GoldMaster — Luxury jewelry WooCommerce theme
   Inspired by boutique Colombian gold jewelers (structure & conversion patterns)
   ========================================================================== */

:root {
  --gm-ink: #14110e;
  --gm-ink-soft: #2a241e;
  --gm-gold: #b8953d;
  --gm-gold-bright: #d4b45a;
  --gm-gold-deep: #8a6d28;
  --gm-pearl: #f7f6f3;
  --gm-paper: #ffffff;
  --gm-mist: #ebe8e1;
  --gm-muted: #6f6860;
  --gm-line: rgba(20, 17, 14, 0.12);
  --gm-shadow: 0 24px 60px rgba(20, 17, 14, 0.12);
  --gm-font-display: "Cormorant Garamond", Georgia, serif;
  --gm-font-body: "Outfit", "Segoe UI", sans-serif;
  --gm-container: 1180px;
  --gm-header-h: 72px;
  --gm-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--gm-font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gm-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(184, 149, 61, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(42, 36, 30, 0.05), transparent 50%),
    var(--gm-pearl);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text,
.gm-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gm-skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.75rem 1rem;
  background: var(--gm-ink);
  color: var(--gm-pearl);
}

.gm-container {
  width: min(100% - 2.5rem, var(--gm-container));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.gm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.35s var(--gm-ease), box-shadow 0.35s var(--gm-ease);
}

.gm-header__bar {
  background: rgba(247, 246, 243, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.gm-header.is-scrolled .gm-header__bar {
  border-bottom-color: var(--gm-line);
  box-shadow: 0 8px 30px rgba(20, 17, 14, 0.06);
}

.gm-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--gm-header-h);
}

.gm-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
}

.gm-brand__mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--gm-gold);
  color: var(--gm-gold-deep);
  font-family: var(--gm-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.gm-brand__name {
  font-family: var(--gm-font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.gm-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gm-nav__list a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gm-ink-soft);
  position: relative;
}

.gm-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--gm-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--gm-ease);
}

.gm-nav__list a:hover::after,
.gm-nav__list .current-menu-item > a::after {
  transform: scaleX(1);
}

.gm-header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gm-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gm-ink);
  transition: color 0.2s;
}

.gm-icon-btn:hover {
  color: var(--gm-gold-deep);
}

.gm-cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--gm-ink);
  color: var(--gm-pearl);
  font-size: 0.65rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.gm-cart-count[data-count="0"] {
  display: none;
}

.gm-nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.gm-nav-toggle__bar,
.gm-nav-toggle__bar::before,
.gm-nav-toggle__bar::after {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--gm-ink);
  transition: transform 0.3s var(--gm-ease);
}

.gm-nav-toggle__bar {
  position: relative;
  margin: 0 auto;
}

.gm-nav-toggle__bar::before,
.gm-nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.gm-nav-toggle__bar::before {
  top: -6px;
}

.gm-nav-toggle__bar::after {
  top: 6px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--gm-ease), color 0.3s var(--gm-ease), border-color 0.3s var(--gm-ease), transform 0.3s var(--gm-ease);
}

.gm-btn--gold {
  background: linear-gradient(135deg, var(--gm-gold-bright), var(--gm-gold), var(--gm-gold-deep));
  color: #1a1408;
}

.gm-btn--gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.gm-btn--ghost {
  color: var(--gm-pearl);
  border-color: rgba(247, 246, 243, 0.45);
}

.gm-btn--ghost:hover {
  background: rgba(247, 246, 243, 0.1);
  border-color: var(--gm-pearl);
}

.gm-btn--outline {
  border-color: var(--gm-ink);
  color: var(--gm-ink);
  background: transparent;
}

.gm-btn--outline:hover {
  background: var(--gm-ink);
  color: var(--gm-pearl);
}

/* --------------------------------------------------------------------------
   Hero — full-bleed composition
   -------------------------------------------------------------------------- */

.gm-hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: grid;
  align-items: end;
  color: var(--gm-pearl);
  overflow: hidden;
}

.gm-hero__media {
  position: absolute;
  inset: 0;
}

.gm-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: gm-kenburns 18s var(--gm-ease) infinite alternate;
}

.gm-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 17, 14, 0.35) 0%, rgba(20, 17, 14, 0.15) 35%, rgba(20, 17, 14, 0.72) 100%),
    linear-gradient(90deg, rgba(20, 17, 14, 0.55) 0%, transparent 55%);
}

.gm-hero__content {
  position: relative;
  z-index: 1;
  padding: 6rem 0 5rem;
  max-width: 720px;
  margin-left: max(1.25rem, calc((100% - var(--gm-container)) / 2));
  margin-right: auto;
  width: min(100% - 2.5rem, 720px);
}

.gm-hero__brand {
  margin: 0 0 1rem;
  font-family: var(--gm-font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--gm-gold-bright);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.gm-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 246, 243, 0.78);
}

.gm-hero__title {
  margin: 0 0 1rem;
  font-family: var(--gm-font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  max-width: 14ch;
}

.gm-hero__text {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(247, 246, 243, 0.88);
}

.gm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.gm-hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: rgba(247, 246, 243, 0.25);
  overflow: hidden;
}

.gm-hero__scroll span {
  display: block;
  width: 100%;
  height: 30%;
  background: var(--gm-gold-bright);
  animation: gm-scroll 1.8s var(--gm-ease) infinite;
}

@keyframes gm-kenburns {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.1) translateY(-1.5%); }
}

@keyframes gm-scroll {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(320%); }
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */

.gm-trust {
  background: var(--gm-ink);
  color: var(--gm-pearl);
  padding: 1.35rem 0;
}

.gm-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gm-trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: left;
}

.gm-trust__item p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gm-trust__icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  border: 1px solid var(--gm-gold);
  position: relative;
}

.gm-trust__icon::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--gm-gold);
  opacity: 0.85;
}

.gm-trust__icon--ship::before { clip-path: polygon(0 40%, 55% 40%, 55% 20%, 100% 50%, 55% 80%, 55% 60%, 0 60%); }
.gm-trust__icon--shield::before { clip-path: polygon(50% 0, 100% 20%, 85% 75%, 50% 100%, 15% 75%, 0 20%); }
.gm-trust__icon--cert::before { clip-path: polygon(20% 0, 80% 0, 100% 50%, 80% 100%, 20% 100%, 0 50%); }
.gm-trust__icon--lock::before { border-radius: 2px; clip-path: none; }

/* --------------------------------------------------------------------------
   Sections shared
   -------------------------------------------------------------------------- */

.gm-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gm-gold-deep);
}

.gm-section-title {
  margin: 0;
  font-family: var(--gm-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.gm-section-text {
  margin: 0.85rem auto 0;
  max-width: 42ch;
  color: var(--gm-muted);
}

.gm-section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.gm-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.gm-categories,
.gm-bestsellers,
.gm-specialty {
  padding: 5.5rem 0;
}

/* --------------------------------------------------------------------------
   Categories
   -------------------------------------------------------------------------- */

.gm-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.gm-cat {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--gm-paper);
  isolation: isolate;
}

.gm-cat__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--gm-mist);
}

.gm-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--gm-ease);
}

.gm-cat:hover .gm-cat__media img {
  transform: scale(1.06);
}

.gm-cat__body {
  padding: 1.15rem 1rem 1.35rem;
  border-top: 1px solid var(--gm-line);
}

.gm-cat__name {
  margin: 0;
  font-family: var(--gm-font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gm-cat__price {
  margin: 0.35rem 0 0;
  color: var(--gm-gold-deep);
  font-size: 0.9rem;
  font-weight: 500;
}

.gm-cat__meta {
  margin: 0.35rem 0 0;
  color: var(--gm-muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Banner
   -------------------------------------------------------------------------- */

.gm-banner {
  padding: 4rem 0;
  background:
    linear-gradient(120deg, rgba(20, 17, 14, 0.92), rgba(42, 36, 30, 0.88)),
    url("https://images.unsplash.com/photo-1617038260897-41a1f14a8ca0?w=1600&q=70") center / cover;
  color: var(--gm-pearl);
  text-align: center;
}

.gm-banner__label {
  margin: 0 0 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gm-gold-bright);
}

.gm-banner__title {
  margin: 0;
  font-family: var(--gm-font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
}

.gm-banner__text {
  margin: 0.85rem auto 0;
  max-width: 40ch;
  color: rgba(247, 246, 243, 0.8);
}

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */

.gm-products,
ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gm-product,
.woocommerce ul.products li.product {
  background: var(--gm-paper);
  border: 1px solid var(--gm-line);
  transition: transform 0.35s var(--gm-ease), box-shadow 0.35s var(--gm-ease);
}

.gm-product:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--gm-shadow);
}

.gm-product__link {
  display: block;
}

.gm-product__media,
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  background: var(--gm-mist);
}

.gm-product__body {
  padding: 1.1rem 1rem 1.25rem;
}

.gm-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0;
  font-family: var(--gm-font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.gm-product__meta {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--gm-muted);
}

.gm-product__price,
.woocommerce ul.products li.product .price {
  margin: 0.65rem 0 0;
  color: var(--gm-gold-deep);
  font-weight: 600;
  font-size: 1rem;
}

.woocommerce ul.products li.product {
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  padding: 0;
}

.woocommerce ul.products li.product .button {
  margin: 0 1rem 1rem;
  display: inline-flex;
  background: var(--gm-ink);
  color: var(--gm-pearl);
  border: 0;
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--gm-gold-deep);
}

/* --------------------------------------------------------------------------
   Story
   -------------------------------------------------------------------------- */

.gm-story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 560px;
  background: var(--gm-paper);
}

.gm-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
}

.gm-story__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.gm-story__content p {
  color: var(--gm-muted);
  max-width: 42ch;
}

.gm-stats {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.gm-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gm-stats strong {
  font-family: var(--gm-font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gm-gold-deep);
  line-height: 1;
}

.gm-stats span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gm-muted);
}

/* --------------------------------------------------------------------------
   Specialty + pickup
   -------------------------------------------------------------------------- */

.gm-specialty {
  background:
    linear-gradient(180deg, transparent, rgba(184, 149, 61, 0.05)),
    var(--gm-pearl);
}

.gm-specialty__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gm-specialty__card {
  padding: 2rem 1.5rem;
  background: var(--gm-paper);
  border-top: 2px solid var(--gm-gold);
}

.gm-specialty__card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--gm-font-display);
  font-size: 1.65rem;
  font-weight: 500;
}

.gm-specialty__card p {
  margin: 0;
  color: var(--gm-muted);
}

.gm-pickup {
  padding: 0 0 5rem;
}

.gm-pickup__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--gm-ink);
  color: var(--gm-pearl);
}

.gm-pickup .gm-eyebrow {
  color: var(--gm-gold-bright);
}

.gm-pickup .gm-section-title {
  margin-bottom: 0.5rem;
}

.gm-pickup p {
  margin: 0;
  color: rgba(247, 246, 243, 0.75);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.gm-footer {
  background: #0f0d0b;
  color: rgba(247, 246, 243, 0.82);
}

.gm-footer__top {
  padding: 4rem 0 3rem;
}

.gm-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.gm-brand--footer .gm-brand__name {
  color: var(--gm-pearl);
}

.gm-footer__lead {
  margin: 1rem 0 1.25rem;
  max-width: 32ch;
  color: rgba(247, 246, 243, 0.65);
}

.gm-footer__contact {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.gm-footer__contact a:hover {
  color: var(--gm-gold-bright);
}

.gm-footer__title {
  margin: 0 0 1rem;
  font-family: var(--gm-font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gm-pearl);
  letter-spacing: 0.04em;
}

.gm-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.gm-footer__links a {
  color: rgba(247, 246, 243, 0.7);
  font-size: 0.92rem;
}

.gm-footer__links a:hover {
  color: var(--gm-gold-bright);
}

.gm-footer__note {
  margin: 0 0 1rem;
  color: rgba(247, 246, 243, 0.65);
}

.gm-footer__bottom {
  border-top: 1px solid rgba(247, 246, 243, 0.1);
  padding: 1.15rem 0;
  font-size: 0.82rem;
}

.gm-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.gm-footer__bottom p {
  margin: 0;
}

.gm-footer__legal {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gm-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--gm-ease);
}

.gm-whatsapp:hover {
  transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   Content / shop chrome
   -------------------------------------------------------------------------- */

.gm-main {
  padding: 3.5rem 0 5rem;
}

.gm-page-head {
  margin-bottom: 2rem;
}

.gm-content {
  max-width: 760px;
}

.gm-entry {
  font-size: 1.05rem;
}

.gm-posts {
  display: grid;
  gap: 1.5rem;
}

.gm-post-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  background: var(--gm-paper);
  border: 1px solid var(--gm-line);
  overflow: hidden;
}

.gm-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 160px;
}

.gm-post-card__body {
  padding: 1.25rem 1.25rem 1.25rem 0;
}

.woocommerce-breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--gm-muted);
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.woocommerce div.product .product_title {
  font-family: var(--gm-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
}

.woocommerce div.product p.price {
  color: var(--gm-gold-deep);
  font-size: 1.35rem;
}

.woocommerce div.product form.cart .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order {
  background: linear-gradient(135deg, var(--gm-gold-bright), var(--gm-gold), var(--gm-gold-deep));
  color: #1a1408;
  border: 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 1.5rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--gm-gold);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--gm-ease), transform 0.7s var(--gm-ease);
}

[data-animate].is-in {
  opacity: 1;
  transform: none;
}

.gm-hero [data-animate]:nth-child(1) { transition-delay: 0.05s; }
.gm-hero [data-animate]:nth-child(2) { transition-delay: 0.15s; }
.gm-hero [data-animate]:nth-child(3) { transition-delay: 0.25s; }
.gm-hero [data-animate]:nth-child(4) { transition-delay: 0.35s; }
.gm-hero [data-animate]:nth-child(5) { transition-delay: 0.45s; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .gm-cat-grid,
  .gm-products,
  ul.products,
  .gm-specialty__grid,
  .gm-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gm-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gm-story {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gm-nav-toggle {
    display: grid;
    place-items: center;
    order: -1;
  }

  .gm-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .gm-brand {
    justify-self: center;
  }

  .gm-nav {
    position: fixed;
    inset: var(--gm-header-h) 0 auto 0;
    background: rgba(247, 246, 243, 0.98);
    border-bottom: 1px solid var(--gm-line);
    padding: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--gm-ease), opacity 0.35s var(--gm-ease);
  }

  .gm-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .gm-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .gm-hero {
    min-height: 84vh;
  }

  .gm-hero__content {
    padding-bottom: 4rem;
  }

  .gm-trust__grid,
  .gm-cat-grid,
  .gm-products,
  ul.products,
  .gm-specialty__grid,
  .gm-footer__grid {
    grid-template-columns: 1fr;
  }

  .gm-trust__item {
    justify-content: flex-start;
  }

  .gm-pickup__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gm-post-card,
  .woocommerce div.product {
    grid-template-columns: 1fr;
  }

  .gm-post-card__body {
    padding: 0 1rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
