/* ==========================================================================
   PRINTZONN HOMEPAGE REDESIGN
   "Handmade Boutique" visual system — replaces the old orange/black
   print-on-demand look with a warm, artisanal, small-batch aesthetic.
   Namespace: all classes prefixed with `hb-` so nothing collides with the
   legacy `pz-` / `gfy-` styles still used elsewhere in the theme.
   ========================================================================== */

:root {
  /* ---- Boutique palette ---- */
  --hb-cream:        #FBF6EF;
  --hb-cream-dk:      #F3EADB;
  --hb-white:        #FFFFFF;
  --hb-clay:         #C1694F;   /* primary accent */
  --hb-clay-dk:      #A5543C;
  --hb-blush:        #F1CFC3;
  --hb-sage:         #8A9A7E;
  --hb-sage-dk:      #6E7F63;
  --hb-gold:         #C99A3C;
  --hb-ink:          #34302C;   /* primary text */
  --hb-taupe:        #7A736C;   /* secondary text */
  --hb-border:       #E9DFD3;

  --hb-radius-sm: 10px;
  --hb-radius-md: 18px;
  --hb-radius-lg: 28px;
  --hb-radius-pill: 999px;

  --hb-shadow-sm: 0 2px 10px rgba(52,48,44,.06);
  --hb-shadow-md: 0 10px 30px rgba(52,48,44,.10);
  --hb-shadow-lg: 0 20px 50px rgba(52,48,44,.14);

  --hb-font-head: 'Playfair Display', Georgia, serif;
  --hb-font-body: 'Nunito', 'Segoe UI', Arial, sans-serif;

  --hb-container: 1280px;
}

.hb-page * { box-sizing: border-box; }

.hb-page {
  background: var(--hb-cream);
  color: var(--hb-ink);
  font-family: var(--hb-font-body);
  overflow: hidden;
}

.hb-container {
  max-width: var(--hb-container);
  margin: 0 auto;
  padding: 0 24px;
}

.hb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hb-font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hb-clay-dk);
}

.hb-eyebrow::before { content: "✦"; color: var(--hb-gold); }

.hb-section { padding: 56px 0; }
.hb-section--tight { padding: 36px 0; }

.hb-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hb-section__head h2 {
  font-family: var(--hb-font-head);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  margin: 6px 0 0;
  color: var(--hb-ink);
}

.hb-section__head p {
  margin: 8px 0 0;
  color: var(--hb-taupe);
  font-size: 15px;
  max-width: 520px;
}

.hb-section__link {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--hb-clay-dk);
  text-decoration: none;
  border-bottom: 2px solid var(--hb-clay);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.hb-section__link:hover { color: var(--hb-sage-dk); border-color: var(--hb-sage-dk); }

.hb-center { text-align: center; }
.hb-center .hb-section__head { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.hb-center .hb-section__head p { max-width: 640px; }

/* wavy divider between sections for a hand-crafted feel */
.hb-wave {
  width: 100%;
  height: 44px;
  display: block;
  color: var(--hb-cream);
}
.hb-wave--flip { transform: scaleY(-1); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hb-hero {
  position: relative;
  background: linear-gradient(180deg, var(--hb-blush) 0%, var(--hb-cream) 78%);
  padding: 20px 0 0;
}

.hb-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 48px 0 64px;
}

.hb-hero__text h1 {
  font-family: var(--hb-font-head);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.12;
  margin: 14px 0 18px;
  color: var(--hb-ink);
}

.hb-hero__text h1 em {
  font-style: normal;
  color: var(--hb-clay);
  position: relative;
  white-space: nowrap;
}

.hb-hero__text p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--hb-taupe);
  max-width: 480px;
  margin-bottom: 28px;
}

.hb-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--hb-radius-pill);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  border: 2px solid transparent;
}
.hb-btn:hover { transform: translateY(-2px); }

.hb-btn--primary { background: var(--hb-clay); color: var(--hb-white); box-shadow: var(--hb-shadow-sm); }
.hb-btn--primary:hover { background: var(--hb-clay-dk); box-shadow: var(--hb-shadow-md); }

.hb-btn--sage { background: var(--hb-sage); color: var(--hb-white); box-shadow: var(--hb-shadow-sm); }
.hb-btn--sage:hover { background: var(--hb-sage-dk); box-shadow: var(--hb-shadow-md); }

.hb-btn--outline { background: transparent; border-color: var(--hb-ink); color: var(--hb-ink); }
.hb-btn--outline:hover { background: var(--hb-ink); color: var(--hb-white); }

