@import url('../../style.css');

*, *::before, *::after { box-sizing: border-box; }
body.cr-body { margin: 0; font-family: var(--cr-font); color: var(--cr-gray-800); background: var(--cr-white); line-height: 1.6; }
a { color: var(--cr-purple-700); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.cr-container { width: min(100% - 2rem, var(--cr-container)); margin-inline: auto; }
.cr-main { min-height: 60vh; }

/* Header */
.cr-header { position: sticky; top: 0; z-index: 100; background: var(--cr-white); border-bottom: 1px solid var(--cr-gray-200); }
.cr-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--cr-header-h); flex-wrap: wrap; padding: .5rem 0; }
.cr-logo { font-size: 1.25rem; color: var(--cr-purple-900); text-decoration: none !important; }
.cr-logo span { color: var(--cr-purple-700); }
.cr-search { flex: 1; max-width: 420px; position: relative; }
.cr-search input { width: 100%; padding: .65rem 1rem; border: 1px solid var(--cr-gray-200); border-radius: 999px; font-size: .9rem; }
.cr-search__results { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius); box-shadow: var(--cr-shadow); margin-top: .25rem; max-height: 280px; overflow: auto; z-index: 50; }
.cr-search__results a { display: block; padding: .5rem 1rem; color: inherit; }
.cr-nav__list { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.cr-nav__list a { font-weight: 600; color: var(--cr-gray-800); text-decoration: none; }
.cr-nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.cr-hero { background: linear-gradient(135deg, var(--cr-yellow-500) 0%, var(--cr-yellow-400) 100%); padding: 4rem 0; }
.cr-hero__inner { text-align: center; }
.cr-hero__badge { display: inline-block; background: rgba(255,255,255,.7); padding: .35rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 1rem; }
.cr-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; margin: 0 0 1rem; color: var(--cr-purple-900); }
.cr-hero__lead { font-size: 1.1rem; max-width: 560px; margin: 0 auto 1.5rem; }
.cr-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.cr-btn { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.cr-btn:hover { transform: translateY(-2px); box-shadow: var(--cr-shadow); }
.cr-btn--primary { background: var(--cr-yellow-500); color: var(--cr-purple-900); }
.cr-btn--dark { background: var(--cr-purple-900); color: #fff; }
.cr-btn--outline { background: transparent; border-color: var(--cr-purple-900); color: var(--cr-purple-900); }

/* Sections */
.cr-section { padding: 3.5rem 0; }
.cr-section--gray { background: var(--cr-gray-50); }
.cr-section--purple { background: var(--cr-purple-100); }
.cr-section--trust { background: var(--cr-gray-50); border-top: 1px solid var(--cr-gray-200); }
.cr-section__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; }
.cr-section__head h2 { margin: 0; font-size: 1.75rem; }
.cr-section__title-center { text-align: center; margin-bottom: 2rem; }
.cr-link { font-weight: 600; }

/* Grids */
.cr-grid { display: grid; gap: 1.25rem; }
.cr-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cr-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cr-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Product card */
.cr-product-card { position: relative; display: block; background: #fff; border-radius: var(--cr-radius-lg); padding: 1.25rem; box-shadow: var(--cr-shadow); color: inherit; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.cr-product-card:hover { box-shadow: var(--cr-shadow-hover); transform: translateY(-4px); }
.cr-product-card__badge { position: absolute; top: .75rem; right: .75rem; background: var(--cr-yellow-500); font-size: .65rem; font-weight: 800; padding: .2rem .5rem; border-radius: 4px; }
.cr-product-card__icons { display: flex; align-items: center; gap: .5rem; font-size: 2rem; margin-bottom: .75rem; }
.cr-vs { font-size: .75rem; font-weight: 700; color: var(--cr-gray-500); }
.cr-product-card__title { margin: 0 0 .5rem; font-size: 1rem; }
.cr-product-card__meta { margin: 0; font-size: .85rem; color: var(--cr-gray-500); }

/* Card tile */
.cr-card-tile { display: flex; flex-direction: column; align-items: center; min-width: 140px; padding: 1rem; background: #fff; border-radius: var(--cr-radius); box-shadow: var(--cr-shadow); text-align: center; color: inherit; text-decoration: none !important; flex-shrink: 0; }
.cr-card-tile__emoji { font-size: 2.5rem; }
.cr-card-tile h3 { margin: .5rem 0; font-size: .9rem; }
.cr-risk { font-size: .75rem; padding: .15rem .5rem; border-radius: 4px; }
.risk-low { background: #d1fae5; color: #065f46; }
.risk-medium { background: #fef3c7; color: #92400e; }
.risk-high { background: #fee2e2; color: #991b1b; }

/* Carousel */
.cr-carousel { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.cr-carousel > * { scroll-snap-align: start; }

/* Categories */
.cr-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.cr-category { display: flex; flex-direction: column; align-items: center; gap: .5rem; font-weight: 600; color: var(--cr-purple-900); text-decoration: none !important; }
.cr-category__icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 50%; font-size: 1.75rem; box-shadow: var(--cr-shadow); }

/* Location form */
.cr-nearby-teaser { text-align: center; max-width: 640px; margin: 0 auto; }
.cr-location-form { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }
.cr-location-form select { padding: .65rem 1rem; border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius); min-width: 160px; }

/* Trust strip */
.cr-trust-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; text-align: center; }
.cr-stat strong { display: block; font-size: 2rem; color: var(--cr-purple-700); }
.cr-stat span { font-size: .85rem; color: var(--cr-gray-500); }
.cr-trust-note { width: 100%; margin: 0; font-size: .9rem; color: var(--cr-gray-500); }

/* Guide cards (homepage) */
.cr-guide-card {
  background: #fff;
  border-radius: var(--cr-radius);
  box-shadow: var(--cr-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cr-guide-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cr-purple-100), #e0f2fe);
}
.cr-guide-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.cr-guide-card:hover .cr-guide-card__thumb img { transform: scale(1.03); }
.cr-guide-card__thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 140px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cr-purple-700);
  letter-spacing: 0.05em;
}
.cr-guide-card__body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.cr-guide-card__date { font-size: 0.78rem; color: var(--cr-gray-500); }
.cr-guide-card__title { margin: 0.35rem 0 0.5rem; font-size: 1rem; line-height: 1.35; }
.cr-guide-card__title a { color: inherit; text-decoration: none; }
.cr-guide-card__title a:hover { color: var(--cr-purple-700); }
.cr-guide-card__excerpt {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--cr-gray-500);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cr-guide-card__cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cr-purple-700);
  text-decoration: none;
  margin-top: auto;
}
.cr-guide-card__cta:hover { text-decoration: underline; }
.cr-section__cta { margin: 1.5rem 0 0; text-align: center; }
.cr-link-arrow { font-weight: 600; font-size: 0.95rem; color: var(--cr-purple-700); }

