/* LifeSnapper — Festive Coral-Flame & Gold Promo UI + CouponPac-identical Detail geometry (Option A) */
:root {
  --promo: #ff4d24;
  --promo-dark: #d93012;
  --promo-orange: #ff7a1a;
  --gold: #ffb800;
  --gold-soft: #fff8db;
  --tint: #fff5f0;
  --tint-soft: #ffebe0;
  --tint-border: #ffd2bd;
  --ink: #1e1513;
  --ink-2: #4a3b37;
  --muted: #7a6863;
  --line: #efe4df;
  --canvas: #fffaf8;
  --card: #ffffff;
  --footer-bg: #211512;
  --success: #16a34a;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(217, 48, 18, 0.06);
  --shadow-md: 0 10px 28px rgba(255, 77, 36, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Hiragino Sans", "Yu Gothic", sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--promo);
  outline-offset: 2px;
}

/* ===== Wrapper (exact CouponPac max-width 1136px, inner 1096px) ===== */
.wrapper {
  position: relative;
  width: 100%;
  max-width: 1136px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== Festive Top Promo Ribbon + Header ===== */
.promo-ribbon {
  background: linear-gradient(90deg, #d93012 0%, #ff4d24 50%, #ff7a1a 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: 0.2px;
}
.promo-ribbon-ico {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 4px;
  color: #ffe066;
}
.promo-ribbon a {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #211512;
  font-size: 12px;
  font-weight: 800;
}
.promo-ribbon a:hover { background: #ffe066; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(30, 21, 19, 0.04);
}
.header-con {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 8px 0;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.header-nav { display: none; align-items: center; gap: 4px; }
.header-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.header-nav a:hover { background: var(--tint); color: var(--promo-dark); }
.header-nav a.nav-hot {
  background: var(--tint);
  color: var(--promo-dark);
}
.header-search {
  position: relative;
  flex: 1;
  max-width: 370px;
  margin-left: auto;
}
.search-form {
  display: flex;
  align-items: center;
  background: #fff7f4;
  border: 1.5px solid var(--tint-border);
  border-radius: 999px;
  padding: 3px 4px 3px 15px;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.search-form:focus-within {
  background: #fff;
  border-color: var(--promo);
  box-shadow: 0 0 0 3px rgba(255, 77, 36, 0.16);
}
.sea-text {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 7px 6px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.sea-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--promo), var(--promo-orange));
  color: #fff;
  flex-shrink: 0;
}
.sea-btn:hover { filter: brightness(1.06); }
.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--tint-border);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(30, 21, 19, 0.16);
  overflow: hidden;
  z-index: 60;
}
.search-suggest a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #fff0ea;
  font-size: 14px;
}
.search-suggest a:last-child { border-bottom: 0; }
.search-suggest a:hover { background: var(--tint); }
.search-suggest img, .search-suggest .monogram-xs {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.search-suggest .sg-name { flex: 1; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest .sg-count { font-size: 12px; color: var(--promo-dark); font-weight: 800; }

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--tint-border);
  border-radius: 10px;
  background: #fff;
  color: var(--promo-dark);
  flex-shrink: 0;
}
.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 10px 20px 16px;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
}
.mobile-drawer a:hover { background: var(--tint); color: var(--promo-dark); }

