/* =====================================================================
   Click 'n Squish

   Direction: the logo is the only cute thing. Everything around it stays
   quiet — warm paper, editorial type, one accent, and product photography
   doing the talking. No pastel fills, no emoji furniture, no pill buttons,
   no handwriting face.
   ===================================================================== */

:root {
  /* Paper warms slightly toward the logo's cream so the mark sits in, not on. */
  --paper:      #FBF9F6;
  --paper-sunk: #F4F0EA;
  --card:       #FFFFFF;

  --ink:        #1F1D1B;
  --ink-soft:   #6B655E;
  --ink-faint:  #9A938A;

  --line:       rgba(31, 29, 27, 0.12);
  --line-soft:  rgba(31, 29, 27, 0.07);

  /* One accent. Deep enough to read as considered rather than sweet,
     and it carries the Christmas product without a second palette. */
  --accent:      #B32F43;
  --accent-deep: #8C2435;

  --radius:    6px;
  --radius-sm: 3px;

  --measure: 1120px;
  --gap: 28px;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------------------------------------------------------------- Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 246, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

/* The logo image is the brand's one flourish; the wordmark beside it stays
   plain so the pair reads composed rather than twee. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Horizontal lockup: it already contains the wordmark and the tagline, so
   nothing is set beside it. The artwork has a transparent background, so it
   sits straight on the paper with no plate behind it. */
.logo-lockup {
  height: 48px;
  width: auto;
  display: block;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ------------------------------------------------------------- Buttons */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink); }

.btn-etsy {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-etsy:hover { border-color: var(--ink); background: var(--paper-sunk); }

/* ---------------------------------------------------------------- Hero */

.hero { padding: 92px 0 72px; border-bottom: 1px solid var(--line-soft); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.hero-text h1 {
  font-size: clamp(42px, 6vw, 68px);
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 30px;
}

/* The hero art is now a real photograph rather than decorative shapes. */
.hero-art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-sunk);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------------- Section heads */

.section-title {
  font-size: clamp(30px, 3.6vw, 40px);
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--ink-soft);
  font-size: 17px;
  margin-bottom: 52px;
}

/* ---------------------------------------------------------------- Shop */

.shop { padding: 86px 0; }

.shop-categories { display: flex; flex-direction: column; gap: 72px; }

.category-title {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.005em;
  margin-bottom: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

/* The coloured dots were decoration; keep the hook inert so markup
   doesn't need surgery, but render nothing. */
.dot { display: none; }

.category-blurb {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 60ch;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--gap);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  text-align: left;
}

/* Portrait frame matches the 3:4 shape the product photos were shot in,
   so nothing important gets cropped away. */
.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-sunk);
  border: 1px solid var(--line-soft);
  margin-bottom: 16px;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image img { transform: scale(1.03); }

/* Missing-photo state: a quiet label, not an emoji. */
.ph-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.product-image.ph-empty .ph-fallback { display: flex; }
.ph-pink, .ph-yellow, .ph-blue { background: var(--paper-sunk); }

.product-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 4px;
}

.product-price {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  font-variant-numeric: tabular-nums;
}

.buy-button { min-height: 44px; }

.buy-button-placeholder {
  display: inline-block;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: not-allowed;
}

/* --------------------------------------------------------------- About */

.about { padding: 86px 0; background: var(--paper-sunk); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.about-text p { color: var(--ink-soft); font-size: 17px; }
.about-text p:last-child { margin-bottom: 0; }

.about-art {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--card);
  border: 1px solid var(--line-soft);
}
.about-art img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------- Contact */

.contact { padding: 86px 0; text-align: center; }
.contact p { color: var(--ink-soft); max-width: 52ch; margin-inline: auto; }

.socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 500;
}
.socials a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.socials a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* -------------------------------------------------------------- Footer */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: 14px;
}
.site-footer p { margin: 0; }

/* Decorative leftovers from the previous design, deliberately removed. */
.blob, .hero-emoji, .hero-divider { display: none; }

/* ============================================================
   Shopify Buy Button

   Rendered with `iframe: false`, so Shopify injects no stylesheet of
   its own and every one of these rules is load-bearing.
   ============================================================ */

.buy-button .shopify-buy__product { text-align: left; }
.buy-button .shopify-buy__btn-wrapper { margin: 0; }

.buy-button .shopify-buy__btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-transform: none;
  transition: background 0.15s ease;
}
.buy-button .shopify-buy__btn:hover,
.buy-button .shopify-buy__btn:focus { background: var(--accent); }

.buy-button .shopify-buy__btn[disabled],
.buy-button .shopify-buy__btn.shopify-buy__btn--disabled {
  background: transparent;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  cursor: not-allowed;
}

.buy-button .shopify-buy__option-select { margin-bottom: 12px; }
.buy-button .shopify-buy__option-select__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 5px;
}

/* The wrapper ships an inline SVG caret with no intrinsic size. Without
   Shopify's stylesheet it expands to fill its parent — a 320px chevron. */
.buy-button .shopify-buy__option-select-wrapper { position: relative; display: block; }
.buy-button .shopify-buy__option-select-wrapper svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  pointer-events: none;
  fill: var(--ink-soft);
}

