
/* ==========================================================================
   Traditions by the Seasons: Autumn Heritage & Grandmillennial Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Warm Heritage Brand Palette */
  --primary: #a84b29;             /* Spiced Terracotta */
  --primary-hover: #8e3c1d;
  --primary-light: #fbf1ea;
  --primary-dark: #66260f;
  
  --accent-blue: #1d4e89;        /* Chinoiserie Blue */
  --accent-blue-light: #eff5fb;
  --accent-blue-dark: #12335b;

  --gold: #c29547;               /* Antique Brass / Gold */
  --gold-light: #fcf8ee;
  --gold-dark: #8c6827;

  --sage: #4a6b53;               /* Botanical Sage Green */
  --sage-light: #eef4f0;

  --bg-page: #faf7f2;            /* Warm Linen Cream */
  --bg-card: #ffffff;
  --text-main: #241e1b;          /* Deep Warm Espresso */
  --text-muted: #6b615b;
  --text-light: #9c9189;
  --border-color: #ede4db;
  --border-light: #f4ede5;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 4px rgba(36, 30, 27, 0.04), 0 1px 2px rgba(36, 30, 27, 0.02);
  --shadow-md: 0 6px 12px -2px rgba(36, 30, 27, 0.06), 0 3px 6px -1px rgba(36, 30, 27, 0.03);
  --shadow-lg: 0 14px 24px -4px rgba(36, 30, 27, 0.08), 0 6px 10px -2px rgba(36, 30, 27, 0.04);
  --shadow-hover: 0 20px 30px -6px rgba(168, 75, 41, 0.14), 0 8px 12px -2px rgba(36, 30, 27, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Announcement Bar */
.top-announcement-bar {
  background: var(--primary-dark);
  color: #fceee8;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.01em;
}

/* Site Header */
.site-header {
  background: #ffffff;
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.brand-title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}
.brand-subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-item {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-item:hover, .nav-item.active {
  color: var(--primary);
  background: var(--primary-light);
}
.creator-picks-nav {
  color: var(--gold-dark);
  background: var(--gold-light);
  border: 1px solid rgba(194, 149, 71, 0.4);
}
.creator-picks-nav:hover {
  background: #f7eed8;
  color: var(--gold-dark);
}
.yt-channel-nav {
  color: #c4302b;
  background: #fff5f5;
  border: 1px solid #fed7d7;
}
.yt-channel-nav:hover {
  background: #fed7d7;
  color: #9b2c2c;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #fdf8f4 0%, #f7ebe1 50%, #fdf6ec 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 56px 0 44px 0;
  text-align: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 6px 18px;
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border: 1px solid #f2ded1;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #5c4c44;
  max-width: 720px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

/* Stats Pill Bar */
.stats-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.stat-pill {
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-color);
}
.stat-pill strong {
  color: var(--primary);
  font-size: 1.05rem;
}

/* Search Box */
.search-container {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 16px 22px 16px 54px;
  font-size: 1.05rem;
  font-family: var(--font-sans);
  border: 2px solid #ecd8c9;
  border-radius: 40px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  outline: none;
  transition: all 0.2s ease;
  color: var(--text-main);
}
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(168, 75, 41, 0.15);
}
.search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
}

/* Quick Filter Chips */
.quick-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.chip {
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.chip:hover, .chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(168, 75, 41, 0.2);
}
.chip-highlight {
  background: var(--gold-light);
  border-color: rgba(194, 149, 71, 0.5);
  color: var(--gold-dark);
}

/* Section Titles */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 52px 0 26px 0;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border-color);
}
.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Subcategory Collage Cards Grid */
.subcategories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
  margin-bottom: 60px;
}
.subcategory-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.subcategory-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #d8c3b2;
}

.collage-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1.25 / 1;
  background: #fdfaf6;
  overflow: hidden;
}
.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  width: 100%;
  height: 100%;
  background: var(--border-light);
}
.collage-cell {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.collage-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.3s ease;
}
.subcategory-card:hover .collage-cell img {
  transform: scale(1.08);
}
.empty-cell {
  background: #fdfbf8;
}
.collage-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}
.subcat-discount-badge {
  background: #c53030;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.subcat-star-badge {
  background: var(--gold);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.subcategory-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.subcat-cat-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.subcat-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 10px;
}
.subcat-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}
.subcat-count {
  font-weight: 600;
  color: var(--text-main);
}
.subcat-from-price {
  font-weight: 700;
  color: var(--sage);
}
.subcat-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 10px 14px;
  background: #fbf7f2;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.2s ease;
}
.subcategory-card:hover .subcat-cta {
  background: var(--primary);
  color: #ffffff;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 26px;
  margin-bottom: 56px;
}
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #d8c3b2;
}
.product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
}
.product-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.06);
}
.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.badge-discount {
  background: #c53030;
  color: #ffffff;
}
.badge-favorite {
  background: var(--gold);
  color: #ffffff;
}
.badge-prime {
  background: #0073bb;
  color: #ffffff;
}

.product-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.8rem;
}
.product-brand {
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 68%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-rating {
  font-weight: 700;
  color: var(--gold-dark);
}
.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}
.product-title a {
  text-decoration: none;
  color: var(--text-main);
  transition: color 0.15s ease;
}
.product-title a:hover {
  color: var(--primary);
}
.product-pricing {
  margin-top: auto;
  margin-bottom: 16px;
  padding-top: 10px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.promo-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}
.list-price {
  font-size: 0.92rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.savings-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sage);
  background: var(--sage-light);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.btn-shop {
  background: var(--primary);
  color: #ffffff;
  width: 100%;
}
.btn-shop:hover {
  background: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(168, 75, 41, 0.25);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 24px 0 18px 0;
}
.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Filter Controls Bar */
.filter-bar {
  background: #ffffff;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.filter-search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}
.filter-search-box input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  background: #fdfdfd;
}
.filter-search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(168, 75, 41, 0.12);
}
.filter-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.filter-select {
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #ffffff;
  font-size: 0.92rem;
  font-family: var(--font-sans);
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}
.filter-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  color: var(--text-main);
}
.filter-checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #1f1a17;
  color: #dfd8d3;
  padding: 56px 0 28px 0;
  margin-top: 70px;
  border-top: 4px solid var(--primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer-title {
  font-family: var(--font-serif);
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #cbc2bb;
}
.disclosure-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}
.footer-list {
  list-style: none;
}
.footer-list li {
  margin-bottom: 12px;
}
.footer-list a {
  color: #cbc2bb;
  text-decoration: none;
  font-size: 0.94rem;
  transition: color 0.15s ease;
}
.footer-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid #38302b;
  font-size: 0.85rem;
  color: #9c9189;
}
.footer-bottom code {
  color: #e2a87a;
  background: rgba(0,0,0,0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Responsive Rules */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-title { font-size: 2.15rem; }
  .header-container { flex-direction: column; gap: 14px; text-align: center; }
  .nav-links { flex-wrap: wrap; justify-content: center; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