@media (max-width: 767px) {
  .promo-ribbon { font-size: 12px; padding: 6px 10px; }
  .header-con { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .logo { margin-right: auto; }
  .logo img { height: 34px; }
  .header-search { order: 3; flex: 1 0 100%; max-width: none; margin-left: 0; }
}
@media (min-width: 960px) {
  .header-nav { display: flex; }
  .mobile-menu-btn { display: none; }
  .mobile-drawer { display: none !important; }
}

/* ===== Ad Containers (Option A strict CouponPac specs) ===== */
.ad-slot-box {
  width: 100%;
  margin: 0 0 16px;
  overflow: hidden;
}
body.ads-disabled:not(.ad-preview-mode) .ad-slot-box { display: none; }
.adslot_1 { display: block; width: 100%; min-height: 250px; }
@media (min-width: 336px) { .adslot_1 { min-height: 280px; } }
.ads1 { display: block; width: 100%; min-height: 250px; }
@media (min-width: 356px) { .ads1 { min-height: 280px; } }
@media (min-width: 748px) { .ads1 { min-height: 100px; } }
.ads_side { display: block; width: 100%; min-height: 250px; }
@media (min-width: 1200px) { .ads_side { width: 300px; min-height: 250px; } }
.detaim-item-ad, .new-item-ad { width: 100%; margin: 0 0 16px; min-height: 90px; }
.ad-preview {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px dashed var(--promo);
  background: var(--tint);
  color: var(--promo-dark);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
}

/* ===== Festive Promotional Hero Carousel ===== */
.home-wrap { padding-top: 22px; padding-bottom: 48px; }
.promo-carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(217, 48, 18, 0.18);
  margin-bottom: 24px;
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
  padding: 26px 20px 58px;
  color: #fff;
  overflow: hidden;
}
@media (min-width: 860px) {
  .carousel-slide {
    grid-template-columns: 1.35fr 0.85fr;
    padding: 42px 68px 54px;
    min-height: 320px;
  }
}
.carousel-slide::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 102, 0.28) 0%, rgba(255, 224, 102, 0) 70%);
  pointer-events: none;
}
.carousel-slide::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.slide-theme-coral { background: linear-gradient(125deg, #b81d13 0%, #ff4520 52%, #ff8a1f 100%); }
.slide-theme-flame { background: linear-gradient(125deg, #24141c 0%, #c92a2a 55%, #ff6b2b 100%); }
.slide-theme-gold  { background: linear-gradient(125deg, #9a2010 0%, #e8481c 50%, #f59f00 100%); }
.slide-theme-fest  { background: linear-gradient(125deg, #7c1338 0%, #e03131 55%, #ff7a1a 100%); }

.slide-copy { position: relative; z-index: 2; }
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #211512;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.slide-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.slide-desc {
  margin: 0 0 22px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.93);
  max-width: 540px;
}
.slide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--promo-dark);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(33, 21, 18, 0.22);
  transition: transform .18s, background .18s;
}
.slide-cta:hover { transform: translateY(-2px); background: var(--gold-soft); }
.slide-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px dashed rgba(255, 224, 102, 0.85);
  background: rgba(33, 21, 18, 0.28);
  color: #ffe066;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 800;
}

.slide-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.slide-ticket {
  width: 100%;
  max-width: 310px;
  background: #ffffff;
  color: var(--ink);
  border-radius: 18px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 18px 38px rgba(33, 21, 18, 0.28);
  border: 2px solid var(--gold);
  position: relative;
}
.slide-ticket-logo {
  width: 82px;
  height: 82px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.slide-ticket-logo img { width: 100%; height: 100%; object-fit: contain; }
.slide-ticket-multi {
  display: grid;
  grid-template-columns: repeat(2, 56px);
  gap: 10px;
  justify-content: center;
  margin: 0 auto 12px;
}
.slide-ticket-multi img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 4px;
  background: #fff;
}
.slide-ticket-off {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--promo);
  margin-bottom: 4px;
}
.slide-ticket-brand {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-2);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(33, 21, 18, 0.42);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background .18s;
}
.carousel-btn:hover { background: rgba(33, 21, 18, 0.72); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
@media (max-width: 859px) {
  .carousel-btn {
    top: auto;
    bottom: 10px;
    transform: none;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  transition: width .2s, background .2s;
}
.carousel-dot.is-active {
  width: 28px;
  background: var(--gold);
}
@media (max-width: 640px) {
  .carousel-slide { padding: 24px 18px 46px; }
  .carousel-btn { width: 32px; height: 32px; font-size: 16px; }
  .slide-ticket { padding: 16px; }
  .slide-ticket-off { font-size: 26px; }
}

/* ===== Sections & Festive Brand/Deal Cards ===== */
.home-sec { margin-top: 34px; }
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.sec-head h2, .common-tl {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.sec-more {
  font-size: 14px;
  font-weight: 800;
  color: var(--promo-dark);
  white-space: nowrap;
}
.sec-more:hover { text-decoration: underline; }

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 640px) { .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .store-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px 14px;
  min-width: 0;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.store-card:hover {
  border-color: var(--promo);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.store-card-logo {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #f7ebe6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  margin-bottom: 10px;
}
.store-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.store-card-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 7px;
}
.store-card-count {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff0e8, #ffe2d1);
  color: var(--promo-dark);
  font-size: 12px;
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.filter-chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--tint-border);
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}
.filter-chip.is-active, .filter-chip:hover {
  background: linear-gradient(135deg, var(--promo), var(--promo-orange));
  border-color: var(--promo);
  color: #fff;
}

.home-deals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) { .home-deals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.deal-mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  min-width: 0;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.deal-mini-card:hover {
  border-color: var(--promo);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.deal-mini-left {
  flex: 0 0 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--tint) 0%, #ffebe0 100%);
  border: 1.5px dashed var(--promo);
  text-align: center;
}
.deal-mini-left img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
}
.deal-mini-off {
  font-size: 14px;
  font-weight: 900;
  color: var(--promo-dark);
  line-height: 1.15;
}
.deal-mini-body { flex: 1; min-width: 0; }
.deal-mini-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--promo-dark);
}
.deal-mini-title {
  margin: 4px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-mini-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--promo), var(--promo-orange));
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
}

