.nxp-offers {
  --nxp-ink: var(--nx-ink, #172433);
  --nxp-muted: var(--nx-muted, #485a70);
  --nxp-border: var(--nx-line, #d5dfe8);
  --nxp-surface: #fff;
  --nxp-soft: #edf4fa;
  --nxp-accent: #18598f;
  --nxp-accent-hover: #123e67;
  --nxp-focus: #116bbb;
  --nxp-radius: 8px;
  min-width: 0;
  margin-block: clamp(24px, 4vw, 48px);
  color: var(--nxp-ink);
}

.nxp-offers[id],
.page-id-702 :is(#nexbit-kuponi, #bozic) {
  scroll-margin-block-start: calc(var(--nx-sticky-height, 136px) + 10px);
}

.page-id-702 #nexbit-kuponi > article {
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-wrap: anywhere;
}

.page-id-702 #nexbit-kuponi > article ul {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding-inline-start: 1.15em;
}

.nxp-offers .nxp-offer-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  column-gap: 18px;
  row-gap: 6px;
  margin-block-end: 14px;
}

.nxp-offers .nxp-offer-heading h2 {
  margin: 0;
  color: var(--nxp-ink);
  font-size: clamp(1.65rem, 3.3vw, 2.45rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.nxp-offers .nxp-offer-count {
  margin: 4px 0 0;
  color: var(--nxp-muted);
  font-size: .85rem;
  font-variant-numeric: tabular-nums;
}

.nxp-offers .nxp-all-offers {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--nxp-accent-hover);
  font-size: .9rem;
  font-weight: 700;
  text-underline-offset: .15em;
}

.nx-storefront .nxp-offer-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.nx-storefront .nxp-offer-jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--nx-line, #d5dfe8);
  border-radius: 6px;
  background: #fff;
  color: #123e67;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.nx-storefront .nxp-offer-jumps a:hover {
  border-color: #9db8d1;
  background: #edf4fa;
}

.nxp-offers .nxp-offer-demo {
  margin: 0 0 14px;
  color: var(--nxp-muted);
  font-size: .9rem;
}

.nxp-offers .nxp-offer-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 7px;
  min-width: 0;
  margin-block-end: 16px;
}

.nxp-offers .nxp-offer-filters label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--nxp-muted);
  font-size: .82rem;
  font-weight: 650;
}

.nxp-offers .nxp-offer-filters :is(a, button, select) {
  box-sizing: border-box;
  min-width: 0;
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid var(--nxp-border);
  border-radius: 6px;
  background: var(--nxp-surface);
  color: var(--nxp-ink);
  font: inherit;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.25;
}

.nxp-offers .nxp-offer-filters :is(a, button) {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.nxp-offers .nxp-offer-filters select {
  font-size: 1rem;
}

.nxp-offers .nxp-offer-filters :is(a, button):not([aria-current='page'], [aria-current='true'], [aria-pressed='true']):hover {
  border-color: #9db8d1;
  background: var(--nxp-soft);
}

.nxp-offers .nxp-offer-filters :is([aria-current='page'], [aria-current='true'], [aria-pressed='true']) {
  border-color: var(--nxp-accent);
  background: var(--nxp-accent);
  color: #fff;
}

.nxp-offers .nxp-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(9px, 1.45vw, 18px);
}

.nxp-offers .nxp-offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--nxp-border);
  border-radius: var(--nxp-radius);
  background: var(--nxp-surface);
}

.nxp-offers .nxp-offer-image {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1.32;
  border-block-end: 1px solid var(--nxp-border);
  border-radius: calc(var(--nxp-radius) - 1px) calc(var(--nxp-radius) - 1px) 0 0;
  background: #f7f9fb;
}

.nxp-offers .nxp-offer-image img {
  position: absolute;
  inset: 0;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  margin: 0;
  padding: clamp(10px, 1.4vw, 18px);
  object-fit: contain;
}

.nxp-offers .nxp-offer-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: clamp(10px, 1.4vw, 16px);
}