.hb-hero__stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--hb-taupe);
  font-weight: 700;
}
.hb-hero__stamp .hb-stars { color: var(--hb-gold); letter-spacing: 1px; }

.hb-hero__art {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  box-shadow: var(--hb-shadow-lg);
}
.hb-hero__art img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hb-hero__badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--hb-white);
  border-radius: var(--hb-radius-md);
  padding: 12px 18px;
  box-shadow: var(--hb-shadow-md);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hb-ink);
}
.hb-hero__badge span.hb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hb-sage); display:inline-block; }

/* ==========================================================================
   PLACEHOLDER IMAGE (used whenever no real photo/product image exists yet)
   ========================================================================== */
.hb-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--bg1, #F1CFC3), var(--bg2, #E9DFD3));
  color: var(--hb-ink);
  font-family: var(--hb-font-body);
}
.hb-ph__inner { padding: 18px; }
.hb-ph__icon { font-size: 30px; display: block; margin-bottom: 8px; }
.hb-ph__label { font-weight: 800; font-size: 13px; letter-spacing: .03em; opacity: .78; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.hb-trust {
  background: var(--hb-ink);
  color: var(--hb-cream);
}
.hb-trust__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
}
.hb-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  flex: 1 1 auto;
  justify-content: center;
}
.hb-trust__item .hb-stars { color: var(--hb-gold); font-size: 14px; letter-spacing: 1px; }
.hb-trust__item svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--hb-gold); }
.hb-trust__item strong { color: var(--hb-white); }

/* ==========================================================================
   CATEGORY CIRCLES ("Shop Handmade")
   ========================================================================== */
.hb-cat-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.hb-cat {
  text-decoration: none;
  color: var(--hb-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.hb-cat__img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--hb-shadow-sm);
  border: 3px solid var(--hb-white);
  outline: 1px solid var(--hb-border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hb-cat:hover .hb-cat__img { transform: translateY(-4px) scale(1.02); box-shadow: var(--hb-shadow-md); }
.hb-cat__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hb-cat__name { font-weight: 800; font-size: 14.5px; line-height: 1.25; }
.hb-cat__count { font-size: 12px; color: var(--hb-taupe); font-weight: 600; }

/* ==========================================================================
   PRODUCT GRID / CARDS
   ========================================================================== */
.hb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.hb-grid--4col { grid-template-columns: repeat(4, 1fr); }

.hb-card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-md);
  overflow: hidden;
  box-shadow: var(--hb-shadow-sm);
  text-decoration: none;
  color: var(--hb-ink);
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid var(--hb-border);
}
.hb-card:hover { transform: translateY(-5px); box-shadow: var(--hb-shadow-md); }

.hb-card__img { position: relative; aspect-ratio: 1/1; background: var(--hb-cream-dk); }
.hb-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hb-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--hb-clay);
  color: var(--hb-white);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 5px 10px;
  border-radius: var(--hb-radius-pill);
  text-transform: uppercase;
}
.hb-card__badge--new { background: var(--hb-sage); }

.hb-card__info { padding: 14px 16px 16px; }
.hb-card__cat { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hb-clay-dk); }
.hb-card__name {
  font-weight: 700;
  font-size: 14.5px;
  margin: 5px 0 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hb-card__price { font-weight: 800; font-size: 15px; }
.hb-price-old { text-decoration: line-through; color: var(--hb-taupe); font-weight: 600; font-size: 13px; margin-right: 6px; }
.hb-price-sale { color: var(--hb-clay-dk); }

/* ==========================================================================
   PILL TABS (New Arrivals / Best Sellers / TikTok / Favorites nav)
   ========================================================================== */
.hb-tabbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hb-tabbar a {
  padding: 10px 20px;
  border-radius: var(--hb-radius-pill);
  background: var(--hb-white);
  border: 1.5px solid var(--hb-border);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--hb-ink);
  text-decoration: none;
}
.hb-tabbar a.is-active { background: var(--hb-ink); color: var(--hb-white); border-color: var(--hb-ink); }

/* ==========================================================================
   SHOP BY INTEREST
   ========================================================================== */
.hb-interest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hb-interest {
  position: relative;
  border-radius: var(--hb-radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  display: block;
  box-shadow: var(--hb-shadow-sm);
}
.hb-interest img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.hb-interest:hover img { transform: scale(1.06); }
.hb-interest::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(52,48,44,0) 40%, rgba(52,48,44,.72) 100%);
}
.hb-interest__label {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 2;
  color: var(--hb-white);
  font-family: var(--hb-font-head);
  font-weight: 700;
  font-size: 18px;
}

