/* Outletmor Brand Promo — homepage brand-deal carousel. Palette/type from
   the outletmor-v4 theme's CSS custom properties, with fallbacks. */
.obp {
  padding: clamp(2.25rem, 5vw, 3.75rem) 0;
  background: var(--om-paper, #fff);
}
.obp__title {
  margin: 0 var(--om-gutter, clamp(1rem, 2.2vw, 2.25rem)) 1.4rem;
  color: var(--om-green-soft, #52623a); font-family: var(--om-font, Jost, sans-serif);
  font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-align: center;
}
.obp__viewport { position: relative; }
.obp__track {
  display: flex; gap: clamp(.75rem, 1.5vw, 1.25rem);
  padding: 0 var(--om-gutter, clamp(1rem, 2.2vw, 2.25rem));
  overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.obp__track::-webkit-scrollbar { display: none; }

.obp__card {
  position: relative; flex: 0 0 clamp(17rem, 30vw, 27rem);
  aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px;
  background: var(--om-tile, #f2f2ee);
  color: #fff; display: block; text-decoration: none;
}
/* Keep the card text white on hover — the theme's link:hover would otherwise
   turn it dark grey. Just dim it a touch. */
.obp__card:hover, .obp__card:focus { color: rgba(255, 255, 255, .8); text-decoration: none; }
.obp__card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.obp__card:hover .obp__card-bg { transform: scale(1.04); }
.obp__card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 4, .18) 0%, rgba(10, 14, 4, .05) 42%, rgba(10, 14, 4, .58) 100%);
}
.obp__card-logo {
  position: absolute; top: clamp(1rem, 2.5vw, 1.75rem); left: clamp(1rem, 2.5vw, 1.75rem); z-index: 1;
  box-sizing: content-box;
  height: clamp(1.75rem, 3.4vw, 2.9rem); width: auto; max-width: 55%; object-fit: contain;
  /* logos keep their own colours — no filter — on a white chip with 10px breathing room */
  padding: 10px; background: #fff; border-radius: 3px;
}
.obp__card-name {
  position: absolute; top: clamp(1rem, 2.5vw, 1.75rem); left: clamp(1rem, 2.5vw, 1.75rem); z-index: 1;
  font-family: var(--om-font, Jost, sans-serif); font-size: 1.4rem; font-weight: 500; letter-spacing: .04em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}
.obp__card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; gap: .25rem;
  padding: clamp(1rem, 2.5vw, 1.75rem);
}
.obp__card-discount {
  font-family: var(--om-font, Jost, sans-serif); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(1.15rem, 2.4vw, 1.75rem); line-height: 1.1;
}
.obp__card-detail { font-size: .88rem; opacity: .92; }

.obp__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .9); color: var(--om-ink, #26261f);
  box-shadow: var(--om-shadow-soft, 0 8px 26px rgba(31, 38, 15, .1)); cursor: pointer;
  transition: background .2s ease, opacity .25s ease;
}
.obp__arrow:hover { background: #fff; }
.obp__arrow svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.obp__arrow--prev { left: clamp(.25rem, 1vw, .75rem); }
.obp__arrow--next { right: clamp(.25rem, 1vw, .75rem); }
.obp__arrow[hidden] { display: none; }

@media (max-width: 640px) {
  .obp__card { flex-basis: 78vw; }
  /* Arrows stay visible while idle, fade out once the strip is scrolled
     (front.js toggles .is-scrolling on the .obp wrapper). */
  .obp.is-scrolling .obp__arrow { opacity: 0; pointer-events: none; }
}
