/* ============================================================
   Deal of the Day — cloud-edge auto-scrolling banner slider.
   Page-scoped component CSS. Theme colours only (navy + maroon).
   Assumes site base html font-size 62.5% (1rem = 10px).
   ============================================================ */
.dz { --ink: var(--headerBg, #00002a); --red: var(--maroon, #d00c27); --bg: #eceef8; --line: #d6dbee; --mut: #4f5472; --tint: #e3e6f5; --rose: #fbe3e8; color: var(--ink); padding: 0 0 1rem; }
.dz a { text-decoration: none; }
.dz a:focus-visible, .dz button:focus-visible { outline: .2rem solid var(--red); outline-offset: .2rem; }
.dz-btn { display: inline-flex; align-items: center; justify-content: center; height: 4.4rem; padding: 0 2.6rem; border: .15rem solid var(--red); border-radius: 4.4rem; background: var(--red); font-size: 1.4rem; font-weight: 700; color: #fff; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.dh:hover .dz-btn { background: #fff; color: var(--red); }
.dz-btn.navy { background: var(--ink); border-color: var(--ink); }
.dh:hover .dz-btn.navy { background: #fff; color: var(--ink); }
.dz-ct { align-self: flex-start; padding: .3rem 1rem; border-radius: 2rem; background: var(--rose); font-size: 1.1rem; font-weight: 700; color: var(--red); }

/* stats row (shown above the slider) */
.dz-stats { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.dz-stat { display: flex; align-items: baseline; gap: .8rem; padding: .9rem 1.8rem; border-left: .4rem solid var(--red); border-radius: 1.2rem; background: #fff; box-shadow: 0 .4rem 1.2rem rgba(0,0,42,.08); }
.dz-stat b { font-size: 2.2rem; line-height: 1; color: var(--ink); }
.dz-stat span { font-size: 1.3rem; color: var(--mut); }

/* city / verified (replaces the ends-in + coupon meta) */
.dd-city { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.3rem; font-weight: 600; color: var(--mut); }
.dd-city svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dd-verified { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; border-radius: 2rem; background: #e7f7ef; color: #0f9d58; font-size: 1.2rem; font-weight: 700; }
.dd-verified svg { width: 1.4rem; height: 1.4rem; }

.dh-wrap { position: relative; overflow: hidden; border-radius: 2.4rem; background: #fff; box-shadow: 0 1rem 3rem rgba(0,0,42,.14); }
.dh-track { display: flex; transition: transform .7s cubic-bezier(.65,0,.35,1); }
.dh { position: relative; flex: 0 0 100%; display: flex; align-items: stretch; min-height: 30rem; background: #fff; }
.dh-tag { position: absolute; top: 0; left: 3.2rem; z-index: 4; padding: .8rem 1.8rem 1rem; border-radius: 0 0 1.2rem 1.2rem; background: var(--red); font-size: 1.15rem; font-weight: 800; letter-spacing: .1rem; text-transform: uppercase; color: #fff; box-shadow: 0 .4rem 1rem rgba(208,12,39,.35); }

.dh-tx { position: relative; z-index: 3; flex: 0 0 52%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.2rem; padding: 6rem 2rem 5.4rem 4.4rem; }
.dh-tx h3 { margin: 0; font-size: clamp(2.8rem, 3.2vw, 4rem); line-height: 1.15; font-weight: 800; color: var(--ink); }
.dh-tx p { margin: 0; font-size: clamp(2rem, 2.2vw, 2.8rem); line-height: 1.35; font-weight: 400; color: #33375a; }
.dh-meta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: .4rem; }
.dh-btn { min-width: 22rem; margin-top: 1rem; border-radius: .6rem; }

/* photo with cloud-shaped left edge (mask) */
.dh-ph { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; background: var(--tint); }
.dh-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.dh:hover .dh-ph img { transform: scale(1.05); }
.dh-ph { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 400' preserveAspectRatio='none'%3E%3Cpath d='M100,0 L58,0 C92,36 66,70 84,102 C104,134 78,170 90,202 C102,236 68,270 86,302 C98,334 68,368 52,400 L100,400 Z'/%3E%3C/svg%3E") left top / 14rem 100% no-repeat, linear-gradient(#000,#000) right top / calc(100% - 14rem + 1px) 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 400' preserveAspectRatio='none'%3E%3Cpath d='M100,0 L58,0 C92,36 66,70 84,102 C104,134 78,170 90,202 C102,236 68,270 86,302 C98,334 68,368 52,400 L100,400 Z'/%3E%3C/svg%3E") left top / 14rem 100% no-repeat, linear-gradient(#000,#000) right top / calc(100% - 14rem + 1px) 100% no-repeat; }

/* slider dots */
.dh-dots { position: absolute; left: 4.4rem; bottom: 2rem; z-index: 6; display: flex; gap: .7rem; }
.dh-dots button { width: .9rem; height: .9rem; padding: 0; border: 0; border-radius: 1rem; background: #c3c8e2; cursor: pointer; transition: width .3s, background .3s; }
.dh-dots button.on { width: 2.6rem; background: var(--red); }

/* discount badge (right of the cloud edge) */
.dh-off { position: absolute; left: calc(44% + 15rem); bottom: 1.6rem; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 9rem; height: 9rem; border-radius: 1.2rem; background: #fff; box-shadow: 0 .6rem 1.8rem rgba(0,0,42,.3); }
.dh-off b { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -.1rem; color: var(--ink); }
.dh-off b sup { position: relative; top: .3rem; font-size: 1.6rem; letter-spacing: 0; vertical-align: top; color: var(--red); }
.dh-off span { margin-top: .4rem; padding: .2rem 1rem; border-radius: 2rem; background: var(--rose); font-size: 1.1rem; font-weight: 800; letter-spacing: .3rem; text-indent: .3rem; color: var(--red); }
.dh-off.is-member { background: var(--ink); }
.dh-off.is-member b { font-size: 1.3rem; line-height: 1.25; text-align: center; letter-spacing: .05rem; text-transform: uppercase; color: #fff; }

@media (max-width: 1199px) {
  .dh-tx { padding-left: 3.2rem; }
  .dh-tag { left: 2.4rem; }
}
@media (max-width: 991px) {
  .dh { flex-direction: column-reverse; min-height: 0; }
  .dh-ph { position: relative; width: 100%; height: 22rem; -webkit-mask: none; mask: none; }
  .dh-dots { left: 50%; transform: translateX(-50%); bottom: 1.2rem; }
  .dh-tx { flex: none; align-items: center; text-align: center; padding: 2.4rem 2rem 5rem; }
  .dh-off { left: 1.6rem; top: 11.4rem; bottom: auto; }
  .dh-meta { justify-content: center; }
  .dh-tag { left: 50%; transform: translateX(-50%); z-index: 5; }
}
@media (max-width: 575px) {
  .dh-btn { min-width: 0; width: 100%; }
  .dh-off { width: 7.4rem; height: 7.4rem; top: 13rem; }
  .dh-off b { font-size: 2.6rem; }
  .dh-off.is-member b { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .dz * { transition: none !important; } }
