:root {
  /* Paleta pastel inspirada en la referencia */
  --crema: #fff8ef;
  --crema-2: #fffdf8;
  --amarillo-pastel: #ffc86f;
  --menta-pastel: #8eddbd;
  --verde-agua: #3fa78c;
  --rosa-fuerte: #cf3568;
  --rosa-pastel: #dec4cf;
  --gris-pastel: #cecac8;
  --gris-calido: #706b68;
  --texto: #3f3d38;
  --texto-suave: #756f6a;
  --oliva: #3fa78c;
  --oliva-oscuro: #2e6f63;
  --salvia: #8eddbd;
  --beige: #ffc86f;
  --beige-2: #dec4cf;
  --blanco: #ffffff;
  --linea: rgba(63, 167, 140, 0.18);
  --sombra: 0 22px 62px rgba(63, 61, 56, 0.10);
  --sombra-suave: 0 14px 38px rgba(63, 61, 56, 0.075);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--texto);
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 4%, rgba(222, 196, 207, 0.52), transparent 28%),
    radial-gradient(circle at 92% 2%, rgba(255, 200, 111, 0.46), transparent 34%),
    radial-gradient(circle at 6% 96%, rgba(142, 221, 189, 0.44), transparent 32%),
    var(--crema);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 239, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(63, 167, 140, 0.14);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  letter-spacing: 0.03em;
  color: var(--verde-agua);
}

.nav-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,.62);
  box-shadow: 0 8px 22px rgba(63, 167, 140, 0.10);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--texto);
  font-size: 15px;
}

.nav-links a {
  position: relative;
}

.nav-links a:not(.cart-button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--rosa-fuerte);
  transition: width .25s ease;
}

.nav-links a:not(.cart-button):hover::after { width: 100%; }

.cart-button {
  position: relative;
  border: 1px solid rgba(63, 167, 140, 0.24);
  background: var(--crema-2);
  color: var(--verde-agua);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(63, 167, 140, .08);
}

.cart-count {
  background: var(--rosa-fuerte);
  color: var(--crema-2);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 36px;
  text-align: center;
}

.hero-logo {
  width: min(420px, 78vw);
  margin: 0 auto 10px;
  filter: drop-shadow(0 18px 34px rgba(63, 61, 56, 0.08));
  border-radius: 24px;
}

.hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.95;
  margin: 0;
  color: var(--verde-agua);
  font-weight: 500;
}

.hero-subtitle {
  margin: 16px auto 0;
  max-width: 640px;
  color: var(--texto-suave);
  font-size: 18px;
  line-height: 1.7;
}

.diagonal-section {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 82px;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  background: var(--blanco);
}

.diagonal-card {
  position: relative;
  padding: 54px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.diagonal-card:hover { transform: scale(1.015); filter: brightness(1.02); }

.diagonal-card.skin {
  background: linear-gradient(135deg, #dff8ed 0%, var(--menta-pastel) 100%);
}

.diagonal-card.detalles {
  background: linear-gradient(135deg, #ffe2a4 0%, var(--amarillo-pastel) 56%, #f1c4d3 100%);
  text-align: right;
}

.diagonal-card.skin::after {
  content: "";
  position: absolute;
  top: 0;
  right: -80px;
  width: 170px;
  height: 100%;
  background: inherit;
  transform: skewX(-16deg);
  z-index: -1;
}

.diagonal-card h2,
.section-title,
.catalog-title,
.product-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--verde-agua);
  font-weight: 500;
}

.diagonal-card.detalles h2 { color: #8f2c52; }

.diagonal-card h2 {
  font-size: clamp(42px, 7vw, 78px);
  margin: 0 0 10px;
}

.diagonal-card p {
  max-width: 360px;
  margin: 0;
  color: var(--texto);
  line-height: 1.7;
}

.diagonal-card.detalles p { margin-left: auto; }

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 92px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(38px, 5vw, 62px);
  margin: 0;
}

.section-copy {
  max-width: 470px;
  color: var(--texto-suave);
  line-height: 1.7;
  margin: 0;
}

.blog-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
}

.blog-slider::-webkit-scrollbar { height: 10px; }
.blog-slider::-webkit-scrollbar-track { background: rgba(206, 202, 200, .32); border-radius: 99px; }
.blog-slider::-webkit-scrollbar-thumb { background: linear-gradient(90deg, var(--menta-pastel), var(--rosa-fuerte)); border-radius: 99px; }

.blog-card {
  scroll-snap-align: start;
  min-height: 360px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(63, 167, 140, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra-suave);
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(63, 61, 56, 0.12);
}

.blog-card img { height: 210px; width: 100%; object-fit: cover; }
.blog-card div { padding: 22px; }
.blog-card h3 { margin: 0 0 8px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; color: var(--verde-agua); font-weight: 500; }
.blog-card p { margin: 0; color: var(--texto-suave); line-height: 1.6; }

