﻿/*
Theme Name: MisiÃ³n Arte Premium
Theme URI: https://misionarte.mx/
Author: TonyGc / Artep
Author URI: https://artep.mx/
Description: Tema WordPress + WooCommerce premium para MisiÃ³n Arte, boutique mexicana de artÃ­culos religiosos catÃ³licos, arte sacro y restauraciÃ³n religiosa.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Propietario
Text Domain: mision-arte
Tags: ecommerce, woocommerce, boutique, religious, responsive, custom-logo
*/

:root {
  --ivory: #F7F3ED;
  --bone: #FAF8F4;
  --gold: #C8A46A;
  --gold-dark: #9B7330;
  --ink: #1A1A1A;
  --beige: #E8DDD0;
  --warm-gray: #B8B1A7;
  --line: rgba(26, 26, 26, 0.12);
  --shadow: 0 22px 60px rgba(57, 44, 27, 0.12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bone);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  inset: 1rem auto auto 1rem;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
  clip: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.trust-bar {
  min-height: 42px;
  padding: 0 5vw;
  color: var(--bone);
  background: #10170f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .82rem;
}

.trust-bar__inner,
.micro-nav,
.main-nav,
.nav-links,
.header-actions {
  display: flex;
  align-items: center;
}

.trust-bar__inner { gap: clamp(1rem, 4vw, 3rem); }
.trust-bar__inner span::before {
  content: "";
  display: inline-block;
  width: .44rem;
  height: .44rem;
  margin-right: .55rem;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.micro-nav { gap: 1.3rem; color: rgba(250, 248, 244, 0.78); }
.micro-nav a:hover { color: white; }

.main-nav {
  min-height: 104px;
  padding: 0 5vw;
  gap: clamp(1rem, 2.5vw, 3rem);
}

.brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
  font-size: 1.5rem;
}

.brand strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: .95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: .25rem;
  color: #6c6257;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.nav-links {
  flex: 1;
  justify-content: center;
  gap: clamp(.9rem, 2vw, 2.1rem);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: .4rem 0;
}

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

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

.header-actions { gap: .75rem; }
.search-box {
  width: min(230px, 18vw);
  height: 42px;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 0 .8rem;
  border: 1px solid var(--line);
  background: white;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: .82rem;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-link {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.cart span {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--gold-dark);
  font-size: .68rem;
}

.whatsapp-btn,
.floating-whatsapp,
.btn,
.newsletter button,
.product-card__actions button,
.product-card__actions a {
  border: 0;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.whatsapp-btn {
  padding: .78rem 1rem;
  color: white;
  background: #355f3a;
  font-size: .72rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: white;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(540px, 72vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 12, 9, .82) 0%, rgba(25, 18, 11, .56) 36%, rgba(25, 18, 11, .12) 72%),
    url("assets/images/mision-arte-hero.png") center / cover no-repeat;
  transform: scale(1.01);
}

.hero__content {
  position: relative;
  width: min(720px, 88vw);
  margin-left: 8vw;
  padding-block: 5rem;
}

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  line-height: .96;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 670px;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
}

h2 { font-size: clamp(2.25rem, 4.8vw, 4.4rem); }
h3 { font-size: 1.35rem; }

.hero p:not(.eyebrow) {
  max-width: 520px;
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.hero__actions,
.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.25rem;
  border: 1px solid transparent;
  font-size: .78rem;
}

.btn--gold {
  color: white;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 12px 34px rgba(155, 115, 48, .26);
}

.btn--light {
  color: var(--bone);
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .12);
}

.btn:hover,
.whatsapp-btn:hover,
.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  display: flex;
  gap: .55rem;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid white;
  border-radius: 50%;
  background: transparent;
}

.slider-dots .is-active { background: white; }

section:not(.hero) {
  padding: clamp(3.5rem, 7vw, 7rem) 5vw;
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
}

.text-link {
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.category-strip { background: var(--bone); }
.category-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(84px, 1fr));
  gap: .85rem;
}

