.hb-warranty {
  margin: .85rem 0;
  padding: .8rem 1rem;
  border: 1px solid #dce5dc;
  border-left: 4px solid #2e7045;
  border-radius: 8px;
  background: #f7faf7;
  color: #26332a;
}

.hb-warranty__heading,
.hb-warranty__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hb-warranty__heading-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .55rem;
}

.hb-warranty__brand-link {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: .45rem;
  width: auto;
  height: auto;
  place-items: center;
  color: inherit;
  text-decoration: none;
}

.hb-warranty__brand-link img {
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 30px;
  padding: .1rem;
  border: 1px solid #dce5dc;
  border-radius: 4px;
  background: #fff;
  object-fit: contain;
}

.hb-warranty__brand-link:hover .hb-warranty__title,
.hb-warranty__brand-link:focus .hb-warranty__title {
  color: #1d5a35;
  text-decoration: underline;
}

.hb-warranty__title { margin: 0; font-size: 1.08rem; line-height: 1.25; }
.hb-warranty__country { padding: .3rem .6rem; border-radius: 999px; background: #e4eee6; font-size: .85rem; white-space: nowrap; }
.hb-warranty__content { margin-top: .55rem; font-size: .95rem; line-height: 1.35; }
.hb-warranty__content p { margin: 0 0 .45rem; }
.hb-warranty__content p:last-child { margin-bottom: 0; }
.hb-warranty__content ul { margin: .35rem 0 0 1.1rem; padding: 0; }
.hb-warranty__content li { margin: .1rem 0; }
.hb-warranty__characteristics { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid #dce5dc; }
.hb-warranty__characteristics ul { margin: 0 0 0 1.1rem; padding: 0; }
.hb-warranty__characteristics li { margin: .1rem 0; }
.hb-warranty__footer { margin-top: .65rem; }
.hb-warranty__country-form, .hb-warranty-page__country-form { display: flex; align-items: center; gap: .55rem; margin: 0; }
.hb-warranty__country-form select, .hb-warranty-page__country-form select { min-width: 130px; padding: .4rem .6rem; border: 1px solid #aab9ad; border-radius: 4px; background: #fff; }
.hb-warranty__notice { margin: .45rem 0 0; font-size: .76rem; line-height: 1.25; color: #657069; }

.hb-warranty--short {
  margin: .55rem 0;
  padding: .5rem .65rem;
}

.hb-warranty--short .hb-warranty__heading { gap: .55rem; }
.hb-warranty--short .hb-warranty__heading-main { gap: .4rem; }
.hb-warranty--short .hb-warranty__brand-link { gap: .4rem; }
.hb-warranty--short .hb-warranty__brand-link img { flex-basis: 38px; width: 38px; height: 27px; }
.hb-warranty--short .hb-warranty__title { font-size: .94rem; font-weight: 700; line-height: 1.15; }
.hb-warranty--short .hb-warranty__country { padding: .18rem .42rem; font-size: .68rem !important; }
.hb-warranty--short .hb-warranty__content { margin-top: .3rem; font-size: .75rem; line-height: 1.2; }
.hb-warranty--short .hb-warranty__content p { margin-bottom: .2rem !important; }
.hb-warranty--short .hb-warranty__content ul { margin: .15rem 0 0 .9rem; padding-left: .75rem; }
.hb-warranty--short .hb-warranty__content li { margin: 0; }
.hb-warranty--short .hb-warranty__footer { margin-top: .35rem; }
.hb-warranty--short .hb-warranty__country-form { display: grid; grid-template-columns: auto 108px; align-items: center; gap: .35rem; font-size: .7rem; }
.hb-warranty--short .hb-warranty__country-form label { margin: 0; font-size: .7rem !important; line-height: 1.1; }
.hb-warranty--short .hb-warranty__country-form select { width: 108px; min-width: 0; height: 26px; padding: .15rem .35rem; font-size: .72rem; line-height: 1; }
.hb-warranty--short .hb-warranty__notice { margin-top: .22rem; font-size: .68rem; }

/* El tema fuerza 16 px directamente en párrafos y listas. */
.hb-warranty--short .hb-warranty__content,
.hb-warranty--short .hb-warranty__content p,
.hb-warranty--short .hb-warranty__content li,
.hb-warranty--short .hb-warranty__content span,
.hb-warranty--short .hb-warranty__content strong {
  font-size: .75rem !important;
  line-height: 1.2 !important;
}

.hb-warranty--short .hb-warranty__content li {
  margin-bottom: 0 !important;
}

.hb-warranty--short .hb-warranty__notice {
  margin-bottom: 0 !important;
  font-size: .68rem !important;
  line-height: 1.2 !important;
}

/* La ficha completa conserva más legibilidad, pero comparte la estructura compacta. */
.hb-warranty--long {
  margin: .65rem 0;
  padding: .7rem .85rem;
}

.hb-warranty--long .hb-warranty__heading { gap: .7rem; }
.hb-warranty--long .hb-warranty__heading-main { gap: .5rem; }
.hb-warranty--long .hb-warranty__title { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.hb-warranty--long .hb-warranty__country { padding: .22rem .5rem; font-size: .76rem !important; }
.hb-warranty--long .hb-warranty__content {
  margin-top: .4rem;
  font-size: .9rem;
  line-height: 1.3;
}

.hb-warranty--long .hb-warranty__content,
.hb-warranty--long .hb-warranty__content p,
.hb-warranty--long .hb-warranty__content li,
.hb-warranty--long .hb-warranty__content span,
.hb-warranty--long .hb-warranty__content strong {
  font-size: .9rem !important;
  line-height: 1.3 !important;
}

/* Algunos estilos globales del tema aplican 16 px a los párrafos con mayor
   especificidad; mantenemos aquí el tamaño legible del cuadro completo. */
body .hb-warranty--long .hb-warranty__content,
body .hb-warranty--long .hb-warranty__content p,
body .hb-warranty--long .hb-warranty__content li,
body .hb-warranty--long .hb-warranty__content span,
body .hb-warranty--long .hb-warranty__content strong {
  font-size: .9rem !important;
  line-height: 1.3 !important;
}

.hb-warranty--long .hb-warranty__content p { margin-bottom: .35rem !important; }
.hb-warranty--long .hb-warranty__content ul { margin: .25rem 0 0 1rem; padding-left: .75rem; }
.hb-warranty--long .hb-warranty__content li { margin-bottom: .1rem !important; }
.hb-warranty--long .hb-warranty__characteristics { margin-top: .45rem; padding-top: .45rem; }
.hb-warranty--long .hb-warranty__characteristics,
.hb-warranty--long .hb-warranty__characteristics p,
.hb-warranty--long .hb-warranty__characteristics li,
.hb-warranty--long .hb-warranty__characteristics span,
.hb-warranty--long .hb-warranty__characteristics strong {
  font-size: .88rem !important;
  line-height: 1.3 !important;
}
body .hb-warranty--long .hb-warranty__characteristics,
body .hb-warranty--long .hb-warranty__characteristics p,
body .hb-warranty--long .hb-warranty__characteristics li,
body .hb-warranty--long .hb-warranty__characteristics span,
body .hb-warranty--long .hb-warranty__characteristics strong {
  font-size: .88rem !important;
  line-height: 1.3 !important;
}
.hb-warranty--long .hb-warranty__characteristics p { margin-bottom: .3rem !important; }
.hb-warranty--long .hb-warranty__characteristics li { margin-bottom: .1rem !important; }
.hb-warranty--long .hb-warranty__footer { margin-top: .5rem; }
.hb-warranty--long .hb-warranty__country-form {
  display: grid;
  grid-template-columns: auto 116px;
  align-items: center;
  gap: .45rem;
  font-size: .76rem;
}
.hb-warranty--long .hb-warranty__country-form label {
  margin: 0;
  font-size: .76rem !important;
  line-height: 1.1;
}
.hb-warranty--long .hb-warranty__country-form select {
  width: 116px;
  min-width: 0;
  height: 28px;
  padding: .2rem .42rem;
  font-size: .78rem;
  line-height: 1;
}
.hb-warranty--long .hb-warranty__notice {
  margin-top: .35rem;
  margin-bottom: 0 !important;
  font-size: .72rem !important;
  line-height: 1.2 !important;
}

.hb-warranty-page {
  --hbw-green: #25683d;
  --hbw-green-dark: #194c2c;
  --hbw-green-pale: #edf6f0;
  --hbw-border: #dbe5de;
  --hbw-text-soft: #607068;
  color: #213029;
}

.hb-warranty-page__intro {
  margin-bottom: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid #d5e6da;
  border-radius: 12px;
  background: linear-gradient(120deg, #f3f9f5 0%, #fff 72%);
}

.hb-warranty-page__eyebrow {
  margin: 0 0 .3rem;
  color: var(--hbw-green);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hb-warranty-page__lead {
  max-width: 760px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.hb-warranty-page__toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
  gap: 1rem;
  margin-bottom: .8rem;
  padding: 1rem;
  border: 1px solid var(--hbw-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(30, 61, 42, .05);
}

.hb-warranty-page__search label,
.hb-warranty-page__country-form label {
  margin: 0 0 .35rem;
  color: #3f5047;
  font-size: .8rem;
  font-weight: 700;
}

.hb-warranty-page__search-control {
  position: relative;
}

.hb-warranty-page__search-control > span {
  position: absolute;
  top: 50%;
  left: .85rem;
  color: #718078;
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-53%);
  pointer-events: none;
}

.hb-warranty-page__search input {
  width: 100%;
  min-height: 44px;
  padding: .65rem .85rem .65rem 2.45rem;
  border: 1px solid #aebcb3;
  border-radius: 7px;
  background: #fff;
  color: #213029;
}

.hb-warranty-page__search input:focus,
.hb-warranty-page__country-form select:focus {
  border-color: var(--hbw-green);
  outline: 3px solid rgba(37, 104, 61, .13);
}

.hb-warranty-page__country-form {
  display: grid;
  min-width: 205px;
  gap: 0;
}

.hb-warranty-page__country-form select {
  min-width: 205px;
  min-height: 44px;
  padding: .55rem 2rem .55rem .75rem;
  border: 1px solid #aebcb3;
  border-radius: 7px;
  background-color: #fff;
}

.hb-warranty-page__notice {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .85rem;
  border-radius: 8px;
  background: #f5f7f5;
  color: var(--hbw-text-soft);
  font-size: .84rem;
}

.hb-warranty-page__notice p { margin: 0; }

.hb-warranty-page__notice-icon {
  display: inline-grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #dde9e0;
  color: var(--hbw-green-dark);
  font-size: .78rem;
  font-weight: 800;
}

.hb-warranty-page__results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.15rem 0 .6rem;
  color: var(--hbw-text-soft);
  font-size: .82rem;
}

.hb-warranty-page__results strong {
  color: #26352d;
  font-size: .92rem;
}

.hb-warranty-page__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: .65rem;
}

.hb-warranty-card {
  overflow: hidden;
  border: 1px solid var(--hbw-border);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.hb-warranty-card[open] {
  border-color: #a7c6b0;
  box-shadow: 0 8px 24px rgba(28, 74, 43, .09);
}

.hb-warranty-card > summary {
  list-style: none;
}

.hb-warranty-card > summary::-webkit-details-marker,
.hb-warranty-card__conditions > summary::-webkit-details-marker {
  display: none;
}

.hb-warranty-card__header {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) minmax(135px, .9fr) auto;
  align-items: center;
  gap: .75rem;
  min-height: 72px;
  padding: .65rem .75rem;
  cursor: pointer;
}

.hb-warranty-card__header:hover {
  background: #fafcfb;
}

.hb-warranty-card__header:focus-visible {
  outline: 3px solid rgba(37, 104, 61, .2);
  outline-offset: -3px;
}

.hb-warranty-card__brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .65rem;
}

.hb-warranty-card__logo {
  display: grid;
  flex: 0 0 76px;
  width: 76px;
  height: 48px;
  place-items: center;
  padding: .25rem;
  border: 1px solid #e8ede9;
  border-radius: 7px;
  background: #fff;
}

.hb-warranty-card__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hb-warranty-card__brand-name {
  overflow: hidden;
  color: #213029;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.hb-warranty-card__warranty {
  display: grid;
  min-width: 0;
  gap: .1rem;
}

.hb-warranty-card__warranty small {
  color: var(--hbw-text-soft);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hb-warranty-card__warranty strong {
  color: var(--hbw-green-dark);
  font-size: .82rem;
  line-height: 1.25;
}

.hb-warranty-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--hbw-green);
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
}

.hb-warranty-card__toggle-close { display: none; }
.hb-warranty-card[open] .hb-warranty-card__toggle-open { display: none; }
.hb-warranty-card[open] .hb-warranty-card__toggle-close { display: inline; }

.hb-warranty-card__chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.hb-warranty-card[open] .hb-warranty-card__chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.hb-warranty-card__body {
  padding: .8rem 1rem 1rem;
  border-top: 1px solid #e8ede9;
  background: #fcfdfc;
  font-size: .87rem;
  line-height: 1.45;
}

.hb-warranty-card__body p { margin: 0 0 .55rem; }
.hb-warranty-card__body p:last-child { margin-bottom: 0; }
.hb-warranty-card__body ul { margin: .35rem 0 .35rem 1.05rem; padding: 0; }
.hb-warranty-card__body li { margin: .15rem 0; }

.hb-warranty-card__characteristics {
  margin-top: .65rem;
  padding-top: .65rem;
  border-top: 1px dashed #d9e2dc;
}

.hb-warranty-card__conditions {
  margin-top: .75rem;
  border: 1px solid #d6e4da;
  border-radius: 7px;
  background: #fff;
}

.hb-warranty-card__conditions > summary {
  position: relative;
  padding: .65rem 2.25rem .65rem .75rem;
  color: var(--hbw-green);
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}

.hb-warranty-card__conditions > summary::after {
  position: absolute;
  top: 50%;
  right: .85rem;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: '';
  transform: translateY(-70%) rotate(45deg);
}

.hb-warranty-card__conditions[open] > summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.hb-warranty-card__details {
  padding: .75rem;
  border-top: 1px solid #e6ece8;
  color: #3e4d45;
}

.hb-warranty-page__empty {
  margin-top: .75rem;
  padding: 2rem 1rem;
  border: 1px dashed #bdcbc1;
  border-radius: 10px;
  background: #fafcfa;
  text-align: center;
}

.hb-warranty-page__empty strong,
.hb-warranty-page__empty span { display: block; }
.hb-warranty-page__empty span { margin-top: .3rem; color: var(--hbw-text-soft); }

@media (max-width: 767px) {
  .hb-warranty__heading, .hb-warranty__footer { align-items: flex-start; flex-direction: column; }
  .hb-warranty-page__intro { padding: .85rem 1rem; }
  .hb-warranty-page__lead { font-size: .96rem; line-height: 1.4; }
  .hb-warranty-page__toolbar { gap: .7rem; padding: .8rem; }
  .hb-warranty-page__search input,
  .hb-warranty-page__country-form select { min-height: 40px; }
  .hb-warranty-page__notice { align-items: flex-start; padding: .65rem .75rem; font-size: .78rem; }
  .hb-warranty-page__toolbar, .hb-warranty-page__list { grid-template-columns: 1fr; }
  .hb-warranty-page__country-form, .hb-warranty-page__country-form select { width: 100%; min-width: 0; }
  .hb-warranty-page__results { align-items: flex-start; flex-direction: column; gap: .15rem; }
  .hb-warranty-card__header { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; padding: .55rem .65rem; }
  .hb-warranty-card__brand { gap: .5rem; }
  .hb-warranty-card__logo { flex-basis: 62px; width: 62px; height: 42px; }
  .hb-warranty-card__warranty { grid-column: 1 / -1; padding-left: 70px; }
  .hb-warranty-card__toggle { grid-column: 2; grid-row: 1; }
  .hb-warranty-card__toggle-open, .hb-warranty-card__toggle-close { display: none !important; }
}