.nxp-offers .nxp-offer-category {
  margin: 0 0 4px;
  color: var(--nxp-muted);
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.nxp-offers .nxp-offer-content h3 {
  margin: 0 0 10px;
  color: var(--nxp-ink);
  font-size: clamp(.9rem, 1.3vw, 1.02rem);
  font-weight: 700;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.nxp-offers .nxp-offer-content h3 a {
  color: inherit;
  text-decoration: none;
}

.nxp-offers .nxp-offer-content h3 a:hover {
  text-decoration: underline;
  text-underline-offset: .15em;
}

/* Shared price markup on promotional cards, catalogue cards and product details. */
:is(.nxp-offers, .nx-product-card, .nx-product-data, :where(.woocommerce li.product, .woocommerce div.product)) .nxp-offer-prices {
  display: grid;
  row-gap: 4px;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}

.nxp-offers .nxp-offer-prices {
  margin-block-start: auto;
}

:is(.nxp-offers, .nx-product-card, .nx-product-data, :where(.woocommerce li.product, .woocommerce div.product)) .nxp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  min-width: 0;
  margin: 0;
}

.nxp-offers .nxp-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
}

.nxp-offers .nxp-price-row .woocommerce-price-suffix {
  grid-column: 1 / -1;
}

.nxp-offers .nxp-offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 2px;
  min-width: 0;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

:is(.nxp-offers, .nx-product-card, .nx-product-data, :where(.woocommerce li.product, .woocommerce div.product)) .nxp-price-label {
  color: var(--nx-muted, #485a70);
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.3;
}

:is(.nxp-offers, .nx-product-card, .nx-product-data, :where(.woocommerce li.product, .woocommerce div.product)) :is(.nxp-price-regular del, del.nxp-price-regular, .nxp-regular-price) {
  color: var(--nx-muted, #485a70);
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: line-through;
  opacity: 1;
}

:is(.nxp-offers, .nx-product-card, .nx-product-data, :where(.woocommerce li.product, .woocommerce div.product)) :is(.nxp-price-current ins, ins.nxp-price-current, .nxp-current-price) {
  color: #123e67;
  font-size: clamp(1.03rem, 1.8vw, 1.32rem);
  font-weight: 750;
  line-height: 1.18;
  text-decoration: none;
}

:is(.nxp-offers, .nx-product-card, .nx-product-data, :where(.woocommerce li.product, .woocommerce div.product)) .nxp-offer-prices .woocommerce-Price-amount {
  white-space: nowrap;
}

:is(.nxp-offers, .nx-product-card, .nx-product-data, :where(.woocommerce li.product, .woocommerce div.product)) :is(.nxp-offer-savings, .nxp-saved) {
  display: block;
  flex-basis: 100%;
  color: var(--nx-muted, #485a70);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.nxp-offers .nxp-offer-percent {
  white-space: nowrap;
}

.nx-product-data :is(.nxp-price-current ins, ins.nxp-price-current, .nxp-current-price) {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
}

.nxp-offers :is(.nxp-sale-badge, .nxp-offer-badge) {
  position: absolute;
  z-index: 1;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--nxp-accent-hover);
  color: #fff;
  font-size: .75rem;
  font-weight: 750;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.nxp-offers .nxp-offer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin-block-start: 12px;
  padding: 8px;
  border: 1px solid var(--nxp-accent);
  border-radius: 6px;
  background: var(--nxp-accent);
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nxp-offers .nxp-offer-link:is(:hover, :focus-visible) {
  border-color: var(--nxp-accent-hover);
  background: var(--nxp-accent-hover);
  color: #fff;
}

.nxp-offers :is(a, button, select):focus-visible,
.nx-storefront .nxp-offer-jumps a:focus-visible {
  outline: 2px solid var(--nxp-focus, #116bbb);
  outline-offset: 2px;
}

@media (hover: hover) {
  .nxp-offers .nxp-offer-card:hover {
    border-color: #a9bed1;
    box-shadow: 0 3px 13px rgb(23 36 51 / 7%);
  }
}

@media (max-width: 359px) {
  .nxp-offers .nxp-offer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nxp-offers .nxp-offer-image {
    aspect-ratio: 1.55;
  }
}

@media (min-width: 360px) and (max-width: 559px) {
  .nxp-offers .nxp-price-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .nxp-offers .nxp-offer-savings {
    min-height: 2.6em;
  }
}

@media (min-width: 768px) {
  .nxp-offers .nxp-offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .nxp-offers .nxp-price-row {
    min-height: 2rem;
  }
}

@media (min-width: 1120px) {
  .nxp-offers .nxp-offer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
