/* ==========================================================================
   ThreadByteCreative — Modern E-Commerce Design System
   Typography: Outfit (Headings) + Plus Jakarta Sans (Clean Body)
   Grid: Clean, Symmetrical Equal-Height Flex Grids (No Broken Columns)
   ========================================================================== */

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

:root {
  color-scheme: only light;
  --bg: #FAF6EF;
  --card: #FFFDF8;
  --card-alt: #F6F0E6;
  --ink: #1F1914;
  --muted: #6E6456;
  --line: #E8DFD2;
  --line-light: #F2ECE1;
  --accent: #B4552D;
  --accent-hover: #963F19;
  --etsy: #F1641E;
  --etsy-hover: #D75210;
  --green: #177245;
  --green-hover: #105934;
  --sage: #E9F4EC;
  --sage-border: #CFE8D8;

  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(31, 25, 20, 0.04);
  --shadow-md: 0 8px 20px -4px rgba(31, 25, 20, 0.08), 0 3px 6px -2px rgba(31, 25, 20, 0.04);
  --shadow-lg: 0 16px 30px -6px rgba(31, 25, 20, 0.12), 0 6px 12px -3px rgba(31, 25, 20, 0.06);
  --shadow-glow-accent: 0 6px 20px rgba(180, 85, 45, 0.28);
  --shadow-glow-etsy: 0 6px 20px rgba(241, 100, 30, 0.3);

  /* Fonts */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  transition: color 0.2s ease;
}

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

/* Headings */
h1, h2, h3, .logo-word {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 26px 0 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

h2 small {
  font-size: 14.5px;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0;
}

/* Sale Bar */
.sale-bar {
  background: linear-gradient(90deg, #9E4521 0%, #B4552D 50%, #C9702F 100%);
  color: #FFF7EC;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  z-index: 30;
}

.sale-bar-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.code-pill {
  border: 1.5px dashed rgba(255, 247, 236, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 2px 10px;
  font-weight: 800;
  letter-spacing: .08em;
  animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 247, 236, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(255, 247, 236, 0); }
}

.cd-pill {
  background: rgba(31, 25, 20, 0.85);
  color: #FFF7EC;
  border-radius: 8px;
  padding: 2px 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .05em;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}

.header-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 14px;
}

.logo {
  text-decoration: none;
  line-height: 1.05;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--line);
  box-shadow: 0 2px 8px rgba(43, 33, 24, 0.12);
  flex-shrink: 0;
  background: #fff;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-word {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: block;
}

.logo-word > span {
  color: var(--accent);
}

