/* Christmas storefront and public guides. */
:root {
  --paper: #f8f6ef;
  --card: #fffdf8;
  --ink: #182c25;
  --muted: #536459;
  --soft: #57685d;
  --line: #dfe4d8;
  --brand: #9c2539;
  --brand-soft: #f8e7e8;
  --accent: #ad7935;
  --forest: #12392e;
  --forest-2: #265342;
  --shadow: 0 12px 32px #18352a12;
}

.christmas-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 16px;
  background: var(--forest);
  color: #f7dfa8;
  font-size: 12px;
  font-weight: 650;
}
.christmas-ribbon a:hover { text-decoration: underline; }
.site-header { background: #fffdf8f5; }
.site-header .header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-name { color: var(--forest); }
.site-header .account-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.site-header .account-open:hover { background: var(--forest-2); }
.site-header .account-open .icon { width: 16px; height: 16px; flex-shrink: 0; }
#account-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Original 1024x1536 brand artwork, framed to its 480x646 tag bounds. */
.site-header .brand-art {
  --brand-mark-height: 46px;
  position: relative;
  display: block;
  width: calc(var(--brand-mark-height) * 480 / 646);
  height: var(--brand-mark-height);
  overflow: hidden;
  flex-shrink: 0;
}
.site-header .brand-art img {
  position: absolute;
  display: block;
  width: 213.333333%;
  height: 237.770898%;
  max-width: none;
  left: -56.666667%;
  top: -54.489164%;
  object-fit: fill;
}

.hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: #fffdf7;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-copy { min-width: 0; padding: clamp(24px, 4vw, 56px); }
.hero h1 {
  font: 400 clamp(39px, 5vw, 69px) / 1.02 Georgia, serif;
  letter-spacing: -.045em;
  color: var(--forest);
  margin: 17px 0 18px;
}
.hero h1 span { color: var(--brand); }
.hero-copy > p { font-size: 15px; line-height: 1.6; margin: 0 0 21px; }
.kicker { color: var(--brand); letter-spacing: .13em; }
.kicker .dot { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.hero-search { min-width: 0; border-color: #d4dacf; }
.hero-search input { font-size: 15px; }
.primary-button { background: var(--brand); color: white; }
.primary-button:hover { background: #7f192c; }
.hero .xray-hero-actions { margin-top: 12px; }
.hero .perks { gap: 7px 14px; }
.christmas-art { position: relative; margin: 0; min-width: 0; background: var(--forest); }
.christmas-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }

.section-heading h2, .extension-promo h2 { font-family: Georgia, serif; font-weight: 400; color: var(--forest); }
.section-heading h2 { font-size: clamp(25px, 3vw, 36px); }
.festive-text-link { font-size: 13px; color: var(--brand); }
.xray-category { background: #f1f5ec; display: flex; flex-direction: column; }
.xray-category:nth-child(even) { background: #fbefeb; }
.xray-category .category-art { width: 32px; height: 32px; color: var(--forest-2); }
.xray-category:nth-child(even) .category-art { color: var(--brand); }
.xray-category p { min-height: 0; }
.xray-category b { margin-top: auto; }
.festive-perspective {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  padding: clamp(20px, 4vw, 38px);
  margin: 32px 0;
  border-radius: 19px;
  color: #fffdf7;
  background: var(--forest);
}
.festive-perspective h2 { font: 34px / 1.14 Georgia, serif; margin: 0 0 15px; }
.festive-perspective a { color: #f7dfa8; text-decoration: underline; text-underline-offset: 3px; }
.festive-perspective ol { margin: 0; padding-left: 20px; }
.festive-perspective li + li { margin-top: 12px; }
.festive-perspective h3 { margin: 0; font-size: 15px; }
.festive-perspective p { margin: 2px 0 0; font-size: 13px; color: #e3eee4; }
.extension-promo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0;
  padding: 18px 24px;
  background: #f0f4e9;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.extension-promo h2 { margin: 0; font-size: 23px; }
.extension-promo p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.extension-promo > a { margin-left: auto; flex-shrink: 0; }
.site-footer { background: #eef2e8; border-radius: 16px 16px 0 0; }

.editorial-header { max-width: 1160px; margin: auto; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.editorial-brand { font-size: 24px; font-weight: 800; color: var(--forest); }
.editorial-brand span { display: block; font-size: 9px; letter-spacing: .18em; }
.editorial-header nav, .editorial-footer nav { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.editorial-page main { max-width: 1000px; padding: 25px 22px 52px; }
.breadcrumbs { display: flex; gap: 10px; font-size: 13px; margin-bottom: 18px; }
.editorial-hero { padding: clamp(22px, 5vw, 46px); background: #ecf2e8; border: 1px solid var(--line); border-radius: 20px; }
.editorial-hero h1 { font: clamp(34px, 5vw, 56px) / 1.1 Georgia, serif; color: var(--forest); max-width: 720px; margin: 12px 0; }
.editorial-hero > p { max-width: 630px; }
.editorial-body { max-width: 730px; margin: 32px auto 0; }
.editorial-body section { margin-bottom: 28px; }
.editorial-body h2 { font: 27px / 1.2 Georgia, serif; color: var(--forest); }
.editorial-body details, .guide-related a { border-top: 1px solid var(--line); padding: 12px 0; }
.guide-related a { display: block; color: var(--brand); }
.editorial-footer { padding: 26px; background: var(--forest); color: white; text-align: center; }
.editorial-footer nav { justify-content: center; }

@media (max-width: 900px) {
  .xray-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header .header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 9px 12px; }
  .site-header .brand { grid-column: 1; grid-row: 1; gap: 6px; }
  .site-header .brand-art { --brand-mark-height: 34px; }
  .site-header .brand-name { font-size: 17px; }
  .site-header .header-tools { display: contents; }
  .site-header .header-nav { display: none; }
  .site-header .location-chip { grid-column: 2; grid-row: 1; min-width: 0; max-width: 147px; justify-self: end; margin: 0; min-height: 42px; }
  .site-header .account-links { grid-column: 3; grid-row: 1; margin: 0; }
  .site-header .account-open { padding: 7px; }
  .site-header .search { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 24px 18px; }
  .hero h1 { font-size: clamp(36px, 9vw, 52px); }
  .christmas-art { aspect-ratio: 4 / 3; }
  .festive-perspective { grid-template-columns: minmax(0, 1fr); }
  .extension-promo { flex-wrap: wrap; padding: 16px; }
  .extension-promo > a { margin-left: 0; }
  .xray-category { padding: 15px; }
  .editorial-header { padding: 16px; }
}
@media (max-width: 400px) {
  .hero-search .primary-button, .editorial-hero .primary-button { padding-inline: 9px; font-size: 12px; }
  .hero-search input { padding-inline: 5px; font-size: 13px; }
  .section-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .xray-category { transition: none; }
  .xray-category:hover { transform: none; }
}