.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) { .home-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .home-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  min-width: 0;
  overflow: hidden;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  transition: border-color .18s, background .18s;
}
.cat-card:hover { border-color: var(--promo); background: var(--tint); }
.cat-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--tint-soft);
  color: var(--promo-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cat-ico svg { width: 18px; height: 18px; }
.cat-meta { flex: 1; min-width: 0; }
.cat-name { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-sub { display: block; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) {
  .cat-card { padding: 10px; gap: 8px; }
  .cat-ico { width: 30px; height: 30px; }
  .cat-ico svg { width: 16px; height: 16px; }
}

.guides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .guides-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .18s, transform .18s;
}
.guide-card:hover { border-color: var(--promo); transform: translateY(-2px); }
.guide-art {
  height: 92px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5f0 0%, #ffe2d1 60%, #ffe8a3 100%);
  border-bottom: 1px solid var(--tint-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--promo-dark);
}
.guide-art svg { width: 40px; height: 40px; flex-shrink: 0; }
.guide-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.guide-date { font-size: 12px; color: var(--promo-dark); font-weight: 800; margin-bottom: 6px; }
.guide-body h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.35; color: var(--ink); }
.guide-body p { margin: 0; font-size: 13px; color: var(--muted); flex: 1; }

/* ===== DETAIL PAGE — EXACT COUPONPAC GEOMETRY (728px + 68px + 300px = 1096px) ===== */
.pagecontent { margin-top: 20px; padding-bottom: 44px; }
.pageleft { width: 100%; min-width: 0; }
.pageright { width: 100%; min-width: 0; margin-top: 28px; }
@media screen and (min-width: 1200px) {
  .pagecontent { display: flex; align-items: flex-start; }
  .pageleft { flex: 0 0 728px; width: 728px; }
  .pageright { flex: 1; width: 300px; padding-left: 68px; margin-top: 0; }
}

/* US Detail Brand Header (.detail-page-block) */
.detail-page-block {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff3ec 0%, #ffffff 74%);
  border: 1.5px solid var(--tint-border);
  border-left: 5px solid var(--promo);
  border-radius: 14px;
}
.detail-page-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  flex-shrink: 0;
}
.detail-page-tl {
  margin: 0;
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 900;
  line-height: 1.22;
  color: var(--ink);
}
.detail-page-sub { margin: 5px 0 0; font-size: 13.5px; color: var(--muted); }
.detail-page-sub strong { color: var(--promo-dark); }

/* US Detail Coupon Cards (.detail-ls / .detail-item / .detail-con) */
.detail-ls { margin-top: 4px; }
.detail-item { margin-bottom: 16px; }
.detail-con {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 126px;
  padding: 14px 18px 14px 0;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .18s;
}
.detail-con:hover {
  border-color: var(--promo);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.detail-con .coverlink { position: absolute; inset: 0; z-index: 1; }
.detail-left { display: flex; align-items: center; flex: 1; min-width: 0; }
.detail-box {
  flex: 0 0 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 10px 12px;
  border-right: 1.5px dashed var(--tint-border);
  align-self: stretch;
}
.detail-box span {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.12;
  color: var(--promo);
  word-break: break-word;
}
.detail-box img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; }
.detail-info { flex: 1; min-width: 0; padding: 0 10px 0 16px; }
.detail-top-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.detail-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--tint-soft);
  color: var(--promo-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.detail-safe { font-size: 12px; color: var(--muted); font-weight: 600; }
.detail-tl {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.detail-used-ls { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--muted); }
.detail-pc { flex-shrink: 0; position: relative; z-index: 2; }
.new-con-rt-code {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 152px;
  height: 46px;
  border-radius: 10px;
  background: var(--gold-soft);
  border: 1.5px dashed var(--promo);
  padding: 0 10px;
  overflow: hidden;
  cursor: pointer;
}
.store-get-btn {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
  color: var(--promo-dark);
  letter-spacing: 0.5px;
}
.store-con-get {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 78%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--promo) 0%, var(--promo-orange) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  border-radius: 8px 0 0 8px;
  transition: width .22s ease;
}
.detail-con:hover .store-con-get,
.new-con-rt-code:hover .store-con-get { width: 66%; }
.new-con-get {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--promo) 0%, var(--promo-orange) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border: 0;
}
.new-con-get:hover { filter: brightness(1.06); }

