/* DealOffer Deals by Location */
.dealoffer-location-section,
.dealoffer-locations-directory,
.dealoffer-location-archive {
  box-sizing: border-box;
  --dol-bg-start: #f0f7ff;
  --dol-bg-end: #eaf3fc;
  --dol-ink: #102a4c;
  --dol-accent: #1769e8;
  --dol-red: #e11d2e;
  --dol-muted: #5b708b;
  --dol-border: #dce9f8;
  --dol-white: #ffffff;
  --dol-radius: 18px;
  --dol-card-radius: 14px;
  --dol-font: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dol-ink);
  font-family: var(--dol-font);
  font-size: 14px;
  line-height: 1.5;
}

.dealoffer-location-section *,
.dealoffer-locations-directory *,
.dealoffer-location-archive * {
  box-sizing: border-box;
}

.dealoffer-location-section a,
.dealoffer-locations-directory a,
.dealoffer-location-archive a {
  color: inherit;
  text-decoration: none;
}

.dealoffer-location-section h1,
.dealoffer-location-section h2,
.dealoffer-location-section h3,
.dealoffer-location-section p,
.dealoffer-locations-directory h1,
.dealoffer-locations-directory h2,
.dealoffer-locations-directory h3,
.dealoffer-locations-directory p,
.dealoffer-location-archive h1,
.dealoffer-location-archive h2,
.dealoffer-location-archive h3,
.dealoffer-location-archive p {
  margin: 0;
  font-family: inherit;
}

.dealoffer-location-section img,
.dealoffer-locations-directory img,
.dealoffer-location-archive img {
  display: block;
  max-width: 100%;
}

.dealoffer-location-section button,
.dealoffer-locations-directory button,
.dealoffer-location-archive button,
.dealoffer-location-section input,
.dealoffer-locations-directory input,
.dealoffer-location-archive input {
  font-family: inherit;
}

.dealoffer-sr-only,
.dealoffer-location-section .screen-reader-text,
.dealoffer-locations-directory .screen-reader-text,
.dealoffer-location-archive .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Section shell */
.dealoffer-location-section {
  margin: 28px auto 36px;
  max-width: 1240px;
  padding: 0 20px;
}

.dealoffer-location-shell {
  position: relative;
  overflow: hidden;
  padding: 28px 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--dol-radius);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(90% 120% at 0% 100%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(135deg, var(--dol-bg-start) 0%, var(--dol-bg-end) 100%);
  box-shadow: 0 18px 48px rgba(16, 42, 76, 0.06);
}

.dealoffer-location-shell::before,
.dealoffer-location-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dealoffer-location-shell::before {
  top: -42%;
  right: -8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.dealoffer-location-shell::after {
  left: -12%;
  bottom: -58%;
  width: 68%;
  height: 120%;
  border-radius: 50%;
  background: rgba(23, 105, 232, 0.04);
}

/* Header */
.dealoffer-location-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.dealoffer-location-heading-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.dealoffer-location-pin {
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--dol-red);
}

.dealoffer-location-pin svg {
  display: block;
}

