/* Specials / sale page (category 125). Colours follow the Spring Summer Sale banners. */

.category-id-125 {
  --sp-sky: #dcedf9;
  --sp-sun: #ffc83a;
  --sp-green: #2f8f5b;
  --sp-navy: #12233d;
  --sp-red: #e8491f;
  --sp-red-dark: #c93a14;
  --sp-ink: #12233d;
  --sp-muted: #4b5a6e;
  --sp-line: #e3e8ef;
  --sp-max: 1240px;
}

/* Boxed page: content and breadcrumb share one centred column. */
@media (min-width: 992px) {
  .category-id-125 #wrapper > .container,
  .category-id-125 #inner-wrapper.container {
    max-width: var(--sp-max);
  }
}

.category-id-125 .ift-cat-header {
  margin-bottom: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.ift-sp {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--sp-ink);
}

/* ---------- Hero ---------- */
.ift-sp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  min-height: 320px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--sp-sky);
}

.ift-sp-hero__sun {
  position: absolute;
  top: -70px;
  right: 9%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--sp-sun);
}


.ift-sp-hero__copy {
  position: relative;
  z-index: 2;
  padding: 1.75rem 1rem 1.75rem 2.5rem;
}

.ift-sp-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.6rem;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-navy);
}

.ift-sp .ift-sp-hero__title {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: clamp(36px, 3.9vw, 54px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--sp-navy);
}

.ift-sp-hero__title::after {
  display: none !important;
}

.ift-sp-hero__title .is-w1 { color: var(--sp-green); }
.ift-sp-hero__title .is-w2 { color: var(--sp-navy); }
.ift-sp-hero__title .is-w3 {
  display: block;
  font-size: 1.32em;
  color: var(--sp-red);
}

.ift-sp-hero__lead {
  max-width: 30em;
  margin: 0.9rem 0 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--sp-muted);
}

/* Stats */
.ift-sp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.ift-sp-stats li {
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem;
  border-left: 1px solid rgba(18, 35, 61, 0.16);
}

.ift-sp-stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

.ift-sp-stats strong {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--sp-navy);
}

.ift-sp-stats span {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sp-muted);
}

/* CTA + countdown */
.ift-sp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.4rem;
}

.ift-sp-btn,
.ift-sp-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.4rem;
  border-radius: 8px;
  background: var(--sp-red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.15s ease;
}

.ift-sp-btn:hover,
.ift-sp-btn:focus-visible {
  background: var(--sp-red-dark);
  color: #fff;
  text-decoration: none;
}

.ift-sp a.ift-sp-btn,
.ift-sp-more a.ift-sp-btn {
  color: #fff !important;
}

.ift-sp-btn--navy,
.ift-sp-btn--navy:visited {
  background: var(--sp-navy);
}

.ift-sp-btn--navy:hover,
.ift-sp-btn--navy:focus-visible {
  background: #0a1628;
}

.ift-sp-count {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ift-sp-count__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-navy);
}

.ift-sp-count__clock {
  display: flex;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sp-muted);
}

.ift-sp-count__clock > span {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.ift-sp-count__clock b {
  display: inline-block;
  min-width: 30px;
  padding: 4px 0;
  border-radius: 5px;
  background: var(--sp-navy);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: #fff;
}

.ift-sp-count.is-over {
  display: none;
}

/* Top savings: one tile per product type, each with the product's own photo. */
.ift-sp-picks {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.75rem 1.5rem 0.5rem;
}

.ift-sp-picks__title {
  margin: 0 0 0.6rem;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-navy);
}

.ift-sp-picks__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ift-sp-pick,
.ift-sp-pick:visited {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.75rem 0.75rem 0.85rem;
  border: 1px solid rgba(18, 35, 61, 0.08);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: var(--sp-navy);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.ift-sp-pick:hover,
.ift-sp-pick:focus-visible {
  border-color: var(--sp-navy);
  text-decoration: none;
  color: var(--sp-navy);
  transform: translateY(-2px);
}

.ift-sp-pick__save {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 1;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--sp-red);
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
}

.ift-sp-pick__img {
  display: block;
  aspect-ratio: 1 / 1;
  margin-bottom: 0.5rem;
}

.ift-sp-pick__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ift-sp-pick__name {
  display: -webkit-box;
  min-height: 2.7em;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ift-sp-pick__price {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 12px;
  color: var(--sp-muted);
}

.ift-sp-pick__price b {
  margin-right: 0.25rem;
  font-size: 16px;
  font-weight: 800;
  color: var(--sp-red);
}

/* ---------- Trust strip ---------- */
.ift-sp-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--sp-line);
  border-radius: 12px;
  background: #fff;
}

.ift-sp-trust li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--sp-muted);
}

.ift-sp-trust li + li {
  border-left: 1px solid var(--sp-line);
}

.ift-sp-trust svg {
  flex: none;
  color: var(--sp-green);
}

.ift-sp-trust strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--sp-navy);
}

