/* CompareTiger homepage (plugin) — visual tokens taken from the live site (29 Nov 2026).
   Accent / buttons #f39339 (official mascot orange), hover #ee8730, header #000, footer #3f3f3f, sale green #6dab3c,
   type: Roboto + system CJK (the live site does not ship a CJK webfont). */

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #ffffff;
  --color-ink: #111111;
  --color-ink-soft: #333333;
  --color-muted: #666666;
  --color-faint: #888888;
  --color-line: #e6e6e6;
  --color-wash: #f6f6f6;
  --color-header: #000000;
  --color-footer: #3f3f3f;
  --color-footer-ink: #f3f3f3;
  --color-accent: #f39339;
  --color-accent-hover: #ee8730;
  --color-sale: #6dab3c;
  --color-on-accent: #ffffff;
  --color-mock: #f4efe6;
  --color-mock-ink: #5c5346;
  --color-mock-line: #d9d0c3;
  --font: Roboto, "Helvetica Neue", "PingFang HK", "PingFang TC", "Noto Sans TC",
    "Microsoft JhengHei", "Heiti TC", "Hiragino Sans GB", sans-serif;
  --container: 1140px;
  --header-h: 64px;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-ink);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 1000;
  background: var(--color-accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Mock banner ----- */
.mock-banner {
  background: var(--color-mock);
  color: var(--color-mock-ink);
  border-bottom: 1px solid var(--color-mock-line);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  padding: 8px 16px;
}
.mock-banner a {
  color: var(--color-mock-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mock-banner a:hover {
  color: var(--color-ink);
}

/* ----- Header ----- */
.site-header {
  background: var(--color-header);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  overflow: visible;
}
.site-header .container,
.header-inner {
  overflow: visible;
}

.site-header a {
  color: #fff;
}
.site-header a:hover,
.site-header a:focus-visible {
  color: #fff;
  opacity: 0.82;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 8px 0;
  min-width: 0;
}
.site-header a.brand:hover,
.site-header a.brand:focus-visible {
  opacity: 1;
  color: #fff;
}
.brand-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}
.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  white-space: nowrap;
}
.brand-tag {
  font-size: 11px;
  line-height: 1.2;
  color: #cfcfcf;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  overflow: visible;
}
.nav .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  overflow: visible;
}
.nav .menu > li {
  position: relative;
  flex: 0 0 auto;
}
.nav a {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  padding: 8px 10px;
  white-space: nowrap;
  border-radius: 4px;
}
.nav .menu > li > a {
  display: block;
}
.nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.75;
}
.nav a[aria-current="page"],
.nav .current-menu-item > a,
.nav .current-menu-parent > a,
.nav .current-menu-ancestor > a {
  box-shadow: inset 0 -2px 0 var(--color-accent);
}
.nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  color: var(--color-ink);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.06);
  z-index: 220;
}
.nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.nav .menu > li:nth-last-child(-n+4) > .sub-menu {
  left: auto;
  right: 0;
}
.nav .menu > li:hover > .sub-menu,
.nav .menu > li:focus-within > .sub-menu,
.nav .menu > li.is-open > .sub-menu {
  display: block;
}
.nav .sub-menu a {
  display: block;
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 0;
  white-space: nowrap;
}
.site-header .nav .sub-menu a:hover,
.site-header .nav .sub-menu a:focus-visible {
  color: var(--color-ink);
  background: var(--color-wash);
  opacity: 1;
}
.nav-sub-toggle {
  display: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
}
.nav-sub-toggle svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.15s ease;
}
.nav .menu-item-has-children.is-open > .nav-sub-toggle svg {
  transform: rotate(180deg);
}

.header-search {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.header-search a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.header-search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----- Hero ----- */
.hero {
  padding: 36px 0 28px;
  background: var(--color-bg);
  text-align: center;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 8px;
}
.hero h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-ink);
}
.hero h1 span {
  color: #555;
  font-weight: 700;
}
.hero-lead {
  margin: 10px auto 0;
  max-width: 36em;
  color: var(--color-muted);
  font-size: 16px;
}
.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-on-accent);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}
.btn-ghost {
  background: #fff;
  border-color: #d0d0d0;
  color: var(--color-ink);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--color-ink);
  color: var(--color-ink);
}