.dealoffer-location-heading-copy h2 {
  color: var(--dol-ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.dealoffer-location-heading-copy p {
  margin-top: 4px;
  color: var(--dol-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.dealoffer-location-viewall {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 0;
  color: var(--dol-accent);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: gap 0.2s ease, color 0.2s ease;
}

.dealoffer-location-viewall span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.dealoffer-location-viewall:hover {
  gap: 10px;
  color: #0f56c4;
}

.dealoffer-location-viewall:hover span {
  transform: translateX(3px);
}

.dealoffer-location-viewall:focus-visible {
  outline: 3px solid rgba(23, 105, 232, 0.35);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Carousel */
.dealoffer-location-carousel {
  position: relative;
  z-index: 1;
}

.dealoffer-location-track {
  display: flex;
  gap: 14px;
  margin: 0 -2px;
  padding: 4px 2px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.dealoffer-location-track::-webkit-scrollbar {
  display: none;
}

.dealoffer-location-track:focus-visible {
  outline: 3px solid rgba(23, 105, 232, 0.35);
  outline-offset: 4px;
  border-radius: 12px;
}

.dealoffer-location-card {
  position: relative;
  display: flex;
  flex: 0 0 calc((100% - 70px) / 6);
  flex-direction: column;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--dol-border);
  border-radius: var(--dol-card-radius);
  background: var(--dol-white);
  box-shadow: 0 6px 18px rgba(16, 42, 76, 0.06);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dealoffer-location-card:hover {
  transform: translateY(-3px);
  border-color: var(--dol-accent);
  box-shadow: 0 14px 30px rgba(23, 105, 232, 0.16);
}

.dealoffer-location-card:focus-visible {
  outline: 3px solid rgba(23, 105, 232, 0.35);
  outline-offset: 3px;
  border-color: var(--dol-accent);
}

.dealoffer-location-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: #eaf3fc;
}

.dealoffer-location-media img,
.dealoffer-location-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transition: transform 0.25s ease;
}

.dealoffer-location-card:hover .dealoffer-location-media img {
  transform: scale(1.04);
}

.dealoffer-location-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 90px;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  color: var(--dol-accent);
  font-size: 22px;
  font-weight: 800;
}

.dealoffer-location-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-width: 0;
  padding: 9px 3px 3px;
}

.dealoffer-location-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dealoffer-location-city-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  padding: 5px 9px;
  overflow: hidden;
  border: 1px solid var(--dol-border);
  border-radius: 8px;
  background: var(--dol-white);
  box-shadow: 0 1px 2px rgba(16, 42, 76, 0.04);
  color: var(--dol-ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dealoffer-location-card.is-featured .dealoffer-location-city-pill {
  border-color: var(--dol-red);
  background: var(--dol-red);
  box-shadow: 0 4px 10px rgba(225, 29, 46, 0.22);
  color: #fff;
}

.dealoffer-location-count {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--dol-muted);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dealoffer-location-count.is-empty {
  color: #8a9bb0;
  font-weight: 500;
}

.dealoffer-location-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f4f8ff;
  color: var(--dol-accent);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.dealoffer-location-card:hover .dealoffer-location-card-arrow {
  background: var(--dol-accent);
  color: #fff;
  transform: translateX(2px);
}

/* Carousel arrows */
.dealoffer-location-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--dol-border);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 42, 76, 0.14);
  color: var(--dol-ink);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.dealoffer-location-arrow:hover:not(:disabled) {
  border-color: var(--dol-accent);
  background: var(--dol-accent);
  color: #fff;
}

.dealoffer-location-arrow:focus-visible {
  outline: 3px solid rgba(23, 105, 232, 0.35);
  outline-offset: 3px;
}

.dealoffer-location-arrow:disabled {
  opacity: 0.35;
  box-shadow: none;
  cursor: default;
}

.dealoffer-location-carousel.is-static .dealoffer-location-arrow {
  display: none;
}

.dealoffer-location-arrow-prev {
  left: -8px;
}

.dealoffer-location-arrow-next {
  right: -8px;
}

/* Directory */
.dealoffer-locations-directory {
  margin: 32px auto 48px;
  max-width: 1240px;
  padding: 0 20px;
}

.dealoffer-locations-directory-shell {
  position: relative;
  overflow: hidden;
  padding: 30px 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--dol-radius);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(90% 120% at 0% 100%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(135deg, var(--dol-bg-start) 0%, var(--dol-bg-end) 100%);
  box-shadow: 0 18px 48px rgba(16, 42, 76, 0.06);
}

.dealoffer-locations-directory-shell::before {
  content: "";
  position: absolute;
  top: -42%;
  right: -8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.dealoffer-locations-directory-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.dealoffer-locations-search {
  position: relative;
  flex: 0 1 360px;
  min-width: 240px;
}

.dealoffer-locations-search input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 42px;
  border: 1px solid #d5e6f8;
  border-radius: 999px;
  outline: none;
  background: #fff;
  color: var(--dol-ink);
  font-size: 13px;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dealoffer-locations-search input::placeholder {
  color: #8a9bb0;
}

.dealoffer-locations-search input:focus {
  border-color: var(--dol-accent);
  box-shadow: 0 0 0 4px rgba(23, 105, 232, 0.12);
}

.dealoffer-locations-search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  display: inline-flex;
  color: #6f8bab;
  pointer-events: none;
  transform: translateY(-50%);
}

.dealoffer-locations-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dealoffer-locations-grid .dealoffer-location-card {
  flex: none;
  width: 100%;
}

.dealoffer-locations-grid .dealoffer-location-media {
  aspect-ratio: 16 / 9;
}

.dealoffer-locations-empty {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 28px;
  border: 1px dashed #c7dcf5;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--dol-muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.dealoffer-locations-empty[hidden],
.dealoffer-locations-grid[hidden],
.dealoffer-location-card[hidden] {
  display: none !important;
}

/* City archive */
.dealoffer-location-archive {
  margin: 32px auto 48px;
  max-width: 1240px;
  padding: 0 20px;
}

.dealoffer-location-archive-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--dol-radius);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(135deg, var(--dol-bg-start) 0%, var(--dol-bg-end) 100%);
  box-shadow: 0 18px 48px rgba(16, 42, 76, 0.06);
}