.logo-sub {
  display: block;
  font-size: 9px;
  letter-spacing: .32em;
  font-weight: 700;
  color: var(--muted);
  margin-top: 3px;
  font-family: var(--font-body);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 7px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  margin-left: 18px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  padding: 4px 0;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a:not(.nav-etsy):hover {
  color: var(--accent);
}

.nav-etsy {
  background: var(--etsy) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(241, 100, 30, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-etsy:hover {
  background: var(--etsy-hover) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-etsy);
}

.nav-etsy-compact {
  display: none;
}

/* Hero */
.hero {
  background: linear-gradient(165deg, #F5EFE6 0%, #FAF6EF 55%, #F4EDE2 100%);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 32px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 5px 13px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  margin: 16px 0 14px;
  letter-spacing: -0.03em;
}

.hero p.lede {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-size: 14.5px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 12px rgba(31, 25, 20, 0.18);
}

.btn-dark:hover {
  background: #0D0B08;
  box-shadow: 0 6px 18px rgba(31, 25, 20, 0.25);
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(23, 114, 69, 0.2);
}

.btn-green:hover {
  background: var(--green-hover);
  box-shadow: 0 6px 20px rgba(23, 114, 69, 0.3);
}

.btn-etsy {
  background: var(--etsy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(241, 100, 30, 0.25);
}

.btn-etsy:hover {
  background: var(--etsy-hover);
  box-shadow: var(--shadow-glow-etsy);
}

.hero-btns .btn {
  margin: 0 10px 10px 0;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.hero-stats .stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
}

.hero-stats .stat span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-media {
  position: relative;
}

.hero-frame {
  background: #fff;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.price-chip {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 500px; margin: 0 auto; }
}

/* ==========================================================================
   CATEGORY CARDS — EQUAL HEIGHT & PROPORTIONAL
   ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.cat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.cat-card:hover {
  border-color: rgba(180, 85, 45, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cat-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  background: #F4EFE6;
  display: block;
  transition: transform 0.4s ease;
}

.cat-card:hover img {
  transform: scale(1.04);
}

.cat-card .cat-body {
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  background: var(--card);
}

.cat-card small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
  font-size: 12px;
}

/* Filter & Search Bar */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  margin: 6px 0 10px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}

.chip {
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.chip.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.tools-right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.tools-right input[type=search],
.tools-right select {
  padding: 9px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  background: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}

.tools-right input[type=search]:focus,
.tools-right select:focus {
  border-color: var(--accent);
}

#searchCount {
  color: var(--muted);
  font-size: 13.5px;
  margin: 6px 2px 2px;
  font-weight: 600;
}

/* ==========================================================================
   PINTEREST-STYLE GRID & CARDS (NO GAP IN MIDDLE, COMPACT PINS)
   ========================================================================== */
.grid {
  column-count: 4;
  column-gap: 16px;
  width: 100%;
}

.grid-fill {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

.grid-fill .card {
  width: 260px;
  max-width: 100%;
  margin-bottom: 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(180, 85, 45, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Natural aspect ratio Pinterest Pin image */
.thumb {
  position: relative;
  background: #F4EFE6;
  width: 100%;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.card:hover .thumb img {
  transform: scale(1.03);
}

/* Card Body with Clean Compact Typography */
.card-body {
  padding: 12px 14px 14px;
  display: block;
}

.cat-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 14.5px;
  line-height: 1.35;
  margin: 2px 0 5px;
  font-weight: 700;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.card:hover h3 {
  color: var(--accent);
}

.card-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pinterest Card Footer with Action */
.card-footer {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid var(--line-light);
  padding-top: 8px;
}

.card-footer {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid var(--line-light);
  padding-top: 8px;
}

.price-row {
  display: none !important;
}

.d-price {
  display: none !important;
}

.price {
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.was {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}

.now {
  color: var(--accent);
  font-weight: 800;
}

.off-pill {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
}

.view-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FAF2EC;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(180, 85, 45, 0.18);
  transition: all 0.2s ease;
}

.card:hover .view-link {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateX(2px);
}

/* ==========================================================================
   FREE DOWNLOADS PANEL
   ========================================================================== */
.free-panel {
  background: linear-gradient(145deg, #E9F4EC 0%, #DFEFE4 100%);
  border: 1.5px solid var(--sage-border);
  border-radius: 20px;
  padding: 30px 24px;
  margin-top: 44px;
}

.free-panel h2 {
  margin: 0 0 6px;
  color: #0E482B;
}

.free-panel p {
  color: #2D583F;
  font-size: 15px;
}

#freeGrid {
  margin-top: 20px;
}

.free-perk-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 114, 69, 0.2);
}

.perk-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #177245;
  background: rgba(255, 255, 255, 0.75);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(23, 114, 69, 0.2);
}

/* ==========================================================================
   REVIEWS & HOW IT WORKS
   ========================================================================== */
.reviews-section {
  margin-top: 48px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #E68A00;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-text {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 14px;
}

.review-author strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}

.review-author span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.how-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.how-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 14px;
}

.how-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.how-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.about p {
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 16px;
  font-size: 15px;
}

/* ==========================================================================
   CONTENT & SEO PAGES (ABOUT, CONTACT, FAQ, PRINTING GUIDE)
   ========================================================================== */
.page-hero {
  text-align: center;
  max-width: 820px;
  margin: 36px auto 32px;
}
.page-hero .kicker {
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  margin-bottom: 14px;
}
.page-hero p.lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.info-body {
  max-width: 860px;
  margin: 0 auto 50px;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.info-card h2, .info-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}
.info-card p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.info-card p:last-child {
  margin-bottom: 0;
}
.ratio-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.ratio-table th, .ratio-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.ratio-table th {
  background: #FAF2EC;
  color: var(--accent);
  font-weight: 700;
}
.ratio-table tr:last-child td {
  border-bottom: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 28px 0 40px;
}
.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.contact-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.contact-icon {
  font-size: 38px;
  margin-bottom: 14px;
  display: inline-block;
}
.contact-box h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.contact-box p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.faq-item h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
  color: var(--ink);
}
.faq-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Footer */
footer {
  margin-top: 60px;
  background: var(--card);
  border-top: 1px solid var(--line);
}

.foot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  padding-top: 36px;
  padding-bottom: 12px;
}