/* Rotating announcement bar: one message at a time, with arrows */
.announce {
  border-top: 2px solid var(--color-accent);
  border-bottom: 1px solid var(--color-line);
  background: #fafafa;
  overflow: hidden;
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 48px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.announce-btn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 50%;
  color: var(--color-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.announce-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.announce-btn:hover,
.announce-btn:focus-visible {
  background: #fff;
  color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 147, 57, 0.28);
}
.announce-viewport {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  align-items: center;
}
.announce-item {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--color-ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
.announce-item.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
.announce-item:hover .announce-text,
.announce-item:focus-visible .announce-text {
  color: var(--color-accent);
}
.announce-kicker {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
  background: var(--color-accent);
  padding: 4px 7px;
  border-radius: 3px;
}
.announce-kicker-news {
  background: var(--color-ink);
}
.announce-text {
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announce.is-static .announce-item {
  transition: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .announce-item {
    transition: none;
    transform: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Image carousel (走馬燈), first main section ----- */
.hero-carousel {
  padding: 16px 0 8px;
  background: var(--color-bg);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.hero-carousel-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ececec;
  aspect-ratio: 16 / 9;
}
.hero-carousel-viewport {
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}
.hero-carousel-viewport:active {
  cursor: grabbing;
}
.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}
.hero-carousel.is-static .hero-carousel-track {
  transition: none;
}
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  color: #fff;
  display: block;
  min-width: 0;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 56px 18px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.hero-slide-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
  background: var(--color-accent);
  padding: 4px 8px;
  border-radius: 3px;
}
.hero-slide-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.hero-slide:hover .hero-slide-title,
.hero-slide:focus-visible .hero-slide-title {
  color: #fff;
}
.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-carousel-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-carousel-prev { left: 10px; }
.hero-carousel-next { right: 10px; }
.hero-carousel-btn:hover,
.hero-carousel-btn:focus-visible {
  background: rgba(0, 0, 0, 0.62);
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 147, 57, 0.7);
}
.hero-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  margin-top: 4px;
}
.hero-carousel-dot {
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-carousel-dot::after {
  content: "";
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: #c8c8c8;
  transition: background 0.2s ease, width 0.2s ease;
}
.hero-carousel-dot.is-active::after {
  width: 22px;
  background: var(--color-accent);
}
.hero-carousel-dot:hover::after,
.hero-carousel-dot:focus-visible::after {
  background: var(--color-accent-hover);
}
.hero-carousel-dot:focus-visible {
  outline: none;
}
.hero-carousel-dot:focus-visible::after {
  box-shadow: 0 0 0 2px rgba(243, 147, 57, 0.45);
}
.hero-carousel.is-static .hero-carousel-dot::after {
  transition: none;
}


/* ----- Merchant circle row (between 最新優惠 and 購物優惠) ----- */
.merchant-strip {
  padding: 8px 0 10px;
  background: var(--color-bg);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.merchant-strip-wrap {
  position: relative;
}
.merchant-strip-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 36px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--color-bg) 90%);
  z-index: 1;
}
.merchant-scroller {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  padding: 8px 28px 4px 0;
  scrollbar-width: none;
}
.merchant-scroller::-webkit-scrollbar {
  display: none;
}
.merchant-item {
  flex: 0 0 56px;
  width: 56px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
}
.merchant-item:hover,
.merchant-item:focus-visible {
  color: inherit;
}
.merchant-item:focus-visible {
  outline: 2px solid rgba(243, 147, 57, 0.7);
  outline-offset: 2px;
}
.merchant-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}
.merchant-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.merchant-item:hover .merchant-logo,
.merchant-item:focus-visible .merchant-logo {
  border-color: var(--color-accent);
}
.merchant-name {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-muted);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  padding: 0 2px;
}
.merchant-item:hover .merchant-name,
.merchant-item:focus-visible .merchant-name {
  color: var(--color-ink);
}
.merchant-dot {
  position: absolute;
  right: 4px;
  top: 6px;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c1121f;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
}
.merchant-arrow {
  position: absolute;
  top: 18px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-line);
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.merchant-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.merchant-prev { left: -6px; }
.merchant-next { right: -6px; }
.merchant-arrow:hover,
.merchant-arrow:focus-visible {
  background: #fff;
  color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 147, 57, 0.28);
}
.merchant-arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ----- 購物優惠 horizontal promo strip (HK01 推廣項目 layout) ----- */
.shop-deals {
  padding: 12px 0 8px;
  background: var(--color-bg);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.shop-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.shop-head h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.shop-all {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
}
.shop-all:hover,
.shop-all:focus-visible {
  color: var(--color-accent);
}
.shop-scroller-wrap {
  position: relative;
}
.shop-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}
.shop-scroller::-webkit-scrollbar {
  display: none;
}
.shop-deals {
  --shop-card-w: 240px;
}
.shop-card {
  flex: 0 0 var(--shop-card-w);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: var(--shadow);
  color: inherit;
}
.shop-card:hover {
  border-color: #d8d8d8;
}
.shop-card-media {
  aspect-ratio: 16 / 10;
  background: var(--color-wash);
  overflow: hidden;
}
.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.shop-card-media-top img {
  object-position: center 30%;
}
.shop-card-body {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.shop-card-merchant {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-faint);
  line-height: 1.2;
}
.shop-card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.shop-card:hover .shop-card-title,
.shop-card:focus-visible .shop-card-title {
  color: var(--color-accent);
}
.shop-card-offer {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.3;
  margin-top: 1px;
}
.shop-arrow {
  position: absolute;
  top: calc(var(--shop-card-w) * 10 / 16 / 2 - 18px);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-line);
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.shop-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shop-prev { left: -8px; }
.shop-next { right: -8px; }
.shop-arrow:hover,
.shop-arrow:focus-visible {
  background: #fff;
  color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 147, 57, 0.28);
}
.shop-arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
}


