:root {
  --cs-cream: #F5E4CA;
  --cs-cream-2: #FFF8EE;
  --cs-brown: #642800;
  --cs-copper: #B55D21;
  --cs-gold: #E89F4D;
  --cs-green: #0D6036;
  --cs-green-2: #287C4A;
  --cs-sage: #E6E8D5;
  --cs-ink: #1C140F;
  --cs-white: #FFFFFF;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.cs-shell { max-width: 1240px; margin-inline: auto; }
.cs-section { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.cs-kicker {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cs-copper);
}
.cs-script {
  font-family: MonteCarlo, cursive;
  font-weight: 400;
  color: var(--cs-copper);
  line-height: .9;
}
.cs-soft { opacity: .76; }
.cs-quiet-rule { border-top: 1px solid rgba(100,40,0,.14); }

/* Header */
.cs-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 228, 202, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(100, 40, 0, .11);
}
.cs-header-inner { min-height: 92px; }
.cs-header-logo img { width: auto !important; height: 70px !important; object-fit: contain; }
.cs-header .wp-block-navigation a { text-decoration: none; font-size: .88rem; font-weight: 500; }
.cs-header .wp-block-navigation-item__content:hover { color: var(--cs-copper); }

/* Watermark language shared by cream sections */
.cs-watermark-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cs-watermark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(245,228,202,.91), rgba(245,228,202,.91)), url('../images/marca-agua-cafe-sublime.webp');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.cs-watermark-section::after {
  content: "";
  position: absolute;
  right: clamp(-90px, -5vw, -30px);
  bottom: -110px;
  width: min(48vw, 620px);
  height: min(48vw, 620px);
  background: url('../images/logo-cafe-sublime.png') center/contain no-repeat;
  opacity: .045;
  z-index: -1;
  pointer-events: none;
}

/* Hero v0.2 */
.cs-hero {
  position: relative;
  overflow: hidden;
  min-height: min(790px, 86vh);
  background: var(--cs-cream);
  color: var(--cs-ink);
  isolation: isolate;
}
.cs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(245,228,202,.96) 0%, rgba(245,228,202,.91) 46%, rgba(245,228,202,.78) 100%), url('../images/marca-agua-cafe-sublime.webp');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.cs-hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(100,40,0,.10);
  border-radius: 50%;
  right: -330px;
  top: -280px;
  z-index: -1;
}
.cs-hero h1 { color: var(--cs-brown) !important; }
.cs-hero-copy { max-width: 620px; }
.cs-hero-photo { position: relative; padding: 1rem 0 1rem 1.7rem; }
.cs-hero-photo::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72%;
  height: 76%;
  border-radius: 34px;
  background: rgba(181,93,33,.12);
  border: 1px solid rgba(100,40,0,.13);
  z-index: -1;
}
.cs-hero-photo img {
  display: block;
  width: min(100%, 535px);
  max-height: 625px;
  object-fit: cover;
  object-position: 50% 65%;
  margin-inline: auto;
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(100,40,0,.17);
}
.cs-hero-badge {
  position: absolute;
  right: 2%;
  bottom: 5%;
  width: min(220px, 40%);
  padding: 1.1rem 1.25rem;
  border-radius: 22px;
  background: rgba(255,248,238,.94);
  box-shadow: 0 18px 45px rgba(100,40,0,.15);
  border: 1px solid rgba(100,40,0,.10);
}
.cs-hero-badge strong { color: var(--cs-brown); display:block; margin-bottom:.2rem; }
.cs-hero .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--cs-brown) !important;
  border-color: rgba(100,40,0,.35) !important;
}
.cs-hero .wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--cs-copper) !important;
  color: var(--cs-copper) !important;
}

/* Origin */
.cs-origin-card {
  border-top: 1px solid rgba(100,40,0,.18);
  border-bottom: 1px solid rgba(100,40,0,.18);
  padding-block: clamp(2rem, 5vw, 4rem);
}
.cs-stat {
  padding: 1.6rem;
  border: 1px solid rgba(100,40,0,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.38);
  backdrop-filter: blur(4px);
}
.cs-stat strong { color: var(--cs-brown); font-size: 1.1rem; }

/* Product */
.cs-product-wrap { background: var(--cs-cream-2); }
.cs-product-card {
  background: var(--cs-white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(100,40,0,.08);
}
.cs-product-card img { width: 100%; height: auto; }
.cs-pill {
  display: inline-block;
  padding: .48rem .75rem;
  border: 1px solid rgba(100,40,0,.2);
  border-radius: 999px;
  font-size: .77rem;
  line-height: 1;
  color: var(--cs-brown);
  margin: 0 .35rem .5rem 0;
}

/* Shade / nature - no full green interruption */
.cs-shade {
  position: relative;
  overflow: hidden;
  background: var(--cs-cream);
}
.cs-shade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 18%, rgba(40,124,74,.10), transparent 30%), radial-gradient(circle at 88% 82%, rgba(13,96,54,.09), transparent 26%);
  pointer-events: none;
}
.cs-shade-photo img {
  width: 100%;
  height: clamp(460px, 54vw, 690px);
  object-fit: cover;
  object-position: center 64%;
  border-radius: 30px;
  box-shadow: 0 22px 60px rgba(13,96,54,.12);
}
.cs-nature-panel {
  padding: clamp(1.6rem, 4vw, 3.2rem);
  border-radius: 30px;
  background: rgba(255,248,238,.78);
  border: 1px solid rgba(13,96,54,.16);
  backdrop-filter: blur(5px);
}
.cs-nature-panel .cs-kicker { color: var(--cs-green-2); }
.cs-nature-panel h2 { color: var(--cs-green) !important; }
.cs-nature-points { display:grid; gap: .8rem; margin-top: 1.6rem; }
.cs-nature-point {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--cs-green-2);
  background: rgba(230,232,213,.45);
  border-radius: 0 14px 14px 0;
}
.cs-nature-point strong { color: var(--cs-green); }

/* Process */
.cs-process-section { background: rgba(255,248,238,.58); }
.cs-process-grid { counter-reset: csstep; }
.cs-step {
  counter-increment: csstep;
  position: relative;
  padding: 1.5rem 1rem 1.5rem 4.2rem;
  border-top: 1px solid rgba(100,40,0,.16);
}
.cs-step::before {
  content: counter(csstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.2rem;
  font-family: MonteCarlo, cursive;
  font-size: 2rem;
  color: var(--cs-copper);
}

/* History */
.cs-history { background: #EFE0C7; position:relative; overflow:hidden; }
.cs-history::after {
  content:"";
  position:absolute;
  width: 540px;
  height: 540px;
  left: -260px;
  bottom: -310px;
  background: url('../images/logo-cafe-sublime.png') center/contain no-repeat;
  opacity:.045;
  pointer-events:none;
}
.cs-history-photo img {
  width:100%;
  height: clamp(500px, 58vw, 720px);
  object-fit: cover;
  object-position:center;
  border-radius:30px;
  box-shadow:0 20px 55px rgba(100,40,0,.12);
}

/* Gallery */
.cs-gallery { background: var(--cs-cream-2); }
.cs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 170px;
  gap: 16px;
  margin-top: 3rem;
}
.cs-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #e8dbc8;
}
.cs-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.cs-gallery-item:hover img { transform: scale(1.035); }
.cs-gallery-item::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 55%, rgba(28,20,15,.22));
  pointer-events:none;
}
.cs-gallery-a { grid-column: span 5; grid-row: span 3; }
.cs-gallery-b { grid-column: span 4; grid-row: span 2; }
.cs-gallery-c { grid-column: span 3; grid-row: span 2; }
.cs-gallery-d { grid-column: span 4; grid-row: span 2; }
.cs-gallery-e { grid-column: span 3; grid-row: span 2; }
.cs-gallery-caption { margin-top:1rem; font-size:.88rem; opacity:.68; }

