/* Price tracker browser feedback: compact shell, no empty hero or table gaps. */

html body > header .nav {
  min-height: 0 !important;
  padding-block: 10px !important;
}
html body > header .brand { min-height: 44px; }

.hero,
.hero.hero,
body .hero {
  min-height: 0 !important;
  padding: 16px 0 10px !important;
}
.hero::before,
.hero::after {
  opacity: .55;
}
.hero-grid,
.hero .hero-grid {
  min-height: 0 !important;
  gap: 16px !important;
  align-items: center !important;
}
.hero .eyebrow {
  margin: 0;
}
.hero h1,
.hero .hero-grid h1 {
  max-width: 34ch;
  margin: 6px 0 8px !important;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em;
}
.hero .sub {
  max-width: 62ch;
  margin: 0;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
.access-card {
  max-width: 280px;
  padding: 12px 14px !important;
}
.access-card::after {
  inset: 6px;
}
.access-card strong {
  margin: 4px 0 6px !important;
  font-size: 1.15rem !important;
  line-height: 1.15;
}
.access-card p {
  font-size: 12px !important;
  line-height: 1.4;
}
.quota {
  margin-top: 8px !important;
  padding-top: 8px !important;
}

.section,
body .section {
  padding: 16px 0 28px !important;
}
.section::before {
  opacity: .35;
}
.section-head {
  gap: 12px;
  margin-bottom: 12px !important;
}
.section h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem) !important;
  line-height: 1.12;
}
.section-note {
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.45;
}

.explorer {
  padding: 14px 14px 16px !important;
}
.toolbar {
  gap: 10px;
  padding-bottom: 10px !important;
}
.basic-search {
  margin: 12px 0 8px !important;
}
.search-meta {
  margin-bottom: 10px !important;
  padding-bottom: 8px !important;
}
.coverage-panel {
  margin: 12px 0 !important;
  padding: 12px 14px !important;
}
.coverage-title {
  font-size: 1.15rem !important;
}
.illustration-reading[data-community-carousel] {
  display: none !important;
}
[data-community-disclosure] {
  display: none !important;
}

@media (min-width: 1280px) {
  html body > header .wrap,
  html body > main .wrap,
  html body > footer .wrap {
    width: min(calc(100% - 48px), 1600px) !important;
    max-width: 1600px !important;
  }
}

#priceTable {
  table-layout: fixed;
  min-width: 0;
}
#priceTable .image-col { width: 62px; }
#priceTable .product-col { width: 29%; }
#priceTable .place-col { width: 31%; }
#priceTable .price-col { width: 17%; }
#priceTable .total-col { width: auto; }
#priceTable .spec-col,
#priceTable .status-col,
#priceTable .cell-status,
#priceTable .cell-details,
#priceTable [data-label="Observation details"],
#priceTable [data-label="Detalles de la observación"],
#priceTable [data-label="Szczegóły obserwacji"] {
  display: none !important;
  width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
#priceTable th,
#priceTableBody > .result-row > td {
  padding: 7px 9px !important;
  vertical-align: middle;
}
#priceTableBody .thumb-button {
  width: 48px;
  height: 56px;
  min-width: 44px;
  min-height: 44px;
}
#priceTableBody .thumb-button img {
  width: 100%;
  height: 100%;
  padding: 2px;
  object-fit: contain !important;
  object-position: center;
  background: #080a0e;
}
#priceTableBody .empty {
  padding: 18px 16px !important;
  font-size: 1.05rem !important;
}
#priceTableBody .observation-date,
#priceTableBody .pack-total {
  display: block;
  margin-top: 2px;
  color: var(--muted, #b6a994);
  font-size: 12px;
  line-height: 1.3;
}
#priceTableBody .pack-format {
  display: block;
  color: var(--cream, #efe7dc);
  font-weight: 750;
  line-height: 1.3;
}
#priceTableBody .cell-place > strong {
  display: block;
}
#priceTableBody .cell-place .source-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 2px;
  font-size: 13px;
}
#priceTableBody .row-tool-button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
}

.city-price-observed { white-space: nowrap; }

.thumb-button img[data-catalogue-illustration] {
  display: none !important;
}

#priceTableBody tr[hidden] {
  display: none !important;
}