.category-grid a {
  min-height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .72rem;
  padding: .9rem;
  border: 1px solid transparent;
  text-align: center;
  font-size: .85rem;
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}

.category-grid a:hover {
  border-color: var(--line);
  background: white;
  transform: translateY(-2px);
}

.category-grid span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-dark);
  background: var(--ivory);
  font-size: 1.45rem;
}

.confidence-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: var(--line);
}

.confidence-bar article {
  padding: 2rem;
  background: var(--bone);
  text-align: center;
}

.confidence-bar strong,
.confidence-bar span {
  display: block;
}

.confidence-bar strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
}

.confidence-bar span {
  color: #6c6257;
  font-size: .88rem;
}

.products-section,
.experience,
.blog-section {
  background: linear-gradient(180deg, var(--ivory), var(--bone));
}

.product-grid,
.feature-grid,
.testimonial-grid,
.blog-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

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

.product-card {
  position: relative;
  padding: .7rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 10px 30px rgba(57, 44, 27, .06);
  transition: transform .22s ease, box-shadow .22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 1;
  padding: .38rem .55rem;
  color: white;
  background: rgba(26, 26, 26, .76);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-card__image {
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, .72), transparent 31%),
    linear-gradient(145deg, #f6efe5, #dcc7ac);
}

.product-card__image::before {
  color: rgba(103, 75, 38, .88);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 1;
}

.product-card__image--rosary::before { content: "â—‹"; }
.product-card__image--statue::before { content: "â— "; }
.product-card__image--bible::before { content: "â–£"; }
.product-card__image--chalice::before { content: "â™¢"; }

.product-card h3 {
  min-height: 3.1rem;
  margin: 1rem .25rem .4rem;
  font-family: "Inter", sans-serif;
  font-size: .98rem;
  line-height: 1.35;
  font-weight: 700;
}

.product-card p {
  margin: 0 .25rem;
  color: var(--gold-dark);
  font-weight: 800;
}

.product-card__actions {
  margin: 1rem .25rem .25rem;
}

.product-card__actions button,
.product-card__actions a {
  min-height: 40px;
  padding: .65rem .82rem;
  border: 1px solid var(--line);
  background: white;
  font-size: .68rem;
}

.product-card__actions a {
  color: white;
  background: var(--ink);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  background: var(--bone);
}

.split-section__content {
  max-width: 680px;
  margin-left: auto;
}

.split-section__content p:not(.eyebrow) {
  color: #5c534a;
  font-size: 1.05rem;
}

.check-list {
  margin: 1.4rem 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: .55rem 0 .55rem 1.8rem;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: .55rem;
  height: .55rem;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.atelier-panel {
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(26, 26, 26, .05), rgba(26, 26, 26, .38)),
    linear-gradient(135deg, #efe6da 0%, #cdb899 52%, #f8f2ea 100%);
  box-shadow: var(--shadow);
}

.atelier-panel__inner {
  padding: 2rem;
  color: white;
  background: rgba(26, 26, 26, .62);
}

.atelier-panel__inner span {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 5rem;
  line-height: .8;
}

.eucharistic-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 2rem;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(26, 26, 26, .94), rgba(71, 46, 21, .82)),
    url("assets/images/mision-arte-hero.png") center / cover no-repeat;
}

.eucharistic-section p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, .82);
}

.sacred-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(80px, 1fr));
  gap: .8rem;
}

.sacred-items span {
  min-height: 150px;
  display: grid;
  place-items: end center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .09);
  color: var(--ivory);
  font-weight: 700;
}

.feature-grid { grid-template-columns: repeat(4, 1fr); }
.feature-grid article,
.testimonial-grid blockquote,
.blog-grid article {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .66);
}

.feature-grid h3,
.blog-grid h3 {
  margin-bottom: .7rem;
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  line-height: 1.35;
}

.feature-grid p,
.blog-grid p {
  margin: 0;
  color: #62594f;
}

