.premium-marketplace {
  --wine: #570f1d;
  --wine-dark: #340811;
  --ivory: #faf3e6;
  --paper: #fffbf2;
  --ink: #38251f;
  --gold: #f1d48f;
  --border: #dfc9a9;
  --serif: Georgia, 'Times New Roman', serif;
  background: var(--ivory);
  color: var(--ink);
}
.premium-marketplace :focus-visible { outline: 3px solid #a66312; outline-offset: 3px; }
.premium-marketplace main { max-width: none; padding: 0 0 4rem; }
.market-wrap, .premium-marketplace .holiday-feature {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}
.premium-marketplace h1, .premium-marketplace h2, .premium-marketplace h3 { font-family: var(--serif); }
.premium-marketplace h2 { color: var(--wine); font-weight: 700; text-align: center; margin: 0 0 1.25rem; }
.market-header {
  background: var(--wine);
  color: var(--paper);
  border-bottom: 1px solid #a97045;
  padding-inline: max(1.5rem, calc((100vw - 1200px) / 2));
}
.market-brand { font: bold 1.25rem/1.02 var(--serif); text-decoration: none; }
.market-brand span { display: block; }
.market-header nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.market-header nav a { text-decoration: none; }
.market-header nav a:hover, .market-header nav a[aria-current] { color: var(--gold); text-decoration: underline; }
.market-button, .premium-marketplace .holiday-button, .premium-marketplace #grid .card-action button,
.premium-marketplace #grid .card-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1rem;
  min-height: 44px;
  border: 1px solid #b98536;
  border-radius: .45rem;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.market-gold, .premium-marketplace .holiday-button, .premium-marketplace #grid .card-action button,
.premium-marketplace #grid .card-action a {
  color: #37200f;
  background: linear-gradient(180deg,#ffe9ac,#e5b962);
}
.market-outline { color: #fff6e4; background: #690f20; border-color: var(--gold); }
.market-button:hover, .premium-marketplace .holiday-button:hover, .premium-marketplace #grid .card-action a:hover,
.premium-marketplace #grid .card-action button:hover { box-shadow: inset 0 0 0 2px #a66b38; }
.market-hero { background: var(--wine-dark); color: var(--paper); }
.market-hero-inner { max-width: 1360px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; }
.market-hero-copy {
  z-index: 1;
  align-self: center;
  padding: clamp(2rem,5vw,4.75rem) 1.5rem clamp(2rem,5vw,4.75rem) clamp(1.5rem,6vw,5rem);
}
.market-hero .eyebrow { letter-spacing: .22em; }
.market-hero h1 { color: var(--paper); font-size: clamp(3rem,7vw,6.2rem); font-weight: 700; letter-spacing: -.045em; }
.market-hero h1 span { display: block; color: var(--gold); }
.market-hero-copy > p:not(.eyebrow) { max-width: 35ch; font-size: clamp(1rem,2vw,1.2rem); }
.market-hero-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.market-hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.market-trust {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .45rem 2.5rem;
  margin: 0; padding: .8rem 1rem; list-style: none; text-align: center;
  color: var(--gold); background: #440b16; font-size: .875rem;
}
.market-trust li::before { content: '✓'; margin-right: .5rem; }
.premium-marketplace .holiday-feature { margin-block: 2.5rem; padding: 0; color: var(--ink); background: none; border: 0; box-shadow: none; }
.premium-marketplace .holiday-panel { padding: 0; background: none; border: 0; box-shadow: none; }
.premium-marketplace .holiday-lights { display: none; }
.premium-marketplace .holiday-heading { color: var(--wine); margin-bottom: .5rem; text-shadow: none; }
.market-section-intro { text-align: center; margin: 0 0 1.25rem; }
.premium-marketplace .holiday-feature-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.premium-marketplace .holiday-feature-card, .market-tile, .premium-marketplace #grid .card {
  color: var(--ink); background: var(--paper); border: 1px solid var(--border);
  border-radius: .65rem; box-shadow: 0 3px 8px #4d281719; overflow: hidden;
}
.premium-marketplace .holiday-feature-card { height: 100%; }
.premium-marketplace .holiday-feature-card h3, .premium-marketplace #grid h3 { color: var(--wine); font-size: 1.4rem; }
.premium-marketplace .holiday-feature-card .holiday-media { display: block; aspect-ratio: 5 / 4; overflow: hidden; background: #391412; }
.premium-marketplace .holiday-feature-card .holiday-media img { width: 100%; height: 100%; object-fit: cover; }
.premium-marketplace .holiday-feature-card-content { display: flex; flex: 1; flex-direction: column; align-items: stretch; gap: .5rem; }
.premium-marketplace .holiday-feature-card .holiday-copy { color: var(--ink); }
.premium-marketplace .holiday-actions { margin-top: auto; display: grid; justify-items: stretch; text-align: center; gap: .5rem; }
.premium-marketplace .holiday-price { color: #fff4d0; background: var(--wine); border-radius: .35rem; padding: .25rem .8rem; justify-self: center; }
.market-discover, .market-collections { margin-block: 2.75rem; }
.market-tile-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.market-tile { display: flex; flex-direction: column; text-decoration: none; }
.market-tile:hover { border-color: #9d6137; }
.market-tile img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #eee0c8; }
.market-tile:first-child img { object-fit: cover; }
.market-tile > div { padding: .85rem; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.market-tile h3 { margin: 0; color: var(--wine); line-height: 1.1; font-size: 1.25rem; }
.market-tile p { margin: .35rem 0 .65rem; font-size: .9rem; }
.market-tile .market-button { margin-top: auto; align-self: stretch; }
.market-collections #holiday-printables { margin-top: 1rem; }
.market-collections summary { cursor: pointer; color: var(--wine); font-weight: 700; }
.premium-marketplace #catalog { scroll-margin-top: 1rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.premium-marketplace #catalog .section-head { justify-content: center; text-align: center; display: block; }
.premium-marketplace #catalog h2 { margin-bottom: .5rem; }
.premium-marketplace .filters { justify-content: center; }
.premium-marketplace .filters button { color: var(--wine); background: var(--paper); border-color: var(--border); min-height: 44px; }
.premium-marketplace .filters button[aria-pressed=true] { background: var(--wine); color: var(--paper); border-color: var(--wine); }
.premium-marketplace #grid .cover { object-fit: contain; background: #eee0c8; }
.premium-marketplace #grid .cover[src^="/shop/covers/christmas-approved/"] { background: #eee0c8; }
.premium-marketplace #grid .card-action { flex-wrap: wrap; }
.premium-marketplace .meta, .premium-marketplace .preview { color: #665045; }
.market-footer { display: block; border-top: 1px solid #a97045; background: var(--wine); color: var(--paper); padding: 1.5rem; }
.market-footer-inner { max-width: 1200px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; }
.market-footer-inner > span { color: var(--gold); }
@media (max-width: 820px) {
  .market-tile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .market-wrap, .premium-marketplace .holiday-feature { width: calc(100% - 2rem); }
  .market-header { display: grid; grid-template-columns: 1fr auto; padding: .75rem 1rem; }
  .market-header nav { grid-row: 2; grid-column: 1 / -1; font-size: .875rem; }
  .market-hero-inner { grid-template-columns: 1fr; }
  .market-hero-copy { padding: 1.65rem 1rem 1.25rem; }
  .market-hero-image { height: auto; max-height: 265px; }
  .market-trust { gap: .35rem 1rem; }
  .premium-marketplace .holiday-feature-grid { grid-template-columns: 1fr; }
  .premium-marketplace .holiday-feature-card .holiday-media { aspect-ratio: 16/10; }
  .market-tile-grid { gap: .65rem; }
  .market-tile > div { padding: .65rem; }
}
.market-hero h1 { margin: 0; line-height: .98; }
.premium-marketplace .holiday-feature-card.santa-card {
  grid-column: auto;
  display: flex;
  background: var(--paper);
}
.premium-marketplace .seasonal-santa-link { align-self: stretch; }
.premium-marketplace .holiday-feature-card .holiday-actions { align-items: stretch; justify-content: stretch; }
.premium-marketplace .holiday-shell a.holiday-button { background: linear-gradient(180deg,#ffe9ac,#e5b962); border-color: #b98536; }
.premium-marketplace .holiday-feature-card .holiday-media { aspect-ratio: 3 / 2; }
.premium-marketplace .holiday-feature-card .holiday-media img { object-fit: contain; }