/* Store card */
.cr-store-card { background: #fff; border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius); padding: 1.25rem; }
.cr-store-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.cr-store-card h3 { margin: 0; font-size: 1.1rem; }
.cr-badge { font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: 4px; white-space: nowrap; }
.cr-badge--verified { background: #d1fae5; color: #065f46; }
.cr-badge--trusted { background: var(--cr-purple-100); color: var(--cr-purple-700); }

/* Compare table */
.cr-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.cr-compare-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cr-compare-table th, .cr-compare-table td { border: 1px solid var(--cr-gray-200); padding: .75rem 1rem; text-align: left; }
.cr-compare-table thead th { background: var(--cr-purple-700); color: #fff; }
.cr-compare-table tbody tr:nth-child(even) { background: var(--cr-gray-50); }

/* Page */
.cr-page { padding: 2.5rem 0 4rem; }
.cr-page-header { margin-bottom: 2rem; }
.cr-page-header h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin: 0 0 .5rem; }
.cr-lead { font-size: 1.1rem; color: var(--cr-gray-500); }
.cr-breadcrumb { font-size: .85rem; margin-bottom: 1rem; color: var(--cr-gray-500); }
.cr-content { max-width: 72ch; }
.cr-content h2, .cr-content h3 { margin-top: 1.5rem; }
.cr-section-inline { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--cr-gray-200); }
.cr-post-item { padding: 1.25rem 0; border-bottom: 1px solid var(--cr-gray-200); }
.cr-post-item h2 { margin: 0 0 .5rem; font-size: 1.2rem; }
.cr-dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; }
.cr-dl dt { font-weight: 600; }
.cr-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.cr-tag { background: var(--cr-purple-100); padding: .25rem .75rem; border-radius: 999px; font-size: .85rem; }
.cr-city-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .5rem; }
.cr-city-list a { display: block; padding: .75rem 1rem; background: var(--cr-gray-50); border-radius: var(--cr-radius); font-weight: 600; text-decoration: none !important; }
.cr-location-block h3 { margin: 0 0 .5rem; }
.cr-location-block ul { margin: 0; padding-left: 1.25rem; }
.cr-faq details { margin-bottom: .75rem; padding: 1rem; background: var(--cr-gray-50); border-radius: var(--cr-radius); }
.cr-disclaimer { font-size: .85rem; color: var(--cr-gray-500); margin-top: 2rem; }
.cr-card-profile { display: flex; align-items: center; gap: 1rem; }
.cr-card-profile__emoji { font-size: 3rem; }
.cr-soon { font-size: .65rem; background: var(--cr-yellow-500); padding: .1rem .4rem; border-radius: 4px; vertical-align: middle; }

