:root {
  --gtb-bg: #f6f8f4;
  --gtb-card: #ffffff;
  --gtb-ink: #102018;
  --gtb-muted: #65736b;
  --gtb-line: #dfe8dd;
  --gtb-green: #1d6b4f;
  --gtb-green-dark: #0e3f31;
  --gtb-gold: #e5aa3b;
  --gtb-soft: #edf5ee;
  --gtb-shadow: 0 18px 50px rgba(16, 32, 24, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--gtb-bg);
  color: var(--gtb-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.gtb-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--gtb-line);
  backdrop-filter: blur(16px);
}

.gtb-header-inner,
.gtb-footer-inner,
.gtb-hero,
.gtb-map-types,
.gtb-catalog,
.gtb-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.gtb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.gtb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.gtb-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--gtb-green);
  color: #fff;
  font-weight: 800;
}

.gtb-brand-text {
  display: grid;
  line-height: 1.15;
}

.gtb-brand-text small {
  color: var(--gtb-muted);
}

.gtb-main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gtb-main-nav a {
  color: var(--gtb-ink);
  font-weight: 700;
  text-decoration: none;
}

.gtb-site-main {
  min-height: 70vh;
}

.gtb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  padding: 72px 0 42px;
}

.gtb-hero-content {
  padding: 44px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 15%, rgba(229, 170, 59, 0.22), transparent 34%),
    linear-gradient(135deg, #113f31 0%, #1d6b4f 58%, #2e8a66 100%);
  color: #fff;
  box-shadow: var(--gtb-shadow);
}

.gtb-kicker {
  margin: 0 0 8px;
  color: var(--gtb-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gtb-hero h1,
.gtb-section-heading h2,
.gtb-panel-header h3,
.gtb-content h1 {
  margin: 0;
  line-height: 1.05;
}

.gtb-hero h1 {
  max-width: 780px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
}

.gtb-hero p:not(.gtb-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

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

.gtb-button,
.gtb-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

button.gtb-download,
button.gtb-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.gtb-button-primary,
.gtb-download {
  background: var(--gtb-gold);
  color: #172013;
}

.gtb-button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.gtb-hero-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--gtb-line);
  border-radius: 28px;
  background: var(--gtb-card);
  box-shadow: var(--gtb-shadow);
}

.gtb-hero-card span,
.gtb-count-badge,
.gtb-product-meta,
.gtb-map-type-card span {
  color: var(--gtb-green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gtb-hero-card strong {
  font-size: 3rem;
  line-height: 1;
}

.gtb-hero-card small,
.gtb-section-heading p,
.gtb-panel-header p,
.gtb-product-body p,
.gtb-map-type-card p,
.gtb-coming-box p {
  color: var(--gtb-muted);
}

.gtb-map-types,
.gtb-catalog,
.gtb-page {
  padding: 34px 0;
}

.gtb-section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.gtb-section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.gtb-map-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gtb-map-type-card,
.gtb-coming-box,
.gtb-content {
  padding: 24px;
  border: 1px solid var(--gtb-line);
  border-radius: 24px;
  background: var(--gtb-card);
}

.gtb-map-type-card.is-coming {
  background: #f9fbf8;
}

.gtb-map-type-card h3 {
  margin: 10px 0 8px;
}

.gtb-department-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 8px;
  overflow-x: auto;
}

.gtb-tab {
  display: inline-grid;
  min-width: 130px;
  gap: 4px;
  padding: 13px 16px;
  border: 1px solid var(--gtb-line);
  border-radius: 18px;
  background: var(--gtb-card);
  color: var(--gtb-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.gtb-tab small {
  color: var(--gtb-muted);
  font-weight: 700;
}

.gtb-tab.is-active {
  border-color: var(--gtb-green);
  background: var(--gtb-green);
  color: #fff;
}

.gtb-tab.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.gtb-department-panel {
  padding: 24px;
  border: 1px solid var(--gtb-line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
}

.gtb-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.gtb-panel-header h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
}

.gtb-count-badge {
  white-space: nowrap;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--gtb-soft);
}

.gtb-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(190px, 0.7fr));
  gap: 12px;
  margin-bottom: 22px;
}

.gtb-price-note {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--gtb-line);
  border-radius: 16px;
  background: #fff;
}

