/* Top Gifts Today: one small stylesheet, mobile first. */
:root {
  --bg: #fffaf5;
  --surface: #ffffff;
  --text: #2b2222;
  --muted: #5e5252;
  --accent: #c62f37;
  --accent-dark: #a3242b;
  --border: #eadfd6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(43, 34, 34, 0.06), 0 6px 18px rgba(43, 34, 34, 0.06);
  --wrap: 1180px;
  font-size: 100%;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

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

a {
  color: var(--accent-dark);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid #1d5fd1;
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
h1 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}
h3 {
  font-size: 1.05rem;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .wrap {
    padding: 0 28px;
  }
}

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

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 10;
}
.skip-link:focus {
  top: 8px;
  color: #fff;
}

.preview-banner {
  background: #2b2222;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  padding: 8px 16px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}
.logo:hover {
  color: var(--accent);
}
.nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav a {
  display: inline-block;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: #fbe9ea;
  color: var(--accent-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 0;
}
.btn:hover {
  background: var(--accent-dark);
  color: #fff;
}
.btn-lg {
  padding: 14px 26px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 32px;
  align-items: center;
}
.hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* Sections */
.section {
  padding-top: 32px;
  padding-bottom: 16px;
}
.section h2 a {
  color: inherit;
  text-decoration: none;
}
.section h2 a:hover {
  text-decoration: underline;
}

/* Category tiles */
.tiles {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--tint, #f6f1ec);
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(43, 34, 34, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tile:hover {
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
@media (prefers-reduced-motion: reduce) {
  .tile {
    transition: none;
  }
  .tile:hover {
    transform: none;
  }
}
.tile-name {
  font-weight: 800;
  font-size: 1.2rem;
}
.tile-intro {
  color: var(--muted);
}
.tile-count {
  margin-top: auto;
  font-weight: 700;
  color: var(--accent-dark);
}

/* Product grid */
.grid {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-media {
  background: var(--tint, #f6f1ec);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.card-media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
.card-media img.is-placeholder {
  width: 60%;
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  flex: 1;
}
.card-blurb {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.card-price {
  margin: 4px 0 8px;
  font-weight: 700;
}
.card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.disclosure-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 4px;
}

/* Category pages */
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 16px 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 4px;
  color: #a0928c;
}
.page-head {
  margin: 16px 0 20px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--tint, #f6f1ec);
}
.page-head .lead {
  margin-bottom: 0;
}
.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
}
.pill-list a {
  display: inline-block;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  font-weight: 600;
}

.prose {
  max-width: 760px;
  padding-bottom: 32px;
}
.prose h1 {
  margin-top: 16px;
}

/* Footer */
.site-footer {
  margin-top: 48px;
  padding: 32px 0;
  background: #2b2222;
  color: #f3e9e3;
  font-size: 0.95rem;
}
.site-footer a {
  color: #ffd8d4;
}
.site-footer a:hover {
  color: #fff;
}
.footer-disclosure {
  margin-top: 0;
  max-width: 70ch;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
}
.footer-links a {
  display: inline-block;
  padding: 8px 0;
}
.copyright {
  margin-bottom: 0;
  color: #cbbcb5;
}

.list-count {
  font-size: 1.1rem;
  margin: 0 0 4px;
}
