/* MVC Silver — sistema visual para páginas interiores v1
   Los componentes generales están preparados para reutilizarse página por página. */

.page-boutique {
  --page-ink: #10243a;
  --page-green: #0e8f6e;
  --page-green-dark: #08634f;
  --page-cream: #fbf7ef;
  --page-gold: #c99d4d;
  --page-line: #e7dac4;
  background: #fff;
  color: var(--page-ink);
  font-family: "Work Sans", sans-serif;
}

.page-boutique .page-kicker {
  margin: 0 0 12px;
  color: var(--page-green-dark);
  font: 700 0.76rem/1.2 "Work Sans", sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.page-boutique .page-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 700 0.82rem/1.2 "Work Sans", sans-serif;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.page-boutique .page-btn:hover {
  transform: translateY(-2px);
}

.page-boutique .page-btn-primary {
  background: var(--page-green);
  color: #fff;
  box-shadow: 0 12px 24px rgba(8, 139, 105, 0.17);
}

.page-boutique .page-btn-primary:hover {
  background: var(--page-green-dark);
}

.page-boutique .page-btn-secondary {
  border-color: rgba(8, 99, 79, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: var(--page-green-dark);
}

.page-boutique .page-btn-light {
  background: #fff;
  color: var(--page-green-dark);
  box-shadow: 0 12px 26px rgba(6, 43, 36, 0.17);
}

.page-about .about-main {
  display: block;
  width: 100%;
}

.page-about .about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  width: calc(100% - 40px);
  max-width: 1200px;
  min-height: 610px;
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid rgba(201, 157, 77, 0.32);
  border-radius: 30px;
  background: linear-gradient(135deg, #f8f3e9 0%, #fff 58%, #eef8f4 100%);
  box-shadow: 0 24px 70px rgba(16, 36, 58, 0.12);
}

.page-about .about-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px 22px 62px 64px;
}

.page-about .about-hero h1 {
  max-width: 570px;
  margin: 0 0 22px;
  color: var(--page-ink);
  font: 600 clamp(3rem, 5.4vw, 4.8rem)/0.94 "Cormorant Garamond", serif;
  letter-spacing: -0.035em;
}

.page-about .about-lead {
  max-width: 530px;
  margin: 0;
  color: #526274;
  font-size: 1.05rem;
  line-height: 1.68;
}

.page-about .about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-about .about-hero-visual {
  position: relative;
  min-height: 610px;
  padding: 26px 74px 26px 22px;
}

.page-about .about-hero-main {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 558px;
  border-radius: 24px;
  object-fit: cover;
}

.page-about .about-hero-detail {
  position: absolute;
  right: 24px;
  bottom: 52px;
  width: 36%;
  aspect-ratio: 1 / 1.12;
  border: 8px solid #fff;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 42px rgba(11, 35, 31, 0.22);
}

.page-about .about-silver-seal {
  position: absolute;
  top: 48px;
  right: 42px;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: var(--page-green-dark);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 28px rgba(8, 99, 79, 0.24);
}

.page-about .about-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 24px auto 74px;
  overflow: hidden;
  border: 1px solid var(--page-line);
  border-radius: 20px;
  background: var(--page-cream);
  box-shadow: 0 14px 35px rgba(16, 36, 58, 0.06);
}

.page-about .about-trust article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 20px 24px;
}

.page-about .about-trust article + article {
  border-left: 1px solid var(--page-line);
}

.page-about .about-trust-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #e3f4ee;
  color: var(--page-green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.page-about .about-trust strong,
.page-about .about-trust small {
  display: block;
}

.page-about .about-trust strong {
  margin-bottom: 4px;
  color: var(--page-ink);
  font-size: 0.9rem;
}

.page-about .about-trust small {
  color: #657181;
  font-size: 0.75rem;
  line-height: 1.4;
}

.page-about .about-origin {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 68px;
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto 82px;
}

.page-about .about-origin-visual {
  position: relative;
  padding: 0 38px 42px 0;
}

.page-about .about-origin-visual > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(16, 36, 58, 0.12);
}

