:root {
  --bg: #ffffff;
  --surface: #f6f4ef;
  --surface-2: #faf8f4;
  --text: #171717;
  --muted: #666666;
  --border: #e7e1d8;
  --primary: #cb8f2f;
  --primary-dark: #a66f17;
  --accent: #1f8f4d;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --radius: 18px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 82px;
}
.site-title { font-size: 1.7rem; font-weight: 800; }
.primary-menu {
  display: flex; list-style: none; gap: 28px; padding: 0; margin: 0;
  justify-content: center; align-items: center;
}
.primary-menu a { font-weight: 600; color: #2b2b2b; }
.header-actions {
  display: flex; gap: 12px; align-items: center;
}
.search-form { display: flex; gap: 8px; align-items: center; }
.search-field {
  width: 220px; min-height: 46px; border-radius: 999px; border: 1px solid var(--border);
  padding: 0 16px; background: #fff;
}
.search-submit,
.button {
  min-height: 46px; border-radius: 999px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 20px; font-weight: 700; transition: .2s ease;
}
.search-submit { background: var(--text); color: #fff; }
.button-primary, .whatsapp-button { background: var(--primary); color: #fff; }
.button-primary:hover, .whatsapp-button:hover { background: var(--primary-dark); }
.button-secondary { background: #fff; border: 1px solid var(--border); color: var(--text); }
.button-whatsapp { background: var(--accent); color: #fff; }
.button-outline { background: transparent; border: 1px solid var(--border); }
.button-small { min-height: 40px; font-size: .95rem; padding: 0 16px; }
.menu-toggle {
  display: none; background: transparent; border: 0; padding: 0; width: 44px; height: 44px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text); margin: 5px auto;
}

.hero-section {
  padding: 38px 0 20px;
  background: linear-gradient(180deg, var(--surface), #fff);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch;
}
.hero-copy, .hero-cards { background: rgba(255,255,255,.6); border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); }
.hero-copy { padding: 40px; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .9rem; letter-spacing: .03em;
  text-transform: uppercase; color: var(--primary-dark); margin-bottom: 10px;
}
.hero-copy h1 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; margin: 0 0 14px; }
.hero-copy p { font-size: 1.08rem; color: var(--muted); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-cards {
  padding: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.hero-card {
  min-height: 140px; border-radius: 20px; padding: 18px;
  background: linear-gradient(135deg, #fff, var(--surface)); border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-card-large { min-height: 220px; grid-column: span 2; }
.hero-card strong { font-size: 1.1rem; }
.hero-card span { color: var(--muted); margin-top: 8px; }

.benefits-section { padding: 18px 0 0; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.benefit-item {
  padding: 16px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2);
  text-align: center; font-weight: 700;
}

.page-section { padding: 38px 0; }
.section-alt { background: linear-gradient(180deg, #fff, var(--surface-2)); }
.section-heading { margin-bottom: 22px; }
.section-heading h2, .section-heading h1 { font-size: clamp(1.8rem, 2.5vw, 2.8rem); margin: 0 0 8px; }
.section-heading p { color: var(--muted); margin: 0; }
.archive-head {
  display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap;
}

.category-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.category-card {
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow);
}
.category-card strong { display: block; padding: 16px; font-size: 1.06rem; }
.category-card-image {
  aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 20px; text-align: center;
  font-weight: 800; font-size: 1.2rem; color: #3c3c3c;
  background: linear-gradient(135deg, #f4efe7, #fbf8f2);
}

.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.product-card, .catalog-item {
  background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
}
.product-thumb-link { position: relative; display: block; }
.product-thumb-link img,
.catalog-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-card-content { padding: 16px; }
.product-title { font-size: 1.05rem; margin: 0 0 8px; }
.product-price, .single-price, .catalog-price {
  color: var(--primary); font-size: 1.6rem; font-weight: 900; margin-bottom: 12px;
}
.product-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(23,23,23,.9); color: #fff; padding: 6px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700;
}
.placeholder-thumb {
  aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 24px; text-align: center;
  background: linear-gradient(135deg, #f6f2ea, #fff); color: #666; font-weight: 700;
}
.placeholder-thumb.large { min-height: 520px; aspect-ratio: auto; }

.cta-band { padding: 20px 0 42px; }
.cta-band-inner {
  background: linear-gradient(135deg, #171717, #2a2a2a); color: #fff; border-radius: 28px; padding: 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2vw, 2.3rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); }

.breadcrumbs {
  margin-bottom: 18px; color: var(--muted); font-size: .95rem; display: flex; gap: 8px; flex-wrap: wrap;
}
.catalog-grid-visual {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.catalog-item-link { position: relative; display: block; overflow: hidden; }
.catalog-overlay {
  position: absolute; inset: auto 0 0 0; padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82)); color: #fff;
}
.catalog-overlay h2 { margin: 0 0 6px; font-size: 1.05rem; }
.catalog-overlay .catalog-price { color: #fff; font-size: 1.3rem; margin: 0; }

.single-product {
  display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start;
}
.single-gallery img {
  width: 100%; border-radius: 28px; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.single-summary {
  position: sticky; top: 110px; padding: 8px 0;
}
.single-summary h1 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.1; margin: 0 0 12px; }
.single-highlight { color: var(--muted); font-size: 1.05rem; }
.product-meta-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.product-meta-list li {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px;
}
.single-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.single-description {
  margin-top: 34px; border-top: 1px solid var(--border); padding-top: 28px;
}
.entry-content { color: #2d2d2d; }

.basic-content h1 { font-size: clamp(2rem, 3vw, 3rem); }
.site-footer {
  background: #171717; color: #fff; margin-top: 30px;
}
.footer-grid {
  padding: 42px 0 24px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0 24px; color: rgba(255,255,255,.7); }
.footer-whatsapp { color: #fff; font-weight: 700; }
.floating-whatsapp {
  position: fixed; right: 16px; bottom: 16px; z-index: 99;
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 28px rgba(31,143,77,.35); font-weight: 800;
}
.floating-whatsapp span { font-size: .75rem; text-align: center; line-height: 1.1; }

.pagination,
.nav-links { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers {
  min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 999px; background: #fff;
}
.page-numbers.current { background: var(--text); color: #fff; }

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: auto auto; }
  .site-navigation {
    order: 3; grid-column: 1 / -1; display: none;
    padding: 14px 0 4px;
  }
  .site-navigation.is-open { display: block; }
  .primary-menu { flex-direction: column; align-items: flex-start; gap: 14px; }
  .menu-toggle { display: inline-block; justify-self: end; }
  .header-actions { justify-self: end; }
  .search-form { display: none; }
  .hero-grid, .single-product { grid-template-columns: 1fr; }
  .single-summary { position: static; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid, .product-grid, .catalog-grid-visual { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  .container { width: min(var(--container), calc(100% - 20px)); }
  .site-header { position: sticky; }
  .header-inner {
    min-height: 72px; gap: 10px; grid-template-columns: auto auto auto;
  }
  .site-branding img { max-height: 42px; width: auto; }
  .header-actions { display: none; }
  .hero-section { padding-top: 16px; }
  .hero-copy { padding: 24px; }
  .hero-cards { grid-template-columns: 1fr 1fr; padding: 12px; }
  .hero-card-large { grid-column: span 2; min-height: 160px; }
  .benefits-grid,
  .category-grid,
  .product-grid,
  .catalog-grid-visual,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { padding: 24px; }
  .single-actions .button { width: 100%; }
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: 2rem; }
  .benefits-grid,
  .category-grid,
  .product-grid,
  .catalog-grid-visual,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cards { grid-template-columns: 1fr; }
  .hero-card-large { grid-column: span 1; }
  .page-section { padding: 28px 0; }
  .floating-whatsapp { width: 58px; height: 58px; }
}