/* Footer */
.cr-footer { background: var(--cr-purple-900); color: #e9d5ff; padding: 3rem 0 0; margin-top: 3rem; }
.cr-footer a { color: #fff; }
.cr-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; padding-bottom: 2rem; }
.cr-footer h4 { color: #fff; margin: 0 0 1rem; }
.cr-footer ul { list-style: none; padding: 0; margin: 0; }
.cr-footer li { margin-bottom: .5rem; }
.cr-footer__bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 1rem 0; font-size: .85rem; text-align: center; }

/* Responsive */
@media (max-width: 1023px) {
  .cr-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cr-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cr-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .cr-nav { display: none; width: 100%; }
  .cr-nav.is-open { display: block; }
  .cr-nav-toggle { display: block; margin-left: auto; }
  .cr-search { order: 3; max-width: 100%; flex: 1 1 100%; }
  .cr-grid--2, .cr-grid--3, .cr-grid--4 { grid-template-columns: 1fr; }
  .cr-footer__grid { grid-template-columns: 1fr; }
  .cr-location-form { flex-direction: column; }
  .cr-location-form select, .cr-location-form .cr-btn { width: 100%; }
}

/* === V3 Platform === */
.cr-header--v3 { background: #fff; box-shadow: 0 1px 0 var(--cr-gray-200); }
.cr-header--v3 .cr-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--cr-header-h);
  flex-wrap: nowrap;
}
.cr-logo--img img { height: 40px; width: auto; display: block; }
.cr-nav--v3 { justify-self: center; }
.cr-nav--v3 .cr-nav__list { gap: 1.5rem; }
.cr-nav--v3 .cr-nav__list a,
.cr-nav--v3 .cr-nav__trigger { font-weight: 700; color: var(--cr-gray-800); font-size: .95rem; }
.cr-btn--pill { border-radius: 999px; padding: .5rem 1.25rem; font-weight: 700; }
.cr-btn--outline-dark { background: transparent; border: 2px solid var(--cr-purple-900); color: var(--cr-purple-900); }
.cr-btn--outline-dark:hover { background: var(--cr-purple-100); text-decoration: none; }
.cr-btn--gold { background: #e6a800; color: var(--cr-purple-900); border: 2px solid transparent; }

/* Hero — search only here (no header search) */
.cr-hero--v3 { background: var(--cr-yellow-500); padding: 3.5rem 0 4rem; }
.cr-hero--v3 .cr-hero__inner { text-align: center; max-width: 820px; margin-inline: auto; }
.cr-hero-search { position: relative; width: 100%; max-width: 680px; margin: 0 auto 1.5rem; }
.cr-hero-search input {
  width: 100%;
  padding: 1.1rem 1.5rem;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  background: #fff;
  color: var(--cr-gray-800);
}
.cr-hero-search input::placeholder { color: #9ca3af; }
.cr-hero-search .cr-intent-search__dropdown { left: 0; right: 0; border-radius: 16px; }
.cr-hero__quick { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; align-items: center; }
.cr-hero--v3 .cr-btn--outline-dark { border-color: #1a0b2e; color: #1a0b2e; background: transparent; }
.cr-hero--v3 .cr-btn--dark { background: #1a0b2e; color: #fff; border-color: #1a0b2e; }
.cr-intent-search { position: relative; }
.cr-intent-search input { width: 100%; padding: .75rem 1.1rem; border: 2px solid var(--cr-gray-200); border-radius: 999px; font-size: .95rem; }
.cr-intent-search__dropdown { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius); box-shadow: var(--cr-shadow-hover); margin-top: .35rem; max-height: 360px; overflow: auto; z-index: 200; }
.cr-intent-search__dropdown a { display: block; padding: .6rem 1rem; color: inherit; text-decoration: none; border-bottom: 1px solid var(--cr-gray-100); }
.cr-intent-search__dropdown a:hover { background: var(--cr-purple-100); }
.cr-intent-search__group-title { padding: .5rem 1rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--cr-gray-500); background: var(--cr-gray-50); }
.cr-intent-search__best { font-weight: 700; background: var(--cr-yellow-400) !important; }
.cr-nav--v3 .cr-nav__list { align-items: center; gap: .5rem; flex-wrap: wrap; }
.cr-nav__trigger { background: none; border: none; font-weight: 600; cursor: pointer; font-size: inherit; }
.cr-mega-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius); box-shadow: var(--cr-shadow-hover); padding: 1rem; min-width: 280px; z-index: 150; }
.cr-nav__item--mega { position: relative; }
.cr-nav__item--mega.is-open .cr-mega-menu { display: block; }
.cr-mega-menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.cr-mega-menu__grid a { padding: .35rem; font-size: .85rem; text-decoration: none; color: inherit; }
.cr-header__actions { display: flex; align-items: center; gap: .5rem; }
.cr-hero--v3 { padding: 3.5rem 0 4rem; }
.cr-hero__quick { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.25rem; }
.cr-stat-bar { background: var(--cr-purple-900); color: #fff; padding: 1.25rem 0; }
.cr-stat-bar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; text-align: center; }
.cr-stat-bar strong { display: block; font-size: 1.5rem; }
.cr-stat-bar span { font-size: .8rem; opacity: .85; }
.cr-section--cards { background: var(--cr-gray-50); }
.cr-section__desc { margin: .35rem 0 0; color: var(--cr-gray-500); font-size: .95rem; max-width: 640px; }
.cr-card-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.cr-card-row--compare { grid-template-columns: repeat(4, 1fr); }
.cr-archive-block { margin-bottom: 3rem; }
.cr-archive-block h2 { font-size: 1.5rem; margin: 0 0 .5rem; }