.page-about .about-origin-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(72%, 310px);
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--page-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(16, 36, 58, 0.13);
}

.page-about .about-origin-caption span {
  color: var(--page-gold);
}

.page-about .about-origin-caption p {
  margin: 0;
  color: #526274;
  font-size: 0.78rem;
  line-height: 1.5;
}

.page-about .about-origin-copy h2,
.page-about .about-section-heading h2,
.page-about .about-cta h2 {
  color: var(--page-ink);
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.025em;
}

.page-about .about-origin-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(2.55rem, 4.6vw, 4rem);
  line-height: 0.98;
}

.page-about .about-origin-copy > p:not(.page-kicker) {
  margin: 0 0 15px;
  color: #566676;
  font-size: 0.98rem;
  line-height: 1.7;
}

.page-about .about-origin-copy blockquote {
  margin: 26px 0 0;
  padding: 20px 0 20px 24px;
  border-left: 3px solid var(--page-gold);
  color: var(--page-green-dark);
  font: 600 1.36rem/1.35 "Cormorant Garamond", serif;
}

.page-about .about-values {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 54px;
  border: 1px solid var(--page-line);
  border-radius: 28px;
  background: linear-gradient(135deg, #fbf7ef, #f4faf7);
}

.page-about .about-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.page-about .about-section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1;
}

.page-about .about-section-heading > p {
  max-width: 420px;
  margin: 0;
  color: #637180;
  line-height: 1.6;
}