.dealoffer-location-archive-copy {
  position: relative;
  z-index: 1;
}

.dealoffer-location-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--dol-accent);
  font-size: 12.5px;
  font-weight: 700;
}

.dealoffer-location-back:hover {
  color: #0f56c4;
}

.dealoffer-location-back:focus-visible {
  outline: 3px solid rgba(23, 105, 232, 0.35);
  outline-offset: 3px;
  border-radius: 6px;
}

.dealoffer-location-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--dol-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dealoffer-location-archive-copy h1 {
  margin-bottom: 10px;
  color: var(--dol-ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.dealoffer-location-archive-copy p {
  max-width: 620px;
  margin-bottom: 16px;
  color: var(--dol-muted);
  font-size: 14px;
  line-height: 1.55;
}

.dealoffer-location-archive-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid #d4e6fa;
  border-radius: 999px;
  background: #fff;
  color: var(--dol-ink);
  font-size: 12px;
  font-weight: 700;
}

.dealoffer-location-archive-media {
  position: relative;
  z-index: 1;
  padding: 9px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 42, 76, 0.08);
}

.dealoffer-location-archive-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Product cards mirror the shop card design (DealOffer brand red). */
.dealoffer-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.dealoffer-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #f0e3e6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(133, 13, 22, 0.06);
  color: #333e48;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dealoffer-product-card:hover {
  transform: translateY(-3px);
  border-color: #a1020c;
  box-shadow: 0 8px 22px rgba(133, 13, 22, 0.08);
}

.dealoffer-product-card:focus-within {
  outline: 3px solid rgba(161, 2, 12, 0.25);
  outline-offset: 2px;
}

.dealoffer-product-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-bottom: 1px solid #f0e3e6;
  background: #fcedee;
}

.dealoffer-product-media-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  line-height: 0;
}

.dealoffer-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.dealoffer-product-card:hover .dealoffer-product-media img {
  transform: scale(1.03);
}

.dealoffer-product-card .dealoffer-deal-type {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: #c51624;
  box-shadow: 0 3px 8px rgba(190, 0, 20, 0.18);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.dealoffer-product-card .dealoffer-deal-type.dealoffer-deal-type--offline {
  background: #102a4c;
  box-shadow: 0 3px 8px rgba(16, 42, 76, 0.18);
}

.dealoffer-product-card .dealoffer-merchant-badge {
  top: 12px;
  right: 12px;
  z-index: 5;
}

.dealoffer-product-card .dealoffer-merchant-badge img.dealoffer-merchant-logo {
  max-width: 44px !important;
  max-height: 32px !important;
}

.dealoffer-product-wishlist {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.dealoffer-product-card:has(.dealoffer-merchant-badge) .dealoffer-product-wishlist {
  top: 70px;
}

.dealoffer-product-card:hover .dealoffer-product-wishlist,
.dealoffer-product-card:focus-within .dealoffer-product-wishlist {
  opacity: 1;
  visibility: visible;
}

.dealoffer-product-wishlist .yith-add-to-wishlist-button-block,
.dealoffer-product-wishlist .yith-wcwl-add-to-wishlist,
.dealoffer-product-wishlist .yith-wcwl-add-to-wishlist-button {
  opacity: 1 !important;
  transform: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0;
  border: 1px solid #f0e3e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(133, 13, 22, 0.1);
  color: #333e48;
}

.dealoffer-product-wishlist .yith-add-to-wishlist-button-block:hover {
  border-color: #a1020c;
  background: #fcedee;
}

.dealoffer-product-wishlist svg {
  width: 16px;
  height: 16px;
}

.dealoffer-product-wishlist a {
  color: #333e48;
}

.dealoffer-product-wishlist .yith-wcwl-add-to-wishlist-button__label {
  display: none;
}

.dealoffer-product-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 12px 12px 14px;
}

.dealoffer-product-cats {
  overflow: hidden;
  margin: 0 0 5px;
  color: #73787d;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dealoffer-product-cats a {
  color: #73787d;
}

.dealoffer-product-cats a:hover {
  color: #a1020c;
}

.dealoffer-product-title-link {
  display: block;
  margin: 0 0 6px;
  color: #333e48;
  text-decoration: none;
}

.dealoffer-product-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.7em;
  margin: 0;
  color: #333e48;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dealoffer-product-title-link:hover .dealoffer-product-title {
  color: #a1020c;
}

