/* Guaviare Tech: navegación, legibilidad y portada compacta. */
:root { --muted: #5b655f; --accent: #16783b; --accent-dark: #105a2c; --line: #e0e7e1; }
body { background: #f7f9f7; }
.wrap { width: min(1240px, calc(100% - 48px)); }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; background: #fff; color: #105a2c; padding: 14px; border: 2px solid; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.announcement .announcement-content { padding-block: 6px; }
.announcement-copy { flex-direction: row; align-items: center; gap: 14px; }
.announcement-copy small { font-size: 11px; }
.announcement .social-links-top .social-link { min-height: 32px; padding: 5px 9px; }
.header-band::before { background-image: url('assets/optimized/pictogramas-guaviare.webp'); opacity: .09; }
.header-main { min-height: 94px; gap: 28px; }
.official-logo { width: 236px; }
.search { height: 48px; max-width: none; }
.search input { font-size: 15px; }
.header-actions { gap: 16px; background: transparent; padding: 0; }
.header-action { min-height: 44px; }
.nav { min-height: 55px; gap: 32px; overflow: visible; font-size: 14px; }
.nav a, .category-trigger { min-height: 48px; display: inline-flex; align-items: center; }
.nav>a { padding-block: 12px; }
.category-trigger { gap: 9px; padding-right: 28px; }
.nav-location { color: #627167; font-size: 12px; margin-left: auto; }
.category-menu { left: max(24px, calc((100% - 1240px) / 2)); width: min(290px, calc(100% - 32px)); margin: 0; }
.category-menu button { font-size: 15px; min-height: 46px; }
.promo-carousel { display: grid; grid-template-columns: .85fr 1.45fr; margin-top: 24px; background: #fff; box-shadow: none; border: 1px solid var(--line); }
.promo-copy { grid-row: auto; display: flex; flex-direction: column; justify-content: center; padding: 28px 32px; background: #edf5ec; }
.promo-copy .eyebrow { font-size: 10px; line-height: 1.6; letter-spacing: 1.2px; }
.promo-copy h1 { font-size: clamp(29px, 3vw, 42px); letter-spacing: -1.4px; line-height: 1.12; margin: 13px 0; }
.promo-copy p { font-size: 14px; line-height: 1.7; color: #4e6355; margin: 0; max-width: 340px; }
.promo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 23px; }
.promo-actions .button { font-size: 14px; padding: 13px 17px; }
.promo-actions .text-link { color: #176b37; font-size: 14px; }
.promo-slides { min-width: 0; align-self: center; background: #fff; }
.promo-slide img { max-height: 320px; width: 100%; height: auto; object-fit: contain; }
.promo-controls { display: none; gap: 8px; padding: 10px 14px; align-self: end; border-top: 1px solid #edf0ec; }
.promo-paging { gap: 5px; }
.promo-paging button { width: 34px; }
.promo-paging button, .promo-tabs button, #promo-toggle { min-height: 36px; }
.promo-tabs { gap: 4px; }
.promo-tabs button, #promo-toggle { font-size: 11px; padding: 7px 8px; }
.promo-paging span { font-size: 11px; min-width: 28px; }
.categories-section, .catalog-section, .brands { background: transparent; border: 0; border-radius: 0; padding-inline: 0; }
.categories-section { padding-block: 30px 32px; }
.section-top { margin-bottom: 20px; }
.section-top h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.6px; }
.eyebrow { color: #526859; }
.categories { gap: 12px; grid-template-columns: repeat(5, minmax(0,1fr)); }
.category-card { background: #fff; border: 1px solid var(--line); padding: 12px 8px; }
.category-card img { width: 85px; height: 58px; mix-blend-mode: normal; }
.category-card strong { font-size: 14px; margin-top: 10px; }
.category-card small { display: none; }
.catalog-section { padding-top: 4px; }
.catalog-tools { background: #fff; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.filter-pills { gap: 7px; flex-wrap: wrap; }
.filter-pills button { font-size: 13px; min-height: 40px; }
.sort-label { font-size: 13px; }
.catalog-meta { color: #58675d; }
.product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.product-card { border-radius: 14px; border-color: #e1e8e2; }
.product-card:hover { box-shadow: 0 8px 24px #1538230b; transform: translateY(-2px); }
.product-top { padding: 20px 16px 0; }
.product-image-button { padding: 8px; min-height: 204px; }
.product-card img { height: 188px; }
.product-card .bundle-images { min-height: 188px; gap: 4px; }
.product-card .bundle-images img { height: 174px; }
.discount { font-size: 11px; top: 12px; left: 12px; }
.product-body { padding: 16px 20px 20px; }
.product-brand { font-size: 11px; color: #637068; }
.product-name { font-size: 17px; line-height: 1.4; min-height: 48px; margin: 8px 0; }
.product-spec { font-size: 14px; line-height: 1.55; min-height: 44px; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-purchase { margin-top: auto; }
.quote-note { font-size: 12px; line-height: 1.5; color: #637068; margin: 0 0 12px; }
.add-button { min-height: 46px; width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; border-radius: 8px; font-size: 13px; font-weight: 650; line-height: 1.4; padding: 11px 10px; text-align: center; }
.quote-button { background: #edf5ee; color: #155d30; border: 1px solid #c8dfcf; }
.quote-button:hover { background: #dceee0; border-color: #7aaf89; }
.quote-button .icon { width: 18px; height: 18px; }
.buy-button { background: #16783b; color: #fff; border: 1px solid #16783b; }
.buy-button:hover { background: #105a2c; }
.product-stock { font-size: 12px; color: #596c60; margin-bottom: 7px; }
.product-price { margin: 0 0 12px; }
.product-price strong { font-size: 24px; }
.product-price .price-spacer { display: none; }
.product-price small { font-size: 11px; }
.product-detail .price-pending small { display: block; margin: 8px 0 0; font-size: 14px; }
.catalog-more { text-align: center; margin-top: 30px; padding: 24px; background: #edf4ed; border-radius: 12px; }
.catalog-more p { margin: 0 0 15px; color: #4e6355; font-size: 15px; }
.catalog-disclaimer { color: #667368; font-size: 12px; line-height: 1.6; }
.brands { padding-block: 26px; border-top: 1px solid var(--line); }
footer { background: #eef3ed; }
.footer-main p { color: #536357; }
.whatsapp-float { bottom: 18px; right: 18px; }
@media (max-width:1100px) {
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
  .header-action>span:nth-child(2) { display: none; }
  .promo-copy { padding: 24px; }
  .promo-copy h1 { font-size: 33px; }
  .promo-actions { gap: 12px; margin-top: 16px; }
  .promo-actions .button { font-size: 13px; padding: 12px; }
  .promo-controls { justify-content: center; }
  .promo-tabs { order: 3; width: 100%; justify-content: center; }
  .product-body { padding: 14px 16px 18px; }
}
@media (max-width:800px) {
  .wrap { width: calc(100% - 32px); }
  .announcement-copy>span { display: none; }
  .announcement .social-label { display: none; }
  .announcement .social-links-top { width: auto; display: flex; flex-wrap: nowrap; }
  .announcement .social-links-top .social-link { justify-content: center; width: 32px; height: 32px; padding: 0; }
  .announcement .announcement-content { flex-direction: row; gap: 8px; }
  .nav-location { display: none; }
  .nav { justify-content: space-between; gap: 12px; }
  .category-trigger { padding-right: 18px; }
  .promo-copy { padding: 20px; }
  .promo-copy h1 { font-size: 29px; }
  .promo-copy p { font-size: 13px; }
  .categories { gap: 8px; }
  .category-card strong { font-size: 12px; }
  .category-card img { width: 68px; height: 50px; }
  .category-menu { left: 16px; }
}
@media (max-width:740px) {
  .header-main { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding-block: 16px; }
  .search { grid-row: 2; grid-column: 1 / -1; height: 46px; width: 100%; }
  .official-logo { width: 205px; }
  .header-actions { gap: 18px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .section-top h2 { font-size: 25px; }
}
@media (max-width:680px) {
  .promo-carousel { grid-template-columns: 1fr; margin-top: 16px; }
  .promo-copy { grid-row: auto; padding: 24px; }
  .promo-copy h1 { font-size: 32px; margin: 9px 0; }
  .promo-copy h1 br { display: none; }
  .promo-copy p { font-size: 14px; max-width: none; }
  .promo-copy p br { display: none; }
  .promo-actions { margin-top: 17px; gap: 22px; }
  .promo-actions .button { font-size: 14px; padding: 12px 16px; }
  .promo-slide img { max-height: 230px; }
  .promo-controls { flex-wrap: nowrap; justify-content: space-between; padding: 9px 12px; }
  .promo-tabs { order: initial; width: auto; gap: 5px; }
  .promo-tabs button { width: 10px; min-height: 10px; height: 10px; padding: 0; border-radius: 50%; font-size: 0; background: #d8e2d8; }
  .promo-tabs [aria-current=true] { background: #176b37; }
  .promo-tabs button::after { content: ''; display: block; width: 24px; height: 32px; position: relative; top: -11px; left: -7px; }
  .categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-card { flex-direction: row; text-align: left; justify-content: flex-start; gap: 10px; padding: 12px; }
  .category-card strong { font-size: 13px; margin: 0; }
  .category-card img { width: 48px; height: 42px; flex-shrink: 0; }
  .category-card:last-child { grid-column: 1 / -1; justify-content: center; }
  .categories-section { padding-block: 27px; }
  .section-top { gap: 12px; flex-wrap: wrap; }
  .section-top h2 { margin-top: 8px; }
  .text-link { font-size: 14px; }
  .catalog-tools { padding: 12px; }
  .catalog-section .section-top { align-items: flex-start; }
  .product-card .bundle-images img { height: 150px; }
  .product-card .bundle-images { min-height: 164px; }
  .product-image-button { min-height: 180px; }
  .product-card img { height: 164px; }
  .product-spec { font-size: 13px; }
  .product-name { font-size: 16px; }
  .product-detail .product-price small { display: block; }
}
@media (max-width:519px) {
  .nav { gap: 6px; font-size: 12px; min-height: 50px; }
  .category-trigger { padding: 8px 10px 8px 0; gap: 6px; font-size: 12px; }
  .category-trigger .icon { width: 17px; }
  .category-trigger > span:last-child, .offers-link .icon { display: none; }
  .nav .active { padding-block: 12px; }
  .announcement-copy small { font-size: 10px; }
  .announcement .social-links-top { gap: 4px; }
  .product-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .product-top { padding: 20px 24px 0; }
  .product-image-button { min-height: 210px; }
  .product-card img { height: 194px; }
  .product-card .bundle-images img { height: 180px; }
  .product-card .bundle-images { min-height: 194px; }
  .product-body { padding: 14px 22px 22px; }
  .product-name { font-size: 18px; min-height: 0; }
  .product-spec { font-size: 14px; min-height: 0; margin-bottom: 15px; }
  .add-button { font-size: 14px; }
  .product-price small { display: inline; }
  .official-logo { max-width: 100%; width: 194px; }
  .catalog-more { padding: 22px 16px; }
  .promo-copy { padding: 22px; }
  .whatsapp-float { bottom: 14px; right: 14px; }
}
@media (max-width:359px) {
  .official-logo { width: 166px; }
  .header-actions { gap: 10px; }
  .nav { gap: 5px; font-size: 11px; }
  .category-trigger { font-size: 11px; padding-right: 6px; }
  .announcement .social-links-top .social-link { width: 27px; }
  .announcement-copy small { font-size: 9px; }
  .promo-copy h1 { font-size: 29px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .promo-slide:not([hidden]) { animation: none; }
  .product-card, .category-card, .product-card img { transition: none; }
}

/* Ajustes comprobados en pantallas pequeñas. */
.announcement .social-link>span:first-child { display: inline-flex; align-items: center; justify-content: center; }
.quote-button:hover { color: #155d30; }
.categories-section .section-top>.text-link { max-width: none; font-size: 13px; }
@media (max-width:800px) { .announcement .announcement-content { justify-content: space-between; } }
@media (max-width:519px) {
 .promo-copy>p, .promo-copy>.eyebrow { display: none; }
 .promo-copy { padding: 18px 22px; }
 .promo-copy h1 { font-size: 30px; margin: 0; }
 .promo-actions { margin-top: 16px; }
}