/* Giftcards.com-style product box */
.cr-gift-card-box {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.cr-gift-card-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}
.cr-gift-card-box__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem 1rem;
  min-height: 140px;
  background: #fafafa;
}
.cr-gift-card-box__body { padding: 0 1rem 1.1rem; text-align: center; }
.cr-gift-card-box__title { margin: 0; font-size: .95rem; font-weight: 700; color: var(--cr-gray-800); line-height: 1.3; }
.cr-gift-card-box__range { margin: .35rem 0 0; font-size: .8rem; color: var(--cr-gray-500); }
.cr-gift-card-box__tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--cr-yellow-500); font-size: .65rem; font-weight: 800;
  padding: .25rem .5rem; border-radius: 4px; color: var(--cr-purple-900);
}
.cr-gift-card-box__visual--duo { gap: .5rem; position: relative; flex-wrap: wrap; }
.cr-gift-card-box__visual--duo .cr-vs-pill {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: #fff; border-radius: 999px; padding: .2rem .55rem; font-size: .7rem; font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* Branded card artwork */
.cr-card-art {
  width: 100%;
  max-width: 148px;
  aspect-ratio: 1.586;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--card-bg) 0%, color-mix(in srgb, var(--card-bg) 70%, #000) 100%);
  color: var(--card-fg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: .65rem .75rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.cr-card-art--xs { max-width: 72px; padding: .35rem .4rem; border-radius: 6px; }
.cr-card-art--xs .cr-card-art__brand { font-size: .45rem; }
.cr-card-art--xs .cr-card-art__sub { font-size: .35rem; }
.cr-card-art--xs .cr-card-art__chip { width: 14px; height: 10px; }
.cr-card-art--lg { max-width: 200px; }
.cr-card-art__chip {
  width: 28px; height: 20px; border-radius: 3px;
  background: linear-gradient(135deg, #ffd700 0%, #f0c040 50%, #c9a227 100%);
  opacity: .9;
}
.cr-card-art__brand { font-size: .85rem; font-weight: 800; line-height: 1.1; text-transform: capitalize; }
.cr-card-art__sub { font-size: .55rem; font-weight: 600; opacity: .9; letter-spacing: .02em; }
.cr-card-art__img { max-width: 148px; border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,.15); }

.cr-mega-menu__item { display: flex; align-items: center; gap: .5rem; text-decoration: none !important; color: inherit; padding: .35rem; border-radius: 8px; }
.cr-mega-menu__item:hover { background: var(--cr-gray-50); }
.cr-mega-menu__item span { font-size: .8rem; font-weight: 600; }
.cr-hub-header__visual .cr-card-art { max-width: 220px; }
.cr-btn--sm { padding: .4rem .75rem; font-size: .75rem; }
.cr-trust-ring { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; margin-bottom: .5rem; }
.cr-trust-ring--high { background: #d1fae5; color: #065f46; }
.cr-trust-ring--mid { background: #fef3c7; color: #92400e; }
.cr-trust-ring--low { background: #fee2e2; color: #991b1b; }
.cr-seller-card, .cr-review-card { background: #fff; border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius); padding: 1.25rem; }
.cr-scam-strip { display: flex; flex-wrap: wrap; gap: .5rem; }
.cr-scam-alert { background: #fee2e2; color: #991b1b; padding: .5rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; text-decoration: none !important; }
.cr-section--alert { background: #fff5f5; }
.cr-local-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.cr-local-links a { background: var(--cr-gray-100); padding: .5rem 1rem; border-radius: 999px; font-weight: 600; text-decoration: none !important; }
.cr-footer--v3 { background: var(--cr-purple-900); }
.cr-footer__grid--5 { grid-template-columns: 1.2fr repeat(4, 1fr); }
.cr-footer__logo { filter: brightness(0) invert(1); margin-bottom: .75rem; }
.cr-hub-header { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 2rem; }
.cr-hub-header__emoji { font-size: 4rem; }
.cr-hub-header__meta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: .75rem 0; }
.cr-hub-tabs { display: flex; flex-wrap: wrap; gap: .25rem; border-bottom: 2px solid var(--cr-gray-200); margin-bottom: 1.5rem; position: sticky; top: var(--cr-header-h); background: #fff; z-index: 10; padding: .5rem 0; }
.cr-hub-tabs__link { padding: .6rem 1rem; font-weight: 600; text-decoration: none !important; color: var(--cr-gray-500); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.cr-hub-tabs__link.is-active { color: var(--cr-purple-700); border-bottom-color: var(--cr-purple-700); }
.cr-quick-facts { margin-bottom: 1.5rem; }
.cr-ugc-form { background: var(--cr-gray-50); padding: 1.25rem; border-radius: var(--cr-radius); margin-top: 1rem; }
.cr-ugc-form label { display: block; margin-bottom: .75rem; font-weight: 600; font-size: .9rem; }
.cr-ugc-form input, .cr-ugc-form textarea, .cr-ugc-form select { width: 100%; margin-top: .25rem; padding: .5rem; border: 1px solid var(--cr-gray-200); border-radius: 6px; }
.cr-form-msg.is-success { color: var(--cr-green); }
.cr-form-msg.is-error { color: var(--cr-red); }
.cr-badge--risk { background: #fee2e2; color: #991b1b; }
.cr-seller-profile__header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.cr-auth { padding: 3rem 0; }
.cr-auth__box { max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius); padding: 2rem; }
.cr-auth__lead { color: var(--cr-gray-600); margin: 0 0 1.25rem; line-height: 1.55; }
.cr-auth__form label { display: block; margin-bottom: 1rem; font-weight: 600; font-size: 0.9rem; }
.cr-auth__form input[type="text"],
.cr-auth__form input[type="email"],
.cr-auth__form input[type="password"] {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--cr-gray-200);
  border-radius: 8px;
  font-size: max(16px, 1rem);
}
.cr-auth__hint { display: block; font-size: 0.8rem; color: var(--cr-gray-500); margin: -0.65rem 0 1rem; }
.cr-auth__remember { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; margin-bottom: 1rem !important; }
.cr-auth__remember input { width: auto; margin: 0; }
.cr-auth__footer { margin-top: 1.25rem; text-align: center; font-size: 0.95rem; }
.cr-auth__hp { position: absolute; left: -9999px; height: 0; overflow: hidden; opacity: 0; }
.cr-btn--block { width: 100%; justify-content: center; }
.cr-account__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.cr-account__panel h2 { font-size: 1.15rem; margin: 0 0 1rem; }
.cr-account__badges { margin-bottom: 1.25rem; }
@media (max-width: 767px) {
  .cr-account__grid { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
  .cr-nav__auth-panel { display: none; }
  .cr-header__auth-join { display: inline-flex; }
}
@media (max-width: 639px) {
  .cr-header__auth-desktop { display: none !important; }
}
.cr-user-badge { display: inline-block; background: var(--cr-purple-100); color: var(--cr-purple-900); font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: 4px; margin-right: .25rem; }
@media (max-width: 1200px) {
  .cr-card-row { grid-template-columns: repeat(4, 1fr); }
  .cr-card-row--compare { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  .cr-header--v3 .cr-header__inner { grid-template-columns: auto 1fr auto; }
  .cr-card-row { grid-template-columns: repeat(3, 1fr); }
  .cr-footer__grid--5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .cr-card-row { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .cr-hero-search input { font-size: .9rem; padding: .95rem 1.1rem; }
  .cr-header--v3 .cr-header__inner { gap: .75rem; }
}

.cr-blog-article__header { margin-bottom: 1.25rem; }
.cr-blog-article__meta { color: var(--cr-gray-500); font-size: 0.9rem; margin: 0.5rem 0 0; }
.cr-blog-article__featured { margin: 0 0 1.5rem; border-radius: var(--cr-radius); overflow: hidden; }
.cr-blog-article__featured img { width: 100%; height: auto; display: block; }
.cr-blog-article__content img { max-width: 100%; height: auto; border-radius: 8px; }
.cr-blog-article__content figure { margin: 1.5rem 0; }

/* Gift card hub — SEO guide + FAQ */
.cr-card-guide { max-width: 48rem; margin-bottom: 2rem; }
.cr-card-guide__lead { font-size: 1.05rem; line-height: 1.65; color: var(--cr-gray-700); margin-bottom: 1.25rem; }
.cr-card-guide h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; color: var(--cr-purple-900); }
.cr-card-guide h2:first-of-type { margin-top: 0; }
.cr-card-guide p { line-height: 1.7; margin-bottom: 1rem; color: var(--cr-gray-700); }
.cr-card-guide ul { margin: 0 0 1.25rem 1.25rem; line-height: 1.65; }
.cr-card-guide a { color: var(--cr-purple-700); font-weight: 600; }
.cr-hub-widgets { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--cr-gray-200); }
.cr-hub-widgets h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.cr-hub-widgets h3 { font-size: 1.1rem; margin: 1.5rem 0 0.75rem; color: var(--cr-gray-800); }
.cr-card-faq { max-width: 48rem; margin: 2rem 0 2.5rem; }
.cr-card-faq > h2 { font-size: 1.35rem; margin-bottom: 1rem; color: var(--cr-purple-900); }
.cr-card-faq__list { display: flex; flex-direction: column; gap: 0.5rem; }
.cr-card-faq__item { border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius); background: #fff; overflow: hidden; }
.cr-card-faq__question { padding: 1rem 1.15rem; font-weight: 600; cursor: pointer; list-style: none; }
.cr-card-faq__question::-webkit-details-marker { display: none; }
.cr-card-faq__item[open] .cr-card-faq__question { color: var(--cr-purple-700); border-bottom: 1px solid var(--cr-gray-100); }
.cr-card-faq__answer { padding: 0 1.15rem 1rem; line-height: 1.65; color: var(--cr-gray-700); }
.cr-card-faq__answer p { margin: 0.5rem 0 0; }

.cr-store-card { background: #fff; border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius); padding: 1.15rem; }
.cr-store-card__address { font-size: 0.9rem; color: var(--cr-gray-700); line-height: 1.5; margin: 0.5rem 0; }
.cr-store-card__maps { font-weight: 600; font-size: 0.85rem; }
.cr-store-map { margin: 1rem 0 1.25rem; border-radius: var(--cr-radius); overflow: hidden; border: 1px solid var(--cr-gray-200); }
.cr-store-map iframe { width: 100%; height: 280px; border: 0; display: block; }
.cr-store-detail__address { font-size: 1.05rem; line-height: 1.55; margin-bottom: 1rem; }
.cr-nearby-retail { border-top: 1px solid var(--cr-gray-200); padding-top: 2rem; }