/* ----- 最新優惠 large post swipe (v1.1.0 shop-card widths, new class names) ----- */
.post-deals {
  padding: 12px 0 8px;
  background: var(--color-bg);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.post-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.post-head h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.post-all {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
}
.post-all:hover,
.post-all:focus-visible {
  color: var(--color-accent);
}
.post-scroller-wrap {
  position: relative;
}
.post-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}
.post-scroller::-webkit-scrollbar {
  display: none;
}
.post-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: var(--shadow);
  color: inherit;
}
.post-card:hover {
  border-color: #d8d8d8;
}
.post-card-media {
  aspect-ratio: 16 / 10;
  background: var(--color-wash);
  overflow: hidden;
}
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.post-card-media-contain {
  background: #7a0f16;
}
.post-card-media-contain img {
  object-fit: contain;
}
.post-card-media-text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fc;
  padding: 16px;
}
.post-card-thumb {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-ink);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.04em;
}
.post-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.post-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-faint);
  line-height: 1.2;
  margin: 0;
}
.post-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.post-card:hover .post-card-title,
.post-card:focus-visible .post-card-title {
  color: var(--color-accent);
}
.post-card-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-muted);
  line-height: 1.3;
  margin: 2px 0 0;
}
.post-arrow {
  position: absolute;
  top: 100px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-line);
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.post-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.post-prev { left: -8px; }
.post-next { right: -8px; }
.post-arrow:hover,
.post-arrow:focus-visible {
  background: #fff;
  color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 147, 57, 0.28);
}
.post-arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
}


/* Sections */
.section {
  padding: 40px 0 16px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.products,
.compare,
.announce,
.hero,
.hero-carousel,
.merchant-strip,
.shop-deals,
.post-deals {
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.section-head {
  margin-bottom: 20px;
}
.section-head h2 {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}
.section-head p {
  margin-top: 4px;
  text-align: center;
  color: var(--color-muted);
  font-size: 14px;
}

/* Articles — compact magazine list kept for leftover card styles */
#latest-deals {
  padding: 12px 0 8px;
}
#travel-tips {
  padding-top: 28px;
  padding-bottom: 16px;
}

/* Destination-country circles in 旅遊攻略 (light background).
   New class names — do not reuse .merchant-* or .cmp-brand* here. */
