@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@450;550;650&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

/* Arte y Fiesta — retail home (ported from Template Referencia; header left to WoodMart) */


:root {
  --brand: #872e8c;
  --brand-deep: #6a2470;
  --teal: #17ab9a;
  --coral: #fa6b42;
  --rose: #f12964;
  --ink: #1e1524;
  --muted: #5e5266;
  --line: rgba(30, 21, 36, 0.1);
  --paper: #fff8fc;
  --paper-2: #f4fbfa;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1320px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1000px 480px at 0% 0%, rgba(135, 46, 140, 0.1), transparent 55%),
    radial-gradient(800px 420px at 100% 8%, rgba(23, 171, 154, 0.1), transparent 50%),
    #faf7fb;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Escape WoodMart container on retail home — flush hero under header */
body.ayf-home-body #main-content.container,
body.home #main-content.container,
body.ayf-home-body #main-content.wd-content-layout,
body.home #main-content.wd-content-layout {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.ayf-home-body .wd-page-title,
body.home .wd-page-title {
  display: none !important;
}

body.ayf-home-body {
  font-family: var(--font-body) !important;
  background:
    radial-gradient(1000px 480px at 0% 0%, rgba(135, 46, 140, 0.1), transparent 55%),
    radial-gradient(800px 420px at 100% 8%, rgba(23, 171, 154, 0.1), transparent 50%),
    #faf7fb !important;
}

.ayf-home {
  color: var(--ink);
}

.ayf-home .container {
  width: min(100% - 1.5rem, var(--container));
  margin-inline: auto;
}

/* Woo AJAX add-to-cart button as retail CTA */
.ayf-home a.btn.btn-add {
  text-align: center;
}
.ayf-home a.btn.btn-add.loading::after {
  content: none;
}


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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

/* Buttons — ayf-btn avoids WoodMart/Woo .btn/.button collisions */

.ayf-home .ayf-btn,
.ayf-home a.ayf-btn,
.ayf-home button.ayf-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  padding: 0.75rem 1.35rem !important;
  border-radius: 999px !important;
  border: 0 !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ayf-home .ayf-btn:hover {
  transform: translateY(-2px);
}

.ayf-home .ayf-btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, #a43aad 55%, var(--coral) 140%) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(135, 46, 140, 0.28) !important;
}

.ayf-home .ayf-btn--primary:hover {
  box-shadow: 0 16px 32px rgba(135, 46, 140, 0.34) !important;
  color: #fff !important;
}

.ayf-home .ayf-btn--ghost {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(6px);
}

.ayf-home .ayf-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
}