.dealoffer-product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  margin: 2px 0 0;
  color: #a1020c;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.dealoffer-product-price ins {
  order: 1;
  background: transparent;
  color: #a1020c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.dealoffer-product-price del {
  order: 2;
  color: #73787d;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
}

.dealoffer-product-card .dealoffer-deal-now {
  width: 100%;
  margin-top: auto;
  padding-top: 9px;
  padding-bottom: 9px;
}

.dealoffer-product-card .dealoffer-deal-now:focus-visible {
  outline: 3px solid rgba(161, 2, 12, 0.35);
  outline-offset: 2px;
}

.dealoffer-location-empty-state {
  margin-top: 26px;
  padding: 46px 24px;
  border: 1px dashed #c7dcf5;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.dealoffer-location-empty-state h2 {
  margin-bottom: 8px;
  color: var(--dol-ink);
  font-size: 22px;
  font-weight: 800;
}

.dealoffer-location-empty-state p {
  max-width: 520px;
  margin: 0 auto 18px;
  color: var(--dol-muted);
  font-size: 14px;
  line-height: 1.55;
}

.dealoffer-location-empty-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dol-accent);
  font-size: 13px;
  font-weight: 700;
}

.dealoffer-location-empty-link:hover {
  color: #0f56c4;
}

.dealoffer-location-empty-link:focus-visible {
  outline: 3px solid rgba(23, 105, 232, 0.35);
  outline-offset: 3px;
  border-radius: 6px;
}

.dealoffer-location-archive .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.dealoffer-location-archive .page-numbers li {
  margin: 0;
}

.dealoffer-location-archive .page-numbers a,
.dealoffer-location-archive .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--dol-border);
  border-radius: 8px;
  background: #fff;
  color: var(--dol-ink);
  font-size: 12.5px;
  font-weight: 700;
}

.dealoffer-location-archive .page-numbers .current {
  border-color: var(--dol-accent);
  background: var(--dol-accent);
  color: #fff;
}

.dealoffer-location-archive .page-numbers a:hover {
  border-color: var(--dol-accent);
  color: var(--dol-accent);
}

/* Hide the theme page title on the two new templates. */
.dealoffer-locations-page .page-header,
.dealoffer-location-archive-page .page-header {
  display: none;
}

.dealoffer-locations-page #main-content,
.dealoffer-location-archive-page #main-content {
  padding-top: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .dealoffer-location-card {
    flex-basis: calc((100% - 42px) / 4);
  }

  .dealoffer-locations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dealoffer-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dealoffer-location-card {
    flex-basis: calc((100% - 28px) / 3);
  }

  .dealoffer-location-archive-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dealoffer-location-archive-media {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .dealoffer-location-section {
    margin-top: 22px;
    padding: 0 14px;
  }

  .dealoffer-location-shell {
    padding: 22px 18px 18px;
  }

  .dealoffer-location-header {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }

  .dealoffer-location-heading-copy h2 {
    font-size: 21px;
  }

  .dealoffer-location-heading-copy p {
    font-size: 12.5px;
  }

  .dealoffer-location-viewall {
    padding: 0;
  }

  .dealoffer-location-card {
    flex-basis: calc((100% - 14px) / 2);
  }

  .dealoffer-location-arrow {
    width: 32px;
    height: 32px;
  }

  .dealoffer-location-arrow-prev {
    left: -5px;
  }

  .dealoffer-location-arrow-next {
    right: -5px;
  }

  .dealoffer-locations-directory {
    margin-top: 24px;
    padding: 0 14px;
  }

  .dealoffer-locations-directory-shell {
    padding: 22px 18px;
  }

  .dealoffer-locations-directory-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .dealoffer-locations-search {
    flex: 1 1 auto;
    min-width: 0;
  }

  .dealoffer-locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .dealoffer-location-archive {
    margin-top: 24px;
    padding: 0 14px;
  }

  .dealoffer-location-archive-hero {
    padding: 22px 18px;
  }

  .dealoffer-location-archive-copy h1 {
    font-size: 27px;
  }

  .dealoffer-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .dealoffer-product-media {
    padding: 8px;
  }

  .dealoffer-product-body {
    padding: 10px;
  }

  .dealoffer-product-card .dealoffer-deal-type {
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    font-size: 9.5px;
  }

  .dealoffer-product-card .dealoffer-merchant-badge {
    top: 10px;
    right: 10px;
  }

  .dealoffer-product-wishlist {
    top: 10px;
    right: 10px;
  }

  .dealoffer-product-card:has(.dealoffer-merchant-badge) .dealoffer-product-wishlist {
    top: 64px;
  }

  .dealoffer-product-wishlist .yith-add-to-wishlist-button-block,
  .dealoffer-product-wishlist .yith-wcwl-add-to-wishlist,
  .dealoffer-product-wishlist .yith-wcwl-add-to-wishlist-button {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }

  .dealoffer-product-wishlist svg {
    width: 14px;
    height: 14px;
  }

  .dealoffer-product-title {
    font-size: 12px;
  }

  .dealoffer-product-price,
  .dealoffer-product-price ins {
    font-size: 14px;
  }

  .dealoffer-product-price del {
    font-size: 10px;
  }
}

