/* ──────── SITE NAV ──────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--warm-gray);
}

.site-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--fg);
}

.site-nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}

.site-nav-links a {
  font-size: 15px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav-links a:hover {
  color: var(--fg);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  background: var(--fg);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 40px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* ──────── HERO CTAs ──────── */
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  background: var(--accent);
  color: white;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(196, 93, 62, 0.25);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196, 93, 62, 0.35);
}

.btn-hero-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  padding: 14px 24px;
  border-radius: 40px;
  border: 1.5px solid var(--warm-gray);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.btn-hero-secondary:hover {
  border-color: var(--fg-muted);
  transform: translateY(-2px);
}

/* ──────── CLOSING CTAs ──────── */
.closing-ctas {
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

/* ──────── CATALOG HERO ──────── */
.catalog-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--warm-gray);
  padding: 72px 60px 60px;
}

.catalog-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.catalog-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 8px 18px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.catalog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.catalog-lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.65;
}

/* ──────── CATALOG WRAP ──────── */
.catalog-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px 100px;
}

/* ──────── FILTER BAR ──────── */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--warm-gray);
  margin-bottom: 56px;
}

.filter-pill {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 40px;
  border: 1.5px solid var(--warm-gray);
  color: var(--fg-muted);
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.filter-pill:hover {
  border-color: var(--fg-muted);
  color: var(--fg);
}

.filter-pill.active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* ──────── SECTION HEADERS ──────── */
.catalog-section {
  margin-bottom: 72px;
}

.section-header {
  margin-bottom: 36px;
}

.section-header-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
}

.see-all-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.see-all-link:hover {
  opacity: 0.7;
}

.catalog-divider {
  height: 1px;
  background: var(--warm-gray);
  margin: 0 0 72px;
}

/* ──────── PRODUCT GRID ──────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ──────── PRODUCT CARD ──────── */
.product-card {
  background: var(--cream);
  border: 1px solid var(--warm-gray);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 22, 21, 0.1);
}

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card-visual {
  background: var(--bg-alt);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--warm-gray);
}

.product-card-icon {
  font-size: 48px;
}

.product-badge-sale {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: white;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.product-badge-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.product-card-body {
  padding: 20px;
}

.product-card-cat {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.product-card-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.product-card-meta span {
  font-size: 12px;
  color: var(--fg-muted);
  background: var(--bg-alt);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--warm-gray);
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-main {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
}

.price-compare {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: line-through;
}

/* ──────── PRODUCT PAGE ──────── */
.product-page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 60px 100px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

.breadcrumb a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  opacity: 0.5;
}

.product-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 100px;
}

.product-page-preview {
  background: var(--bg-alt);
  border: 1px solid var(--warm-gray);
  border-radius: 24px;
  height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.product-preview-icon {
  font-size: 80px;
}

.product-preview-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--cream);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--warm-gray);
}

/* Preview image gallery (products with real images) */
.product-preview-gallery {
  margin-bottom: 20px;
}

.preview-main {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--warm-gray);
  background: var(--bg-alt);
  margin-bottom: 12px;
}

.preview-main-img {
  width: 100%;
  display: block;
  border-radius: 20px;
  transition: opacity 0.2s;
}

.preview-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.preview-thumb {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s, opacity 0.15s;
  opacity: 0.65;
}

.preview-thumb:hover {
  opacity: 0.9;
}

.preview-thumb.active {
  border-color: var(--accent);
  opacity: 1;
}

.product-desc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.product-desc-list li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
}

.product-desc-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.product-spec-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.spec-card {
  background: var(--cream);
  border: 1px solid var(--warm-gray);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
}

.spec-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 4px;
}

.spec-label {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
}

.product-page-cat {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.product-page-name {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.product-page-tagline {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.product-page-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 32px;
}

.product-page-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--fg);
}

.product-page-compare {
  font-size: 20px;
  color: var(--fg-muted);
  text-decoration: line-through;
}

.product-page-savings {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
}

.product-page-cta {
  margin-bottom: 48px;
}

.btn-buy {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  background: var(--accent);
  color: white;
  padding: 18px 36px;
  border-radius: 40px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(196, 93, 62, 0.3);
  margin-bottom: 12px;
  display: inline-block;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196, 93, 62, 0.4);
}

/* btn-buy-primary: form submit button styled to match btn-buy */
button.btn-buy-primary {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  background: var(--accent);
  color: white;
  padding: 18px 36px;
  border-radius: 40px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(196, 93, 62, 0.3);
  margin-right: 12px;
  margin-bottom: 12px;
}
button.btn-buy-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196, 93, 62, 0.4);
}

/* btn-buy-secondary: ghost Etsy fallback */
a.btn-buy-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
  margin-bottom: 12px;
}
a.btn-buy-secondary:hover {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px rgba(196, 93, 62, 0.2);
}

.product-page-cta-note {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 12px;
}

.product-page-desc {
  margin-bottom: 36px;
  padding: 32px;
  background: var(--bg-alt);
  border-radius: 20px;
  border: 1px solid var(--warm-gray);
}

.product-page-desc h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.product-page-desc p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.product-page-desc p:last-child {
  margin-bottom: 0;
}

.product-page-includes h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-page-includes ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-page-includes li {
  font-size: 15px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ──────── RELATED SECTION ──────── */
.related-section {
  border-top: 1px solid var(--warm-gray);
  padding-top: 64px;
}

.related-section .section-label {
  margin-bottom: 16px;
}

.related-section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 40px;
}

/* ──────── EMPTY STATE ──────── */
.empty-state {
  font-size: 16px;
  color: var(--fg-muted);
  padding: 48px 0;
}

/* ──────── 404 ──────── */
.not-found-wrap {
  max-width: 500px;
  margin: 0 auto;
  padding: 120px 60px;
  text-align: center;
}

.not-found-num {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 800;
  color: var(--accent-light);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 24px;
}

.not-found-wrap h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.not-found-wrap p {
  font-size: 17px;
  color: var(--fg-muted);
  margin-bottom: 40px;
}

/* ──────── RESPONSIVE ──────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .site-nav-inner { padding: 0 28px; }
  .site-nav-links { display: none; }
  .catalog-hero { padding: 48px 28px 40px; }
  .catalog-wrap { padding: 0 28px 60px; }
  .product-page-wrap { padding: 24px 28px 60px; }
  .product-page-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-spec-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 8px; }
  .filter-pill { font-size: 12px; padding: 8px 14px; }
  .site-nav-links { display: none; }
}