.buy-button .shopify-buy__option-select__select,
.buy-button .shopify-buy__variant-selector {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 34px 10px 12px;
  appearance: none;
  -webkit-appearance: none;
}

/* ============================================================
   Black Friday landing page
   ============================================================ */

.bf-strip {
  background: var(--ink);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.bf-strip a { display: block; padding: 11px 16px; color: var(--paper); text-decoration: none; }
.bf-strip a:hover { background: var(--accent); }

.bf-page { background: var(--paper); }

.bf-hero { padding: 72px 0 40px; }

.bf-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.bf-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0 0 14px;
  margin: 0;
}
.bf-badge span { opacity: 0.45; margin: 0 6px; }

.bf-title {
  font-size: clamp(38px, 5.2vw, 62px);
  margin-bottom: 20px;
}

.bf-tagline {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 46ch;
}
.bf-tagline em { font-style: italic; color: var(--ink); }

.bf-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.bf-was { color: var(--ink-faint); font-size: 19px; }
.bf-now {
  font-family: var(--display);
  font-weight: 600;
  font-size: 38px;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bf-save {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  padding: 4px 9px;
}

.bf-cta {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s ease;
}
.bf-cta:hover { background: var(--accent); }

.bf-cta.is-unset {
  background: transparent;
  color: var(--ink-faint);
  border: 1px dashed var(--line);
  cursor: not-allowed;
}
.bf-cta.is-unset:hover { background: transparent; }
.bf-cta.is-disabled {
  background: transparent;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  cursor: not-allowed;
  pointer-events: none;
}

/* Bigger, accent-coloured Shopify button for the page's primary action. */
.bf-buy { min-height: 0; }
.bf-buy .shopify-buy__btn {
  background: var(--accent);
  font-size: 15px;
  padding: 14px 30px;
}
.bf-buy .shopify-buy__btn:hover,
.bf-buy .shopify-buy__btn:focus { background: var(--accent-deep); }
.bf-buy .shopify-buy__option-select { max-width: 300px; }

/* Countdown.
   Stella's note: after the restyle this had gone too quiet. It's now a bordered,
   accent-tinted block with segmented digits, sitting above the CTA — loud enough
   to register, but outlined rather than filled so it doesn't fight the solid
   accent Add to Cart button directly beneath it. */
.bf-countdown {
  display: inline-block;
  margin: 0 0 26px;
  padding: 13px 18px 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(179, 47, 67, 0.05);
}

.bf-countdown-label {
  margin: 0 0 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.bf-clock {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.bf-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
}
.bf-seg b {
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.bf-seg i {
  margin-top: 5px;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.bf-sep {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink-faint);
  opacity: 0.5;
}

/* A quiet pulse on the seconds so the block reads as live, not a static graphic. */
.bf-seg-seconds b {
  color: var(--accent);
  animation: bf-pulse 1s ease-in-out infinite;
}
@keyframes bf-pulse {
  0%, 60% { opacity: 1; }
  80% { opacity: 0.55; }
  100% { opacity: 1; }
}

/* Last day: the whole clock goes accent, since hours are now the headline. */
.bf-countdown.is-final-day {
  background: rgba(179, 47, 67, 0.09);
}
.bf-countdown.is-final-day .bf-seg b { color: var(--accent); }

.bf-countdown.is-over {
  border-color: var(--line);
  background: transparent;
  color: var(--ink-faint);
  font-size: 14px;
}
.bf-countdown.is-over .bf-countdown-label { color: var(--ink-faint); }

.bf-clock-loading { font-size: 24px; color: var(--ink-faint); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.bf-stock {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.bf-photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-sunk);
  border: 1px solid var(--line-soft);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bf-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.bf-photo-fallback {
  display: none;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.bf-photo-frame.bf-photo-missing { border-style: dashed; }
.bf-photo-frame.bf-photo-missing .bf-photo-fallback { display: block; }

.bf-photo-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
}

.bf-features { padding: 56px 0; border-top: 1px solid var(--line-soft); }

.bf-feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
}

.bf-feature h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.bf-feature p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.bf-feature em { font-style: italic; color: var(--ink); }

/* Emoji icons removed; a hairline rule carries the column instead. */
.bf-feature-icon { display: none; }
.bf-feature { border-top: 2px solid var(--ink); padding-top: 18px; }

.bf-closer { padding: 56px 0 76px; text-align: center; border-top: 1px solid var(--line-soft); }
.bf-closer-note {
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.bf-secondary {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.bf-secondary:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------------------------------------------------------- Responsive */

@media (max-width: 860px) {
  body { font-size: 16px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }

  .hero { padding: 56px 0 48px; }
  .hero-inner,
  .about-inner,
  .bf-hero-inner { grid-template-columns: 1fr; gap: 36px; }

  .bf-hero { padding-top: 40px; }
  .bf-hero-art { order: -1; }
  .bf-feature-grid { gap: 32px; }

  .shop, .about, .contact { padding: 60px 0; }
  .shop-categories { gap: 56px; }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .product-card:hover .product-image img { transform: none; }
}