.travel-countries {
  margin: 0 0 12px;
}
.travel-countries-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-muted);
  margin: 0 0 8px;
}
.travel-countries-wrap {
  position: relative;
}
.travel-countries-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 36px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--color-bg) 90%);
  z-index: 1;
}
.travel-countries-scroller {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 36px;
  -webkit-overflow-scrolling: touch;
  padding: 6px 36px 4px 36px;
  scrollbar-width: none;
}
.travel-countries-scroller::-webkit-scrollbar {
  display: none;
}
.travel-country {
  flex: 0 0 76px;
  width: 76px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  border-radius: 8px;
}
.travel-country:hover,
.travel-country:focus-visible {
  color: inherit;
}
.travel-country:focus-visible {
  outline: 2px solid rgba(243, 147, 57, 0.7);
  outline-offset: 2px;
}
.travel-country-flag {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  box-sizing: border-box;
}
.travel-country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.travel-country-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0.02em;
  background: #f4f4f4;
}
.travel-country-mono {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1;
}
.travel-country:hover .travel-country-flag,
.travel-country:focus-visible .travel-country-flag,
.travel-country.is-active .travel-country-flag {
  border-color: var(--color-accent);
}
.travel-country.is-active .travel-country-flag {
  box-shadow: 0 0 0 2px rgba(243, 147, 57, 0.28);
}
.travel-country-name {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-muted);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  padding: 0 2px;
}
.travel-country:hover .travel-country-name,
.travel-country:focus-visible .travel-country-name,
.travel-country.is-active .travel-country-name {
  color: var(--color-ink);
}
.travel-country-arrow {
  position: absolute;
  top: 18px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-line);
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.travel-country-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.travel-country-prev { left: 2px; }
.travel-country-next { right: 2px; }
.travel-country-arrow:hover,
.travel-country-arrow:focus-visible {
  background: #fff;
  color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 147, 57, 0.28);
}
.travel-country-arrow:disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: var(--shadow);
  color: inherit;
}
.card:hover {
  color: inherit;
  border-color: #ccc;
}
.card:hover .card-title {
  color: var(--color-accent);
}
.card-media {
  position: relative;
  background: var(--color-wash);
  overflow: hidden;
  flex: 0 0 auto;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 12px;
  color: var(--color-faint);
}
.card-cat {
  font-weight: 700;
  color: var(--color-ink);
}
.card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-ink);
}

/* Lead: horizontal band, image left ~46%, text right, ~240px tall on desktop */
.card-lead {
  flex-direction: row;
  align-items: stretch;
  height: 240px;
  margin-bottom: 12px;
}
.card-lead .card-media {
  flex: 0 0 46%;
  width: 46%;
  height: 100%;
}
.card-lead .card-body {
  justify-content: center;
  padding: 20px 24px;
  gap: 8px;
}
.card-lead .card-title {
  font-size: 20px;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.card-lead .card-excerpt {
  font-size: 14px;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
}

/* Remaining articles: 2-column compact horizontal rows */
.article-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.card-row {
  flex-direction: row;
  align-items: stretch;
  height: 107px;
}
.card-row .card-media {
  flex: 0 0 168px;
  width: 168px;
  height: 105px;
  align-self: center;
}
.card-row .card-body {
  padding: 8px 12px;
  justify-content: center;
  gap: 4px;
}
.card-row .card-meta {
  gap: 6px 8px;
}
.card-row .card-title {
  font-size: 14px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* Typography-led thumbs: logo-only or no official photo — do not crop a logo as a cover */
.card-row.card-text .card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fc;
  padding: 10px;
}
.card-row.card-text .card-media img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.card-thumb-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
  text-align: center;
  line-height: 1.3;
}
.card-media-contain {
  background: #7a0f16;
}
.card-media-contain img {
  object-fit: contain;
}

/* Search / compare */
.compare {
  margin-top: 28px;
  color: #fff;
  background-color: #161616;
  background-image: url("bg-compare-home.jpg");
  background-position: center center;
  background-size: cover;
  position: relative;
}
.compare::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  pointer-events: none;
}
.compare-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 20px 56px;
  text-align: center;
}
.compare h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
}
.compare-sub {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
}
.compare-form {
  margin: 24px auto 0;
  display: flex;
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.compare-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 14px 16px;
  color: var(--color-ink);
  background: #fff;
  outline: none;
}
.compare-form input[type="search"]::placeholder {
  color: #888;
}
.compare-form button {
  flex: 0 0 auto;
  border: 0;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  padding: 0 22px;
  cursor: pointer;
}
.compare-form button:hover,
.compare-form button:focus-visible {
  background: var(--color-accent-hover);
}