.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-grid blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.25;
}

.testimonial-grid cite {
  display: block;
  margin-top: 1.2rem;
  color: var(--gold-dark);
  font-family: "Inter", sans-serif;
  font-size: .8rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-grid span {
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.newsletter {
  width: min(1180px, calc(100% - 10vw));
  margin: clamp(3rem, 6vw, 6rem) auto;
  padding: clamp(2rem, 5vw, 4rem) !important;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 470px);
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, white, var(--ivory));
  box-shadow: var(--shadow);
}

.newsletter form {
  display: flex;
  gap: .7rem;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  height: 52px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  background: white;
}

.newsletter button {
  height: 52px;
  padding: 0 1rem;
  color: white;
  background: var(--ink);
  font-size: .72rem;
}

.footer {
  padding: clamp(3rem, 6vw, 5rem) 5vw;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  color: rgba(255, 255, 255, .82);
  background: #11130f;
}

.footer h2 {
  margin-bottom: 1rem;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer a,
.footer span {
  display: block;
  margin: .55rem 0;
  color: rgba(255, 255, 255, .72);
}

.brand--footer { color: white; }
.footer__brand p { max-width: 370px; }

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  padding: .9rem 1rem;
  color: white;
  background: #355f3a;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
  font-size: .72rem;
}

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

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

@media (max-width: 1180px) {
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav { flex-wrap: wrap; padding-block: 1rem; }
  .nav-links {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .header-actions { margin-left: auto; }
  .search-box { width: 220px; }
  .category-grid { grid-template-columns: repeat(6, 1fr); }
  .product-grid,
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .trust-bar { display: none; }
  .main-nav { min-height: auto; gap: .8rem; }
  .brand__mark { width: 40px; height: 40px; }
  .brand small { letter-spacing: .16em; }
  .header-actions { width: 100%; justify-content: space-between; }
  .search-box { flex: 1; width: auto; }
  .icon-link { width: 38px; }
  .whatsapp-btn { display: none; }
  .hero { min-height: 640px; align-items: end; }
  .hero__media { background-position: center; }
  .hero__content { margin: 0; padding: 5rem 5vw; width: 100%; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .confidence-bar { grid-template-columns: repeat(2, 1fr); }
  .section-heading--row,
  .split-section,
  .eucharistic-section,
  .newsletter,
  .footer {
    grid-template-columns: 1fr;
  }
  .split-section__content { margin-left: 0; }
  .atelier-panel { min-height: 390px; }
  .testimonial-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .sacred-items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  h1 { font-size: 3.1rem; }
  h2 { font-size: 2.25rem; }
  section:not(.hero) { padding-inline: 1rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid,
  .feature-grid,
  .confidence-bar { grid-template-columns: 1fr; }
  .product-card__image { min-height: 230px; }
  .newsletter { width: calc(100% - 2rem); }
  .newsletter form { flex-direction: column; }
  .newsletter button { width: 100%; }
  .floating-whatsapp { left: 1rem; text-align: center; }
}


/* MultipÃ¡gina, redes sociales, patrocinadores y volver arriba */
.trust-bar__right { display: flex; align-items: center; gap: 1rem; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.social-links a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(200, 164, 106, .45); color: var(--gold); background: rgba(255,255,255,.05); font-size: .68rem; font-weight: 800; letter-spacing: 0; transition: transform .22s ease, background .22s ease, color .22s ease; }
.social-links a:hover { transform: translateY(-2px); color: white; background: var(--gold-dark); }
.social-links--top a { width: 28px; height: 28px; font-size: .6rem; }
.social-links--footer { margin-top: 1.2rem; }
.social-links--contact a { width: 46px; height: 46px; background: white; color: var(--gold-dark); }
.page-hero { min-height: 430px; display: grid; align-content: center; color: white; background: linear-gradient(90deg, rgba(15,12,9,.84), rgba(62,43,24,.48)), url('../images/mision-arte-hero.png') center / cover no-repeat; }
.page-hero h1 { max-width: 920px; font-size: clamp(3rem, 7vw, 6rem); }
.page-hero p:not(.eyebrow) { max-width: 650px; color: rgba(255,255,255,.88); font-size: 1.12rem; }
.contact-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; background: var(--ivory); }
.contact-card { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); background: rgba(255,255,255,.72); }
.contact-card h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.sponsor-section { background: var(--bone); overflow: hidden; }
.sponsor-carousel { width: min(1280px, 100%); margin: 0 auto; overflow: hidden; border-block: 1px solid var(--line); }
.sponsor-track { display: flex; width: max-content; gap: 1rem; padding: 1rem 0; animation: sponsorScroll 28s linear infinite; }
.sponsor-carousel:hover .sponsor-track { animation-play-state: paused; }
.sponsor-card { width: clamp(210px, 22vw, 300px); min-height: 118px; display: grid; place-items: center; border: 1px solid var(--line); background: linear-gradient(135deg, white, var(--ivory)); color: var(--gold-dark); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.45rem; font-weight: 700; text-align: center; box-shadow: 0 10px 30px rgba(57,44,27,.06); }
@keyframes sponsorScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - .5rem)); } }
.back-to-top { position: fixed; right: 1rem; bottom: 4.65rem; z-index: 42; width: 44px; height: 44px; border: 1px solid var(--gold); color: var(--gold-dark); background: rgba(250,248,244,.95); box-shadow: 0 12px 34px rgba(0,0,0,.12); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: white; }
@media (max-width: 1180px) { .trust-bar__right { display: none; } }
@media (max-width: 820px) { .contact-section { grid-template-columns: 1fr; } .page-hero { min-height: 520px; } }
@media (max-width: 560px) { .social-links--footer a, .social-links--contact a { width: 40px; height: 40px; } .back-to-top { bottom: 4.8rem; } }