/* ==========================================================================
   CREATE SOMETHING BEAUTIFUL
   ========================================================================== */
.hb-beautiful {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  padding: 46px;
  box-shadow: var(--hb-shadow-sm);
  border: 1px solid var(--hb-border);
}
.hb-bead-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.hb-bead {
  text-decoration: none;
  color: var(--hb-ink);
  text-align: center;
  display: block;
}
.hb-bead__img {
  aspect-ratio: 1/1;
  border-radius: var(--hb-radius-md);
  overflow: hidden;
  background: var(--hb-cream-dk);
  margin-bottom: 10px;
  transition: transform .2s ease;
}
.hb-bead:hover .hb-bead__img { transform: translateY(-4px); }
.hb-bead__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-bead__name { font-weight: 800; font-size: 13.5px; }

/* ==========================================================================
   LIFESTYLE BANNERS
   ========================================================================== */
.hb-lifestyle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hb-lifestyle--wide { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }

.hb-banner {
  position: relative;
  border-radius: var(--hb-radius-md);
  overflow: hidden;
  aspect-ratio: 5/6;
  text-decoration: none;
  display: block;
  box-shadow: var(--hb-shadow-sm);
}
.hb-lifestyle--wide .hb-banner { aspect-ratio: 16/10; }
.hb-banner img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.hb-banner:hover img { transform: scale(1.05); }
.hb-banner::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(52,48,44,0) 45%, rgba(52,48,44,.68) 100%); }
.hb-banner__text { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: var(--hb-white); }
.hb-banner__text .hb-eyebrow { color: var(--hb-blush); }
.hb-banner__text .hb-eyebrow::before { color: var(--hb-blush); }
.hb-banner__text h3 { font-family: var(--hb-font-head); font-size: 22px; margin: 6px 0 10px; font-weight: 700; }
.hb-banner__text .hb-btn { padding: 9px 18px; font-size: 12.5px; }

/* ==========================================================================
   MAKER STORY / VALUES STRIP  (replaces generic POD marketing copy)
   ========================================================================== */
.hb-values {
  background: var(--hb-sage);
  color: var(--hb-white);
}
.hb-values__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 44px 0;
  text-align: center;
}
.hb-values__item svg { width: 30px; height: 30px; margin-bottom: 10px; stroke: var(--hb-white); }
.hb-values__item strong { display: block; font-family: var(--hb-font-head); font-size: 17px; margin-bottom: 4px; }
.hb-values__item span { font-size: 13px; opacity: .88; line-height: 1.4; display: block; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.hb-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.hb-testimonial {
  background: var(--hb-white);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-md);
  padding: 26px;
  box-shadow: var(--hb-shadow-sm);
}
.hb-testimonial .hb-stars { color: var(--hb-gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; display: block; }
.hb-testimonial p { font-size: 14.5px; line-height: 1.6; color: var(--hb-ink); margin-bottom: 14px; }
.hb-testimonial__by { font-weight: 800; font-size: 13px; color: var(--hb-taupe); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .hb-cat-row { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .hb-grid { grid-template-columns: repeat(3, 1fr); }
  .hb-interest-grid { grid-template-columns: repeat(2, 1fr); }
  .hb-bead-row { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .hb-lifestyle { grid-template-columns: repeat(2, 1fr); }
  .hb-lifestyle--wide { grid-template-columns: 1fr; }
  .hb-values__grid { grid-template-columns: repeat(3, 1fr); }
  .hb-testimonials { grid-template-columns: 1fr; }
  .hb-hero__grid { grid-template-columns: 1fr; }
  .hb-hero__art { order: -1; }
}

@media (max-width: 640px) {
  .hb-cat-row { grid-template-columns: repeat(2, 1fr); }
  .hb-grid { grid-template-columns: repeat(2, 1fr); }
  .hb-interest-grid { grid-template-columns: 1fr; }
  .hb-bead-row { grid-template-columns: repeat(2, 1fr); }
  .hb-lifestyle { grid-template-columns: 1fr; }
  .hb-values__grid { grid-template-columns: repeat(2, 1fr); }
  .hb-trust__bar { flex-direction: column; align-items: flex-start; }
  .hb-section { padding: 40px 0; }
  .hb-beautiful { padding: 26px; }
}