.cmp-block {
  margin: 22px auto 0;
  max-width: 740px;
}
.cmp-label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
}
.cmp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 16px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
}
.pill:hover,
.pill:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.pill-hot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(243, 147, 57, 0.35);
}
.pill-hot:hover,
.pill-hot:focus-visible {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}
.cmp-hint {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0 0;
}

/* Product-brand circles in the compare search section (dark background).
   New class names — do not reuse .merchant-* here. */
.cmp-brands {
  margin: 22px auto 0;
  max-width: 740px;
  text-align: left;
}
.cmp-brands .cmp-label {
  margin-bottom: 8px;
}
.cmp-brands-wrap {
  position: relative;
}
.cmp-brands-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 36px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.82) 90%);
  z-index: 1;
}
.cmp-brands-scroller {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 36px;
  -webkit-overflow-scrolling: touch;
  padding: 6px 36px 4px 36px;
  scrollbar-width: none;
}
.cmp-brands-scroller::-webkit-scrollbar {
  display: none;
}
.cmp-brand {
  flex: 0 0 76px;
  width: 76px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}
.cmp-brand:hover,
.cmp-brand:focus-visible {
  color: inherit;
}
.cmp-brand:focus-visible {
  outline: 2px solid rgba(243, 147, 57, 0.7);
  outline-offset: 2px;
}
.cmp-brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  box-sizing: border-box;
  padding: 8px;
}
.cmp-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cmp-brand:hover .cmp-brand-logo,
.cmp-brand:focus-visible .cmp-brand-logo {
  border-color: var(--color-accent);
}
.cmp-brand-mono {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #222;
  letter-spacing: -0.02em;
}
.cmp-brand-name {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.88);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  padding: 0 2px;
}
.cmp-brand:hover .cmp-brand-name,
.cmp-brand:focus-visible .cmp-brand-name {
  color: #fff;
}
.cmp-brand-arrow {
  position: absolute;
  top: 18px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}
.cmp-brand-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cmp-brand-prev { left: 2px; }
.cmp-brand-next { right: 2px; }
.cmp-brand-arrow:hover,
.cmp-brand-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 147, 57, 0.4);
}
.cmp-brand-arrow:disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Products */
.products {
  --product-card-w: 280px;
  padding: 44px 0 48px;
}
.product-brands {
  margin: 0 0 16px;
}
.product-brands-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-muted);
  margin: 0 0 8px;
}
.product-brands-wrap {
  position: relative;
}
.product-brands-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 36px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--color-bg) 90%);
  z-index: 1;
}
.product-brands-scroller {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 36px;
  -webkit-overflow-scrolling: touch;
  padding: 6px 36px 4px 36px;
  scrollbar-width: none;
}
.product-brands-scroller::-webkit-scrollbar {
  display: none;
}
.product-brand {
  flex: 0 0 76px;
  width: 76px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  border-radius: 8px;
}
.product-brand:hover,
.product-brand:focus-visible {
  color: inherit;
}
.product-brand:focus-visible {
  outline: 2px solid rgba(243, 147, 57, 0.7);
  outline-offset: 2px;
}
.product-brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  box-sizing: border-box;
  padding: 8px;
}
.product-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-brand-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0.02em;
  background: #f4f4f4;
  padding: 0;
}
.product-brand-mono {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1;
}
.product-brand:hover .product-brand-logo,
.product-brand:focus-visible .product-brand-logo,
.product-brand.is-active .product-brand-logo {
  border-color: var(--color-accent);
}
.product-brand.is-active .product-brand-logo {
  box-shadow: 0 0 0 2px rgba(243, 147, 57, 0.28);
}
.product-brand-name {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-muted);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  padding: 0 2px;
}
.product-brand:hover .product-brand-name,
.product-brand:focus-visible .product-brand-name,
.product-brand.is-active .product-brand-name {
  color: var(--color-ink);
}
.product-brand-arrow {
  position: absolute;
  top: 18px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-line);
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.product-brand-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-brand-prev { left: 2px; }
.product-brand-next { right: 2px; }
.product-brand-arrow:hover,
.product-brand-arrow:focus-visible {
  background: #fff;
  color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 147, 57, 0.28);
}
.product-brand-arrow:disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.product-scroller-wrap {
  position: relative;
}
.product-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}
.product-scroller::-webkit-scrollbar {
  display: none;
}
.product-card {
  flex: 0 0 var(--product-card-w);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: var(--shadow);
  color: inherit;
}
.product-card:hover {
  color: inherit;
  border-color: #d8d8d8;
}
.product-card-media {
  aspect-ratio: 16 / 10;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.product-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.product-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-faint);
  line-height: 1.2;
  margin: 0;
}
.product-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--color-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.product-card:hover .product-card-title,
.product-card:focus-visible .product-card-title {
  color: var(--color-accent);
}
.product-card-price {
  margin: 2px 0 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}