/* CTA */
.cs-cta-wrap { position:relative; overflow:hidden; }
.cs-cta {
  position:relative;
  background: var(--cs-brown);
  color: var(--cs-cream);
  border-radius: 36px;
  overflow: hidden;
  isolation:isolate;
}
.cs-cta::before {
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(100,40,0,.96), rgba(100,40,0,.76)), url('../images/producto-granos.webp') center/cover no-repeat;
  z-index:-1;
}
.cs-cta h2 { color: var(--cs-cream) !important; }
.cs-cta .wp-block-button__link { background: var(--cs-gold) !important; color: var(--cs-brown) !important; }
.cs-cta .wp-block-button__link:hover { background: #f3b65d !important; }

/* Footer */
.cs-footer { background: #160B07; color: rgba(245,228,202,.78); }
.cs-footer a { color: var(--cs-cream); text-decoration: none; }
.cs-footer a:hover { color: var(--cs-gold); }
.cs-footer-logo img { width: min(100%, 280px); height: auto; }
.cs-footer-meta { color: rgba(245,228,202,.58); font-size:.88rem; }

/* Generic content */
.cs-page-main { min-height: 55vh; }
.cs-page-main .wp-block-post-title { font-size: clamp(2.2rem, 6vw, 4.8rem); }

@media (max-width: 1000px) {
  .cs-header-inner { min-height: 78px; }
  .cs-header-logo img { height: 58px !important; }
  .cs-hero { min-height: auto; }
  .cs-hero-photo { padding-left: 0; margin-top: 1.5rem; }
  .cs-gallery-grid { grid-auto-rows: 145px; }
}

@media (max-width: 781px) {
  .cs-section { padding-top: 4rem; padding-bottom: 4rem; }
  .cs-hero-photo img { max-height: 560px; }
  .cs-hero-badge { right: 4%; bottom: 4%; width: 48%; font-size:.82rem; }
  .cs-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; gap:12px; }
  .cs-gallery-a,.cs-gallery-b,.cs-gallery-c,.cs-gallery-d,.cs-gallery-e { grid-column: span 1; grid-row: span 1; }
  .cs-gallery-a { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 520px) {
  .cs-header-logo img { height: 52px !important; }
  .cs-hero-badge { position: static; width:auto; margin: .9rem auto 0; }
  .cs-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .cs-gallery-a,.cs-gallery-b,.cs-gallery-c,.cs-gallery-d,.cs-gallery-e { grid-column: 1; grid-row: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cs-gallery-item img { transition:none; }
}

/* =========================
   v0.3 refinements
   ========================= */
:root {
  --cs-cream-3: #F0DDC0;
  --cs-cream-4: #FBF5EC;
  --cs-line: rgba(100,40,0,.15);
}

html { scroll-padding-top: 120px; }
#origen, #cafe, #proceso, #historia, #galeria { scroll-margin-top: 126px; }

.wp-site-blocks,
body { overflow-x: clip; }

.cs-shell,
.wp-block-group.alignwide,
.wp-block-columns.alignwide,
.wp-block-separator.alignwide {
  max-width: min(1360px, calc(100% - 3.4rem));
}

.cs-section {
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.cs-divider-top {
  position: relative;
}
.cs-divider-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(91%, 1340px);
  height: 34px;
  transform: translateX(-50%);
  border-top: 1.3px solid var(--cs-line);
  border-radius: 50% / 100% 100% 0 0;
  opacity: .92;
  pointer-events: none;
}

.cs-header-inner { min-height: 84px; }
.cs-header-logo img { height: 74px !important; }
.cs-header .wp-block-navigation { gap: .95rem; }
.cs-header .wp-block-navigation a { font-size: .95rem; }

.cs-hero {
  min-height: min(760px, 84vh);
}
.cs-hero::before {
  background-image:
    linear-gradient(90deg, rgba(245,228,202,.96) 0%, rgba(245,228,202,.92) 44%, rgba(245,228,202,.79) 100%),
    url('../images/marca-agua-cafe-sublime.webp');
}
.cs-hero .wp-block-columns.alignwide {
  max-width: min(1380px, calc(100% - 3.4rem));
}
.cs-hero-copy { max-width: 700px; }
.cs-hero-photo::before { width: 77%; height: 79%; }
.cs-hero-photo img {
  width: min(100%, 565px);
  max-height: 610px;
}
.cs-hero-badge {
  right: 0;
  bottom: 4.5%;
  width: min(235px, 40%);
}

.cs-origin {
  background: var(--cs-cream);
}
.cs-origin::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url('../images/logo-cafe-sublime.png') center / min(46vw, 560px) no-repeat,
    radial-gradient(circle at 10% 18%, rgba(181,93,33,.06), transparent 22%),
    radial-gradient(circle at 86% 76%, rgba(100,40,0,.05), transparent 20%);
  opacity: .08;
  pointer-events: none;
}
.cs-origin .cs-origin-card {
  position: relative;
  z-index: 1;
}
.cs-origin .cs-stat {
  background: rgba(255,248,238,.62);
}

.cs-product-wrap {
  background: var(--cs-cream-4);
}
.cs-product-card {
  box-shadow: 0 22px 60px rgba(100,40,0,.10);
}

.cs-shade {
  background: #F1E4D2;
}
.cs-shade::before {
  background:
    radial-gradient(circle at 10% 16%, rgba(40,124,74,.07), transparent 28%),
    radial-gradient(circle at 90% 84%, rgba(13,96,54,.07), transparent 24%);
}
.cs-nature-panel {
  background: rgba(255,248,238,.88);
}
.cs-nature-panel h2 {
  color: var(--cs-green) !important;
}

.cs-process-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #FFF7ED;
}
.cs-process-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/logo-cafe-sublime.png') center / min(54vw, 700px) no-repeat;
  opacity: .055;
  z-index: -1;
  pointer-events: none;
}
.cs-process-grid {
  padding-left: .5rem;
}
.cs-step {
  padding-right: 1.2rem;
}
.cs-step h3 {
  line-height: 1.08;
}

.cs-history {
  background: #EFDDBF;
}
.cs-history::after { opacity: .04; }

.cs-gallery {
  background: var(--cs-cream-2);
}
.cs-gallery-grid {
  grid-auto-rows: 185px;
  gap: 18px;
}
.cs-gallery-a { grid-column: span 5; grid-row: span 3; }
.cs-gallery-b { grid-column: span 3; grid-row: span 2; }
.cs-gallery-c { grid-column: span 4; grid-row: span 2; }
.cs-gallery-d { grid-column: span 3; grid-row: span 2; }
.cs-gallery-e { grid-column: span 4; grid-row: span 2; }
.cs-gallery-caption {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.cs-cta-wrap {
  background: #FAF2E4;
}
.cs-cta {
  box-shadow: 0 25px 70px rgba(100,40,0,.15);
}
.cs-cta::before {
  background: linear-gradient(90deg, rgba(100,40,0,.90), rgba(100,40,0,.68)), url('../images/producto-granos.webp') center/cover no-repeat;
}

.cs-footer {
  background: #140904;
}
.cs-footer-logo img {
  width: min(100%, 320px);
}
.cs-footer .alignwide {
  max-width: min(1360px, calc(100% - 3.4rem));
}

@media (max-width: 1200px) {
  .wp-block-group.alignwide,
  .wp-block-columns.alignwide,
  .wp-block-separator.alignwide {
    max-width: min(1280px, calc(100% - 2.6rem));
  }
  .cs-hero .wp-block-columns.alignwide {
    max-width: min(1280px, calc(100% - 2.6rem));
  }
}

@media (max-width: 1000px) {
  html { scroll-padding-top: 108px; }
  #origen, #cafe, #proceso, #historia, #galeria { scroll-margin-top: 112px; }
  .cs-header-logo img { height: 66px !important; }
  .cs-section { padding-top: 4rem; padding-bottom: 4rem; }
  .cs-divider-top::before { width: min(92%, 1000px); }
  .cs-hero .wp-block-columns.alignwide,
  .wp-block-group.alignwide,
  .wp-block-columns.alignwide,
  .wp-block-separator.alignwide { max-width: min(100%, calc(100% - 2.2rem)); }
}

@media (max-width: 781px) {
  html { scroll-padding-top: 96px; }
  #origen, #cafe, #proceso, #historia, #galeria { scroll-margin-top: 100px; }
  .cs-header-logo img { height: 58px !important; }
  .cs-hero-copy { max-width: none; }
  .cs-hero-badge { width: 50%; }
  .cs-nature-panel, .cs-product-card { border-radius: 24px; }
  .cs-gallery-grid { grid-auto-rows: 220px; }
}

@media (max-width: 520px) {
  .wp-block-group.alignwide,
  .wp-block-columns.alignwide,
  .wp-block-separator.alignwide,
  .cs-hero .wp-block-columns.alignwide { max-width: calc(100% - 1.4rem); }
  .cs-divider-top::before { width: calc(100% - 1.4rem); }
}

/* =========================
   v0.4 refinements
   ========================= */

/* Header more visible in sticky state / overall */
.cs-header {
  background: rgba(233, 214, 184, .97);
  border-bottom: 1px solid rgba(100, 40, 0, .18);
  box-shadow: 0 8px 24px rgba(73, 34, 12, .08);
}
.cs-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(100,40,0,0), rgba(100,40,0,.18), rgba(100,40,0,0));
}
.cs-header .wp-block-navigation a,
.cs-header .wp-block-button__link {
  color: var(--cs-brown) !important;
}
.cs-header .wp-block-button__link {
  box-shadow: 0 8px 18px rgba(100,40,0,.10);
}
.cs-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.cs-header .wp-block-navigation-item__content:hover {
  color: var(--cs-copper) !important;
}

/* Reduce repeated watermark language */
.cs-hero::before {
  background-image:
    linear-gradient(90deg, rgba(245,228,202,.975) 0%, rgba(245,228,202,.945) 48%, rgba(245,228,202,.88) 100%),
    url('../images/marca-agua-cafe-sublime.webp');
  background-size: cover;
  background-position: center;
}
.cs-origin::after {
  background:
    radial-gradient(circle at 12% 18%, rgba(181,93,33,.045), transparent 22%),
    radial-gradient(circle at 86% 76%, rgba(100,40,0,.035), transparent 18%);
  opacity: 1;
}
.cs-process-section::after {
  background: url('../images/logo-cafe-sublime.png') center / min(46vw, 610px) no-repeat;
  opacity: .04;
}

/* Curved section dividers inspired by a coffee bean */
.cs-divider-top {
  overflow: visible !important;
}
.cs-divider-top::before,
.cs-divider-top::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
}
.cs-divider-top::before {
  top: -14px;
  width: min(92%, 1380px);
  height: 28px;
  border-top: 1.4px solid rgba(100,40,0,.18);
  border-radius: 50% / 100% 100% 0 0;
}
.cs-divider-top::after {
  top: -7px;
  width: min(52%, 560px);
  height: 16px;
  border-top: 1.1px solid rgba(100,40,0,.16);
  border-radius: 50% / 100% 100% 0 0;
  opacity: .9;
}