.foot strong {
  font-family: var(--font-heading);
  font-size: 16px;
}

.foot p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 6px;
  line-height: 1.8;
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.copy {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

/* Product Detail Pages */
.crumbs {
  color: var(--muted);
  font-size: 13.5px;
  padding: 20px 0 8px;
}

.crumbs a {
  text-decoration: none;
  font-weight: 600;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 18px 0 14px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.back-link:hover {
  color: var(--accent);
}

.detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 38px;
  align-items: start;
  margin-bottom: 24px;
}

.detail .gallery {
  position: sticky;
  top: 96px;
}

.main-img {
  width: 100%;
  position: relative;
}

.main-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: block;
}

.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.thumbs img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #F4EFE6;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thumbs img:hover {
  transform: scale(1.05);
}

.thumbs img.on {
  border-color: var(--accent);
}

#videoBox video {
  width: 100%;
  border-radius: 16px;
  margin-top: 8px;
  background: #000;
}

.vtitle {
  margin-top: 20px;
}

.detail-info h1 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  margin: 8px 0 6px;
  font-weight: 700;
}

.d-meta {
  color: var(--muted);
  font-size: 14px;
}

.d-price {
  font-size: 26px;
  font-weight: 800;
  margin: 14px 0;
  font-variant-numeric: tabular-nums;
}

.big-btn {
  font-size: 16px;
  padding: 14px 28px;
}

.note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.detail-info h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.d-desc {
  color: #3D352B;
  font-size: 14.5px;
  line-height: 1.65;
}

.assure {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 4px;
}