.product-card-cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
}
.product-card:hover .product-card-cta {
  background: var(--color-accent-hover);
  color: #fff;
}
.product-arrow {
  position: absolute;
  top: calc(var(--product-card-w) * 10 / 16 / 2 - 18px);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-line);
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.product-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-prev { left: -8px; }
.product-next { right: -8px; }
.product-arrow:hover,
.product-arrow:focus-visible {
  background: #fff;
  color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 147, 57, 0.28);
}
.product-arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.badge-sale {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-sale);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
}
.price-was {
  color: var(--color-faint);
  font-weight: 400;
  font-size: 13px;
  text-decoration: line-through;
}

/* Footer */
.site-footer {
  background: var(--color-footer);
  color: var(--color-footer-ink);
  padding: 44px 0 0;
  margin-top: 0;
}
.site-footer a {
  color: var(--color-footer-ink);
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px 28px;
  padding-bottom: 28px;
}
.footer-col h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}
.footer-about {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.footer-about img {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  color: #dedede;
}
.footer-col p + p {
  margin-top: 10px;
}
.footer-col a[href^="mailto"] {
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col li a {
  font-size: 14px;
}
.newsletter {
  margin-top: 16px;
}
.newsletter p {
  margin-bottom: 10px;
}
.newsletter-row {
  display: flex;
  width: 100%;
}
.newsletter-row input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 10px 12px;
  background: #fff;
  color: var(--color-ink);
}
.newsletter-row button {
  flex: 0 0 auto;
  border: 0;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  cursor: not-allowed;
  white-space: nowrap;
}
.newsletter-note {
  margin-top: 8px;
  font-size: 12px;
  color: #c5c5c5;
}
.social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #2a2a2a;
  border-radius: 4px;
  color: #fff;
}
.social a:hover {
  background: #111;
  color: #fff;
  text-decoration: none;
}
.social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0 28px;
  /* Extra end space so a sticky header cannot cover the copyright line. */
  padding-bottom: calc(28px + var(--header-h));
}
.footer-bottom p {
  font-size: 13px;
  color: #cfcfcf;
}

/* ----- Responsive ----- */
@media (min-width: 900px) {
  .shop-deals {
    --shop-card-w: 252px;
  }
  .post-card {
    flex-basis: 320px;
  }
  .products {
    --product-card-w: 320px;
  }
}