.ift-sp-trust a {
  font-weight: 700;
  color: var(--sp-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Deals bar + type filter ---------- */
.ift-sp-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin: 2rem 0 0.9rem;
  scroll-margin-top: 90px;
}

.ift-sp .ift-sp-bar__title {
  margin: 0;
  font-family: inherit;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--sp-navy);
}

.ift-sp-bar__title::after {
  display: none !important;
}

.ift-sp-bar__title span {
  margin-left: 0.3rem;
  font-size: 15px;
  font-weight: 700;
  color: var(--sp-muted);
}

.ift-sp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ift-sp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 0.95rem;
  border: 1px solid #cdd5df;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sp-navy);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.ift-sp-chip span {
  font-size: 12px;
  font-weight: 700;
  color: var(--sp-muted);
}

.ift-sp-chip:hover {
  border-color: var(--sp-navy);
}

.ift-sp-chip:focus-visible {
  outline: 2px solid var(--sp-red);
  outline-offset: 2px;
}

.ift-sp-chip.is-on {
  border-color: var(--sp-navy);
  background: var(--sp-navy);
  color: #fff;
}

.ift-sp-chip.is-on span {
  color: rgba(255, 255, 255, 0.72);
}

/* Product grid: five across in the boxed column. */
@media (min-width: 992px) {
  .category-id-125 #js-product-list .products.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
  .category-id-125 #js-product-list .products.products-grid > .js-product-miniature-wrapper {
    flex: none;
    width: auto;
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .category-id-125 #js-product-list .products.products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.category-id-125 #js-product-list .js-product-miniature-wrapper.ift-sp-hide {
  display: none !important;
}

.category-id-125 .product-miniature .product-price {
  color: var(--sp-red);
}

/* ---------- Below the grid ---------- */
.ift-sp-more {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.25rem;
  margin: 2.5rem 0 1rem;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.ift-sp-more__about {
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--sp-line);
  border-radius: 12px;
  background: #fff;
}

.ift-sp-more .ift-sp-more__title {
  margin: 0 0 0.6rem;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  text-transform: none;
  color: var(--sp-navy);
}

.ift-sp-more__title::after {
  display: none !important;
}

.ift-sp-more__about .ift-cat-intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sp-muted);
}

.ift-sp-more__help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.4rem 1.5rem;
  border-radius: 12px;
  background: #fff6e4;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sp-muted);
}

.ift-sp-more__help p {
  margin: 0;
}

.ift-sp-more__kicker {
  font-size: 17px;
  font-weight: 800;
  color: var(--sp-navy);
}

.ift-sp-more__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--sp-navy);
}

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
  .ift-sp-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .ift-sp-picks {
    padding: 0 1.5rem 1.5rem;
  }
  .ift-sp-hero__copy {
    padding: 1.75rem 0.5rem 1.75rem 1.5rem;
  }
  .ift-sp-stats strong {
    font-size: 23px;
  }
  .ift-sp-stats li {
    padding: 0 0.9rem;
  }
  .ift-sp-trust li {
    padding: 0.75rem 0.85rem;
    font-size: 12.5px;
  }
  .ift-sp-more {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Phone: compact so the products start early ---------- */
@media (max-width: 575.98px) {
  .ift-sp-hero {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 12px;
  }
  .ift-sp-hero__sun {
    top: -46px;
    right: -30px;
    width: 130px;
    height: 130px;
  }
  .ift-sp-hero__copy {
    padding: 1.1rem 0 1.1rem 1rem;
  }
  .ift-sp-hero__eyebrow {
    margin-bottom: 0.4rem;
    font-size: 10.5px;
  }
  .ift-sp .ift-sp-hero__title {
    font-size: 30px;
  }
  .ift-sp-hero__lead {
    display: none;
  }
  .ift-sp-stats {
    margin-top: 0.75rem;
  }
  .ift-sp-stats li {
    padding: 0 0.65rem;
  }
  .ift-sp-stats li:nth-child(3) {
    display: none;
  }
  .ift-sp-stats strong {
    font-size: 19px;
  }
  .ift-sp-stats span {
    font-size: 11px;
  }
  .ift-sp-hero__actions {
    margin-top: 0.85rem;
  }
  .ift-sp-hero__actions .ift-sp-btn {
    display: none;
  }
  .ift-sp-count__label {
    font-size: 10.5px;
  }
  .ift-sp-count__clock b {
    min-width: 26px;
    font-size: 13px;
  }
  .ift-sp-picks {
    display: none;
  }
  .ift-sp-trust {
    display: none;
  }
  .ift-sp-bar {
    margin: 1rem 0 0.6rem;
  }
  .ift-sp .ift-sp-bar__title {
    font-size: 19px;
  }
  .ift-sp-chips {
    flex-wrap: nowrap;
    width: calc(100% + 15px);
    margin-right: -15px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ift-sp-chips::-webkit-scrollbar {
    display: none;
  }
  .ift-sp-chip {
    flex: none;
    min-height: 36px;
    font-size: 13px;
  }
  .ift-sp-more__about,
  .ift-sp-more__help {
    padding: 1rem 1.1rem;
  }
}