@media (hover: none) {
  .dealoffer-product-wishlist {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 480px) {
  .dealoffer-location-section {
    padding: 0 10px;
  }

  .dealoffer-location-shell {
    padding: 20px 14px 16px;
    border-radius: 16px;
  }

  .dealoffer-location-city-pill {
    padding: 5px 8px;
    font-size: 12px;
  }

  .dealoffer-location-count {
    font-size: 10px;
  }

  .dealoffer-location-card-body {
    gap: 5px;
  }

  .dealoffer-locations-directory {
    padding: 0 10px;
  }

  .dealoffer-locations-directory-shell {
    padding: 20px 14px;
    border-radius: 16px;
  }

  .dealoffer-locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dealoffer-location-archive {
    padding: 0 10px;
  }

  .dealoffer-location-archive-hero {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .dealoffer-location-archive-copy h1 {
    font-size: 24px;
  }

  .dealoffer-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .dealoffer-products {
    grid-template-columns: 1fr;
  }

  .dealoffer-locations-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dealoffer-location-section *,
  .dealoffer-locations-directory *,
  .dealoffer-location-archive * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Minimal red city row (homepage) */
.dealoffer-location-section--minimal {
  --dol-border: #f6d7d7;
  width: 100%;
  max-width: none;
  margin: 28px 0 36px;
  padding: 0 40px;
}

.dealoffer-location-section--minimal .dealoffer-location-shell {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.dealoffer-location-section--minimal .dealoffer-location-shell::before,
.dealoffer-location-section--minimal .dealoffer-location-shell::after {
  display: none;
}

.dealoffer-location-section--minimal .dealoffer-location-header {
  align-items: flex-start;
  margin-bottom: 18px;
}

.dealoffer-location-section--minimal .dealoffer-location-heading-wrap {
  gap: 12px;
}

.dealoffer-location-section--minimal .dealoffer-location-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: 0;
  border-radius: 50%;
  background: #fdeced;
  color: var(--dol-red);
}

.dealoffer-location-section--minimal .dealoffer-location-pin svg {
  width: 24px;
  height: 24px;
}

.dealoffer-location-section--minimal .dealoffer-location-heading-copy h2 {
  color: var(--dol-ink);
  font-size: 24px;
  line-height: 1.2;
}

.dealoffer-location-section--minimal .dealoffer-location-heading-copy p {
  margin-top: 2px;
  color: var(--dol-muted);
  font-size: 12.5px;
  font-weight: 400;
}

.dealoffer-location-section--minimal .dealoffer-location-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.dealoffer-location-section--minimal .dealoffer-location-card {
  min-width: 0;
  padding: 10px 10px 8px;
  border: 1px solid var(--dol-border);
  border-radius: var(--dol-card-radius);
  background: var(--dol-white);
  box-shadow: 0 6px 18px rgba(225, 29, 46, 0.06);
}

.dealoffer-location-section--minimal .dealoffer-location-card:hover {
  border-color: var(--dol-red);
  box-shadow: 0 14px 28px rgba(225, 29, 46, 0.12);
}

.dealoffer-location-section--minimal .dealoffer-location-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  aspect-ratio: auto;
  border-radius: 0;
  background: var(--dol-white);
}

.dealoffer-location-section--minimal .dealoffer-location-media img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.dealoffer-location-section--minimal .dealoffer-location-card-body {
  padding: 8px 2px 2px;
}

.dealoffer-location-section--minimal .dealoffer-location-city-pill,
.dealoffer-location-section--minimal .dealoffer-location-card.is-featured .dealoffer-location-city-pill {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--dol-ink);
  font-size: 14px;
  font-weight: 700;
}

.dealoffer-location-section--minimal .dealoffer-location-count {
  display: none;
}

.dealoffer-location-section--minimal .dealoffer-location-card-arrow {
  width: 24px;
  height: 24px;
  background: #fdeced;
  color: var(--dol-red);
}

.dealoffer-location-section--minimal .dealoffer-location-card:hover .dealoffer-location-card-arrow {
  background: var(--dol-red);
  color: #fff;
  transform: translateX(2px);
}

@media (max-width: 1000px) {
  .dealoffer-location-section--minimal {
    padding: 0 24px;
  }

  .dealoffer-location-section--minimal .dealoffer-location-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dealoffer-location-section--minimal .dealoffer-location-media {
    height: 100px;
  }
}

@media (max-width: 700px) {
  .dealoffer-location-section--minimal {
    margin: 22px 0 28px;
    padding: 0 16px;
  }

  .dealoffer-location-section--minimal .dealoffer-location-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .dealoffer-location-section--minimal .dealoffer-location-media {
    height: 92px;
  }

  .dealoffer-location-section--minimal .dealoffer-location-heading-copy h2 {
    font-size: 21px;
  }

  .dealoffer-location-section--minimal .dealoffer-location-heading-copy p {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .dealoffer-location-section--minimal {
    padding: 0 12px;
  }

  .dealoffer-location-section--minimal .dealoffer-location-card {
    padding: 8px 8px 6px;
  }

  .dealoffer-location-section--minimal .dealoffer-location-media {
    height: 82px;
  }

  .dealoffer-location-section--minimal .dealoffer-location-city-pill {
    font-size: 13px;
  }
}

/* Luxury Picks: let the empty carousel arrow strip pass clicks to the header button */
.elementor-6195 .elementor-element-2a0ea34 .swiper-container {
  pointer-events: none;
}

.elementor-6195 .elementor-element-2a0ea34 .swiper-wrapper {
  pointer-events: auto;
}

.elementor-6195 .elementor-element-bf7b7b3 .swiper-container {
  pointer-events: none;
}

.elementor-6195 .elementor-element-bf7b7b3 .swiper-wrapper {
  pointer-events: auto;
}

/* ============================================================
   LOCATION ARCHIVE PRODUCT CARDS
   Match the approved homepage card design: 20px radius, fine
   border, soft shadow, framed image well, stacked prices with a
   black strike, red savings pill, and a full-width DEAL NOW pill.
   ============================================================ */

.dealoffer-products .dealoffer-product-card {
	border: 1px solid #F1EEEE !important;
	border-radius: 20px !important;
	background: #FFFFFF !important;
	box-shadow: 0 5px 18px rgba(30, 20, 20, 0.09), 0 2px 6px rgba(30, 20, 20, 0.035) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.dealoffer-products .dealoffer-product-card:hover {
	transform: translateY(-4px) !important;
	border-color: #F2C6C9 !important;
	box-shadow: 0 12px 25px rgba(150, 20, 30, 0.12), 0 4px 10px rgba(150, 20, 30, 0.04) !important;
}

/* Image well */
.dealoffer-products .dealoffer-product-media {
	height: 180px !important;
	min-height: 180px !important;
	padding: 12px !important;
	margin: 15px 15px 0 !important;
	border: 1px solid #E0E7F1 !important;
	border-radius: 12px !important;
	background: #FFFFFF !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

.dealoffer-products .dealoffer-product-media-link {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
}

.dealoffer-products .dealoffer-product-media img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 165px !important;
	object-fit: contain !important;
}

/* Body */
.dealoffer-products .dealoffer-product-body {
	padding: 5px 15px 15px !important;
	background: #FFFFFF !important;
}

/* Category line hidden, as on the homepage card */
.dealoffer-products .dealoffer-product-cats {
	display: none !important;
}

/* Title */
.dealoffer-products .dealoffer-product-title-link {
	margin: 0 0 4px !important;
}

.dealoffer-products .dealoffer-product-title {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	overflow: hidden !important;
	height: 40.5px !important;
	min-height: 40.5px !important;
	max-height: 40.5px !important;
	margin: 0 !important;
	font-family: Rubik, sans-serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	letter-spacing: -0.25px !important;
	color: #292929 !important;
}

/* Price stack: offer -> original -> savings */
.dealoffer-products .dealoffer-product-price {
	position: static !important;
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	row-gap: 2px !important;
	column-gap: 0 !important;
	width: 100% !important;
	min-height: 80px !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.25 !important;
	font-size: 17px !important;
	font-weight: 700 !important;
}

.dealoffer-products .dealoffer-product-price ins {
	order: 1 !important;
	display: inline-flex !important;
	align-self: flex-start !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

.dealoffer-products .dealoffer-product-price ins .woocommerce-Price-amount {
	color: #D71928 !important;
	font-family: Rubik, sans-serif !important;
	font-size: 19px !important;
	font-weight: 800 !important;
	letter-spacing: -0.5px !important;
}

.dealoffer-products .dealoffer-product-price del {
	order: 2 !important;
	position: relative !important;
	display: inline-flex !important;
	align-self: flex-start !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #FF3D3D !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 15.6px !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

.dealoffer-products .dealoffer-product-price del * {
	color: #FF3D3D !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
}

.dealoffer-products .dealoffer-product-price del::after {
	content: "" !important;
	position: absolute !important;
	top: 50% !important;
	right: 0 !important;
	left: 0 !important;
	height: 1px !important;
	background: #000000 !important;
	pointer-events: none !important;
}

/* Savings pill */
.dealoffer-products .dealoffer-product-price .price-save,
.dealoffer-products .dealoffer-product-card .price-save {
	order: 3 !important;
	position: relative !important;
	align-self: center !important;
	width: fit-content !important;
	min-height: 25px !important;
	margin: 6px auto 0 !important;
	padding: 0 5.5px !important;
	background: #FF3D3D !important;
	color: #FFFFFF !important;
	border: none !important;
	border-radius: 3px !important;
	font-family: Inter, sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 24px !important;
	text-align: center !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
}

/* DEAL NOW pill */
.dealoffer-products .dealoffer-product-card .dealoffer-deal-now {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	margin: 6px 0 0 !important;
	padding: 9px 14px !important;
	background: #A1020C !important;
	color: #FFFFFF !important;
	border-radius: 999px !important;
	font-family: Rubik, sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 15.6px !important;
	box-sizing: border-box !important;
}

.dealoffer-products .dealoffer-product-card .dealoffer-deal-now:hover {
	background: #8F060D !important;
}

/* Responsive: match the homepage scale */
@media (max-width: 1024px) {
	.dealoffer-products .dealoffer-product-card { border-radius: 16px !important; }
	.dealoffer-products .dealoffer-product-media {
		height: 155px !important; min-height: 155px !important; padding: 10px !important;
	}
	.dealoffer-products .dealoffer-product-media img { max-height: 140px !important; }
	.dealoffer-products .dealoffer-product-body { padding: 5px 11px 12px !important; }
	.dealoffer-products .dealoffer-product-price { min-height: 74px !important; }
	.dealoffer-products .dealoffer-product-price ins .woocommerce-Price-amount { font-size: 17px !important; }
}

@media (max-width: 767px) {
	.dealoffer-products .dealoffer-product-card { border-radius: 15px !important; }
	.dealoffer-products .dealoffer-product-media {
		height: 135px !important; min-height: 135px !important; padding: 9px !important;
		margin: 12px 12px 0 !important;
	}
	.dealoffer-products .dealoffer-product-media img { max-height: 125px !important; }
	.dealoffer-products .dealoffer-product-body { padding: 4px 12px 12px !important; }
	.dealoffer-products .dealoffer-product-title { font-size: 14px !important; }
	.dealoffer-products .dealoffer-product-price { min-height: 70px !important; }
	.dealoffer-products .dealoffer-product-price ins .woocommerce-Price-amount { font-size: 16px !important; }
	.dealoffer-products .dealoffer-product-price del,
	.dealoffer-products .dealoffer-product-price del * { font-size: 13px !important; line-height: 14.3px !important; }
	.dealoffer-products .dealoffer-product-price .price-save {
		margin-top: 5px !important; font-size: 11px !important; line-height: 20px !important;
	}
}