@media (max-width: 1024px) {
  .hero-slide-title {
    font-size: 20px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .nav .menu > li > a {
    padding: 8px 7px;
    font-size: 13px;
  }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--color-header);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 16px;
    gap: 0;
    border-top: 1px solid #222;
    z-index: 201;
    max-height: calc(100vh - var(--header-h) - 8px);
    overflow-x: hidden;
    overflow-y: auto;
  }
  .site-header.is-open .nav {
    display: flex;
  }
  .nav .menu {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
  }
  .nav .menu > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: static;
  }
  .nav .menu > li > a {
    flex: 1 1 auto;
    min-width: 0;
  }
  .nav a {
    padding: 12px 10px;
    font-size: 15px;
    white-space: normal;
  }
  .nav-sub-toggle {
    display: inline-flex;
  }
  .nav .menu-item-has-children > a::after {
    content: none;
  }
  .nav .sub-menu {
    display: none;
    position: static;
    left: auto;
    right: auto;
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
    margin: 0 0 6px;
    padding: 0 0 4px 12px;
    background: transparent;
    color: #fff;
    border-radius: 0;
    box-shadow: none;
  }
  .nav .sub-menu::before {
    content: none;
  }
  .nav .menu > li:hover > .sub-menu,
  .nav .menu > li:focus-within > .sub-menu {
    display: none;
  }
  .nav .menu > li.is-open > .sub-menu {
    display: block;
  }
  .nav .sub-menu a {
    color: #fff;
    font-weight: 600;
    padding: 10px 12px;
    white-space: normal;
  }
  .site-header .nav .sub-menu a:hover,
  .site-header .nav .sub-menu a:focus-visible {
    color: #fff;
    background: #222;
    opacity: 0.92;
  }
  .header-inner {
    position: relative;
  }
  .brand {
    margin-right: auto;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .brand-name {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .hero-carousel {
    padding-top: 12px;
  }
  .hero-carousel .container {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-carousel-stage {
    aspect-ratio: 16 / 10;
    border-radius: 0;
  }
  .hero-slide-caption {
    padding: 40px 52px 16px 16px;
  }
  .hero-slide-title {
    font-size: 17px;
  }
  .hero-carousel-btn {
    width: 40px;
    height: 40px;
  }
  .hero-carousel-prev { left: 8px; }
  .hero-carousel-next { right: 8px; }
  .merchant-arrow {
    display: none;
  }
  .merchant-strip-wrap::after {
    width: 28px;
  }
  .cmp-brand-arrow {
    display: none;
  }
  .cmp-brands-wrap::after {
    width: 28px;
  }
  .travel-country-arrow {
    display: none;
  }
  .travel-countries-wrap::after {
    width: 28px;
  }
  .product-brand-arrow {
    display: none;
  }
  .product-brands-wrap::after {
    width: 28px;
  }
  .shop-deals {
    padding-top: 8px;
    --shop-card-w: 220px;
  }
  .shop-head h2 {
    font-size: 20px;
  }
  .shop-card {
    flex-basis: min(var(--shop-card-w), 66%);
  }
  .shop-arrow {
    display: none;
  }
  .post-deals {
    padding-top: 8px;
  }
  .post-head h2 {
    font-size: 20px;
  }
  .post-card {
    flex-basis: calc(100% - 52px);
  }
  .post-arrow {
    display: none;
  }
  .product-card {
    flex-basis: calc(100% - 52px);
  }
  .product-arrow {
    display: none;
  }
  .hero {
    padding: 28px 0 20px;
  }
  .hero h1 {
    font-size: 26px;
    overflow-wrap: anywhere;
  }
  .announce-inner {
    min-height: 56px;
  }
  .announce-text {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  #latest-deals {
    padding: 8px 0 8px;
  }
  #travel-tips {
    padding-top: 24px;
    padding-bottom: 12px;
  }
  .card-lead {
    flex-direction: column;
    height: auto;
  }
  .card-lead .card-media {
    flex: 0 0 auto;
    width: 100%;
    height: 170px;
    max-height: 180px;
  }
  .card-lead .card-body {
    padding: 12px 14px 14px;
  }
  .card-lead .card-title {
    font-size: 17px;
  }
  .article-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .card-row {
    height: auto;
    min-height: 82px;
  }
  .card-row .card-media {
    flex: 0 0 128px;
    width: 128px;
    height: 80px;
  }
  .compare h2 {
    font-size: 26px;
  }
  .compare-form {
    flex-direction: column;
  }
  .compare-form button {
    min-height: 44px;
    width: 100%;
  }
  .section {
    padding: 32px 0 12px;
  }
}

@media (max-width: 420px) {
  .hero-slide-title {
    font-size: 16px;
  }
  .shop-deals {
    --shop-card-w: 216px;
  }
  .shop-card {
    flex-basis: min(var(--shop-card-w), 64%);
  }
  .post-card {
    flex-basis: calc(100% - 44px);
  }
  .product-card {
    flex-basis: calc(100% - 44px);
  }
  .nav a,
  .card-title {
    overflow-wrap: anywhere;
  }
  .card-lead .card-media {
    height: 160px;
  }
  .card-row .card-media {
    flex: 0 0 112px;
    width: 112px;
    height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}


/* WordPress admin bar */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