.page-about .about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-about .about-values-grid article {
  min-height: 215px;
  padding: 24px;
  border: 1px solid rgba(8, 99, 79, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.page-about .about-values-grid article > span {
  color: var(--page-green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.page-about .about-values-grid h3 {
  margin: 30px 0 10px;
  color: var(--page-ink);
  font: 600 1.55rem/1.1 "Cormorant Garamond", serif;
}

.page-about .about-values-grid p {
  margin: 0;
  color: #657181;
  font-size: 0.88rem;
  line-height: 1.6;
}

.page-about .about-cta {
  display: flex;
  width: calc(100% - 40px);
  max-width: 1200px;
  min-height: 250px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin: 0 auto 72px;
  padding: 48px 54px;
  border-radius: 28px;
  background: linear-gradient(120deg, #073d35, #08634f 62%, #0e8f6e);
  color: #fff;
  box-shadow: 0 24px 55px rgba(8, 75, 61, 0.2);
}

.page-about .about-cta .page-kicker {
  color: #bce4d8;
}

.page-about .about-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2.45rem, 4vw, 3.6rem);
  line-height: 1;
}

.page-about .about-cta p:not(.page-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.page-about .site-footer {
  margin-top: 0;
}

@media (max-width: 940px) {
  .page-about .about-hero {
    grid-template-columns: 1fr;
  }

  .page-about .about-hero-copy {
    padding: 52px 48px 28px;
  }

  .page-about .about-hero-visual {
    min-height: 520px;
    padding: 18px 72px 28px 48px;
  }

  .page-about .about-hero-main {
    min-height: 474px;
  }

  .page-about .about-origin {
    gap: 42px;
  }

  .page-about .about-values {
    padding: 42px 34px;
  }
}

@media (max-width: 700px) {
  .page-about .about-hero {
    width: calc(100% - 24px);
    margin-top: 10px;
    border-radius: 24px;
  }

  .page-about .about-hero-copy {
    padding: 38px 24px 22px;
  }

  .page-about .about-hero h1 {
    font-size: clamp(2.75rem, 14vw, 3.75rem);
  }

  .page-about .about-lead {
    font-size: 0.94rem;
  }

  .page-about .about-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-about .about-hero-visual {
    min-height: 390px;
    padding: 16px 52px 18px 18px;
  }

  .page-about .about-hero-main {
    min-height: 356px;
    border-radius: 18px;
  }

  .page-about .about-hero-detail {
    right: 14px;
    bottom: 30px;
    width: 38%;
    border-width: 6px;
    border-radius: 14px;
  }

  .page-about .about-silver-seal {
    top: 30px;
    right: 25px;
    width: 58px;
    height: 58px;
    font-size: 0.8rem;
  }

  .page-about .about-trust {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    margin-bottom: 54px;
  }

  .page-about .about-trust article + article {
    border-top: 1px solid var(--page-line);
    border-left: 0;
  }

  .page-about .about-origin {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    margin-bottom: 58px;
  }

  .page-about .about-origin-visual {
    padding-right: 24px;
  }

  .page-about .about-origin-copy h2 {
    font-size: clamp(2.45rem, 12vw, 3.25rem);
  }

  .page-about .about-values {
    width: calc(100% - 24px);
    margin-bottom: 52px;
    padding: 34px 22px;
    border-radius: 24px;
  }

  .page-about .about-section-heading {
    display: block;
  }

  .page-about .about-section-heading > p {
    margin-top: 14px;
  }

  .page-about .about-values-grid {
    grid-template-columns: 1fr;
  }

  .page-about .about-values-grid article {
    min-height: 0;
  }

  .page-about .about-values-grid h3 {
    margin-top: 20px;
  }

  .page-about .about-cta {
    display: block;
    width: calc(100% - 24px);
    min-height: 0;
    margin-bottom: 48px;
    padding: 38px 24px;
    border-radius: 24px;
  }

  .page-about .about-cta .page-btn {
    width: 100%;
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-boutique .page-btn {
    transition: none;
  }
}

/* ===== Base compartida de páginas públicas ===== */
.page-boutique:not(.page-about) {
  background:
    radial-gradient(circle at 8% 2%, rgba(201, 157, 77, 0.09), transparent 24%),
    radial-gradient(circle at 94% 4%, rgba(14, 143, 110, 0.07), transparent 22%),
    #fff;
}

.page-boutique .site-footer {
  border-color: var(--page-line);
  background: rgba(251, 247, 239, 0.74);
}

.page-boutique .site-footer a {
  color: var(--page-green-dark);
}

.page-boutique :focus-visible {
  outline: 3px solid rgba(14, 143, 110, 0.34);
  outline-offset: 3px;
}

/* ===== Identidad de marca global ===== */
.page-boutique .brand-home-link {
  flex: 0 0 auto;
  border-radius: 10px;
}

.page-boutique .brand-lockup {
  display: block;
  width: clamp(184px, 18vw, 224px);
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
}

/* ===== Tienda ===== */
.page-shop .hero.hero-banner.hero-small {
  width: calc(100% - 40px);
  max-width: 1200px;
  min-height: 390px;
  margin: 18px auto 34px;
  overflow: hidden;
  border: 1px solid rgba(201, 157, 77, 0.3);
  border-radius: 30px;
  box-shadow: 0 24px 65px rgba(16, 36, 58, 0.12);
}

.page-shop .hero.hero-banner.hero-small .hero-overlay {
  align-items: flex-start;
  justify-content: center !important;
  padding: 44px 58px !important;
  text-align: left;
  background: linear-gradient(90deg, rgba(5, 47, 41, 0.94) 0%, rgba(5, 47, 41, 0.88) 34%, rgba(5, 47, 41, 0.5) 53%, rgba(5, 47, 41, 0.06) 76%, transparent 100%);
}

.page-shop .hero.hero-banner.hero-small h1 {
  max-width: 510px;
  margin: 8px 0 14px;
  color: #fff;
  font: 600 clamp(3rem, 5vw, 4.45rem)/0.92 "Cormorant Garamond", serif;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.24);
}

.page-shop .shop-hero-copy {
  width: min(100%, 520px);
}

.page-shop .shop-hero-kicker {
  margin: 0;
  color: #e2c78f;
  font: 700 0.76rem/1.2 "Work Sans", sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.page-shop .shop-hero-text {
  max-width: 460px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.65;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.page-shop .shop-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease;
}

.page-shop .shop-hero-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.page-shop .shop-subtitle {
  max-width: 760px;
  margin-bottom: 22px;
}

.page-shop .shop-subtitle h2 {
  color: var(--page-ink);
  font: 600 clamp(2.1rem, 4vw, 3.25rem)/1 "Cormorant Garamond", serif;
}

.page-shop .filters-bar,
.page-shop .shop-toolbar,
.page-shop .shop-meta {
  width: calc(100% - 40px);
  padding-right: 0;
  padding-left: 0;
}

.page-shop .filters-bar {
  padding: 16px;
  border: 1px solid var(--page-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(16, 36, 58, 0.06);
}

.page-shop .shop-toolbar {
  padding: 18px;
  border: 1px solid rgba(8, 99, 79, 0.12);
  border-radius: 20px;
  background: linear-gradient(135deg, #fbf7ef, #f5faf8);
}

.page-shop .shop-toolbar .field input,
.page-shop .shop-toolbar .field select,
.page-shop .filters-bar select {
  height: 54px;
  min-height: 54px;
  padding: 0 16px;
  border-color: var(--page-line);
  border-radius: 14px;
  background-color: #fff;
  color: var(--page-ink);
  font-family: "Work Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(16, 36, 58, 0.04);
}

.page-shop #catalogo.grid {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.page-shop .site-footer {
  margin-top: 70px;
}

/* ===== Producto y checkout: coherencia sin alterar su lógica ===== */
.page-product .pd-wrap,
.page-checkout .page-wrap {
  width: calc(100% - 24px);
}

.page-product .pd-media,
.page-product .pd-info,
.page-product .pd-extra,
.page-checkout .checkout-hero,
.page-checkout .card {
  border-color: var(--page-line);
}

.page-product .site-footer {
  margin-top: 0;
}

.page-checkout #site-header,
.page-product #site-header {
  background: rgba(255, 255, 255, 0.94);
}

/* ===== Contacto ===== */
.page-contact .contact-main {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 18px auto 74px;
}

.page-contact .contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--page-line);
  border-radius: 30px;
  background: linear-gradient(135deg, #fbf7ef, #fff 62%, #eef8f4);
  box-shadow: 0 24px 65px rgba(16, 36, 58, 0.1);
}

.page-contact .contact-hero > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 58px;
}

.page-contact .contact-hero h1 {
  max-width: 650px;
  margin: 0 0 18px;
  color: var(--page-ink);
  font: 600 clamp(3.2rem, 6vw, 5rem)/0.93 "Cormorant Garamond", serif;
  letter-spacing: -0.035em;
}

.page-contact .contact-hero p:not(.page-kicker) {
  max-width: 600px;
  margin: 0;
  color: #59697a;
  font-size: 1rem;
  line-height: 1.7;
}

.page-contact .contact-hero img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.page-contact .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 24px;
  margin-top: 24px;
}

.page-contact .contact-options {
  display: grid;
  gap: 14px;
}

.page-contact .contact-options article,
.page-contact .contact-note,
.page-contact .contact-form-card {
  border: 1px solid var(--page-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(16, 36, 58, 0.06);
}

.page-contact .contact-options article {
  display: flex;
  gap: 16px;
  padding: 24px;
}

.page-contact .contact-options article > span {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #e3f4ee;
  color: var(--page-green-dark);
  font-weight: 800;
}

.page-contact .contact-options h2,
.page-contact .contact-form-card h2 {
  margin: 0 0 10px;
  color: var(--page-ink);
  font: 600 1.75rem/1.05 "Cormorant Garamond", serif;
}

.page-contact .contact-options a {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--page-green-dark);
  font-weight: 700;
}

.page-contact .contact-options small,
.page-contact .contact-options article p:not(.page-kicker),
.page-contact .contact-form-card small {
  display: block;
  margin: 0;
  color: #687482;
  font-size: 0.8rem;
  line-height: 1.55;
}

.page-contact .contact-options .page-btn {
  margin-top: 16px;
}

.page-contact .contact-note {
  padding: 20px 22px;
  background: linear-gradient(135deg, #f6fbf9, #fbf7ef);
}

.page-contact .contact-note strong {
  color: var(--page-ink);
}

.page-contact .contact-note p {
  margin: 6px 0 0;
  color: #687482;
  font-size: 0.82rem;
  line-height: 1.55;
}

.page-contact .contact-form-card {
  padding: 34px;
}

.page-contact .contact-form-card label {
  display: block;
  margin-top: 17px;
  color: var(--page-ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.page-contact .contact-form-card input,
.page-contact .contact-form-card textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid var(--page-line);
  border-radius: 14px;
  background: #fffefc;
  color: var(--page-ink);
  font: inherit;
}

.page-contact .contact-form-card textarea {
  resize: vertical;
}

.page-contact .contact-form-card .page-btn {
  width: 100%;
  margin: 20px 0 10px;
}

/* ===== Cuenta ===== */
.page-account .account-main {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 18px auto 78px;
}

.page-account .account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 30px;
  align-items: center;
  min-height: 500px;
  padding: 58px;
  border: 1px solid var(--page-line);
  border-radius: 30px;
  background: linear-gradient(135deg, #fbf7ef, #fff 58%, #eef8f4);
  box-shadow: 0 24px 65px rgba(16, 36, 58, 0.1);
}

.page-account .account-hero h1 {
  max-width: 670px;
  margin: 0 0 18px;
  color: var(--page-ink);
  font: 600 clamp(3rem, 5.4vw, 4.7rem)/0.94 "Cormorant Garamond", serif;
  letter-spacing: -0.035em;
}

.page-account .account-hero-copy > p:not(.page-kicker) {
  max-width: 650px;
  margin: 0;
  color: #5b6979;
  line-height: 1.7;
}

.page-account .account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-account .account-status {
  padding: 32px;
  border: 1px solid rgba(8, 99, 79, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
  box-shadow: 0 18px 38px rgba(16, 36, 58, 0.08);
}

.page-account .account-status-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--page-green-dark);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 28px rgba(8, 99, 79, 0.22);
}

.page-account .account-status strong {
  color: var(--page-ink);
}

.page-account .account-status p {
  margin: 8px 0 0;
  color: #687482;
  font-size: 0.84rem;
  line-height: 1.6;
}

.page-account .account-help {
  margin-top: 26px;
  padding: 42px;
  border: 1px solid var(--page-line);
  border-radius: 26px;
  background: #fff;
}

.page-account .account-help > div:first-child {
  margin-bottom: 28px;
}

.page-account .account-help h2 {
  margin: 0;
  color: var(--page-ink);
  font: 600 clamp(2.4rem, 4vw, 3.4rem)/1 "Cormorant Garamond", serif;
}

.page-account .account-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-account .account-help-grid article {
  padding: 22px;
  border: 1px solid rgba(8, 99, 79, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #faf7f1);
}

.page-account .account-help-grid article > span {
  color: var(--page-green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.page-account .account-help-grid h3 {
  margin: 22px 0 8px;
  color: var(--page-ink);
  font: 600 1.45rem/1.1 "Cormorant Garamond", serif;
}

.page-account .account-help-grid p {
  margin: 0;
  color: #687482;
  font-size: 0.83rem;
  line-height: 1.6;
}

/* ===== Políticas ===== */
.page-policies .container {
  max-width: 1060px;
  margin-top: 18px;
}

.page-policies .policy-hero {
  margin-bottom: 24px;
  padding: 42px;
  border: 1px solid var(--page-line);
  border-radius: 28px;
  background: linear-gradient(135deg, #fbf7ef, #fff 65%, #eef8f4);
  box-shadow: 0 20px 50px rgba(16, 36, 58, 0.08);
}

.page-policies .policy-hero .page-title {
  max-width: 780px;
  margin: 0 0 12px;
  color: var(--page-ink);
  font: 600 clamp(3rem, 5vw, 4.5rem)/0.95 "Cormorant Garamond", serif;
}

.page-policies .policy-hero .page-sub {
  max-width: 760px;
  margin-bottom: 22px;
  color: #5d6b7b;
  line-height: 1.7;
}

.page-policies .policy-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-policies .policy-jump a {
  padding: 9px 13px;
  border: 1px solid rgba(8, 99, 79, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--page-green-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.page-policies .section-card {
  margin-top: 18px;
  padding: 30px;
  border-color: var(--page-line);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(16, 36, 58, 0.06);
  scroll-margin-top: 110px;
}

.page-policies .section-card .title {
  color: var(--page-ink);
  font: 600 clamp(1.8rem, 3vw, 2.35rem)/1 "Cormorant Garamond", serif;
}

.page-policies .section-card .note {
  border-left-color: var(--page-green);
  background: #f3faf7;
}

.page-policies .section-card a {
  color: var(--page-green-dark);
}

.page-policies .site-footer .footer-wrap,
.page-policies .site-footer .footer-bottom {
  max-width: 1200px;
}

/* ===== Blog y artículos ===== */
.page-blog .blog-page {
  width: calc(100% - 40px);
  max-width: 1100px;
  margin-top: 18px;
}

.page-blog .blog-crumbs {
  margin-bottom: 14px;
  padding: 10px 14px;
  border: 1px solid var(--page-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  width: fit-content;
}

.page-blog .blog-article {
  border-color: var(--page-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 55px rgba(16, 36, 58, 0.09);
}

.page-blog-index .blog-article {
  padding: 38px !important;
  background: linear-gradient(135deg, #fbf7ef, #fff 48%, #f3faf7);
}

.page-blog .blog-article h1 {
  max-width: 850px;
  color: var(--page-ink);
  font: 600 clamp(3rem, 6vw, 5rem)/0.95 "Cormorant Garamond", serif;
  letter-spacing: -0.035em;
}

.page-blog-article .blog-article {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
  padding: 42px;
}

.page-blog-article .blog-article h2 {
  margin-top: 34px;
  color: var(--page-ink);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.page-blog-article .blog-article p,
.page-blog-article .blog-article li {
  color: #465769;
  font-size: 0.98rem;
  line-height: 1.8;
}

.page-blog .blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-blog .blog-card {
  border-color: var(--page-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(16, 36, 58, 0.06);
}

.page-blog .blog-card h3 {
  color: var(--page-ink);
  font-size: 1.55rem;
}

.page-blog .blog-cta {
  padding: 22px;
  border-color: rgba(8, 99, 79, 0.14);
  background: linear-gradient(135deg, #f3faf7, #fbf7ef);
}

/* ===== Confirmación de compra ===== */
.page-thanks main.wrap {
  display: block;
  width: calc(100% - 32px);
  max-width: 920px;
  margin: 34px auto 64px;
  padding: 0;
}

.page-thanks main .card {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border: 1px solid var(--page-line);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff, #fbf7ef 62%, #eef8f4);
  box-shadow: 0 24px 60px rgba(16, 36, 58, 0.1);
}

.page-thanks main .card::before {
  content: "✓";
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--page-green-dark);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(8, 99, 79, 0.22);
}

.page-thanks main .h1 {
  color: var(--page-ink);
  font: 600 clamp(2.8rem, 6vw, 4.4rem)/0.96 "Cormorant Garamond", serif;
}

.page-thanks main .notice-box {
  border-color: var(--page-line) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.74) !important;
}

.page-thanks main .btns .btn {
  border-radius: 999px;
}

/* ===== 404 ===== */
.page-not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.page-not-found .not-found-card {
  width: min(100%, 720px);
  padding: 54px;
  border: 1px solid var(--page-line);
  border-radius: 30px;
  background: linear-gradient(135deg, #fbf7ef, #fff 58%, #eef8f4);
  text-align: center;
  box-shadow: 0 24px 65px rgba(16, 36, 58, 0.11);
}

.page-not-found .not-found-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.page-not-found .not-found-code {
  margin: 18px 0 4px;
  color: var(--page-green-dark);
  font: 700 0.76rem/1.2 "Work Sans", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-not-found h1 {
  margin: 0 0 16px;
  color: var(--page-ink);
  font: 600 clamp(3rem, 8vw, 5rem)/0.94 "Cormorant Garamond", serif;
}

.page-not-found p:not(.not-found-code) {
  max-width: 520px;
  margin: 0 auto 26px;
  color: #617080;
  line-height: 1.7;
}

.page-not-found .not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .page-contact .contact-hero,
  .page-contact .contact-layout,
  .page-account .account-hero {
    grid-template-columns: 1fr;
  }

  .page-contact .contact-hero img {
    max-height: 420px;
  }

  .page-account .account-help-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .page-boutique .topbar .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
  }

  .page-boutique .topbar .brand {
    grid-column: 1;
    min-width: 0;
    margin: 0;
  }

  .page-boutique .brand-lockup {
    width: clamp(142px, 42vw, 166px);
  }

  .page-boutique .topbar .brand-title .title {
    font-size: clamp(1.25rem, 7vw, 1.7rem);
    white-space: nowrap;
  }

  .page-boutique .topbar .brand-title .badge {
    font-size: 0.66rem;
    white-space: nowrap;
  }

  .page-boutique .topbar .spacer {
    display: none;
  }

  .page-boutique .topbar .social-links {
    grid-column: 2;
  }

  .page-boutique .topbar #accountBtn {
    grid-column: 3;
  }

  .page-boutique .topbar #openCartBtn {
    grid-column: 4;
  }

  .page-boutique .topbar .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .page-boutique .topbar .main-nav::-webkit-scrollbar {
    display: none;
  }

  .page-boutique .topbar .main-nav a,
  .page-boutique .topbar .main-nav a:nth-child(4),
  .page-boutique .topbar .main-nav a:nth-child(5) {
    flex: 0 0 auto;
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .page-shop .hero.hero-banner.hero-small,
  .page-shop .filters-bar,
  .page-shop .shop-toolbar,
  .page-shop .shop-meta,
  .page-shop #catalogo.grid,
  .page-contact .contact-main,
  .page-account .account-main,
  .page-blog .blog-page {
    width: calc(100% - 24px);
  }

  .page-shop .hero.hero-banner.hero-small {
    border-radius: 24px;
    min-height: 430px;
  }

  .page-shop .hero.hero-banner.hero-small .hero-bg img {
    height: 430px;
    object-position: 67% 50%;
  }

  .page-shop .hero.hero-banner.hero-small .hero-overlay {
    justify-content: flex-end !important;
    padding: 34px 26px !important;
    background: linear-gradient(0deg, rgba(5, 47, 41, 0.96) 0%, rgba(5, 47, 41, 0.82) 44%, rgba(5, 47, 41, 0.15) 78%, transparent 100%);
  }

  .page-shop .hero.hero-banner.hero-small h1 {
    max-width: 340px;
    font-size: clamp(2.75rem, 13vw, 3.55rem);
  }

  .page-shop .shop-hero-text {
    margin-bottom: 18px;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .page-shop .shop-hero-link {
    min-height: 44px;
  }

  .page-contact .contact-hero,
  .page-account .account-hero {
    border-radius: 24px;
  }

  .page-contact .contact-hero > div,
  .page-account .account-hero {
    padding: 36px 24px;
  }

  .page-contact .contact-hero h1,
  .page-account .account-hero h1 {
    font-size: clamp(2.8rem, 14vw, 3.8rem);
  }

  .page-contact .contact-hero img {
    min-height: 340px;
  }

  .page-contact .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-contact .contact-options article,
  .page-contact .contact-form-card {
    padding: 22px;
  }

  .page-account .account-actions,
  .page-not-found .not-found-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-account .account-help {
    padding: 30px 22px;
  }

  .page-policies .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .page-policies .policy-hero,
  .page-policies .section-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .page-policies .policy-hero .page-title {
    font-size: clamp(2.75rem, 13vw, 3.65rem);
  }

  .page-policies .policy-jump {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-policies .policy-jump a {
    text-align: center;
  }

  .page-blog .blog-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-index .blog-article,
  .page-blog-article .blog-article {
    padding: 28px 22px !important;
    border-radius: 22px;
  }

  .page-blog .blog-article h1 {
    font-size: clamp(2.7rem, 13vw, 3.8rem);
  }

  .page-thanks main .card,
  .page-not-found .not-found-card {
    padding: 34px 22px;
    border-radius: 24px;
  }
}