/* Selected Coupon Focus Card (/coupon/<slug>/<id>/) */
.coupon-focus-card {
  padding: 22px 24px;
  background: linear-gradient(180deg, #fff5f0 0%, #ffffff 60%);
  border: 2px solid var(--promo);
  border-top: 5px solid var(--promo);
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}
.coupon-focus-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.coupon-focus-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--promo), var(--promo-orange));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.coupon-focus-card h2 { margin: 0 0 8px; font-size: 21px; font-weight: 900; line-height: 1.3; color: var(--ink); }
.coupon-focus-det { margin: 0 0 16px; font-size: 14.5px; color: var(--ink-2); }
.code-copy-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.code-box-value {
  flex: 1;
  min-width: 180px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 2px dashed var(--promo);
  background: var(--gold-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: var(--promo-dark);
  text-align: center;
  user-select: all;
}
.btn-copy-primary {
  padding: 14px 26px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--promo), var(--promo-orange));
  color: #fff;
  font-size: 15.5px;
  font-weight: 900;
  min-width: 160px;
  transition: transform .15s, background .18s;
}
.btn-copy-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-copy-primary.is-copied { background: var(--success); }
.copy-feedback {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--success);
  min-height: 20px;
}
.coupon-focus-steps {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--tint-border);
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .detail-con { flex-direction: column; align-items: stretch; padding: 14px; gap: 12px; }
  .detail-box { flex: 0 0 86px; padding: 6px 8px; }
  .detail-box span { font-size: 14px; }
  .detail-info { padding: 0 0 0 12px; }
  .detail-tl { font-size: 15px; }
  .detail-pc { width: 100%; }
  .new-con-rt-code, .new-con-get { width: 100%; }
}