.trawa-load-more {
  display: block;
  width: min(100%, 360px);
  min-height: 44px;
  margin: 14px auto 0;
  padding: 12px 18px;
  border: 1px solid rgba(239, 140, 175, .5);
  border-radius: 999px;
  color: #fff0f5;
  background: rgba(223, 126, 158, .1);
  font: 800 13px/1.2 var(--sans, system-ui, sans-serif);
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
}
.trawa-load-more:hover,
.trawa-load-more:focus-visible {
  border-color: #ef8caf;
  background: rgba(223, 126, 158, .18);
  outline: none;
}
.trawa-load-more[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .access-card { max-width: none; }
}

@media (max-width: 760px) {
  html body > header .nav,
  html body > header nav {
    display: flex !important;
    min-height: 48px !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 6px 0 !important;
    box-sizing: border-box !important;
  }
  html body > header .brand {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }
  html body > header .brand .mono {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
  }
  html body > header .brand .wordmark {
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  html body > header .brand .est {
    display: none !important;
  }
  html body > header .journey-links { display: none !important; }
  html body > header :is(.nav-actions, .tr-nav-utilities, .trawa-nav-utilities) {
    display: inline-flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body > header .lang-switch { max-width: none !important; }
  html body > header .lang-switch:not(.tr-language-picker) { display: inline-flex !important; align-items: center !important; gap: 4px !important; }
  html body > header .lang-switch:not(.tr-language-picker) a { min-width: 38px !important; min-height: 38px !important; width: 38px !important; height: 38px !important; padding: 0 !important; border-radius: 50% !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; text-align: center !important; font-size: 12px !important; }
  html body > header .tr-language-picker {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }
  html body > header .tr-language-toggle {
    min-width: 48px !important;
    width: auto !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  html body > header :is(.tr-nav-toggle, .trawa-nav-toggle, .nav-toggle) {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    width: auto !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    letter-spacing: .08em !important;
    gap: 5px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
  .hero,
  body .hero { padding: 10px 0 8px !important; }
  .hero-grid,
  .hero .hero-grid { gap: 8px !important; }
  .hero h1 { margin: 6px 0 !important; font-size: clamp(1.45rem, 7vw, 1.85rem) !important; }
  .hero .sub { font-size: 13px !important; line-height: 1.4 !important; }
  .hero .access-card { display: none !important; }
  .section,
  body .section { padding: 14px 0 22px !important; }
  #priceTableBody > .result-row {
    grid-template-columns: 48px minmax(76px, 1fr) minmax(76px, auto) !important;
    gap: 4px 8px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 8px !important;
  }
  #priceTableBody > .result-row > td {
    min-width: 0;
    max-width: 100%;
    padding: 2px 0 !important;
    overflow-wrap: anywhere;
  }
  #priceTableBody > .result-row > td::before {
    display: none;
  }
  #priceTableBody > .result-row > .cell-image {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
  }
  #priceTableBody > .result-row > .cell-product {
    grid-column: 2 / -1;
    grid-row: 1;
  }
  #priceTableBody > .result-row > .cell-price {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }
  #priceTableBody > .result-row > .cell-total {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    text-align: right;
  }
  #priceTableBody > .result-row > .cell-place {
    grid-column: 1 / -1;
    grid-row: 3;
    padding-top: 4px !important;
    border-top: 1px solid rgba(239, 231, 220, .1);
  }
  #priceTableBody > .result-row > .cell-status,
  #priceTableBody > .result-row > .cell-details { display: none !important; }
  #priceTableBody .thumb-button {
    width: 48px;
    height: 56px;
  }
  #priceTableBody .product-title {
    font-size: 18px;
    line-height: 1.12;
  }
  #priceTableBody .producer,
  #priceTableBody .product-meta,
  #priceTableBody .observation-date,
  #priceTableBody .pack-total {
    font-size: 13px;
    line-height: 1.25;
  }
  #priceTableBody .price-value {
    font-size: 18px;
    line-height: 1.1;
  }
  #priceTableBody .pack-format {
    font-size: 12px;
    line-height: 1.2;
  }
  #priceTableBody .row-tools {
    gap: 6px;
    margin-top: 4px;
  }
  #priceTableBody .cell-place .source-link {
    min-height: 44px;
    margin-top: 0;
    padding-block: 6px;
  }
  #priceTable,
  #priceTableBody,
  .table-shell {
    width: 100%;
    min-width: 0 !important;
    max-width: 100%;
    overflow-x: clip;
  }
  .skip-link,
  .lang-switch a,
  .btn,
  .segment,
  .text-action,
  .source-link,
  .legal-links a { min-height: 44px; }
}