.ayf-home .ayf-btn--on-dark {
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.ayf-home .ayf-btn--add,
.ayf-home a.ayf-btn--add,
.ayf-home button.ayf-btn--add {
  /* Match shared product-card CTA (solid brand). */
  width: 100% !important;
  min-height: 42px !important;
  padding: 0.65rem 1rem !important;
  border-radius: 11px !important;
  background: var(--brand) !important;
  color: #fff !important;
  font-size: 0.86rem !important;
  box-shadow: 0 8px 18px rgba(135, 46, 140, 0.22) !important;
}

.ayf-home .ayf-btn--add:hover:not(:disabled) {
  background: var(--brand-deep) !important;
  color: #fff !important;
}

.ayf-home .ayf-btn--add:disabled {
  background: #e8e4ec !important;
  color: #8a8290 !important;
  box-shadow: none !important;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}

.text-link {
  font-weight: 700;
  color: var(--brand);
  border-bottom: 2px solid rgba(135, 46, 140, 0.22);
  white-space: nowrap;
}

.text-link:hover {
  border-bottom-color: var(--coral);
}

/* Hero retail */

.hero {
  position: relative;
  color: #fff;
}

.hero-slides {
  position: relative;
}

.hero-slide {
  position: relative;
  min-height: min(68vh, 560px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-slide[hidden] {
  display: none;
}

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroZoom 10s ease-out forwards;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(28, 10, 38, 0.82) 0%, rgba(74, 18, 90, 0.55) 48%, rgba(23, 171, 154, 0.25) 100%),
    linear-gradient(to top, rgba(18, 8, 24, 0.7), transparent 45%);
}

.hero-wash--sale {
  background:
    linear-gradient(110deg, rgba(72, 12, 42, 0.84) 0%, rgba(160, 28, 78, 0.5) 46%, rgba(250, 107, 66, 0.22) 100%),
    linear-gradient(to top, rgba(40, 8, 24, 0.68), transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 3rem;
  max-width: 640px;
}

.hero-kicker {
  margin: 0 0 0.7rem;
  display: block;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd0b8;
  opacity: 0;
  animation: riseIn 0.7s ease 0.12s forwards;
}

.hero-slide h1,
.hero-slide h2.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2rem, 5.8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 14ch;
  opacity: 0;
  animation: riseIn 0.75s ease 0.28s forwards;
  color: #fff;
}

.hero-lead {
  margin: 0.85rem 0 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  animation: riseIn 0.75s ease 0.4s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  opacity: 0;
  animation: riseIn 0.75s ease 0.5s forwards;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  z-index: 3;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.ayf-home .hero-dots .hero-dot,
.ayf-home button.hero-dot {
  pointer-events: auto;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  display: block !important;
  width: 9px !important;
  height: 9px !important;
  min-width: 9px !important;
  max-width: 9px !important;
  min-height: 9px !important;
  max-height: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  box-shadow: none !important;
  line-height: 0 !important;
  font-size: 0 !important;
  text-indent: -9999px;
  overflow: hidden;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.ayf-home .hero-dots .hero-dot.is-active,
.ayf-home button.hero-dot.is-active {
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  background: #fff !important;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

/* Category chips */

.chips-section {
  padding: 1.25rem 0 0.5rem;
}

.chips {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(72px, 1fr);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.chip:not(:has(.chip-icon)) {
  padding-inline: 1rem;
}

.chip {
  --chip-bg: var(--brand);
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  text-align: center;
  min-width: 72px;
  color: var(--ink);
}

.chip[data-tone="brand"] { --chip-bg: #872e8c; }
.chip[data-tone="teal"] { --chip-bg: #17ab9a; }
.chip[data-tone="coral"] { --chip-bg: #fa6b42; }
.chip[data-tone="rose"] { --chip-bg: #f12964; }
.chip[data-tone="violet"] { --chip-bg: #6a2470; }
.chip[data-tone="mint"] { --chip-bg: #0f9b8a; }
.chip[data-tone="orange"] { --chip-bg: #ff8a3d; }
.chip[data-tone="magenta"] { --chip-bg: #c23a9a; }

.chip-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--chip-bg);
  color: var(--chip-bg);
  box-shadow:
    0 8px 18px color-mix(in srgb, var(--chip-bg) 35%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chip-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

.chip-icon {
  color: var(--chip-bg);
}

.chip:hover .chip-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 12px 22px color-mix(in srgb, var(--chip-bg) 42%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.chip > span:last-child {
  font-size: 0.78rem;
  font-weight: 700;
}

/* Trust */

.trust {
  padding: 0.75rem 0 0.35rem;
}

.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1.15rem 1rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(135, 46, 140, 0.07), rgba(23, 171, 154, 0.08)),
    #fff;
  border: 1px solid rgba(135, 46, 140, 0.1);
  box-shadow: 0 10px 28px rgba(74, 18, 90, 0.05);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.trust-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(135, 46, 140, 0.1);
}

.trust-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.trust-item:nth-child(2) .trust-icon {
  color: var(--teal);
  background: rgba(23, 171, 154, 0.12);
}

.trust-item:nth-child(3) .trust-icon {
  color: var(--coral);
  background: rgba(250, 107, 66, 0.12);
}

.trust-item:nth-child(4) .trust-icon {
  color: var(--rose);
  background: rgba(241, 41, 100, 0.1);
}

.trust-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--muted);
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.98rem;
}

/* Rails */

.rail {
  padding: 2.25rem 0 0.5rem;
}

.rail-alt {
  background: linear-gradient(180deg, rgba(135, 46, 140, 0.05), transparent 70%);
  margin-top: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.rail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.rail-head h2,
.stores-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.rail-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 190px);
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.product-rail::-webkit-scrollbar {
  height: 6px;
}

.product {
  scroll-snap-align: start;
  display: grid;
  gap: 0.65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.55rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product:hover {
  border-color: color-mix(in srgb, var(--brand) 30%, white);
  transform: translateY(-2px);
}

.product-media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f2f8;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product:hover .product-media img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.45rem;
  border-radius: 7px;
  color: #fff;
}

.badge-sale {
  background: var(--rose);
}

.badge-hot {
  background: var(--coral);
}

.badge-new {
  background: var(--teal);
}

.badge-pack {
  background: var(--brand);
}

.badge-out {
  background: #6b6570;
}

.wish {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.wish.is-on {
  color: var(--rose);
}

.product-body {
  display: grid;
  gap: 0.2rem;
  padding: 0 0.15rem 0.2rem;
}

.product-cat {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
}

.product h3 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 700;
  min-height: 2.4em;
}

.product h3 a:hover {
  color: var(--brand);
}

.price-row {
  margin: 0.15rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--brand-deep);
}

.price-row s,
.price-row del {
  font-size: 0.82rem;
  color: #958b9c;
  font-weight: 500;
  text-decoration: line-through;
}

.stock {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.stock.in {
  color: #1f8a55;
}

.stock.low {
  color: #c45a12;
}

.stock.out {
  color: #8a8290;
}

.packs-rail {
  grid-auto-columns: minmax(220px, 260px);
}

.product-pack .product-media {
  aspect-ratio: 4 / 3;
}

/* Promo tiles */

.promo-tiles {
  padding: 1.75rem 0 0.5rem;
}

.promo-grid {
  display: grid;
  gap: 0.85rem;
}

.promo-tile {
  position: relative;
  min-height: 180px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.promo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.promo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 8, 24, 0.78), rgba(18, 8, 24, 0.15));
  z-index: 1;
}

.promo-tile:hover img {
  transform: scale(1.05);
}

.promo-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}

.promo-copy p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffd7c8;
}

.promo-copy h3 {
  margin: 0.25rem 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 650;
  color: #fff;
}

.promo-copy span {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

/* Occasions */

.occasions {
  padding: 2.5rem 0 1rem;
}

.occasion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.occasion {
  position: relative;
  min-height: 170px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
}

.occasion img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.occasion::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 8, 24, 0.78), rgba(18, 8, 24, 0.12));
  z-index: 1;
}

.occasion:hover img {
  transform: scale(1.05);
}

.occasion-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #fff;
}

.occasion-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
}

.occasion-copy span {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--tone) 65%, white);
}