/* Make section alternation more explicit */
.cs-origin { background: #F5E4CA; }
.cs-product-wrap { background: #FBF6EE; }
.cs-shade { background: #EFE3D3; }
.cs-process-section { background: #FBF1E2; }
.cs-history { background: #EFD9B9; }
.cs-gallery { background: #FCF7EF; }
.cs-cta-wrap { background: #F5E4CA; }

/* Tone down decorative corner language to avoid overload */
.cs-gallery::before,
.cs-history::before,
.cs-origin::before {
  opacity: .5;
}

@media (max-width: 1000px) {
  .cs-divider-top::before { width: min(94%, 980px); }
  .cs-divider-top::after { width: min(58%, 460px); }
}

@media (max-width: 781px) {
  .cs-divider-top::before { top: -11px; height: 22px; }
  .cs-divider-top::after { top: -5px; height: 12px; width: min(62%, 320px); }
  .cs-header {
    background: rgba(231, 211, 180, .985);
  }
}

/* =========================
   v0.5 corrections
   ========================= */

/* Header: darker, readable, and stable while sticky */
.cs-header {
  background: rgba(229, 205, 167, .985) !important;
  border-bottom: 1px solid rgba(100, 40, 0, .22) !important;
  box-shadow: 0 10px 28px rgba(73, 34, 12, .10) !important;
}
.cs-header .wp-block-navigation a {
  color: #4A1E08 !important;
  font-weight: 500;
}
.cs-header .wp-block-button__link {
  background: var(--cs-brown) !important;
  color: var(--cs-cream) !important;
  border-color: var(--cs-brown) !important;
}
.cs-header .wp-block-button__link:hover {
  background: var(--cs-copper) !important;
  color: #fff !important;
}

/* Watermarks: one strong branded moment in the hero, one subtle logo moment in process. */
.cs-origin::after { content: none !important; }
.cs-origin::before { content: none !important; }
.cs-origin { background: #F5E4CA !important; }

.cs-process-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/logo-cafe-sublime.png') 58% 54% / min(36vw, 520px) no-repeat;
  opacity: .028 !important;
  z-index: -1;
  pointer-events: none;
}
.cs-process-section::before { content: none !important; }

/* Remove old pseudo divider system completely. */
.cs-divider-top::before,
.cs-divider-top::after { content: none !important; }

/* Explicit visible divider inspired by the inner groove of a coffee bean. */
.cs-bean-divider {
  position: relative;
  width: 100%;
  height: 44px;
  margin: -1px 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}
.cs-bean-divider::before,
.cs-bean-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(1380px, 92vw);
  height: 42px;
  transform: translateX(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
.cs-bean-divider::before {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44'%3E%3Cpath d='M0 27 C 270 8 460 7 705 22 C 950 37 1120 40 1440 14' fill='none' stroke='%23642800' stroke-opacity='.25' stroke-width='1.7'/%3E%3C/svg%3E");
}
.cs-bean-divider::after {
  top: 7px;
  opacity: .78;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44'%3E%3Cpath d='M180 27 C 430 12 625 12 820 24 C 1010 35 1190 34 1360 20' fill='none' stroke='%23B55D21' stroke-opacity='.22' stroke-width='1.25'/%3E%3C/svg%3E");
}
.cs-bean-divider-soft::before { opacity: .72; }
.cs-bean-divider-soft::after { opacity: .52; }

/* More deliberate section alternation; no two consecutive branded-watermark panels. */
.cs-product-wrap { background: #FCF7EF !important; }
.cs-shade { background: #EFE3D3 !important; }
.cs-process-section { background: #FAF0E1 !important; }
.cs-history { background: #EFD9B9 !important; }
.cs-gallery { background: #FCF7EF !important; }
.cs-cta-wrap { background: #F5E4CA !important; }

@media (max-width: 781px) {
  .cs-bean-divider { height: 34px; }
  .cs-bean-divider::before,
  .cs-bean-divider::after { height: 32px; width: 96vw; }
  .cs-bean-divider::after { top: 5px; }
}

/* =========================
   v0.6 refinements
   ========================= */

/* Full-width section continuity */
.wp-site-blocks {
  overflow-x: clip;
}
.wp-site-blocks > .alignfull,
.wp-site-blocks > .wp-block-group.alignfull {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.cs-section {
  position: relative;
  border-radius: 0 !important;
}

/* Stronger, clearer section separation */
.cs-divider-wrap {
  --cs-divider-top: #F5E4CA;
  --cs-divider-bottom: #FCF7EF;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: linear-gradient(to bottom, var(--cs-divider-top) 0 49.9%, var(--cs-divider-bottom) 50% 100%);
}
.cs-divider-wrap .wp-block-html {
  margin: 0 !important;
}
.cs-divider-hero-origin { --cs-divider-top: #F5E4CA; --cs-divider-bottom: #F5E4CA; }
.cs-divider-origin-coffee { --cs-divider-top: #F5E4CA; --cs-divider-bottom: #FCF7EF; }
.cs-divider-coffee-shade { --cs-divider-top: #FCF7EF; --cs-divider-bottom: #EFE3D3; }
.cs-divider-shade-process { --cs-divider-top: #EFE3D3; --cs-divider-bottom: #FAF0E1; }
.cs-divider-process-history { --cs-divider-top: #FAF0E1; --cs-divider-bottom: #EFD9B9; }
.cs-divider-history-gallery { --cs-divider-top: #EFD9B9; --cs-divider-bottom: #FCF7EF; }
.cs-divider-gallery-cta { --cs-divider-top: #FCF7EF; --cs-divider-bottom: #F5E4CA; }

.cs-bean-divider {
  position: relative;
  width: 100%;
  height: 58px;
  margin: 0;
  overflow: hidden;
  background: inherit;
  pointer-events: none;
}
.cs-bean-divider::before,
.cs-bean-divider::after {
  content: "" !important;
  position: absolute;
  left: 0;
  width: 100%;
  transform: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
.cs-bean-divider::before {
  top: 10px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 26' preserveAspectRatio='none'%3E%3Cpath d='M0 18 C 230 7, 470 4, 800 15 C 1090 25, 1360 25, 1600 11' fill='none' stroke='%23642800' stroke-opacity='.36' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.cs-bean-divider::after {
  top: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 18' preserveAspectRatio='none'%3E%3Cpath d='M0 8 C 280 2, 540 1, 820 8 C 1090 15, 1340 15, 1600 6' fill='none' stroke='%23B55D21' stroke-opacity='.30' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Menu more defined with strong accent line */
.cs-header {
  background: #E1C99F !important;
  border-bottom: 3px solid var(--cs-copper) !important;
  box-shadow: 0 8px 22px rgba(73, 34, 12, .08) !important;
}
.cs-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,.22);
}
.cs-header::after {
  display: none;
}
.cs-header .wp-block-navigation a {
  color: #4A1E08 !important;
}
.cs-header .wp-block-button__link {
  min-height: 52px;
  padding: .95rem 1.45rem !important;
  white-space: nowrap;
  text-wrap: nowrap;
  line-height: 1;
  border-radius: 999px !important;
}

/* Reduce repeated watermark feeling further */
.cs-process-section::after {
  opacity: .018 !important;
  background-position: 60% 56%;
}
@media (max-width: 1000px) {
  .cs-process-section::after { opacity: .014 !important; }
}
@media (max-width: 781px) {
  .cs-process-section::after { content: none !important; }
}

/* Mobile header / responsive care */
@media (max-width: 781px) {
  html { scroll-padding-top: 88px; }
  #origen, #cafe, #proceso, #historia, #galeria { scroll-margin-top: 92px; }
  .cs-header { background: #E1C99F !important; }
  .cs-header-inner {
    min-height: 78px;
    gap: .65rem;
    padding-top: .45rem;
    padding-bottom: .45rem;
  }
  .cs-header-logo img {
    height: 50px !important;
    width: auto !important;
  }
  .cs-header .wp-block-group > .wp-block-group {
    gap: .55rem;
  }
  .cs-header .wp-block-navigation__responsive-container-open,
  .cs-header .wp-block-navigation__responsive-container-close {
    color: var(--cs-brown);
  }
  .cs-header .wp-block-button__link {
    min-height: 46px;
    padding: .78rem 1rem !important;
    font-size: .82rem !important;
    letter-spacing: .02em;
  }
  .cs-bean-divider {
    height: 54px;
  }
  .cs-bean-divider::before { top: 12px; height: 24px; }
  .cs-bean-divider::after { top: 22px; height: 16px; }
  .cs-shade-photo img,
  .cs-history-photo img {
    height: clamp(340px, 78vw, 500px);
  }
}

@media (max-width: 520px) {
  .wp-block-group.alignwide,
  .wp-block-columns.alignwide,
  .wp-block-separator.alignwide,
  .cs-hero .wp-block-columns.alignwide {
    max-width: calc(100% - 1.1rem);
  }
  .cs-header-inner {
    min-height: 74px;
  }
  .cs-header-logo img {
    height: 46px !important;
  }
  .cs-header .wp-block-button__link {
    min-height: 42px;
    padding: .68rem .88rem !important;
    font-size: .76rem !important;
  }
  .cs-header .wp-block-navigation__responsive-container-open {
    padding: .35rem;
  }
  .cs-bean-divider {
    height: 46px;
  }
  .cs-bean-divider::before { top: 10px; height: 20px; }
  .cs-bean-divider::after { top: 18px; height: 13px; }
}

/* =========================
   v0.7: fluid type + image scale + accessible carousel
   ========================= */

/* Fluid typography: controlled minima on small screens and sensible maxima on desktop */
body {
  font-size: clamp(.96rem, .93rem + .12vw, 1.04rem);
  line-height: 1.65;
}
.cs-hero h1,
.cs-hero .has-x-large-font-size {
  font-size: clamp(2rem, 1.42rem + 2.05vw, 4.25rem) !important;
  line-height: 1.04 !important;
}
.cs-section h2.has-x-large-font-size,
.cs-gallery h2.has-x-large-font-size {
  font-size: clamp(1.78rem, 1.36rem + 1.55vw, 3.25rem) !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}
.cs-section h3.has-large-font-size {
  font-size: clamp(1.2rem, 1.08rem + .55vw, 1.75rem) !important;
  line-height: 1.14 !important;
}
.has-large-font-size {
  font-size: clamp(1.05rem, .97rem + .36vw, 1.36rem) !important;
  line-height: 1.58 !important;
}
.cs-origin .has-large-font-size,
.cs-nature-panel .has-large-font-size,
.cs-history .has-large-font-size {
  max-width: 46ch;
}
.cs-gallery-intro {
  max-width: 68ch;
  margin-inline: auto;
}

/* Better image proportions across viewports */
.cs-hero-photo img {
  aspect-ratio: 4 / 5;
  height: auto !important;
  max-height: 570px;
  object-fit: cover;
  object-position: 50% 66%;
}
.cs-shade-photo img,
.cs-history-photo img {
  aspect-ratio: 4 / 3;
  height: auto !important;
  max-height: 540px;
  object-fit: cover;
}
.cs-shade-photo img { object-position: 50% 67%; }
.cs-history-photo img { object-position: 50% 43%; }
.cs-product-card img {
  display: block;
  max-height: 520px;
  width: 100%;
  object-fit: contain;
}

/* Replace old masonry gallery with responsive carousel */
.cs-gallery-grid { display: none !important; }
.cs-carousel {
  --cs-carousel-gap: 18px;
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: clamp(2rem, 4vw, 3.25rem) auto 0;
}
.cs-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 26px;
}
.cs-carousel-track {
  display: flex;
  gap: var(--cs-carousel-gap);
  align-items: stretch;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.cs-carousel-slide {
  flex: 0 0 calc((100% - (2 * var(--cs-carousel-gap))) / 3);
  min-width: 0;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #F2E5D2;
  border: 1px solid rgba(100,40,0,.10);
  box-shadow: 0 14px 34px rgba(100,40,0,.08);
  outline: none;
}
.cs-carousel-slide:focus-visible {
  box-shadow: 0 0 0 3px rgba(181,93,33,.38), 0 14px 34px rgba(100,40,0,.08);
}
.cs-carousel-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E8D8C2;
}
.cs-carousel-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.cs-carousel-slide:hover .cs-carousel-media img { transform: scale(1.025); }
.cs-carousel-pos-harvest img { object-position: 50% 44%; }
.cs-carousel-pos-event img { object-position: 50% 48%; }
.cs-carousel-pos-product img { object-position: 50% 50%; }
.cs-carousel-pos-cherries img { object-position: 50% 65%; }
.cs-carousel-pos-lifestyle img { object-position: 50% 52%; }
.cs-carousel-slide figcaption {
  padding: .9rem 1rem 1rem;
  color: var(--cs-brown);
  font-size: clamp(.86rem, .83rem + .10vw, .94rem);
  font-weight: 600;
  line-height: 1.35;
}
.cs-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-top: 1.15rem;
  min-height: 44px;
}
.cs-carousel-arrow,
.cs-carousel-toggle,
.cs-carousel-dot {
  border: 1px solid rgba(100,40,0,.20);
  background: #FFF8EE;
  color: var(--cs-brown);
  cursor: pointer;
  font: inherit;
}
.cs-carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  line-height: 1;
}
.cs-carousel-arrow:hover,
.cs-carousel-toggle:hover {
  background: var(--cs-brown);
  color: var(--cs-cream);
}
.cs-carousel-toggle {
  min-height: 38px;
  padding: .55rem .85rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
}
.cs-carousel-dots {
  display: flex;
  gap: .38rem;
  align-items: center;
}
.cs-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(100,40,0,.16);
}
.cs-carousel-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--cs-copper);
  border-color: var(--cs-copper);
}

/* Tablet: hamburger earlier, lighter type and two carousel cards */
@media (max-width: 900px) {
  .cs-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }
  .cs-header .wp-block-navigation__responsive-container-open {
    display: flex !important;
  }
  .cs-carousel-slide {
    flex-basis: calc((100% - var(--cs-carousel-gap)) / 2);
  }
  .cs-hero-photo img {
    max-height: 500px;
  }
  .cs-shade-photo img,
  .cs-history-photo img {
    max-height: 460px;
  }
}

/* Mobile: smaller images, one slide, tighter section rhythm */
@media (max-width: 699px) {
  .cs-section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
  .cs-hero .wp-block-columns {
    gap: 1.5rem;
  }
  .cs-hero-photo {
    margin-top: .65rem;
  }
  .cs-hero-photo img {
    aspect-ratio: 1 / 1;
    max-height: none;
    width: 100%;
    object-position: 50% 67%;
  }
  .cs-shade-photo img,
  .cs-history-photo img {
    aspect-ratio: 4 / 3;
    max-height: none;
    width: 100%;
  }
  .cs-product-card img {
    max-height: 360px;
  }
  .cs-origin-card {
    gap: .85rem;
  }
  .cs-stat {
    padding: 1.15rem 1.2rem;
  }
  .cs-carousel {
    --cs-carousel-gap: 12px;
    max-width: 100%;
  }
  .cs-carousel-slide {
    flex-basis: 100%;
    border-radius: 18px;
  }
  .cs-carousel-viewport {
    border-radius: 20px;
  }
  .cs-carousel-media {
    aspect-ratio: 4 / 3;
  }
  .cs-carousel-controls {
    gap: .48rem;
  }
  .cs-carousel-arrow {
    width: 38px;
    height: 38px;
  }
  .cs-carousel-toggle {
    font-size: .72rem;
    padding: .5rem .7rem;
  }
}

@media (max-width: 520px) {
  .cs-header .wp-block-button__link {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    font-size: .70rem !important;
    letter-spacing: .015em !important;
    padding-inline: .74rem !important;
  }
  .cs-header-logo img {
    height: 42px !important;
  }
  .cs-hero h1,
  .cs-hero .has-x-large-font-size {
    font-size: clamp(1.8rem, 7.7vw, 2.2rem) !important;
  }
  .cs-section h2.has-x-large-font-size,
  .cs-gallery h2.has-x-large-font-size {
    font-size: clamp(1.65rem, 7vw, 2.05rem) !important;
  }
  .has-large-font-size {
    font-size: clamp(1rem, 4.7vw, 1.16rem) !important;
    line-height: 1.55 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-carousel-track,
  .cs-carousel-media img { transition: none !important; }
}

/* =========================
   v0.8: content, SEO, institutional support and brand details
   ========================= */

/* Only the hero keeps the large branded watermark. Other sections rely on color and the bean divider. */
.cs-process-section::after,
.cs-history::after,
.cs-origin::after,
.cs-origin::before {
  content: none !important;
}

/* Hero product image chosen as primary visual */
.cs-hero-product {
  position: relative;
}
.cs-hero-product img {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
}
.cs-hero-product::before {
  width: 82%;
  height: 78%;
}
.cs-photo-caption {
  margin: .75rem auto 0;
  max-width: 700px;
  font-size: .8rem;
  color: rgba(100,40,0,.72);
  text-align: right;
}
.cs-hero-lead { max-width: 680px; }

/* Bee accent: used sparingly as a real brand motif */
.cs-bee {
  position: absolute;
  width: 58px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 8px 10px rgba(72,38,14,.10));
}
.cs-hero-copy { position: relative; }
.cs-bee-hero {
  right: 4%;
  bottom: -2.4rem;
  transform: rotate(-10deg);
  opacity: .82;
}
.cs-nature-panel { position: relative; }
.cs-bee-shade {
  right: 1.4rem;
  top: 1.2rem;
  width: 48px;
  transform: rotate(12deg);
  opacity: .75;
}

/* Selective justified prose: desktop/tablet only. */
.cs-prose > p:not(.has-text-align-center),
.cs-prose .cs-step p,
.cs-origin .cs-soft,
.cs-origin .has-large-font-size {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
.cs-prose p { max-width: 76ch; }

/* Product visual with transparent packaging */
.cs-product-card-new {
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 50% 50%, rgba(232,159,77,.12), transparent 48%),
    #FFF8EE;
}
.cs-product-card-new img {
  width: 100%;
  height: auto;
  max-height: 470px;
  object-fit: contain;
}
.cs-pills { margin-top: 1.1rem; }
.cs-section-intro,
.cs-gallery-intro { max-width: 760px; margin-inline: auto; }

/* Institutional section */
.cs-support {
  background: #F7EAD7;
}
.cs-support-copy p { max-width: 72ch; }
.cs-support-card {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(100,40,0,.12);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  box-shadow: 0 18px 45px rgba(100,40,0,.06);
}
.cs-support-logos img {
  display: block;
  width: min(100%, 390px);
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}
.cs-support-note {
  padding: .9rem 1rem;
  margin-top: 1.35rem;
  border-left: 3px solid var(--cs-copper);
  background: rgba(255,248,238,.58);
  font-size: .85rem;
  line-height: 1.55;
}
.cs-support .is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--cs-brown) !important;
  border-color: rgba(100,40,0,.30) !important;
}

/* Social section */
.cs-social {
  background: #F1E2CB;
}
.cs-social-links {
  display: grid;
  gap: 1rem;
}
.cs-social-links p {
  margin: 0;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: rgba(255,248,238,.72);
  border: 1px solid rgba(100,40,0,.12);
}
.cs-social-links strong { color: var(--cs-brown); }
.cs-social-links a { font-weight: 600; }

/* New divider color transitions */
.cs-divider-history-support { --cs-divider-top: #EFD9B9; --cs-divider-bottom: #F7EAD7; }
.cs-divider-support-gallery { --cs-divider-top: #F7EAD7; --cs-divider-bottom: #FCF7EF; }
.cs-divider-gallery-social { --cs-divider-top: #FCF7EF; --cs-divider-bottom: #F1E2CB; }
.cs-divider-social-cta { --cs-divider-top: #F1E2CB; --cs-divider-bottom: #F5E4CA; }

/* Expanded carousel: crop people/experiences, contain product and equipment. */
.cs-carousel-contain .cs-carousel-media {
  background: #FFF8EE;
}
.cs-carousel-contain .cs-carousel-media img {
  object-fit: contain;
  padding: .8rem;
}
.cs-carousel-pos-event img { object-position: 50% 42%; }
.cs-carousel-pos-drink img { object-position: 50% 52%; }
.cs-carousel-pos-drinks img { object-position: 50% 52%; }
.cs-carousel-pos-method img { object-position: center; }
.cs-carousel-pos-roasted img { object-position: 50% 50%; }

/* Footer readability */
.cs-footer p { font-size: clamp(.86rem, .82rem + .12vw, .96rem); }
.cs-footer h3 { margin-bottom: .8rem; }

@media (max-width: 900px) {
  .cs-hero-product img {
    max-height: 480px;
  }
  .cs-support-card { margin-top: 1rem; }
}

@media (max-width: 781px) {
  .cs-prose > p:not(.has-text-align-center),
  .cs-prose .cs-step p,
  .cs-origin .cs-soft,
  .cs-origin .has-large-font-size {
    text-align: left;
    hyphens: none;
  }
  .cs-bee-hero { width: 44px; right: 7%; bottom: -1.5rem; }
  .cs-bee-shade { width: 40px; }
  .cs-hero-product img {
    aspect-ratio: 16 / 10;
    max-height: none;
    object-fit: cover;
  }
  .cs-photo-caption { text-align: left; font-size: .75rem; }
  .cs-product-card-new { min-height: 340px; padding: 1.2rem; }
  .cs-product-card-new img { max-height: 330px; }
  .cs-support-copy p,
  .cs-social-copy p { max-width: none; }
}

@media (max-width: 520px) {
  .cs-hero-product img {
    aspect-ratio: 4 / 3;
  }
  .cs-bee-hero { display: none; }
  .cs-bee-shade { width: 34px; right: .8rem; top: .8rem; }
  .cs-support-card { border-radius: 22px; }
  .cs-support-logos img { width: min(100%, 280px); }
  .cs-support-note { font-size: .78rem; }
}

/* =========================
   v0.9: partner network, WhatsApp and centered mobile navigation
   ========================= */

/* Partner / recognition section: a dark pause between cream sections. */
.cs-support {
  background: #211009 !important;
  color: rgba(245,228,202,.88);
}
.cs-support .cs-kicker { color: var(--cs-gold); }
.cs-support h2 { color: var(--cs-cream) !important; }
.cs-support-head { max-width: 900px !important; }
.cs-support-intro {
  max-width: 78ch;
  margin-inline: auto;
  color: rgba(245,228,202,.78);
  font-size: clamp(.96rem, .9rem + .25vw, 1.1rem);
  line-height: 1.7;
}
.cs-partners {
  max-width: 1360px;
  margin: clamp(2.2rem, 5vw, 4rem) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.cs-partner-card {
  min-width: 0;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.35rem, 2.6vw, 2rem);
  border-radius: 26px;
  border: 1px solid rgba(245,228,202,.16);
  background: rgba(255,255,255,.055);
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}
.cs-partner-card h3 {
  margin: 1.25rem 0 .55rem;
  color: var(--cs-cream) !important;
  font-size: clamp(1.15rem, 1.02rem + .45vw, 1.45rem);
}
.cs-partner-card p {
  margin: 0 0 1.15rem;
  color: rgba(245,228,202,.72);
  font-size: clamp(.86rem, .82rem + .16vw, .98rem);
  line-height: 1.65;
}
.cs-partner-card a {
  margin-top: auto;
  color: var(--cs-gold);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
}
.cs-partner-card a:hover { color: #ffd291; }
.cs-partner-logo {
  width: 100%;
  height: 130px;
  display: grid;
  place-items: center;
  border-radius: 18px;
}
.cs-partner-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cs-partner-logo-official {
  padding: 1rem;
  background: #FFF8EE;
}
.cs-partner-logo-official img { width: min(100%, 390px); }
.cs-partner-logo-symbol {
  background: rgba(255,255,255,.025);
}
.cs-partner-logo-symbol img {
  max-height: 112px;
  width: auto;
}
.cs-partner-logo-wide {
  padding: .7rem;
  background: rgba(255,255,255,.025);
}
.cs-partner-logo-wide img { width: min(100%, 370px); }
.cs-support .cs-support-note {
  max-width: 980px;
  margin: 1.7rem auto 0;
  border-left: 0;
  border-top: 1px solid rgba(245,228,202,.16);
  background: transparent;
  color: rgba(245,228,202,.56);
  font-size: .76rem;
}

/* Divider colors around the dark partner section. */
.cs-divider-history-support { --cs-divider-top: #EFD9B9; --cs-divider-bottom: #211009 !important; }
.cs-divider-support-gallery { --cs-divider-top: #211009 !important; --cs-divider-bottom: #FCF7EF; }
.cs-divider-history-support .cs-bean-divider::before,
.cs-divider-history-support .cs-bean-divider::after,
.cs-divider-support-gallery .cs-bean-divider::before,
.cs-divider-support-gallery .cs-bean-divider::after {
  filter: brightness(1.35);
}

/* Floating WhatsApp contact. */
.cs-whatsapp-float {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 52px;
  padding: .72rem 1rem;
  border-radius: 999px;
  background: #25D366;
  color: #083b1d !important;
  text-decoration: none !important;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cs-whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
}
.cs-whatsapp-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}
.cs-whatsapp-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Desktop header action grouping. */
.cs-header-actions {
  gap: 1rem;
}
.cs-header-nav { margin: 0; }

/* Center the hamburger precisely in tablet/mobile, independent of logo/button widths. */
@media (max-width: 900px) {
  .cs-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: .55rem;
    width: 100%;
  }
  .cs-header-logo {
    grid-column: 1;
    justify-self: start;
    margin: 0 !important;
  }
  .cs-header-actions {
    display: contents !important;
  }
  .cs-header-nav {
    grid-column: 2;
    justify-self: center;
  }
  .cs-header-actions > .wp-block-buttons {
    grid-column: 3;
    justify-self: end;
    margin: 0 !important;
  }
  .cs-header .wp-block-navigation__responsive-container-open {
    margin: 0 !important;
    padding: .45rem !important;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .cs-partners {
    grid-template-columns: 1fr;
    max-width: 720px;
  }
  .cs-partner-card {
    min-height: 0;
  }
  .cs-partner-logo { height: 120px; }
}

@media (max-width: 520px) {
  .cs-header-inner {
    column-gap: .35rem;
  }
  .cs-header-logo img {
    height: 40px !important;
  }
  .cs-header .wp-block-button__link {
    font-size: .66rem !important;
    padding-inline: .68rem !important;
    min-height: 40px !important;
  }
  .cs-header .wp-block-navigation__responsive-container-open {
    width: 38px;
    height: 38px;
    padding: .28rem !important;
  }
  .cs-partner-card {
    padding: 1.15rem;
    border-radius: 22px;
  }
  .cs-partner-logo {
    height: 105px;
    border-radius: 15px;
  }
  .cs-partner-logo-symbol img { max-height: 88px; }
  .cs-partner-logo-wide img { width: min(100%, 300px); }
  .cs-whatsapp-float {
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .cs-whatsapp-label { display: none; }
  .cs-whatsapp-icon { width: 27px; height: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-whatsapp-float { transition: none; }
}


/* =========================
   v0.10: refined monochrome social presentation
   ========================= */

.cs-social {
  background: #F1E2CB;
}
.cs-social .wp-block-columns.alignwide {
  align-items: stretch;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.cs-social-copy {
  align-self: center;
}
.cs-social-links {
  display: grid;
  gap: 1rem;
  max-width: 290px;
  margin-left: auto;
}
.cs-social-card {
  display: flex;
  align-items: center;
  gap: .95rem;
  min-height: 106px;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: rgba(255,248,238,.74);
  border: 1px solid rgba(100,40,0,.12);
  text-decoration: none !important;
  box-shadow: 0 12px 30px rgba(73,34,12,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.cs-social-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(73,34,12,.11);
  border-color: rgba(100,40,0,.2);
  background: rgba(255,248,238,.92);
}
.cs-social-card-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #F7EAD7;
  color: var(--cs-brown);
}
.cs-social-card-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.cs-social-card-copy {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.cs-social-card-copy strong {
  color: var(--cs-brown);
  font-size: 1rem;
  line-height: 1.15;
}
.cs-social-card-copy span {
  color: var(--cs-brown);
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .12em;
}
.cs-social-card--instagram:hover .cs-social-card-icon,
.cs-social-card--facebook:hover .cs-social-card-icon {
  color: #FFF8EE;
  background: var(--cs-brown);
}
.cs-social-card--whatsapp .cs-social-card-icon {
  color: #FFF8EE;
  background: #2CB257;
}
.cs-social-card--whatsapp:hover .cs-social-card-icon {
  background: #188E43;
}

.cs-footer-social {
  display: grid;
  gap: .65rem;
}
.cs-footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  color: var(--cs-cream) !important;
  text-decoration: none !important;
}
.cs-footer-social-link:hover { color: var(--cs-gold) !important; }
.cs-footer-social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: grid;
  place-items: center;
  color: rgba(245,228,202,.9);
}
.cs-footer-social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.cs-footer-social-label {
  line-height: 1.5;
}

.cs-whatsapp-float {
  width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0;
  justify-content: center;
  gap: 0;
  border-radius: 50%;
  background: #25D366;
  color: #063818 !important;
}
.cs-whatsapp-float:hover {
  background: #188E43;
  color: #F6FFF8 !important;
}
.cs-whatsapp-label { display: none !important; }
.cs-whatsapp-icon {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  .cs-social-links {
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-left: 0;
  }
  .cs-social-card {
    min-height: 100px;
  }
}

@media (max-width: 699px) {
  .cs-social-copy .wp-block-heading {
    font-size: clamp(2rem, 7vw, 2.9rem) !important;
  }
  .cs-social-links {
    grid-template-columns: 1fr;
  }
  .cs-social-card {
    min-height: 88px;
    padding: 1rem 1.05rem;
    border-radius: 18px;
  }
  .cs-social-card-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}

@media (max-width: 520px) {
  .cs-social-card-copy strong {
    font-size: .96rem;
  }
  .cs-social-card-copy span {
    font-size: .88rem;
  }
  .cs-whatsapp-float {
    width: 54px;
    height: 54px;
    min-height: 54px;
  }
}

/* =========================
   v0.11: WooCommerce product page refinement
   ========================= */

/* Product page background and overall width */
body.single-product .site-main,
body.single-product .wp-site-blocks {
  background: #F5E4CA;
}
body.single-product .woocommerce {
  max-width: min(1380px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2.5rem) 0 clamp(4rem, 7vw, 6rem);
}

/* Breadcrumb: useful, but visually secondary */
body.single-product .woocommerce-breadcrumb {
  margin: 0 0 1.35rem;
  color: rgba(57, 31, 18, .62);
  font-size: .82rem;
  line-height: 1.5;
}
body.single-product .woocommerce-breadcrumb a {
  color: var(--cs-brown);
  text-decoration-color: rgba(100,40,0,.32);
  text-underline-offset: .18em;
}

/* Top product area */
body.single-product div.product {
  display: flow-root;
}
body.single-product div.product div.images,
body.single-product div.product div.summary {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
body.single-product div.product div.images {
  width: 47%;
}
body.single-product div.product div.summary {
  width: 48%;
  padding: clamp(.4rem, 1vw, 1rem) 0 0;
}

/* Product image presentation */
body.single-product .woocommerce-product-gallery {
  border-radius: 28px;
}
body.single-product .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}
body.single-product .woocommerce-product-gallery__image {
  overflow: hidden;
  border-radius: 26px;
  background: #FFF9F0;
  box-shadow: 0 22px 55px rgba(73,34,12,.10);
}
body.single-product .woocommerce-product-gallery__image a {
  display: block;
}
body.single-product .woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: clamp(.4rem, 1.4vw, 1rem);
  background: #FFF9F0;
}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,249,240,.94);
  box-shadow: 0 8px 24px rgba(73,34,12,.12);
}

/* Product heading and price hierarchy */
body.single-product .product_title {
  margin: 0 0 .8rem;
  max-width: 18ch;
  color: var(--cs-brown);
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}
body.single-product div.product p.price,
body.single-product div.product span.price {
  margin: .65rem 0 1.45rem;
  color: #1D120C;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -.02em;
}

/* Short description */
body.single-product .woocommerce-product-details__short-description {
  max-width: 66ch;
  margin-bottom: 1.75rem;
  color: #2A1D16;
  font-size: clamp(.94rem, .9rem + .16vw, 1.05rem);
  line-height: 1.72;
}
body.single-product .woocommerce-product-details__short-description p {
  margin-top: 0;
  margin-bottom: .75rem;
}

/* Variations: turn default table into an intentional selector panel */
body.single-product form.variations_form {
  margin-top: 1.3rem;
}
body.single-product table.variations {
  width: 100%;
  margin: 0 0 1.25rem;
  border-collapse: separate;
  border-spacing: 0 .65rem;
}
body.single-product table.variations tr {
  display: grid;
  grid-template-columns: minmax(115px, .32fr) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}
body.single-product table.variations th,
body.single-product table.variations td {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}
body.single-product table.variations th.label label {
  color: var(--cs-brown);
  font-size: .95rem;
  font-weight: 700;
}
body.single-product table.variations select {
  width: 100%;
  min-height: 48px;
  padding: .7rem 2.65rem .7rem .9rem;
  border: 1px solid rgba(100,40,0,.24);
  border-radius: 13px;
  background-color: rgba(255,249,240,.88);
  color: #24170F;
  font-family: inherit;
  font-size: .94rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body.single-product table.variations select:focus {
  outline: none;
  border-color: var(--cs-copper);
  background: #FFF9F0;
  box-shadow: 0 0 0 3px rgba(181,93,33,.12);
}
body.single-product .reset_variations {
  display: inline-block;
  margin-top: .45rem;
  color: var(--cs-copper);
  font-size: .8rem;
  font-weight: 600;
}

/* Selected variation information */
body.single-product .single_variation_wrap {
  padding-top: .25rem;
}
body.single-product .woocommerce-variation-price {
  margin: .35rem 0 .8rem;
}
body.single-product .woocommerce-variation-description {
  margin: 0 0 1rem;
  color: rgba(42,29,22,.76);
  font-size: .88rem;
  line-height: 1.6;
}

/* Quantity + CTA */
body.single-product .woocommerce-variation-add-to-cart,
body.single-product form.cart:not(.variations_form) {
  display: flex;
  align-items: stretch;
  gap: .75rem;
  margin-top: 1rem;
}
body.single-product .quantity .qty {
  width: 72px;
  min-height: 52px;
  border: 1px solid rgba(100,40,0,.24);
  border-radius: 13px;
  background: #FFF9F0;
  color: #24170F;
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
}
body.single-product button.single_add_to_cart_button.button,
body.single-product .single_add_to_cart_button {
  min-height: 52px;
  padding: .85rem 1.65rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--cs-brown) !important;
  color: #FFF3DF !important;
  font-family: inherit;
  font-size: .84rem !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(100,40,0,.17);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
body.single-product button.single_add_to_cart_button.button:hover,
body.single-product .single_add_to_cart_button:hover {
  transform: translateY(-1px);
  background: #471C08 !important;
  box-shadow: 0 16px 30px rgba(100,40,0,.23);
}
body.single-product button.single_add_to_cart_button.disabled,
body.single-product button.single_add_to_cart_button:disabled {
  opacity: .48;
  box-shadow: none;
}

/* Product meta */
body.single-product .product_meta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(100,40,0,.15);
  color: rgba(42,29,22,.62);
  font-size: .82rem;
  line-height: 1.7;
}
body.single-product .product_meta a {
  color: var(--cs-brown);
}

/* Tabs and long content */
body.single-product .woocommerce-tabs {
  clear: both;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.3rem, 3vw, 2.25rem);
  border: 1px solid rgba(100,40,0,.10);
  border-radius: 26px;
  background: rgba(255,249,240,.62);
  box-shadow: 0 18px 48px rgba(73,34,12,.05);
}
body.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  border: 0 !important;
}
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}
body.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(100,40,0,.12) !important;
  border-radius: 999px !important;
  background: transparent !important;
}
body.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: .65rem 1rem !important;
  color: rgba(57,31,18,.68) !important;
  font-size: .86rem;
  font-weight: 600 !important;
}
body.single-product .woocommerce-tabs ul.tabs li.active {
  border-color: var(--cs-brown) !important;
  background: var(--cs-brown) !important;
}
body.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #FFF3DF !important;
}
body.single-product .woocommerce-Tabs-panel {
  max-width: 1120px;
  color: #2A1D16;
  font-size: clamp(.94rem, .91rem + .1vw, 1.02rem);
  line-height: 1.75;
}
body.single-product .woocommerce-Tabs-panel--description > h2:first-child {
  display: none;
}
body.single-product .woocommerce-Tabs-panel--description p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
body.single-product .woocommerce-Tabs-panel strong {
  color: #1E120B;
}

/* Related products */
body.single-product section.related.products {
  clear: both;
  margin-top: clamp(3rem, 6vw, 5rem);
}
body.single-product section.related.products > h2 {
  color: var(--cs-brown);
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
}

/* Tablet / small laptop */
@media (max-width: 1000px) {
  body.single-product .woocommerce {
    max-width: min(100% - 2rem, 900px);
  }
  body.single-product div.product div.images,
  body.single-product div.product div.summary {
    float: none;
    width: 100%;
  }
  body.single-product div.product div.images {
    max-width: 620px;
    margin-inline: auto;
  }
  body.single-product div.product div.summary {
    max-width: 760px;
    margin-inline: auto;
    padding-top: .3rem;
  }
  body.single-product .product_title {
    max-width: none;
  }
}

/* Mobile */
@media (max-width: 699px) {
  body.single-product .woocommerce {
    max-width: calc(100% - 1.2rem);
    padding-top: 1rem;
  }
  body.single-product .woocommerce-breadcrumb {
    font-size: .75rem;
    margin-bottom: .9rem;
  }
  body.single-product .woocommerce-product-gallery__image {
    border-radius: 20px;
  }
  body.single-product .woocommerce-product-gallery__image img {
    aspect-ratio: 4 / 5;
    padding: .35rem;
  }
  body.single-product .product_title {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.08;
  }
  body.single-product div.product p.price,
  body.single-product div.product span.price {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }
  body.single-product table.variations {
    border-spacing: 0 .85rem;
  }
  body.single-product table.variations tr {
    grid-template-columns: 1fr;
    gap: .35rem;
  }
  body.single-product table.variations select {
    min-height: 50px;
  }
  body.single-product .woocommerce-variation-add-to-cart,
  body.single-product form.cart:not(.variations_form) {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: .65rem;
  }
  body.single-product .quantity .qty {
    width: 68px;
    min-height: 50px;
  }
  body.single-product button.single_add_to_cart_button.button,
  body.single-product .single_add_to_cart_button {
    width: 100%;
    min-height: 50px;
    padding-inline: 1rem !important;
    font-size: .77rem !important;
  }
  body.single-product .woocommerce-tabs {
    padding: 1.05rem;
    border-radius: 20px;
  }
  body.single-product .woocommerce-tabs ul.tabs {
    gap: .35rem;
  }
  body.single-product .woocommerce-tabs ul.tabs li a {
    padding: .55rem .75rem !important;
    font-size: .78rem;
  }
  body.single-product .woocommerce-Tabs-panel--description p {
    text-align: left;
    hyphens: none;
  }
}

/* =========================
   v0.12: Branded WooCommerce templates
   - theme header/footer on catalog + single product
   - stronger contrast, native Woo gallery behaviour
   - subtle watermark + bee accents
   ========================= */

/* Commerce canvas */
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag,
body.single-product {
  background: #EAD4B0;
}
body.post-type-archive-product .wp-site-blocks,
body.tax-product_cat .wp-site-blocks,
body.tax-product_tag .wp-site-blocks,
body.single-product .wp-site-blocks {
  background: #EAD4B0 !important;
}
.cs-commerce-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(181,93,33,.07), transparent 23%),
    radial-gradient(circle at 90% 20%, rgba(100,40,0,.055), transparent 20%),
    #EAD4B0;
}
.cs-commerce-page::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 70px;
  right: -7vw;
  width: min(760px, 58vw);
  aspect-ratio: 1 / 1;
  background: url('../images/marca-agua-cafe-sublime.webp') center / contain no-repeat;
  opacity: .055;
  pointer-events: none;
}
.cs-commerce-page::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: clamp(150px, 15vw, 235px);
  right: clamp(2rem, 6vw, 7rem);
  width: clamp(38px, 4.2vw, 66px);
  aspect-ratio: 1;
  background: url('../images/abeja-cafe-sublime.png') center / contain no-repeat;
  opacity: .72;
  transform: rotate(-8deg);
  pointer-events: none;
}

/* Shared Woo wrapper: remove the oversized default template breathing room */
.cs-commerce-page .woocommerce {
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

/* ---------- SHOP / PRODUCT CATALOG ---------- */
.cs-shop-hero {
  padding: clamp(3.25rem, 5.5vw, 5.5rem) 1rem clamp(2.2rem, 4vw, 3.6rem);
  background: linear-gradient(115deg, rgba(249,239,222,.92), rgba(232,207,169,.78));
  border-bottom: 1px solid rgba(100,40,0,.13);
}
.cs-shop-hero-inner {
  max-width: min(1320px, calc(100% - 2rem));
  margin-inline: auto;
}
.cs-shop-title {
  margin: .3rem 0 .85rem !important;
  color: var(--cs-brown);
  font-size: clamp(2.2rem, 4.6vw, 4.25rem) !important;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.cs-shop-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(42,29,22,.78);
  font-size: clamp(1rem, .96rem + .2vw, 1.16rem);
  line-height: 1.72;
}
.cs-shop-catalog-shell {
  max-width: min(1320px, calc(100% - 2rem)) !important;
  margin: clamp(2rem, 4vw, 3.6rem) auto clamp(4rem, 7vw, 6rem) !important;
  padding: clamp(1.2rem, 2.7vw, 2.5rem);
  border: 1px solid rgba(100,40,0,.10);
  border-radius: 30px;
  background: #FFF9F0;
  box-shadow: 0 24px 70px rgba(73,34,12,.09);
}
.cs-shop-catalog-shell .woocommerce-breadcrumb {
  margin: 0 0 1rem;
  color: rgba(57,31,18,.56);
  font-size: .78rem;
}
.cs-shop-catalog-shell .woocommerce-products-header {
  display: none;
}
.cs-shop-catalog-shell .woocommerce-result-count {
  margin: .55rem 0 1.3rem;
  color: rgba(42,29,22,.65);
  font-size: .86rem;
}
.cs-shop-catalog-shell .woocommerce-ordering {
  margin: 0 0 1.35rem;
}
.cs-shop-catalog-shell .woocommerce-ordering select {
  min-height: 42px;
  padding: .55rem 2.4rem .55rem .85rem;
  border: 1px solid rgba(100,40,0,.18);
  border-radius: 12px;
  background: #FFFDF8;
  color: #2A1D16;
  font-family: inherit;
}
.cs-shop-catalog-shell ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 320px));
  justify-content: center;
  gap: clamp(1.2rem, 2.6vw, 2rem);
  clear: both;
  margin: 0 !important;
  padding: .5rem 0 0 !important;
}
.cs-shop-catalog-shell ul.products::before,
.cs-shop-catalog-shell ul.products::after {
  display: none !important;
}
.cs-shop-catalog-shell ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: .75rem .75rem 1.15rem !important;
  overflow: hidden;
  border: 1px solid rgba(100,40,0,.09);
  border-radius: 24px;
  background: #FFFDF8;
  box-shadow: 0 14px 36px rgba(73,34,12,.055);
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cs-shop-catalog-shell ul.products li.product:hover {
  transform: translateY(-3px);
  border-color: rgba(181,93,33,.22);
  box-shadow: 0 20px 44px rgba(73,34,12,.11);
}
.cs-shop-catalog-shell ul.products li.product a img {
  width: 100% !important;
  height: auto !important;
  margin: 0 0 1rem !important;
  border-radius: 18px;
  background: #F8EBD7;
}
.cs-shop-catalog-shell ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.8em;
  margin: 0 .35rem .5rem;
  padding: 0 !important;
  color: var(--cs-brown);
  font-size: 1.05rem !important;
  line-height: 1.35;
}
.cs-shop-catalog-shell ul.products li.product .price {
  display: block;
  margin: 0 .35rem .9rem;
  color: #2B1B12 !important;
  font-size: 1rem !important;
  font-weight: 600;
}
.cs-shop-catalog-shell ul.products li.product .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0 .35rem .15rem !important;
  padding: .7rem 1.15rem !important;
  border-radius: 999px !important;
  background: var(--cs-brown) !important;
  color: #FFF4E3 !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.cs-shop-catalog-shell ul.products li.product .button:hover {
  background: #461B08 !important;
}

/* ---------- SINGLE PRODUCT ---------- */
.cs-single-product-page {
  padding: clamp(1.4rem, 2.6vw, 2.4rem) 0 clamp(4rem, 7vw, 6rem);
}
.cs-single-product-shell {
  max-width: min(1320px, calc(100% - 2rem)) !important;
  margin-inline: auto !important;
}
.cs-single-product-page .woocommerce-breadcrumb {
  margin: 0 0 1rem !important;
  color: rgba(57,31,18,.56);
  font-size: .79rem;
}
.cs-single-product-page .woocommerce-breadcrumb a {
  color: var(--cs-brown);
}

/* Grid only for the commercial top area; Woo tabs/related span full width. */
.cs-single-product-page div.product {
  display: grid !important;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.4rem, 3.5vw, 3.25rem);
  align-items: start;
  clear: both;
}
.cs-single-product-page div.product::before,
.cs-single-product-page div.product::after {
  display: none !important;
}
.cs-single-product-page div.product div.images,
.cs-single-product-page div.product div.summary {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
.cs-single-product-page div.product div.images {
  grid-column: 1;
  padding: clamp(.6rem, 1.2vw, .9rem);
  border: 1px solid rgba(100,40,0,.09);
  border-radius: 28px;
  background: #FFF9F0;
  box-shadow: 0 20px 55px rgba(73,34,12,.08);
}
.cs-single-product-page div.product div.summary {
  grid-column: 2;
  padding: clamp(1.35rem, 2.8vw, 2.35rem) !important;
  border: 1px solid rgba(100,40,0,.10);
  border-radius: 28px;
  background: #FFFDF8;
  box-shadow: 0 20px 55px rgba(73,34,12,.075);
}

/* Restore WooCommerce's native gallery proportions and interaction. */
.cs-single-product-page .woocommerce-product-gallery {
  margin: 0 !important;
  border-radius: 22px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.cs-single-product-page .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}
.cs-single-product-page .woocommerce-product-gallery__image {
  overflow: hidden;
  border-radius: 20px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.cs-single-product-page .woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: initial !important;
  padding: 0 !important;
  background: transparent !important;
}
.cs-single-product-page .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
  margin: .75rem 0 0 !important;
  padding: 0 !important;
}
.cs-single-product-page .flex-control-thumbs li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
.cs-single-product-page .flex-control-thumbs img {
  border-radius: 10px;
}

/* Product information hierarchy */
.cs-single-product-page .product_title {
  max-width: none !important;
  margin: 0 0 .7rem !important;
  color: var(--cs-brown);
  font-size: clamp(2rem, 3.1vw, 3.2rem) !important;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.cs-single-product-page div.product p.price,
.cs-single-product-page div.product span.price {
  margin: .35rem 0 1.25rem !important;
  color: #8A3D0D !important;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem) !important;
  font-weight: 600;
}
.cs-single-product-page .woocommerce-product-details__short-description {
  max-width: 62ch;
  margin-bottom: 1.45rem;
  color: rgba(42,29,22,.82);
  line-height: 1.68;
}

/* Variations */
.cs-single-product-page table.variations {
  margin-bottom: 1rem !important;
}
.cs-single-product-page table.variations tr {
  grid-template-columns: minmax(115px, .34fr) minmax(0, 1fr) !important;
}
.cs-single-product-page table.variations select {
  background: #FFF7EA !important;
  border-color: rgba(100,40,0,.20) !important;
}
.cs-single-product-page button.single_add_to_cart_button.button,
.cs-single-product-page .single_add_to_cart_button {
  background: var(--cs-brown) !important;
  color: #FFF4E3 !important;
}

/* Meta intentionally quiet. */
.cs-single-product-page .product_meta {
  margin-top: 1.15rem !important;
  padding-top: .9rem !important;
  color: rgba(42,29,22,.52) !important;
  font-size: .76rem !important;
}

/* Lower information panels */
.cs-single-product-page .woocommerce-tabs,
.cs-single-product-page section.related.products,
.cs-single-product-page section.up-sells.products {
  grid-column: 1 / -1;
}
.cs-single-product-page .woocommerce-tabs {
  margin-top: clamp(.25rem, 1vw, 1rem) !important;
  padding: clamp(1.35rem, 3vw, 2.4rem) !important;
  border-radius: 28px !important;
  background: #FFF9F0 !important;
  box-shadow: 0 20px 55px rgba(73,34,12,.065) !important;
}
.cs-single-product-page .woocommerce-Tabs-panel {
  max-width: 1040px !important;
}
.cs-single-product-page section.related.products,
.cs-single-product-page section.up-sells.products {
  margin-top: clamp(2.5rem, 5vw, 4.25rem) !important;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 28px;
  background: rgba(255,249,240,.72);
}
.cs-single-product-page section.related.products ul.products,
.cs-single-product-page section.up-sells.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 300px));
  justify-content: center;
  gap: 1.25rem;
}

/* Responsive commerce layout */
@media (max-width: 1000px) {
  .cs-commerce-page::before {
    width: 72vw;
    right: -20vw;
  }
  .cs-commerce-page::after {
    top: 135px;
    right: 1.4rem;
    width: 46px;
  }
  .cs-single-product-page div.product {
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
  }
  .cs-single-product-page div.product div.images,
  .cs-single-product-page div.product div.summary,
  .cs-single-product-page .woocommerce-tabs,
  .cs-single-product-page section.related.products,
  .cs-single-product-page section.up-sells.products {
    grid-column: 1 !important;
  }
  .cs-single-product-page div.product div.images {
    max-width: 680px;
    margin-inline: auto !important;
  }
  .cs-single-product-page div.product div.summary {
    width: 100% !important;
    max-width: 760px;
    margin-inline: auto !important;
  }
}

@media (max-width: 699px) {
  .cs-commerce-page::before {
    top: 55px;
    width: 100vw;
    right: -45vw;
    opacity: .035;
  }
  .cs-commerce-page::after {
    top: 105px;
    right: .9rem;
    width: 34px;
    opacity: .55;
  }
  .cs-shop-hero {
    padding: 2.5rem .65rem 2rem;
  }
  .cs-shop-hero-inner,
  .cs-shop-catalog-shell,
  .cs-single-product-shell {
    max-width: calc(100% - 1rem) !important;
  }
  .cs-shop-catalog-shell {
    margin-top: 1.2rem !important;
    padding: .85rem;
    border-radius: 22px;
  }
  .cs-shop-catalog-shell .woocommerce-ordering,
  .cs-shop-catalog-shell .woocommerce-result-count {
    float: none !important;
    width: 100%;
  }
  .cs-shop-catalog-shell .woocommerce-ordering select {
    width: 100%;
  }
  .cs-shop-catalog-shell ul.products {
    grid-template-columns: 1fr;
  }
  .cs-single-product-page {
    padding-top: .85rem;
  }
  .cs-single-product-page div.product div.images {
    padding: .45rem;
    border-radius: 22px;
  }
  .cs-single-product-page div.product div.summary {
    padding: 1.15rem !important;
    border-radius: 22px;
  }
  .cs-single-product-page .product_title {
    font-size: clamp(1.75rem, 8vw, 2.35rem) !important;
  }
  .cs-single-product-page table.variations tr {
    grid-template-columns: 1fr !important;
  }
  .cs-single-product-page .woocommerce-tabs {
    padding: 1rem !important;
    border-radius: 22px !important;
  }
}

/* =========================
   v0.13: WooCommerce secondary archive templates
   - product search results
   - products by attribute/category/tag
   ========================= */
body.search-results.post-type-archive-product,
body[class*="tax-pa_"],
body.tax-product_cat,
body.tax-product_tag {
  background: #EAD4B0;
}
body.search-results.post-type-archive-product .wp-site-blocks,
body[class*="tax-pa_"] .wp-site-blocks,
body.tax-product_cat .wp-site-blocks,
body.tax-product_tag .wp-site-blocks {
  background: #EAD4B0 !important;
}
.cs-product-search-page .woocommerce-info,
.cs-shop-catalog-shell .woocommerce-info {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(100,40,0,.12);
  border-radius: 16px;
  background: #FFF7EA;
  color: #2A1D16;
}
.cs-product-search-page form.woocommerce-product-search,
.cs-shop-catalog-shell form.woocommerce-product-search {
  display: flex;
  gap: .65rem;
  max-width: 620px;
  margin: 1rem 0 0;
}
.cs-product-search-page .search-field,
.cs-shop-catalog-shell .search-field {
  min-height: 46px;
  flex: 1;
  padding: .7rem .9rem;
  border: 1px solid rgba(100,40,0,.18);
  border-radius: 14px;
  background: #FFFDF8;
  color: #2A1D16;
  font-family: inherit;
}
.cs-product-search-page button[type="submit"],
.cs-shop-catalog-shell form.woocommerce-product-search button {
  min-height: 46px;
  padding: .7rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--cs-brown);
  color: #FFF4E3;
  font-family: inherit;
  font-weight: 700;
}
@media (max-width: 699px) {
  .cs-product-search-page form.woocommerce-product-search,
  .cs-shop-catalog-shell form.woocommerce-product-search {
    flex-direction: column;
  }
}

/* =========================
   v0.14: cart, checkout, order confirmation, 404, coming soon
   ========================= */

/* Shared commerce-flow pages */
.cs-flow-page,
.cs-utility-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #E9D4B3;
  color: #2A1D16;
}
.cs-flow-page::before,
.cs-utility-page::before {
  content: "";
  position: absolute;
  width: min(62vw, 820px);
  aspect-ratio: 1.45 / 1;
  top: 90px;
  right: -13vw;
  background: url('../images/marca-agua-cafe-sublime.webp') center / contain no-repeat;
  opacity: .035;
  z-index: -2;
  pointer-events: none;
}
.cs-flow-page::after,
.cs-utility-page::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  top: 155px;
  right: 7vw;
  background: url('../images/abeja-cafe-sublime.png') center / contain no-repeat;
  opacity: .6;
  z-index: -1;
  pointer-events: none;
}
.cs-flow-hero {
  padding: clamp(2.5rem, 5vw, 4.75rem) 1rem clamp(1.4rem, 3vw, 2.4rem);
}
.cs-flow-hero-inner,
.cs-confirmation-hero-inner {
  max-width: 1180px !important;
  margin-inline: auto !important;
}
.cs-flow-title {
  max-width: 850px;
  margin: .25rem 0 .85rem !important;
  color: var(--cs-brown);
  font-size: clamp(2rem, 4vw, 4rem) !important;
  line-height: 1.03;
  letter-spacing: -.035em;
}
.cs-flow-lead {
  max-width: 760px;
  margin: 0 !important;
  color: rgba(42,29,22,.76);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.68;
}
.cs-flow-shell {
  max-width: min(1320px, calc(100% - 2rem)) !important;
  margin: 0 auto clamp(3rem, 7vw, 6rem) !important;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid rgba(100,40,0,.11);
  border-radius: 30px;
  background: #FFF9F0;
  box-shadow: 0 26px 70px rgba(73,34,12,.09);
}
.cs-flow-shell input,
.cs-flow-shell select,
.cs-flow-shell textarea {
  border-radius: 12px !important;
  border-color: rgba(100,40,0,.16) !important;
  background: #FFFDF9 !important;
  color: #2A1D16 !important;
}
.cs-flow-shell button,
.cs-flow-shell .wp-element-button,
.cs-flow-shell .wc-block-components-button {
  border-radius: 999px !important;
}
.cs-flow-shell .wc-block-components-button:not(.is-link) {
  background: var(--cs-brown) !important;
  color: #FFF4E3 !important;
  border-color: var(--cs-brown) !important;
}
.cs-flow-shell .wc-block-components-button:not(.is-link):hover {
  background: #4D1F08 !important;
}

