/* ==========================================================================
   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%;
}

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;
}

.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.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

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

.logo {
  text-decoration: none;
  line-height: 1.05;
  display: inline-block;
}

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

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

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

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

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

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 3px 10px rgba(241, 100, 30, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

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

/* 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);
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.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;
}

.price-row {
  display: none;
}

.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 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-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: 768px) {
  .detail { grid-template-columns: 1fr; gap: 20px; }
  .detail .gallery { position: static; }
  .sticky-buy { display: flex; }
  .grid {
    column-count: 2;
    column-gap: 12px;
  }
  .grid-fill {
    gap: 12px;
  }
  .grid-fill .card {
    width: calc(50% - 6px);
  }
}

@media (max-width: 480px) {
  nav a { margin-left: 10px; font-size: 13px; }
  .nav-etsy { padding: 6px 12px; }
  .wrap { padding: 0 14px; }
  .grid {
    column-count: 2;
    column-gap: 10px;
  }
  .grid-fill {
    gap: 10px;
  }
  .grid-fill .card {
    width: calc(50% - 5px);
  }
  .card {
    border-radius: 12px;
    margin-bottom: 10px;
  }
  .card-body {
    padding: 8px 10px 10px;
  }
  .card h3 {
    font-size: 12.5px;
    margin-bottom: 2px;
  }
  .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: 4px 6px;
  }
}