/* Stores */

.stores {
  padding: 1.75rem 0 2.5rem;
}

.stores-panel {
  display: grid;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a1235 0%, #4a1f57 48%, #0f5f5a 120%);
  color: #fff;
}

.stores-copy {
  padding: 1.75rem 1.25rem;
  color: #fff;
}

.stores-copy h2 {
  color: #fff;
}

.stores-copy > p {
  color: rgba(255, 255, 255, 0.82);
}

.store-list {
  list-style: none;
  margin: 1.25rem 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.store-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 550;
  color: #fff;
}

.store-list span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.store-map {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffd0b8 !important;
  text-decoration: none;
}

.store-map:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stores-visual {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  height: 240px;
  width: 100%;
}

.stores-visual .stores-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.stores-visual .stores-video-fallback {
  display: none;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (min-width: 640px) {
  .hide-sm {
    display: inline;
  }

  .search {
    display: flex;
  }

  .nav-inner {
    gap: 1rem;
  }

  .brand img {
    width: 148px;
  }

  .trust-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    text-align: left;
  }

  .product-rail {
    grid-auto-columns: minmax(180px, 1fr);
  }

  .promo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .occasion-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .cat-nav {
    display: block;
  }

  .hero-slide {
    min-height: min(62vh, 520px);
  }

  .chips {
    grid-auto-flow: dense;
    grid-template-columns: repeat(8, 1fr);
    overflow: visible;
  }

  .chip-icon {
    width: 74px;
    height: 74px;
  }

  .chip-icon svg {
    width: 34px;
    height: 34px;
  }

  .product-rail {
    grid-auto-flow: dense;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    padding-bottom: 0;
  }

  .packs-rail {
    grid-template-columns: repeat(4, 1fr);
  }

  .stores-panel {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }

  .stores-copy {
    padding: 1.85rem 2rem;
  }

  .stores-visual {
    height: auto;
    min-height: 0;
    align-self: stretch;
  }
}

