.site-priority-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  min-width: 0;
}

.site-priority-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.28rem 0.85rem;
  border: 1px solid #42d6da;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 820;
  line-height: 1.2;
  white-space: nowrap;
}

.site-priority-nav .priority-guide {
  color: #c4f6f7;
  background: #0b2a3c;
}

.site-priority-nav .priority-offers {
  color: #102033;
  background: #80eee9;
  border-color: #80eee9;
}

.site-priority-nav a:hover,
.compact-offer a:hover,
.sales-range-card a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-priority-nav a:focus-visible,
.compact-offer a:focus-visible,
.sales-section a:focus-visible,
.guide-directory a:focus-visible {
  outline: 3px solid #129cb8;
  outline-offset: 3px;
}

@media (min-width: 821px) {
  .site-header .nav-wrap.has-priority-nav {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 0.35rem 1rem;
  }

  .has-priority-nav > .brand {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
  }

  .has-priority-nav > .site-priority-nav {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }

  .has-priority-nav > .nav {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0.3rem;
  }
}

#ofertas,
#guias-tecnicas,
#tecnologia-hdd,
#tecnologia-nand-ssd,
#lectura-usb,
#flujo-flash,
#adquisicion-forense {
  scroll-margin-top: 44px;
}

.guide-directory {
  color: #10263d;
  background: #edf6fb;
  border-block: 1px solid #d1e3ec;
}

.guide-directory h2 {
  margin-bottom: 1.4rem;
}

.guide-directory-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.8rem;
}

.guide-directory-links a {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid #a9cbd9;
  border-radius: 0.75rem;
  background: #fff;
  color: #28475e;
  line-height: 1.45;
}

.guide-directory-links strong {
  color: #07566a;
  font-size: 1.08rem;
}

.guide-directory-links a:hover {
  background: #e2f8fa;
  border-color: #19869e;
}

.guide-directory-links a:hover strong {
  text-decoration: underline;
}

.compact-offer {
  border-bottom: 1px solid #bddae5;
  background: #edf8fb;
  color: #10263d;
}

.compact-offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  align-items: center;
  gap: 0.75rem 1.2rem;
  padding-block: 0.65rem;
}

.compact-offer-copy {
  min-width: 0;
  line-height: 1.35;
}

.compact-offer-title {
  display: block;
  width: fit-content;
  color: #07566a;
  font-size: 1rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.compact-offer-copy span {
  display: block;
  margin-top: 0.2rem;
  color: #365264;
  font-size: 0.875rem;
}

.compact-clock-grid {
  display: flex;
  gap: 0.3rem;
}

.compact-clock-grid > div {
  display: grid;
  justify-items: center;
  min-width: 2.55rem;
  padding: 0.24rem 0.25rem;
  border: 1px solid #bad7e0;
  border-radius: 0.4rem;
  background: #fff;
}

.compact-clock-grid strong {
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.16;
}

.compact-clock-grid span {
  color: #365264;
  font-size: 0.75rem;
  line-height: 1.2;
}

.compact-offer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.compact-offer-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.25rem 0.7rem;
  border: 1px solid #7eb3c3;
  border-radius: 0.5rem;
  background: #fff;
  color: #07566a;
  font-size: 0.875rem;
  font-weight: 800;
  white-space: nowrap;
}

.compact-offer-contact a:last-child {
  background: #c5f1ed;
  border-color: #74bdb8;
}

[data-countdown]:not([data-offer-status]) [role="timer"],
[data-countdown] [data-offer-live][hidden],
[data-countdown] [data-offer-ended][hidden] {
  display: none;
}

.sales-section .demo-flag {
  margin-bottom: 1rem;
}

.sales-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.sales-actions a {
  text-align: center;
}

.sales-section .sales-terms {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.sales-terms a,
.sales-all-prices {
  color: #87ffed;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.sales-section [data-offer-status="expired"] {
  grid-template-columns: minmax(0, 1fr);
}

.sales-ranges {
  margin-top: 2rem;
  padding-bottom: 0.5rem;
}

.sales-ranges h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.sales-ranges > p {
  color: #c5dce6;
}

.sales-range-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-block: 1rem;
}

.sales-range-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(0.9rem, 2.2vw, 1.45rem);
  border: 1px solid #24596b;
  border-radius: 0.9rem;
  background: #102438;
}

.sales-range-card h4 {
  margin: 0 0 0.4rem;
  font-size: 1.06rem;
  line-height: 1.35;
}

.sales-range-card > strong {
  color: #98f7ef;
  font-size: clamp(1.28rem, 2.3vw, 1.75rem);
  line-height: 1.18;
}

.sales-range-card p {
  margin: 0.55rem 0 0.7rem;
  color: #d1e3ec;
  line-height: 1.48;
}

.sales-range-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0.36rem 0.72rem;
  border: 1px solid #79e1dc;
  border-radius: 0.5rem;
  color: #a1fff3;
  font-size: 0.91rem;
  font-weight: 800;
}

@media (max-width: 820px) {
  .nav-open .site-header {
    backdrop-filter: none;
  }

  .nav-open .site-priority-nav {
    position: relative;
    z-index: 1;
  }

  .site-header .has-priority-nav {
    gap: 0.35rem;
  }

  .site-priority-nav a {
    min-height: 44px;
    padding-inline: clamp(0.36rem, 1.6vw, 0.7rem);
  }

  .compact-offer-layout {
    grid-template-columns: 1fr auto;
    gap: 0.45rem 0.65rem;
  }

  .compact-offer-copy {
    grid-column: 1 / -1;
  }

  .compact-clock {
    grid-column: 1;
  }

  .compact-offer-contact {
    grid-column: 2;
    justify-content: flex-end;
  }
}

@media (max-width: 670px) {
  .sales-range-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 460px) {
  .compact-offer-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .compact-offer-contact {
    grid-column: 1;
    justify-content: flex-start;
  }

  .sales-actions a {
    width: 100%;
  }
}

@media (max-width: 350px) {
  .site-header .has-priority-nav > .brand .brand-logo {
    width: 66px;
    height: 66px;
  }

  .site-priority-nav {
    gap: 0.25rem;
  }

  .site-priority-nav a {
    font-size: 0.81rem;
  }
}