.preview-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid rgba(63, 167, 140, 0.13);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--sombra);
}

.preview-block.reverse { grid-template-columns: 1.15fr 0.85fr; }

.product-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid rgba(63, 167, 140, 0.18);
}

.product-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(63, 167, 140, 0.16);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--texto);
  transition: color 0.25s ease, padding-left 0.25s ease, background .25s ease;
}

.product-list li:hover,
.product-list li.active {
  color: var(--rosa-fuerte);
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(142,221,189,.22), transparent);
}

.preview-image {
  background:
    linear-gradient(145deg, rgba(255, 200, 111, .22), rgba(142, 221, 189, .28)),
    var(--crema);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-image img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--verde-agua);
  color: var(--crema-2);
  padding: 13px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow .25s ease;
  box-shadow: 0 12px 24px rgba(63, 167, 140, .18);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--rosa-fuerte);
  box-shadow: 0 14px 30px rgba(207, 53, 104, .18);
}

.btn.secondary {
  background: rgba(255, 253, 248, .70);
  color: var(--verde-agua);
  border: 1px solid rgba(63, 167, 140, 0.28);
  box-shadow: none;
}

.btn.secondary:hover {
  color: var(--rosa-fuerte);
  background: rgba(255,255,255,.9);
}

.catalog-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 38px;
}

.breadcrumb { color: var(--texto-suave); font-size: 14px; margin-bottom: 14px; }
.catalog-title { font-size: clamp(46px, 7vw, 78px); margin: 0 0 12px; }
.catalog-copy { max-width: 680px; color: var(--texto-suave); line-height: 1.7; font-size: 18px; }

.catalog-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: rgba(255, 253, 248, 0.86);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(63, 167, 140, 0.14);
  box-shadow: var(--sombra-suave);
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(63, 61, 56, 0.12);
}

.product-card-image {
  background:
    radial-gradient(circle at 18% 80%, rgba(255, 200, 111, .36), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(222, 196, 207, .62), transparent 26%),
    linear-gradient(135deg, rgba(142, 221, 189, .34), rgba(255, 253, 248, .65));
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.product-card-image img { max-height: 190px; object-fit: contain; }
.product-card-body { padding: 20px; }
.product-card h3 { margin: 0 0 8px; font-family: "Cormorant Garamond", Georgia, serif; color: var(--verde-agua); font-size: 30px; font-weight: 500; }
.product-card p { color: var(--texto-suave); line-height: 1.55; min-height: 74px; }
.price { color: var(--rosa-fuerte); font-weight: 900; font-size: 20px; margin-bottom: 14px; }
.card-actions { display: grid; gap: 10px; }

.product-detail {
  width: min(1120px, calc(100% - 32px));
  margin: 44px auto 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.product-detail-image {
  background:
    linear-gradient(145deg, rgba(142, 221, 189, .24), rgba(255, 200, 111, .22)),
    var(--crema-2);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--sombra);
}

.product-detail-image img { max-height: 520px; margin: auto; object-fit: contain; }
.product-title { font-size: clamp(44px, 7vw, 76px); margin: 0 0 14px; }
.product-description { color: var(--texto-suave); line-height: 1.8; font-size: 18px; }
.info-list { margin: 24px 0; padding-left: 18px; color: var(--texto-suave); line-height: 1.8; }

.footer {
  padding: 46px 16px;
  text-align: center;
  color: var(--texto-suave);
  background: linear-gradient(135deg, rgba(222,196,207,.55), rgba(255,200,111,.28), rgba(142,221,189,.36));
  border-top: 1px solid rgba(63, 167, 140, 0.13);
}
.footer strong { color: var(--verde-agua); font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; font-weight: 500; display: block; margin-bottom: 8px; }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(63, 61, 56, 0.42);
  z-index: 100;
  padding: 18px;
}