/* Similar Offers (12 brands) */
.detail-sec { margin-top: 28px; }
.detail-sec .common-tl { margin-bottom: 14px; }
.cate-brand-ls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 640px) { .cate-brand-ls { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .cate-brand-ls { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cate-brand-con {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 10px 12px;
  transition: border-color .18s, box-shadow .18s;
}
.cate-brand-con:hover { border-color: var(--promo); box-shadow: var(--shadow-md); }
.cate-brand-con .coverlink { position: absolute; inset: 0; }
.cate-brand-top { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.cate-brand-img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.cate-brand-line { width: 100%; border-top: 1px dashed var(--tint-border); margin: 2px 0 8px; }
.cate-brand-name { font-size: 13.5px; font-weight: 800; color: var(--ink); width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cate-brand-num { font-size: 12px; color: var(--promo-dark); font-weight: 700; margin-top: 2px; }

/* Sidebar (.pageright > .new-right) */
.new-right .common-tl { font-size: 18px; margin-bottom: 12px; }
.catels-radius { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
@media (max-width: 1199px) { .catels-radius { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cateitem-radius a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  transition: border-color .16s, background .16s, color .16s;
}
.cateitem-radius a:hover { border-color: var(--promo); background: var(--tint); color: var(--promo-dark); }
.cateitem-radius .cat-ico-sm {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--tint-soft);
  color: var(--promo-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cateitem-radius .cat-ico-sm svg { width: 15px; height: 15px; }

/* Breadcrumb */
ol.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 22px 0 6px;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
}
ol.breadcrumb a:hover { color: var(--promo-dark); text-decoration: underline; }
.wrapper.detailpage > ol.breadcrumb { margin: 16px 0 0; }

/* ===== JP Detail Specific Classes ===== */
.review-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff3ec 0%, #fff 74%);
  border: 1.5px solid var(--tint-border);
  border-left: 5px solid var(--promo);
  border-radius: 14px;
}
.review-top-pic {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
}
.review-top-pic img { width: 100%; height: 100%; object-fit: contain; }
.review-top-info h1 { margin: 0 0 4px; font-size: clamp(20px, 2.5vw, 26px); font-weight: 900; color: var(--ink); }
.review-top-info p { margin: 0; font-size: 13px; color: var(--muted); }

.new-item { margin-bottom: 14px; }
.new-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  transition: border-color .18s, box-shadow .18s;
}
.new-content:hover { border-color: var(--promo); box-shadow: var(--shadow-md); }
.new-content .coverlink { position: absolute; inset: 0; z-index: 1; }
.store-sales {
  flex: 0 0 116px;
  padding: 10px 8px;
  border-radius: 10px;
  background: var(--tint);
  border: 1.5px dashed var(--promo);
  text-align: center;
}
.store-sales-info { display: block; font-size: 14px; font-weight: 900; color: var(--promo-dark); line-height: 1.25; }
.new-con-info { flex: 1; min-width: 0; }
.new-con-info-tl { margin: 0 0 4px; font-size: 16px; font-weight: 800; line-height: 1.4; color: var(--ink); }
.new-con-info-price { margin: 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 640px) {
  .new-content { flex-wrap: wrap; }
  .store-sales { flex: 0 0 92px; }
  .new-content .detail-pc, .new-content .new-con-get { width: 100%; }
}

.jp-menu-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.jp-menu-tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--tint);
  border: 1px solid var(--tint-border);
  color: var(--promo-dark);
  font-size: 13px;
  font-weight: 700;
}
.review-con {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
}
.jp-link-list { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--tint);
  border: 1px solid var(--tint-border);
  color: var(--promo-dark);
  font-size: 13.5px;
  font-weight: 800;
}
.detail-link:hover { background: var(--promo); color: #fff; border-color: var(--promo); }

.brand-ls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .brand-ls { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.brand-con {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.brand-con:hover { border-color: var(--promo); }
.brand-con .coverlink { position: absolute; inset: 0; }
.brand-con-place { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.brand-con-img { width: 100%; height: 100%; object-fit: contain; }
.brand-con-tl { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--ink); width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.menu-category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.menu-items {
  display: flex;
  align-items: center;
  padding: 9px 11px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.menu-items:hover { border-color: var(--promo); background: var(--tint); color: var(--promo-dark); }

/* Load more & Pagination */
.loadmore-status { text-align: center; padding: 10px; font-size: 13px; color: var(--muted); cursor: pointer; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}
.pager .on { background: var(--promo); border-color: var(--promo); color: #fff; }
.pager a:hover { border-color: var(--promo); color: var(--promo-dark); }

.monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: var(--tint-soft);
  color: var(--promo-dark);
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
}

/* Prose / Legal / Search */
.prose-card {
  max-width: 820px;
  margin: 28px auto 48px;
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.prose-card h1 { margin: 0 0 18px; font-size: 28px; color: var(--ink); }
.prose-card h2 { margin: 24px 0 8px; font-size: 19px; color: var(--ink); }
.prose-card p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.75; }
.prose-card a { color: var(--promo-dark); text-decoration: underline; }

.search-page-box { display: flex; gap: 10px; margin: 16px 0 22px; }
.search-page-box input {
  flex: 1;
  padding: 13px 16px;
  border: 1.5px solid var(--tint-border);
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
}
.search-page-box input:focus { border-color: var(--promo); outline: none; }
.search-page-box button {
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--promo), var(--promo-orange));
  color: #fff;
  font-weight: 800;
}

/* Footer */
footer.site-footer {
  background: var(--footer-bg);
  color: #f3e8e4;
  border-top: 4px solid var(--promo);
  padding: 36px 0 28px;
  margin-top: 24px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ft-logo img { height: 40px; width: auto; }
.footer-con { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-link { font-size: 13.5px; font-weight: 700; color: #f3e8e4; }
.footer-link:hover { color: var(--gold); }
.footer-disclaimer { margin-top: 18px; font-size: 12.5px; line-height: 1.7; color: #b8a49e; }
.footer-disclaimer strong { color: #ffe066; }

/* Toast */
#lsn-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  background: #211512;
  color: #fff;
  border: 1.5px solid var(--gold);
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 90;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}
#lsn-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