.assure div {
  flex: 1;
  min-width: 110px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

.assure span {
  display: block;
  font-size: 18px;
  margin-bottom: 3px;
}

.ticks {
  list-style: none;
}

.ticks li {
  padding: 5px 0 5px 24px;
  position: relative;
  font-size: 14px;
}

.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.specs {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
  margin-top: 6px;
}

.specs th, .specs td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

.specs th {
  width: 140px;
  color: var(--muted);
  font-weight: 600;
}

.sale-note {
  background: #FDEEE6;
  border: 1px solid #F6CDB2;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  margin-top: 12px;
}

.sticky-title {
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 55%;
  min-width: 0;
}

.sticky-buy {
  position: sticky;
  bottom: 0;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 90;
}

@media (max-width: 1100px) {
  .grid {
    column-count: 3;
    column-gap: 14px;
  }
  .grid-fill .card {
    width: 250px;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-media {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  /* Mobile Header with Hamburger Toggle */
  .header-actions {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-etsy-compact {
    display: inline-flex;
    padding: 6px 14px;
    font-size: 12px;
  }
  .nav-etsy-desktop {
    display: none !important;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255, 253, 248, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--line);
    box-shadow: 0 18px 36px rgba(43, 33, 24, 0.14);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
    z-index: 999;
  }

  .site-nav.open {
    display: flex;
    animation: navSlideDown 0.22s ease-out forwards;
  }

  .site-nav a {
    margin: 0;
    padding: 13px 14px;
    font-size: 15.5px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line-light);
    color: var(--ink);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .site-nav a:hover,
  .site-nav a:active {
    background: #FAF2EC;
    color: var(--accent);
  }

  /* Tablet / Medium screens filter bar */
  .filter-bar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .chips::-webkit-scrollbar {
    display: none;
  }
  .chip {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  /* Product detail layout */
  .detail {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }
  .detail .gallery {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .main-img {
    width: 100%;
    max-width: 360px;
    height: clamp(220px, 34vh, 290px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F4EC;
    border-radius: 16px;
    border: 1px solid var(--line);
    overflow: hidden;
    padding: 8px;
    box-sizing: border-box;
  }
  .main-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    border: none;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 12px rgba(43, 33, 24, 0.08);
  }
  .thumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    margin-top: 4px;
    padding: 2px 2px 8px;
    scrollbar-width: none;
  }
  .thumbs::-webkit-scrollbar {
    display: none;
  }
  .thumbs img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--line);
    background: #FFF;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
  }
  .thumbs img.on {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(180, 85, 45, 0.28);
  }

  /* Sticky Buy Bar on Tablet/Mobile */
  .sticky-buy {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 16px;
    background: rgba(255, 253, 248, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(43, 33, 24, 0.08);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
  }
  .sticky-buy > div:first-child,
  .sticky-title {
    font-size: 13.5px;
    max-width: 55% !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }
  .sticky-buy .btn {
    padding: 8px 18px;
    font-size: 13.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Crucial: Prevent sticky bar from overlapping page content */
  main.wrap {
    padding-bottom: 78px;
  }

  /* Masonry Grid: 2 clean columns */
  .grid {
    column-count: 2 !important;
    column-gap: 12px !important;
  }
  .grid-fill {
    gap: 12px !important;
  }
  .grid-fill .card {
    width: calc(50% - 6px) !important;
  }

  /* Blog & Article responsive layout */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .article-container {
    padding: 20px 18px 50px;
  }
  .article-title {
    font-size: 28px;
  }
  .article-body h2 {
    font-size: 23px;
    margin-top: 36px;
  }
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .product-showcase-img {
    max-width: 220px;
    margin: 0 auto;
  }
  .article-cta-box {
    padding: 24px 18px;
  }

  /* Contact, Legal, Error */
  .contact-form-card {
    padding: 24px 18px;
  }
  .legal-card {
    padding: 26px 20px;
  }
  .error-hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 14px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Sale Announcement Bar: Fully visible, no ellipsis cutting off text */
  .sale-bar {
    font-size: 11.5px;
    line-height: 1.35;
    padding: 7px 10px;
  }
  .sale-bar-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 8px;
    text-align: center;
    overflow: visible;
  }
  .sale-bar-in span:first-child {
    white-space: normal;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    display: inline;
  }
  .code-pill {
    padding: 2px 8px;
    font-size: 11px;
    display: inline-block;
  }
  .cd-pill {
    padding: 2px 8px;
    font-size: 11px;
    display: inline-block;
  }

  /* Header on Mobile: Zero horizontal overflow */
  .header-in {
    padding: 8px 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }
  .brand-logo-img {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }
  .logo-text {
    min-width: 0;
  }
  .logo-word {
    font-size: 17px;
    white-space: nowrap;
  }
  .logo-sub {
    font-size: 7.5px;
    letter-spacing: .22em;
    white-space: nowrap;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .nav-etsy-compact {
    display: inline-flex;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 34px;
    height: 32px;
    padding: 6px 7px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .site-nav {
    top: 56px;
  }

  /* Hero Section on Mobile */
  .hero {
    padding: 20px 0 24px;
  }
  .kicker {
    font-size: 10px;
    padding: 4px 12px;
  }
  .hero h1 {
    font-size: clamp(24px, 6.2vw, 29px);
    line-height: 1.2;
    margin: 10px 0;
  }
  .hero p.lede {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .hero-btns .btn {
    margin: 0;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    justify-content: center;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .hero-stats .stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
  }
  .hero-stats .stat strong {
    font-size: 21px;
    line-height: 1.1;
  }
  .hero-stats .stat span {
    font-size: 9.5px;
    letter-spacing: .05em;
  }
  .hero-frame {
    padding: 8px;
    border-radius: 14px;
  }

  /* Category Section: strictly 2 columns on mobile */
  .cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .cat-card {
    border-radius: 12px;
  }
  .cat-card .cat-body {
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.3;
  }
  .cat-card small {
    font-size: 10.5px;
    margin-top: 2px;
  }

  /* Filter bar & swipeable chips */
  .filter-bar {
    padding: 10px 12px;
    margin: 6px 0 12px;
    border-radius: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .chips {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 1;
    box-sizing: border-box;
    padding: 2px 2px 6px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .chips::-webkit-scrollbar {
    display: none;
  }
  .chip {
    padding: 6px 12px;
    font-size: 11.5px;
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
  }
  .tools-right {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 8px;
    box-sizing: border-box;
  }
  .tools-right input[type=search],
  .tools-right select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    font-size: 13.5px;
    border-radius: 10px;
  }

  /* Masonry Grid: 2 columns */
  .grid {
    column-count: 2 !important;
    column-gap: 10px !important;
  }
  .grid-fill {
    gap: 10px !important;
  }
  .grid-fill .card {
    width: calc(50% - 5px) !important;
  }
  .card {
    border-radius: 12px;
    margin-bottom: 10px;
    break-inside: avoid;
  }
  .card-body {
    padding: 8px 10px 10px;
  }
  .card .cat-label {
    font-size: 9px;
    letter-spacing: .06em;
    margin-bottom: 2px;
  }
  .card h3 {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-desc {
    display: none;
  }
  .card-footer {
    border-top: none;
    padding-top: 4px;
    justify-content: center;
  }
  .view-link {
    width: 100%;
    justify-content: center;
    font-size: 11px;
    padding: 5px 8px;
  }

  /* Product details on mobile: Proportional Hero Image & Instant Thumbnails */
  .detail {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
  }
  .detail .gallery {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .main-img {
    width: 100%;
    max-width: 330px;
    height: clamp(200px, 32vh, 270px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F4EC;
    border-radius: 14px;
    border: 1px solid var(--line);
    overflow: hidden;
    padding: 6px;
    box-sizing: border-box;
  }
  .main-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    border: none;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 12px rgba(43, 33, 24, 0.08);
  }
  .thumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    margin-top: 2px;
    padding: 2px 2px 6px;
    scrollbar-width: none;
  }
  .thumbs::-webkit-scrollbar {
    display: none;
  }
  .thumbs img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--line);
    background: #FFF;
    cursor: pointer;
  }
  .thumbs img.on {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(180, 85, 45, 0.28);
  }
  .back-link {
    margin-bottom: 10px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
  }
  .detail-info h1 {
    font-size: 21px;
    line-height: 1.25;
    margin: 6px 0;
  }
  .d-meta {
    font-size: 12px;
    line-height: 1.4;
  }
  .big-btn {
    width: 100%;
    padding: 13px 18px;
    font-size: 15px;
    justify-content: center;
    text-align: center;
  }
  .assure {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 16px 0;
  }
  .assure div {
    min-width: 0;
    padding: 9px 6px;
    font-size: 11.5px;
    text-align: center;
  }
  .specs th,
  .specs td {
    padding: 7px 8px;
    font-size: 12.5px;
  }
  .specs th {
    width: 95px;
  }
  #videoBox video {
    max-height: 40vh;
    border-radius: 12px;
  }

  /* Sticky buy on mobile */
  .sticky-buy {
    padding: 10px 14px;
    gap: 10px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .sticky-buy > div:first-child,
  .sticky-title {
    font-size: 13px;
    max-width: 54% !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }
  .sticky-buy .btn {
    padding: 8px 15px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  main.wrap {
    padding-bottom: 76px;
  }

  /* Dedicated Info / Guide / FAQ Pages on mobile */
  .page-hero h1 {
    font-size: 24px;
  }
  .info-card {
    padding: 18px 14px;
    border-radius: 14px;
  }
  .ratio-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-box {
    padding: 20px 14px;
  }

  /* Blog & Articles */
  .blog-hero {
    padding: 28px 14px 16px;
  }
  .blog-hero h1 {
    font-size: 26px;
    line-height: 1.25;
  }
  .blog-hero p {
    font-size: 14px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 24px 0 40px;
  }
  .blog-card {
    border-radius: 14px;
  }
  .blog-card-body {
    padding: 16px 14px;
  }
  .blog-card-title {
    font-size: 18px;
    line-height: 1.3;
  }
  .blog-card-excerpt {
    font-size: 13px;
  }
  .article-container {
    padding: 16px 14px 40px;
  }
  .article-title {
    font-size: 24px;
    line-height: 1.25;
  }
  .article-body {
    font-size: 15px;
    line-height: 1.65;
  }
  .article-body h2 {
    font-size: 20px;
    margin-top: 28px;
    margin-bottom: 10px;
  }
  .article-body h3 {
    font-size: 17px;
    margin-top: 20px;
    margin-bottom: 8px;
  }
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }
  .product-showcase-img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    margin: 0 auto;
  }
  .article-cta-box {
    padding: 22px 14px;
    border-radius: 14px;
  }
  .article-cta-box h3 {
    font-size: 20px;
  }
  .article-cta-box p {
    font-size: 13.5px;
  }

  /* Contact Form, Legal & 404 */
  .contact-form-card {
    padding: 20px 14px;
    border-radius: 14px;
  }
  .legal-card {
    padding: 20px 14px;
    border-radius: 14px;
    font-size: 14.5px;
  }
  .legal-card h2 {
    font-size: 19px;
    margin: 22px 0 8px;
  }
  .error-hero {
    padding: 40px 14px 30px;
  }
  .error-hero h1 {
    font-size: 28px;
  }
  .error-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .error-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer on mobile */
  .foot {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 24px;
  }
  .foot-bot {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .foot-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-in {
    padding: 8px 0;
    gap: 6px;
  }
  .logo {
    gap: 8px;
  }
  .brand-logo-img {
    width: 32px;
    height: 32px;
  }
  .logo-word {
    font-size: 16px;
  }
  .logo-sub {
    display: none !important;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .nav-pinterest {
    display: none !important;
  }
  .nav-etsy-compact {
    padding: 5px 10px;
    font-size: 11px;
  }
  .menu-toggle {
    width: 34px;
    height: 30px;
    padding: 5px 6px;
  }

  /* Product Hero Image proportion on standard mobile */
  .main-img {
    max-width: 300px;
    height: clamp(180px, 30vh, 240px);
    margin: 0 auto;
  }
  .main-img img {
    max-height: 100%;
  }
  .thumbs {
    max-width: 300px;
    margin: 6px auto 0;
    gap: 6px;
  }
  .thumbs img {
    width: 48px;
    height: 48px;
  }
  .detail-info h1 {
    font-size: 20px;
  }
  .sticky-buy > div:first-child,
  .sticky-title {
    font-size: 12.5px;
    max-width: 50% !important;
  }
  .sticky-buy .btn {
    padding: 7px 12px;
    font-size: 12px;
  }
  main.wrap {
    padding-bottom: 72px;
  }
}

@media (max-width: 360px) {
  .wrap {
    padding: 0 10px;
  }
  .sale-bar {
    padding: 5px 6px;
    font-size: 10.5px;
  }
  .sale-bar-in {
    gap: 3px 6px;
  }
  .code-pill, .cd-pill {
    font-size: 10px;
    padding: 1.5px 6px;
  }
  .brand-logo-img {
    width: 28px;
    height: 28px;
  }
  .logo-word {
    font-size: 14.5px;
  }
  .nav-etsy-compact {
    padding: 4px 7px;
    font-size: 10px;
  }
  .menu-toggle {
    width: 30px;
    height: 28px;
  }
  .cat-grid {
    gap: 6px !important;
  }
  .grid {
    column-gap: 8px !important;
  }
  .grid-fill {
    gap: 8px !important;
  }
  .grid-fill .card {
    width: calc(50% - 4px) !important;
  }
  .card-body {
    padding: 6px 8px 8px;
  }
  .card h3 {
    font-size: 11px;
  }
  .view-link {
    font-size: 10px;
    padding: 4px 6px;
  }
  .main-img {
    max-width: 260px;
    height: clamp(160px, 28vh, 210px);
    padding: 4px;
    margin: 0 auto;
  }
  .main-img img {
    max-height: 100%;
  }
  .thumbs {
    max-width: 260px;
    margin: 5px auto 0;
    gap: 4px;
  }
  .thumbs img {
    width: 40px;
    height: 40px;
  }
  .detail-info h1 {
    font-size: 18px;
  }
  .sticky-buy {
    padding: 6px 8px;
  }
  .sticky-buy > div:first-child,
  .sticky-title {
    font-size: 11.5px;
    max-width: 48% !important;
  }
  .sticky-buy .btn {
    padding: 6px 10px;
    font-size: 11px;
  }
  main.wrap {
    padding-bottom: 66px;
  }
}


/* ==========================================================================
   Blog & Guides System Styling
   ========================================================================== */
.blog-hero {
  text-align: center;
  padding: 40px 20px 20px;
  max-width: 760px;
  margin: 0 auto;
}
.blog-hero h1 {
  font-size: 38px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 800;
}
.blog-hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin: 40px 0 60px;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.blog-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--card-alt);
  overflow: hidden;
  position: relative;
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}
.blog-card:hover .blog-card-img {
  transform: scale(1.03);
}
.blog-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(31, 25, 20, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
}
.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-card-title {
  font-size: 20px;
  font-family: var(--font-heading);
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 700;
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.blog-card-readmore {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Single Article Styling */
.article-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}
.article-header {
  margin-bottom: 24px;
}
.article-tag-pill {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.article-title {
  font-size: 34px;
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 800;
}
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.article-meta-bar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.article-hero-banner {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 35px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.article-hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article Body Content */
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #2D261E;
}
.article-body .lead-p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  font-weight: 500;
}
.article-body p {
  margin-bottom: 22px;
}
.article-body h2 {
  font-size: 26px;
  font-family: var(--font-heading);
  margin: 44px 0 16px;
  color: var(--ink);
  font-weight: 800;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line-light);
}
.article-body h3 {
  font-size: 20px;
  font-family: var(--font-heading);
  margin: 30px 0 12px;
  color: var(--ink);
  font-weight: 700;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 22px;
  padding: 0;
}
.article-body li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Callout Boxes */
.callout-box {
  background: var(--card);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.callout-box.tip {
  border-left-color: var(--green);
  background: var(--sage);
}
.callout-box strong {
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 16px;
}
.callout-box p:last-child {
  margin-bottom: 0;
}

/* Table of Contents */
.toc-card {
  background: var(--card-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 28px 0 35px;
}
.toc-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 10px;
}
.toc-card ol {
  margin: 0 0 0 20px;
  padding: 0;
}
.toc-card li {
  margin-bottom: 6px;
}
.toc-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.toc-card a:hover {
  text-decoration: underline;
}

/* Product Showcase in Article */
.product-showcase {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}
.product-showcase-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}
.product-showcase-body h4 {
  font-family: var(--font-heading);
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--ink);
}
.product-showcase-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
}
.product-showcase-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Article CTA Footer */
.article-cta-box {
  background: linear-gradient(135deg, #2D231B 0%, #1A140F 100%);
  color: #fff;
  border-radius: 20px;
  padding: 36px 30px;
  text-align: center;
  margin-top: 50px;
  box-shadow: var(--shadow-lg);
}
.article-cta-box h3 {
  font-size: 26px;
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: 10px;
}
.article-cta-box p {
  color: #E2D9CE;
  font-size: 15px;
  max-width: 580px;
  margin: 0 auto 22px;
  line-height: 1.6;
}
.article-cta-box .btn {
  font-size: 15px;
  padding: 12px 24px;
}

/* blog mobile styles consolidated above */



/* ==========================================================================
   Contact Form, 404, Legal & Pinterest Components
   ========================================================================== */
.contact-form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 35px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #FFF;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 85, 45, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-success-box {
  background: var(--sage);
  border: 1.5px solid var(--sage-border);
  color: var(--green);
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  display: none;
}

/* 404 Page Styling */
.error-hero {
  text-align: center;
  padding: 60px 20px 40px;
  max-width: 680px;
  margin: 0 auto;
}
.error-badge {
  display: inline-block;
  background: var(--card-alt);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.error-hero h1 {
  font-size: 42px;
  font-family: var(--font-heading);
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}
.error-hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Legal Pages (Privacy Policy & Terms) Styling */
.legal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 50px;
  line-height: 1.8;
  color: #2D261E;
}
.legal-card h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin: 32px 0 12px;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-light);
  font-weight: 800;
}
.legal-card h2:first-of-type {
  margin-top: 0;
}
.legal-card p {
  margin-bottom: 16px;
}
.legal-card ul {
  margin: 0 0 20px 24px;
}
.legal-card li {
  margin-bottom: 8px;
}

/* Pinterest Link */
.nav-pinterest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFF;
  border: 1px solid var(--line);
  color: #E60023;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.nav-pinterest:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #AD081B;
}

/* contact & legal mobile styles consolidated above */