.modal.show { display: flex; }
.modal-box {
  width: min(560px, 100%);
  max-height: min(760px, 92vh);
  overflow-y: auto;
  background: var(--crema-2);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.18);
  border: 1px solid rgba(63, 167, 140, .16);
}
.modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.modal h2 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; color: var(--verde-agua); font-size: 42px; font-weight: 500; }
.close-modal { border: 0; background: transparent; font-size: 30px; cursor: pointer; color: var(--rosa-fuerte); }
.form-grid { display: grid; gap: 14px; margin-bottom: 18px; }
.form-grid label { display: grid; gap: 7px; color: var(--texto-suave); font-size: 14px; }
.form-grid input { border: 1px solid rgba(63,167,140,0.22); border-radius: 16px; padding: 13px 14px; background: var(--crema); font: inherit; }
.cart-items { display: grid; gap: 12px; margin: 16px 0; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; border: 1px solid rgba(63,167,140,0.14); border-radius: 18px; padding: 10px; background: var(--crema); }
.cart-item img { width: 64px; height: 64px; object-fit: contain; }
.cart-item h4 { margin: 0; color: var(--texto); }
.cart-item small { color: var(--texto-suave); }
.qty-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-controls button { width: 28px; height: 28px; border: 1px solid rgba(63,167,140,0.22); background: var(--crema-2); border-radius: 50%; cursor: pointer; color: var(--verde-agua); }
.remove { border: 0; background: transparent; color: var(--rosa-fuerte); cursor: pointer; }
.cart-total { display: flex; justify-content: space-between; font-size: 22px; font-weight: 900; color: var(--rosa-fuerte); padding: 18px 0; border-top: 1px solid rgba(63,167,140,0.16); }
.empty-cart { color: var(--texto-suave); line-height: 1.6; }

.fade-in { animation: fadeIn 0.75s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .nav-links a { display: none; }
  .diagonal-section, .preview-block, .preview-block.reverse, .product-detail { grid-template-columns: 1fr; }
  .diagonal-card.detalles { text-align: left; }
  .diagonal-card.detalles p { margin-left: 0; }
  .diagonal-card.skin::after { display: none; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { align-items: start; flex-direction: column; }
}

@media (max-width: 560px) {
  .navbar { width: min(100% - 22px, 1180px); }
  .nav-brand span { display: none; }
  .hero { padding-top: 34px; }
  .hero-logo { width: min(340px, 88vw); }
  .diagonal-card { padding: 34px 24px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .preview-block { padding: 22px; }
  .preview-image { min-height: 310px; }
  .cart-button { padding: 10px 12px; }
}

/* =========================
   BLOGS / ARTÍCULOS
========================= */

.blog-detail {
  width: min(1120px, calc(100% - 32px));
  margin: 70px auto 110px;
}

.blog-article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(80, 120, 90, 0.10);
  border-radius: 34px;
  padding: clamp(28px, 5vw, 58px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.05);
}

.blog-article .eyebrow {
  display: inline-flex;
  background: rgba(139, 216, 180, 0.22);
  color: var(--green);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.blog-article h1 {
  max-width: 920px;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1;
  color: var(--green);
  margin-bottom: 24px;
}

.blog-intro {
  max-width: 900px;
  font-size: 1.18rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 34px;
}

.blog-cover {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 30px;
  margin: 34px 0 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.blog-article h2 {
  color: var(--green);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin-top: 44px;
  margin-bottom: 14px;
}

.blog-article p {
  font-size: 1.03rem;
  line-height: 1.9;
  color: #4e4e4e;
  margin-bottom: 18px;
}

.blog-note {
  background: linear-gradient(135deg, rgba(139, 216, 180, 0.22), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(80, 120, 90, 0.10);
  border-radius: 26px;
  padding: 24px;
  margin: 36px 0;
}

.blog-note strong {
  display: block;
  color: var(--green);
  margin-bottom: 10px;
}

.info-list {
  margin: 20px 0 34px;
  padding-left: 22px;
}

.info-list li {
  color: #4e4e4e;
  line-height: 1.8;
  margin-bottom: 8px;
}

.blog-article .btn {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .blog-detail {
    width: calc(100% - 20px);
    margin: 36px auto 80px;
  }

  .blog-article {
    border-radius: 24px;
    padding: 24px;
  }

  .blog-cover {
    border-radius: 20px;
    margin: 26px 0 34px;
  }
}

.variant-section {
  margin: 28px 0 22px;
}

.variant-label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--green);
}

.variant-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.variant-btn {
  border: 1px solid var(--green);
  background: rgba(255, 255, 255, 0.65);
  color: var(--green);
  border-radius: 16px;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  transition: 0.2s ease;
}

.variant-btn small {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  opacity: 0.8;
}

.variant-btn.active,
.variant-btn:hover {
  background: var(--green);
  color: #fff;
}

@media (max-width: 768px) {
  .variant-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

.catalog-tools {
  width: min(1000px, calc(100% - 32px));
  margin: 30px auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 14px;
}

.catalog-tools input,
.catalog-tools select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.8);
  color: var(--text);
  font-family: inherit;
}

.product-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(139, 216, 180, 0.22);
  color: var(--green);
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.empty-catalog {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: rgba(255,255,255,0.65);
  border-radius: 28px;
}

@media (max-width: 768px) {
  .catalog-tools {
    grid-template-columns: 1fr;
  }
}

.page-hero {
  width: min(1000px, calc(100% - 32px));
  margin: 70px auto 30px;
  text-align: center;
}

.page-hero .eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(139, 216, 180, 0.24);
  color: var(--green);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--green);
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}