/* WordPress theme hardening: espacios estables para logo, imÃ¡genes y menÃºs */
.site-header { contain: layout style; }
.brand { inline-size: 275px; max-inline-size: 275px; flex: 0 0 275px; }
.brand__logo-slot, .custom-logo-link { width: 58px; height: 58px; min-width: 58px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--gold); background: rgba(250,248,244,.78); }
.brand__logo-slot img, .custom-logo-link img, .custom-logo { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__text { min-width: 0; }
.brand strong { min-height: 2.1rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand small { min-height: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-links { min-height: 44px; }
.nav-links ul { display: contents; margin: 0; padding: 0; list-style: none; }
.nav-links li { display: contents; }
.header-actions { flex: 0 0 auto; min-height: 44px; }
.hero, .page-hero { isolation: isolate; }
.hero__content { min-height: 360px; display: grid; align-content: center; }
.hero__content h1, .page-hero h1 { min-height: clamp(6.4rem, 14vw, 13.8rem); }
.hero__content p:not(.eyebrow), .page-hero p:not(.eyebrow) { min-height: 3.8rem; }
.product-card { min-height: 492px; display: flex; flex-direction: column; }
.product-card__image { aspect-ratio: 1 / 1; min-height: auto; width: 100%; flex: 0 0 auto; }
.product-card__image img, .woocommerce ul.products li.product img, .wp-post-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--ivory); }
.product-card h3 { min-height: 3.1rem; }
.product-card__actions { margin-top: auto; min-height: 42px; }
.category-grid a { min-height: 132px; }
.feature-grid article, .blog-grid article, .testimonial-grid blockquote, .contact-card { min-height: 190px; }
.sponsor-card { flex: 0 0 clamp(210px, 22vw, 300px); }
.footer { border-top: 1px solid rgba(200,164,106,.28); }
.footer__legal { grid-column: 1 / -1; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.7); font-size: .82rem; }
.footer__legal strong { color: white; }
.wp-block-image img, .entry-content img { max-width: 100%; height: auto; aspect-ratio: attr(width) / attr(height); }
.woocommerce div.product div.images img { aspect-ratio: 1 / 1; object-fit: cover; }
.woocommerce-page .content-area { width: min(1280px, calc(100% - 10vw)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0; }
@media (max-width: 1180px) { .brand { inline-size: 245px; max-inline-size: 245px; flex-basis: 245px; } }
@media (max-width: 820px) { .brand { inline-size: 220px; max-inline-size: 220px; flex-basis: 220px; } .brand__logo-slot, .custom-logo-link { width: 48px; height: 48px; min-width: 48px; } .hero__content h1, .page-hero h1 { min-height: auto; } .hero__content p:not(.eyebrow), .page-hero p:not(.eyebrow) { min-height: auto; } }


/* Ajustes WooCommerce y menu despues de prueba en tienda */
.nav-links a,
.nav-links .menu-item a {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}
.nav-links {
  gap: clamp(.7rem, 1.45vw, 1.65rem);
}
.main-nav {
  grid-template-columns: auto 1fr auto;
}
.woocommerce .products ul,
.woocommerce ul.products {
  width: min(1280px, calc(100% - 10vw));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  background: var(--ivory);
  margin: 0 0 1rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 3.35rem;
  margin: 0 0 .55rem;
  padding: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: 0;
}
.woocommerce ul.products li.product .price {
  margin-top: auto;
  color: var(--gold-dark);
  font-family: "Inter", sans-serif;
  font-size: .98rem;
  font-weight: 800;
}
.woocommerce ul.products li.product .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 1rem;
  padding: .72rem 1rem;
  border-radius: 0;
  color: var(--ink);
  background: var(--beige);
  font-family: "Inter", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.woocommerce ul.products li.product .button:hover {
  color: white;
  background: var(--gold-dark);
}
.woocommerce nav.woocommerce-pagination {
  width: min(1280px, calc(100% - 10vw));
  margin: 3rem auto 0;
}
.woocommerce nav.woocommerce-pagination ul {
  border: 0;
  display: flex;
  justify-content: center;
  gap: .35rem;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: white;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  color: white;
  background: var(--gold-dark);
}
@media (max-width: 1180px) {
  .woocommerce .products ul,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .woocommerce .products ul,
  .woocommerce ul.products {
    width: calc(100% - 2rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .woocommerce .products ul,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    min-height: auto;
  }
}

/* Correccion fuerte tienda WooCommerce y espanol visual */
.nav-links a,
.nav-links .menu-item a {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}
.woocommerce ul.products {
  align-items: stretch !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: grid !important;
  grid-template-rows: auto 48px;
  row-gap: 1rem;
  min-height: auto !important;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
  display: grid !important;
  grid-template-rows: 250px 4.85rem 1.45rem;
  row-gap: .75rem;
  min-height: 0;
}
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100% !important;
  height: 250px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #FBF7DD !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  height: 4.85rem !important;
  min-height: 4.85rem !important;
  max-height: 4.85rem !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.18rem !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
  color: var(--ink) !important;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  height: 1.45rem !important;
  min-height: 1.45rem !important;
  margin: 0 !important;
  color: var(--gold-dark) !important;
  font-family: "Inter", sans-serif !important;
  font-size: .98rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce a.button.add_to_cart_button {
  width: fit-content !important;
  min-width: 136px !important;
  height: 46px !important;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: start !important;
  margin: 0 !important;
  padding: 0 1rem !important;
  border-radius: 0 !important;
  color: var(--ink) !important;
  background: var(--beige) !important;
  font-family: "Inter", sans-serif !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover,
.woocommerce a.button.add_to_cart_button:hover {
  color: white !important;
  background: var(--gold-dark) !important;
}
@media (max-width: 820px) {
  .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
  .woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
    grid-template-rows: 220px 4.85rem 1.45rem;
  }
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img {
    height: 220px !important;
  }
}