.gtb-price-note span {
  color: var(--gtb-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gtb-price-note strong,
.gtb-price {
  color: var(--gtb-green-dark);
}

.gtb-filters label {
  display: grid;
  gap: 6px;
  color: var(--gtb-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.gtb-filters input,
.gtb-filters select {
  min-height: 46px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--gtb-line);
  border-radius: 16px;
  background: #fff;
  color: var(--gtb-ink);
  font: inherit;
}

.gtb-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gtb-product-card {
  overflow: hidden;
  border: 1px solid var(--gtb-line);
  border-radius: 24px;
  background: var(--gtb-card);
  box-shadow: 0 10px 24px rgba(16, 32, 24, 0.07);
}

.gtb-product-card[hidden] {
  display: none;
}

.gtb-product-image {
  display: block;
  padding: 14px;
  background: linear-gradient(180deg, #f3f8f4, #fff);
}

.gtb-product-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.gtb-product-placeholder {
  display: grid;
  min-height: 190px;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #fff;
  background:
    radial-gradient(circle at 25% 20%, rgba(229, 170, 59, 0.35), transparent 34%),
    linear-gradient(135deg, var(--gtb-green-dark), var(--gtb-green));
  text-align: center;
}

.gtb-product-placeholder span {
  max-width: 85%;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gtb-product-placeholder strong {
  font-size: 3rem;
  line-height: 1;
}

.gtb-product-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.gtb-product-body h4 {
  margin: 0;
  font-size: 1.15rem;
}

.gtb-product-body p {
  margin: 0;
  font-size: 0.92rem;
}

.gtb-download {
  margin-top: 8px;
  width: 100%;
}

.gtb-buy-button {
  color: #172013;
}

.gtb-modal-open {
  overflow: hidden;
}

.gtb-modal[hidden] {
  display: none;
}

.gtb-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.gtb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 14, 0.68);
  backdrop-filter: blur(8px);
}

.gtb-modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(92vh, 880px);
  overflow: auto;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.gtb-modal-card h2 {
  margin: 0;
  line-height: 1.05;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.gtb-modal-intro {
  color: var(--gtb-muted);
}

.gtb-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--gtb-soft);
  color: var(--gtb-ink);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.gtb-order-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.gtb-order-form label {
  display: grid;
  gap: 6px;
  color: var(--gtb-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.gtb-order-form input[type="text"],
.gtb-order-form input[type="email"] {
  min-height: 46px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--gtb-line);
  border-radius: 16px;
  background: #fff;
  color: var(--gtb-ink);
  font: inherit;
}

.gtb-selected-product {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--gtb-line);
  border-radius: 18px;
  background: var(--gtb-soft);
}

.gtb-selected-product span,
.gtb-payment-box legend {
  color: var(--gtb-green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gtb-payment-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--gtb-line);
  border-radius: 18px;
}

.gtb-payment-box label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  color: var(--gtb-ink);
}

.gtb-payment-detail {
  padding: 16px;
  border: 1px solid var(--gtb-line);
  border-radius: 20px;
  background: #f9fbf8;
}

.gtb-payment-detail p {
  margin-top: 0;
  color: var(--gtb-muted);
}

.gtb-payment-detail img {
  display: block;
  width: min(280px, 100%);
  margin: 0 auto;
  border: 10px solid #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16, 32, 24, 0.13);
}

.gtb-form-note,
.gtb-form-status {
  margin: 0;
  color: var(--gtb-muted);
  font-size: 0.92rem;
}

.gtb-form-status {
  min-height: 22px;
  font-weight: 800;
}

.gtb-form-status.is-success {
  color: var(--gtb-green);
}

.gtb-form-status.is-error {
  color: #b42318;
}

.gtb-empty-result {
  padding: 22px;
  border-radius: 18px;
  background: #fff7e6;
  color: #6a4811;
  font-weight: 800;
}

.gtb-coming-box code {
  padding: 3px 6px;
  border-radius: 8px;
  background: var(--gtb-soft);
  color: var(--gtb-green-dark);
}

.gtb-site-footer {
  margin-top: 50px;
  border-top: 1px solid var(--gtb-line);
  background: #fff;
}

.gtb-footer-inner {
  padding: 24px 0;
  color: var(--gtb-muted);
}

@media (max-width: 980px) {
  .gtb-hero,
  .gtb-map-type-grid,
  .gtb-catalog-grid,
  .gtb-filters {
    grid-template-columns: 1fr 1fr;
  }

  .gtb-hero-content {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .gtb-header-inner,
  .gtb-panel-header {
    display: grid;
  }

  .gtb-hero,
  .gtb-map-type-grid,
  .gtb-catalog-grid,
  .gtb-filters {
    grid-template-columns: 1fr;
  }

  .gtb-hero {
    padding-top: 34px;
  }

  .gtb-hero-content,
  .gtb-department-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .gtb-main-nav ul {
    gap: 10px;
  }
}


/* =========================================================
   GeoTienda Bolivia v2.0.1 - Identidad visual oficial
   Base: v2.0 territorios indígenas. No modifica catálogo ni descargas.
   ========================================================= */
:root {
  --gtb-bg: #f4f8f7;
  --gtb-card: #ffffff;
  --gtb-ink: #17324a;
  --gtb-muted: #607586;
  --gtb-line: #d8e5e6;
  --gtb-green: #49b548;
  --gtb-green-dark: #2b8d37;
  --gtb-blue: #1f66be;
  --gtb-blue-dark: #17559f;
  --gtb-teal: #319b9a;
  --gtb-soft: #ecf7f2;
  --gtb-shadow: 0 18px 50px rgba(23, 50, 74, 0.12);
}

body {
  background: linear-gradient(180deg, #ffffff 0%, var(--gtb-bg) 36%, #eef7f5 100%);
  color: var(--gtb-ink);
}

.gtb-site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gtb-line);
  box-shadow: 0 8px 24px rgba(23, 50, 74, 0.06);
}

.gtb-header-inner {
  padding: 12px 0;
}

.gtb-brand {
  gap: 0;
}

.gtb-logo {
  display: block;
  width: auto;
  height: 76px;
  max-width: min(360px, 46vw);
  object-fit: contain;
}

.gtb-brand-mark,
.gtb-brand-text {
  display: none;
}

.gtb-main-nav a {
  color: var(--gtb-ink);
  font-weight: 800;
  transition: color .2s ease;
}

.gtb-main-nav a:hover,
.gtb-main-nav a:focus {
  color: var(--gtb-blue);
}

.gtb-main-nav .sub-menu {
  border: 1px solid var(--gtb-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(23, 50, 74, 0.12);
}

.gtb-hero-content {
  background:
    radial-gradient(circle at 15% 15%, rgba(49, 155, 154, 0.22), transparent 34%),
    linear-gradient(135deg, var(--gtb-blue-dark) 0%, var(--gtb-blue) 48%, var(--gtb-green) 100%);
}

.gtb-kicker,
.gtb-hero-card span,
.gtb-count-badge,
.gtb-product-meta,
.gtb-map-type-card span,
.gtb-selected-product span,
.gtb-payment-box legend {
  color: var(--gtb-teal);
}

.gtb-button-primary,
.gtb-download,
.gtb-btn-primary {
  background: linear-gradient(135deg, var(--gtb-blue), var(--gtb-green)) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(31, 102, 190, 0.22);
}

.gtb-button-primary:hover,
.gtb-download:hover,
.gtb-btn-primary:hover {
  filter: brightness(1.03);
}

.gtb-tab.is-active,
.gtb-pay-tabs button.active {
  border-color: var(--gtb-blue) !important;
  background: linear-gradient(135deg, var(--gtb-blue), var(--gtb-teal)) !important;
  color: #fff !important;
}

.gtb-product-image,
.gtb-card-placeholder {
  background: linear-gradient(135deg, #eaf4ff, #effcf3) !important;
}

.gtb-product-placeholder {
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(135deg, var(--gtb-blue), var(--gtb-green));
}

/* Compatibilidad visual con el plugin GeoTienda Catálogo v3.x */
.gtb-catalogo .gtb-eyebrow,
.gtb-catalogo .gtb-card h3,
.gtb-modal-product {
  color: var(--gtb-blue-dark) !important;
}

.gtb-catalogo .gtb-chip {
  background: #eaf4ff !important;
  color: var(--gtb-blue) !important;
}

.gtb-catalogo .gtb-chip-soft {
  background: #edf7f2 !important;
  color: var(--gtb-teal) !important;
}

.gtb-catalogo .gtb-card {
  border-color: var(--gtb-line) !important;
  box-shadow: 0 10px 28px rgba(23, 50, 74, 0.07) !important;
}

.gtb-catalogo .gtb-filtros {
  background: rgba(255,255,255,.82) !important;
  border-color: var(--gtb-line) !important;
}

.gtb-site-footer {
  background: linear-gradient(180deg, #ffffff, #f4faf8);
}

@media (max-width: 760px) {
  .gtb-logo {
    height: 58px;
    max-width: min(280px, 74vw);
  }

  .gtb-header-inner {
    gap: 12px;
  }
}