/* Cart: keep the block functional, improve the container rhythm. */
.cs-cart-shell {
  background: linear-gradient(145deg, #FFF9F0 0%, #FFFDF8 100%);
}
.cs-cart-shell .wp-block-post-content {
  margin-block-start: 0 !important;
}

/* Checkout: stronger contrast around the transactional surface. */
.cs-checkout-shell {
  background: #FFFDF8;
}
.cs-checkout-page .cs-flow-hero {
  padding-bottom: 1.6rem;
}

/* Confirmation */
.cs-confirmation-hero {
  padding: clamp(2.6rem, 5vw, 4.5rem) 1rem 1.7rem;
}
.cs-confirmation-mark {
  width: 62px;
  height: 62px;
  margin-bottom: 1.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #126B3A;
  color: #FFF8ED;
  font-size: 1.7rem;
  font-weight: 700;
  box-shadow: 0 15px 32px rgba(18,107,58,.18);
}
.cs-confirmation-shell .woocommerce {
  color: #2A1D16;
}
.cs-confirmation-shell .woocommerce-order-overview,
.cs-confirmation-shell .woocommerce-order-details,
.cs-confirmation-shell .woocommerce-customer-details {
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid rgba(100,40,0,.10);
  border-radius: 18px;
  background: #FFFDF9;
}
.cs-confirmation-shell table {
  background: #FFFDF9;
}
.cs-after-order {
  max-width: min(1000px, calc(100% - 2rem)) !important;
  margin: -2rem auto clamp(3rem, 6vw, 5rem) !important;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-radius: 28px;
  background: #2B1309;
  color: #FFF0D8;
  box-shadow: 0 24px 70px rgba(43,19,9,.16);
}
.cs-after-order h2,
.cs-after-order p { color: inherit; }
.cs-after-order .wp-block-button.is-style-outline .wp-block-button__link {
  color: #FFF0D8 !important;
  border-color: rgba(255,240,216,.46) !important;
}

/* Branded utility cards */
.cs-utility-page {
  min-height: 68vh;
  padding: clamp(3rem, 7vw, 7rem) 1rem;
  display: grid;
  align-items: center;
}
.cs-utility-card {
  position: relative;
  max-width: min(1120px, calc(100% - 1rem)) !important;
  margin: 0 auto !important;
  padding: clamp(2rem, 5vw, 5rem) !important;
  border: 1px solid rgba(100,40,0,.12);
  border-radius: 34px;
  background: rgba(255,250,242,.94);
  box-shadow: 0 28px 80px rgba(73,34,12,.11);
  overflow: hidden;
}
.cs-404-card::after {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -20%;
  width: min(44%, 430px);
  aspect-ratio: 1 / 1.25;
  background: url('../images/producto-sin-fondo.png') center bottom / contain no-repeat;
  opacity: .12;
  pointer-events: none;
}
.cs-utility-code {
  margin: 0 0 -.15rem !important;
  color: rgba(100,40,0,.16);
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.06em;
}
.cs-utility-title {
  max-width: 780px;
  margin: .25rem 0 1rem !important;
  color: var(--cs-brown);
  font-size: clamp(2.2rem, 5vw, 5rem) !important;
  line-height: 1;
  letter-spacing: -.045em;
}
.cs-utility-copy {
  max-width: 670px;
  color: rgba(42,29,22,.76);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}
.cs-utility-actions {
  margin-top: 1.5rem;
  gap: .7rem;
}
.cs-utility-actions .wp-block-button__link {
  padding: .92rem 1.35rem !important;
  border-radius: 999px !important;
}

/* Coming soon */
.cs-coming-page {
  min-height: 72vh;
}
.cs-coming-shell {
  position: relative;
  max-width: min(1260px, calc(100% - 1rem)) !important;
  min-height: 560px;
  margin: 0 auto !important;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  border-radius: 36px;
  overflow: hidden;
  background: #FFF9F0;
  box-shadow: 0 30px 90px rgba(73,34,12,.13);
}
.cs-coming-copy {
  align-self: center;
  padding: clamp(2rem, 5vw, 5rem) !important;
  z-index: 2;
}
.cs-coming-location {
  margin-top: 1.3rem;
  color: var(--cs-copper);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cs-coming-visual {
  position: relative;
  min-height: 100%;
  background:
    linear-gradient(90deg, rgba(43,19,9,.10), rgba(43,19,9,.02)),
    url('../images/hero-producto.webp') center / cover no-repeat;
}
.cs-coming-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FFF9F0 0%, rgba(255,249,240,.1) 22%, transparent 55%);
}
.cs-coming-bee {
  position: absolute;
  width: 62px;
  height: 62px;
  top: 13%;
  right: 9%;
  background: url('../images/abeja-cafe-sublime.png') center / contain no-repeat;
  z-index: 2;
  filter: drop-shadow(0 8px 18px rgba(43,19,9,.14));
}