@media (min-width: 1100px) {
  .product-rail {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 639px) {
  .nav-inner {
    grid-template-columns: auto 1fr;
  }

  .nav-inner .search {
    display: flex;
    grid-column: 1 / -1;
    order: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide > img,
  .hero-kicker,
  .hero-slide h1,
  .hero-slide h2.hero-title,
  .hero-lead,
  .hero-cta,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Aesthetic polish vs WoodMart overrides ---------- */

.ayf-home .rail {
  padding: 2.75rem 0 1rem;
}

.ayf-home .rail-alt {
  border-radius: 0;
  padding-bottom: 2rem;
}

.ayf-home .chips-section {
  padding: 1.75rem 0 0.75rem;
}

.ayf-home .trust {
  padding: 1.15rem 0 0.75rem;
}

.ayf-home .trust-row {
  gap: 0.85rem;
}

.ayf-home .trust-item p {
  font-size: 0.95rem;
}

.ayf-home .trust-item strong {
  color: var(--brand-deep) !important;
}

.ayf-home .product {
  border: 0;
  box-shadow: 0 10px 28px rgba(74, 18, 90, 0.07);
  padding: 0.65rem;
  background: #fff;
}

.ayf-home .product:hover {
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(74, 18, 90, 0.12);
}

.ayf-home .product-media {
  background: linear-gradient(160deg, #fbf7fc, #f3fbfa);
}

.ayf-home .product h3 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  min-height: 2.5em;
  color: var(--ink);
}

.ayf-home .price-row .price,
.ayf-home .price-row .price .woocommerce-Price-amount,
.ayf-home .price-row .price bdi {
  font-family: var(--font-display) !important;
  font-size: 1.12rem !important;
  font-weight: 650 !important;
  color: var(--brand-deep) !important;
}

.ayf-home .price-row del,
.ayf-home .price-row s,
.ayf-home .price-row del .woocommerce-Price-amount,
.ayf-home .price-row s .woocommerce-Price-amount,
.ayf-home .price-row del bdi,
.ayf-home .price-row s bdi {
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  color: #9a91a3 !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
  opacity: 0.9;
}

.ayf-home .promo-tile {
  display: flex;
  align-items: stretch;
  min-height: 220px;
  border-radius: 22px;
  color: #fff !important;
}

.ayf-home .promo-tile::after {
  background:
    linear-gradient(100deg, rgba(18, 8, 24, 0.82) 0%, rgba(18, 8, 24, 0.35) 52%, rgba(18, 8, 24, 0.12) 100%),
    linear-gradient(to top, rgba(18, 8, 24, 0.72) 0%, transparent 55%);
}

.ayf-home .promo-copy {
  position: relative;
  z-index: 2;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(58%, 16.5rem);
  max-width: 16.5rem;
  min-height: 220px;
  height: auto;
  margin: 0;
  padding: 1.35rem 1.1rem 1.35rem 1.55rem;
  box-sizing: border-box;
  color: #fff !important;
}

.ayf-home .promo-tile--person img {
  object-position: 72% 22%;
}

.ayf-home .promo-copy p {
  color: #ffd7c8 !important;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ayf-home .promo-copy h3 {
  font-family: var(--font-display) !important;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem) !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
  color: #fff !important;
  margin: 0.35rem 0 0.55rem !important;
  max-width: 11ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.ayf-home .promo-copy span {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 700;
  font-size: 0.95rem;
}

.ayf-home .promo-tile:hover .promo-copy span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ayf-home .occasion {
  border-radius: 18px;
  min-height: 210px;
  color: #fff !important;
}

.ayf-home .occasion-copy {
  min-height: 210px;
  padding: 1.15rem 1.2rem;
  justify-content: flex-end;
}

.ayf-home .occasion-copy h3 {
  font-size: 1.45rem;
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.ayf-home .occasion-copy span {
  color: color-mix(in srgb, var(--tone) 55%, white) !important;
  font-weight: 700;
}

.ayf-home .stores-panel {
  border-radius: 24px;
  overflow: hidden;
  color: #fff !important;
}

.ayf-home .stores-copy {
  padding: 1.85rem 1.6rem;
  color: #fff !important;
}

.ayf-home .stores-copy h2 {
  font-family: var(--font-display) !important;
  font-weight: 650 !important;
  font-size: clamp(1.55rem, 2.6vw, 2rem) !important;
  line-height: 1.15 !important;
  color: #fff !important;
  margin: 0 0 0.55rem !important;
}

.ayf-home .stores-copy > p {
  color: rgba(255, 255, 255, 0.84) !important;
  margin: 0;
  max-width: 36ch;
}

.ayf-home .store-list {
  margin: 1.15rem 0 1.25rem;
  gap: 0.8rem;
}

.ayf-home .store-list strong {
  color: #fff !important;
  font-size: 1.05rem;
}

.ayf-home .store-list span {
  color: rgba(255, 255, 255, 0.72) !important;
}

.ayf-home .store-map {
  color: #ffd0b8 !important;
}

.ayf-home .stores-copy .hero-cta {
  opacity: 1;
  animation: none;
  margin-top: 0.2rem;
  gap: 0.65rem;
}

.ayf-home .stores-visual {
  position: relative;
  width: 100%;
  min-height: 220px;
  height: 240px;
  overflow: hidden;
  background: #1a0a22;
}

.ayf-home .stores-visual .stores-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  display: block !important;
  z-index: 1;
}

.ayf-home .stores-visual .stores-video-fallback {
  display: none !important;
}

@media (min-width: 900px) {
  .ayf-home .stores-panel {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .ayf-home .stores-visual {
    height: auto;
    min-height: 0;
    align-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ayf-home .stores-visual .stores-video {
    display: none !important;
  }

  .ayf-home .stores-visual .stores-video-fallback {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    z-index: 1;
  }
}

.ayf-home .badge {
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
  font-size: 0.7rem;
}