@media (max-width: 900px) {
  .cs-flow-page::after,
  .cs-utility-page::after { width: 42px; height: 42px; right: 4vw; }
  .cs-coming-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .cs-coming-visual {
    min-height: 420px;
    order: -1;
  }
  .cs-coming-visual::after {
    background: linear-gradient(0deg, #FFF9F0 0%, rgba(255,249,240,.08) 30%, transparent 58%);
  }
}

@media (max-width: 699px) {
  .cs-flow-page::before,
  .cs-utility-page::before {
    width: 115vw;
    right: -56vw;
    top: 80px;
    opacity: .026;
  }
  .cs-flow-page::after,
  .cs-utility-page::after {
    top: 118px;
    width: 32px;
    height: 32px;
    opacity: .52;
  }
  .cs-flow-hero,
  .cs-confirmation-hero {
    padding-top: 2.2rem;
  }
  .cs-flow-title,
  .cs-utility-title {
    font-size: clamp(2rem, 9vw, 3.1rem) !important;
  }
  .cs-flow-shell {
    max-width: calc(100% - 1rem) !important;
    padding: .75rem;
    border-radius: 22px;
  }
  .cs-confirmation-mark {
    width: 52px;
    height: 52px;
  }
  .cs-after-order {
    max-width: calc(100% - 1rem) !important;
    margin-top: -1.8rem !important;
    border-radius: 22px;
  }
  .cs-utility-page {
    padding: 2rem .5rem;
  }
  .cs-utility-card {
    max-width: 100% !important;
    padding: 1.5rem !important;
    border-radius: 24px;
  }
  .cs-404-card::after {
    width: 55%;
    right: -20%;
    opacity: .07;
  }
  .cs-utility-code {
    font-size: clamp(4.5rem, 24vw, 7rem);
  }
  .cs-utility-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cs-utility-actions .wp-block-button,
  .cs-utility-actions .wp-block-button__link {
    width: 100%;
  }
  .cs-coming-shell {
    max-width: 100% !important;
    border-radius: 24px;
  }
  .cs-coming-copy {
    padding: 1.5rem !important;
  }
  .cs-coming-visual {
    min-height: 300px;
  }
  .cs-coming-bee {
    width: 42px;
    height: 42px;
  }
}
