/*
Theme Name:  Fat Bastard Shirts (Blocksy Child)
Theme URI:   https://fatbastardshirts.com
Template:    blocksy
Author:      Fat Bastard Shirts
Description: 2026 redesign — "Fat Funk" 70s sunrise system. The Official Outfitter of Fictional Employers.
Version:     2026.7.3
Text Domain: fbs-blocksy-child
*/

/* ============================================================
   1. DESIGN TOKENS — 70s sunrise (approved 2026-07-06)
   ============================================================ */
:root {
  --fbs-ink:         #221b14;   /* warm near-black */
  --fbs-ink-soft:    #3a3129;
  --fbs-coal:        #2c241b;   /* dark section bg */
  --fbs-cream:       #f2e9d8;   /* aged paper */
  --fbs-cream-deep:  #e4dbc3;   /* legacy brand cream */
  --fbs-cream-dim:   #cfc3aa;
  --fbs-copper:      #ca8f65;   /* legacy copper, promoted */
  --fbs-copper-deep: #b96a3b;
  --fbs-gold:        #d9a441;   /* sunrise gold */
  --fbs-rust:        #9c3d2e;   /* rubber-stamp rust */

  --fbs-display: 'Shrikhand', 'Cooper Black', 'Georgia', serif;
  --fbs-body:    'Rubik', 'Segoe UI', sans-serif;

  --fbs-r-card: 14px;
  --fbs-r-pill: 999px;
  --fbs-shadow-card: 6px 7px 0 rgba(156,61,46,.55);       /* rust press */
  --fbs-shadow-card-ink: 6px 7px 0 rgba(34,27,20,.5);
  --fbs-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  --fbs-sunrise: radial-gradient(circle at 50% 128%,
      var(--fbs-gold)        0 11%,
      var(--fbs-copper)      11% 17%,
      var(--fbs-copper-deep) 17% 23%,
      var(--fbs-rust)        23% 29%,
      #57402e                29% 35%,
      #3a2e22                35% 41%,
      transparent            41%);

  /* Blocksy variable overrides */
  --theme-font-family: var(--fbs-body);
  --theme-headings-font-family: var(--fbs-body);
  --theme-text-color: var(--fbs-ink-soft);
  --theme-headings-color: var(--fbs-ink);
  --theme-link-initial-color: var(--fbs-copper-deep);
  --theme-link-hover-color: var(--fbs-rust);
  --theme-palette-color-1: var(--fbs-copper);
  --theme-palette-color-2: var(--fbs-copper-deep);
  --theme-button-background-initial-color: var(--fbs-copper);
  --theme-button-background-hover-color: var(--fbs-gold);
  --theme-button-text-initial-color: var(--fbs-ink);
  --theme-button-text-hover-color: var(--fbs-ink);
  --theme-border-radius: var(--fbs-r-pill);
  /* Remap Blocksy's palette slots — its INLINE dynamic stylesheet paints
     body/footer with colors 6-8 at higher specificity than child rules.
     Rewiring the vars makes Blocksy's own rules output brand colors. */
  --theme-palette-color-6: var(--fbs-ink);    /* footer bg slot */
  --theme-palette-color-7: var(--fbs-cream);  /* body bg slot */
  --theme-palette-color-8: var(--fbs-cream);
}

body {
  background: var(--fbs-cream) !important; /* beat ct-main-styles-inline-css */
  font-family: var(--fbs-body);
}

/* Headings: Rubik bold; hero/section displays use .fbs-display / Shrikhand */
h1, h2, h3, h4 {
  font-family: var(--fbs-body);
  font-weight: 700;
  letter-spacing: 0.01em;
}

::selection { background: var(--fbs-gold); color: var(--fbs-ink); }

/* ============================================================
   2. HEADER — ink brand band (splash-style), drips into the page
   ============================================================ */
#header,
#header [data-row],
#header [data-row] > div { background: var(--fbs-ink) !important; }
#header [data-row="middle"] { border-bottom: 0; }
/* Blocksy pins row height via its --height var — override the var AND the box */
#header [data-row="middle"],
#header [data-row="middle"] > div {
  --height: 200px;
  height: auto !important;
  min-height: 200px;
}
#header .ct-menu-link,
#header .menu-item > a {
  font-family: var(--fbs-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--fbs-gold) !important;
}
#header .menu-item > a:hover { color: var(--fbs-cream) !important; }
#header .ct-icon { fill: var(--fbs-gold); }
#header .ct-header-trigger .ct-icon { fill: var(--fbs-gold); }

/* Branding — badge + splash-style Shrikhand wordmark */
#header .site-branding {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 14px;
}
#header .site-logo-container img {
  width: 128px !important;
  max-width: 128px !important;
  height: auto !important;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
#header .site-logo-container:hover img { transform: rotate(-6deg) scale(1.05); }
#header .site-title {
  font-family: var(--fbs-display);
  font-weight: 400;
  font-size: 2.6rem;
  letter-spacing: 0.01em;
  transform: rotate(-1.5deg);
  margin-top: 20px;
}
#header .site-title a {
  color: var(--fbs-gold) !important;
  text-shadow: 0.07em 0.07em 0 var(--fbs-rust);
}
#header .site-title a:hover { color: var(--fbs-cream) !important; }

/* ink drip variant — header melts into the cream hero */
.fbs-drip--ink::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 40'%3E%3Cpath d='M0 0h260v8c-14 0-16 24-34 24s-18-18-32-18-14 12-30 12-17-22-33-22-15 16-31 16-16-9-33-9-17 19-34 19S16 8 0 8z' fill='%23221b14'/%3E%3C/svg%3E");
}

/* Dropdowns — cream panel, readable ink text (kills Blocksy's navy) */
#header .sub-menu,
#header ul[data-submenu] {
  background: var(--fbs-cream) !important;
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-card);
  box-shadow: 5px 6px 0 rgba(156,61,46,.45);
  overflow: visible; /* hidden was clipping the Movies/TV nested flyouts */
  padding: 6px 0;
}
/* round hover tints at panel ends instead of overflow-clipping */
#header .sub-menu .menu-item:first-child > a { border-radius: 12px 12px 0 0; }
#header .sub-menu .menu-item:last-child > a { border-radius: 0 0 12px 12px; }
#header .sub-menu .menu-item > a,
#header .sub-menu .ct-menu-link {
  color: var(--fbs-ink) !important;
  background: transparent;
  font-size: 12.5px;
  letter-spacing: 0.1em;
}
#header .sub-menu .menu-item > a:hover,
#header .sub-menu .ct-menu-link:hover {
  color: var(--fbs-copper-deep) !important;
  background: rgba(217,164,65,.18);
}
#header .sub-menu .menu-item + .menu-item > a {
  border-top: 1px solid rgba(34,27,20,.12);
}

/* ============================================================
   3. BUTTONS — fat funk pills, hard rust shadow, bounce
   ============================================================ */
.fbs-btn,
.entry-content .wp-block-button__link,
.wpcf7 input[type="submit"],
.wpcf7-submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  display: inline-block;
  font-family: var(--fbs-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  line-height: 1;
  padding: 18px 32px;
  background: var(--fbs-copper);
  color: var(--fbs-ink);
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-pill);
  box-shadow: 4px 5px 0 rgba(156,61,46,.8);
  transition: transform .16s cubic-bezier(.34,1.56,.64,1), box-shadow .16s ease, background .16s ease;
  text-decoration: none;
}
.fbs-btn:hover,
.entry-content .wp-block-button__link:hover,
.wpcf7 input[type="submit"]:hover,
.wpcf7-submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--fbs-gold);
  color: var(--fbs-ink);
  transform: translate(2px, 3px);
  box-shadow: 1px 2px 0 rgba(156,61,46,.8);
}
.fbs-btn--ghost {
  background: transparent;
  color: var(--fbs-ink);
  border-color: var(--fbs-copper-deep);
  box-shadow: none;
}
.fbs-btn--ghost:hover {
  background: var(--fbs-ink);
  color: var(--fbs-cream);
  border-color: var(--fbs-ink);
  transform: none;
  box-shadow: none;
}
.fbs-btn--cream {
  background: var(--fbs-cream);
  color: var(--fbs-ink);
  box-shadow: 4px 5px 0 rgba(0,0,0,.5);
}
.fbs-btn--cream:hover { background: var(--fbs-gold); }

/* ============================================================
   4. LANDING SCAFFOLD
   ============================================================ */
body.home #main [class*="ct-container"] {
  --theme-container-width: 100%;
  --theme-container-edge-spacing: 100vw;
  --theme-content-spacing: 0px;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin-block: 0 !important;
  gap: 0 !important;
}
body.home #main,
body.home #main-container { row-gap: 0 !important; }
body.home .entry-content { margin-top: 0; }
body.home .entry-content > * { margin-block-start: 0; margin-block-end: 0; max-width: none; }
body.home .hero-section,
body.home .entry-header,
body.home .ct-page-title,
body.home .page-title { display: none !important; }
/* flex filler between content and footer must read as footer-dark, not cream
   (every section paints its own bg, so this only shows in the stretch gap) */
body.home #main-container,
body.home #main { background: var(--fbs-ink); }

.fbs-wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.fbs-eyebrow {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.fbs-display {
  font-family: var(--fbs-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.01em;
}

/* ============================================================
   5. HERO — sunrise over the catalog
   ============================================================ */
.fbs-hero {
  position: relative;
  background: var(--fbs-noise), var(--fbs-cream);
  border-bottom: 3px solid var(--fbs-ink);
  overflow: hidden;
}
/* soft sunrise rings rising behind the collage side */
.fbs-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -4%;
  width: 60%;
  height: 88%;
  background: radial-gradient(circle at 78% 118%,
      rgba(217,164,65,.5)  0 12%,
      rgba(202,143,101,.42) 12% 19%,
      rgba(185,106,59,.34)  19% 26%,
      rgba(156,61,46,.26)   26% 33%,
      rgba(87,64,46,.16)    33% 40%,
      transparent           40%);
  pointer-events: none;
  z-index: 0;
}
.fbs-hero .fbs-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 120px);
}
.fbs-hero__eyebrow {
  color: var(--fbs-copper-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.fbs-hero__eyebrow::before {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 2px;
  background: var(--fbs-gold);
}
.fbs-hero h1 {
  font-family: var(--fbs-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.08;
  color: var(--fbs-ink);
  margin: 0 0 8px;
  transform: rotate(-1.2deg);
  /* 70s stacked lettering — two color layers behind */
  text-shadow: 0.045em 0.045em 0 var(--fbs-gold), 0.1em 0.1em 0 var(--fbs-rust);
}
.fbs-hero h1 em {
  font-style: normal;
  color: var(--fbs-rust);
  text-shadow: 0.045em 0.045em 0 var(--fbs-gold), 0.1em 0.1em 0 var(--fbs-copper);
}
.fbs-hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--fbs-ink-soft);
  max-width: 34em;
  margin: 22px 0 36px;
}
.fbs-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.fbs-hero__sizes {
  margin-top: 34px;
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fbs-copper-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fbs-hero__sizes b {
  border: 2px solid var(--fbs-copper-deep);
  border-radius: var(--fbs-r-pill);
  padding: 6px 14px;
  color: var(--fbs-ink);
  font-weight: 700;
  background: rgba(217,164,65,.25);
}

/* Hero collage — tilted catalog cards */
.fbs-hero__stack { position: relative; min-height: 460px; }
.fbs-hero__card {
  position: absolute;
  width: 62%;
  background: #fff;
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-card);
  padding: 10px 10px 14px;
  box-shadow: var(--fbs-shadow-card);
  overflow: hidden;
}
.fbs-hero__card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--fbs-r-card) - 6px);
}
.fbs-hero__card figcaption {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fbs-ink-soft);
  padding-top: 9px;
  text-align: center;
}
.fbs-hero__card--1 { top: 0;    left: 2%;  width: 54%; transform: rotate(-5deg); z-index: 1; }
.fbs-hero__card--2 { top: 6%;   right: 2%; width: 54%; transform: rotate(4deg);  z-index: 2; }
.fbs-hero__card--3 { bottom: 0; left: 22%; width: 58%; transform: rotate(-1.5deg); z-index: 3; }
.fbs-hero__card:hover { z-index: 5; }

.fbs-hero__stamp {
  position: absolute;
  right: -10px;
  bottom: 6%;
  z-index: 6;
  width: 132px;
  height: 132px;
  border: 3px solid var(--fbs-rust);
  border-radius: 50%;
  color: var(--fbs-rust);
  font-family: var(--fbs-display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.04em;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.35;
  transform: rotate(9deg);
  background: rgba(242,233,216,.9);
  box-shadow: 0 0 0 5px rgba(242,233,216,.9);
  padding: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  .fbs-hero__eyebrow, .fbs-hero h1, .fbs-hero__sub,
  .fbs-hero__cta, .fbs-hero__sizes {
    animation: fbs-rise .7s cubic-bezier(.22,1,.36,1) both;
  }
  .fbs-hero h1        { animation: fbs-pop .65s cubic-bezier(.34,1.56,.64,1) .08s both; }
  .fbs-hero__sub      { animation-delay: .16s; }
  .fbs-hero__cta      { animation-delay: .24s; }
  .fbs-hero__sizes    { animation-delay: .32s; }
  .fbs-hero__card--1  { animation: fbs-drop .6s cubic-bezier(.22,1,.36,1) .25s both; }
  .fbs-hero__card--2  { animation: fbs-drop .6s cubic-bezier(.22,1,.36,1) .40s both; }
  .fbs-hero__card--3  { animation: fbs-drop .6s cubic-bezier(.22,1,.36,1) .55s both; }
  .fbs-hero__stamp    { animation: fbs-stamp .45s cubic-bezier(.34,1.56,.64,1) .95s both; }
}
@keyframes fbs-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fbs-pop {
  from { opacity: 0; transform: rotate(-1.2deg) scale(.8); }
  to   { opacity: 1; transform: rotate(-1.2deg) scale(1); }
}
@keyframes fbs-drop {
  from { opacity: 0; transform: translateY(-16px) rotate(0deg); }
}
@keyframes fbs-stamp {
  from { opacity: 0; transform: rotate(9deg) scale(1.6); }
  to   { opacity: 1; transform: rotate(9deg) scale(1); }
}

/* ============================================================
   6. MARQUEE — copper band (matches the splash)
   ============================================================ */
.fbs-marquee {
  background: var(--fbs-noise), var(--fbs-copper-deep);
  border-top: 3px solid var(--fbs-rust);
  color: var(--fbs-ink);
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  padding-block: 10px;
}
.fbs-marquee__label {
  flex: none;
  background: var(--fbs-gold);
  color: var(--fbs-ink);
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-pill);
  box-shadow: 3px 3px 0 rgba(34,27,20,.45);
  transform: rotate(-2deg);
  white-space: nowrap;
  margin-inline: 18px 8px;
  z-index: 2;
}
.fbs-marquee__viewport { overflow: hidden; display: flex; align-items: center; }
.fbs-marquee__track {
  display: flex;
  width: max-content;
  animation: fbs-scroll 46s linear infinite;
}
.fbs-marquee:hover .fbs-marquee__track { animation-play-state: paused; }
.fbs-marquee__track span {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 8px 0;
  color: var(--fbs-ink);
}
.fbs-marquee__track span:nth-child(even) { color: var(--fbs-cream); }
.fbs-marquee__track span::after {
  content: "\2726";
  color: var(--fbs-gold);
  margin: 0 26px;
}
@keyframes fbs-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .fbs-marquee__track { animation: none; }
}

/* ============================================================
   7. COLLECTIONS — inventory cards, stockroom wall
   ============================================================ */
/* ---- 70s drip dividers (burger-ref move): wave of the PREVIOUS section's
       color melting over the top of the next ---- */
.fbs-drip {
  position: relative;
}
.fbs-drip::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 2;
  pointer-events: none;
  background-repeat: repeat-x;
  background-size: 260px 40px;
}
.fbs-drip--copper::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 40'%3E%3Cpath d='M0 0h260v8c-14 0-16 24-34 24s-18-18-32-18-14 12-30 12-17-22-33-22-15 16-31 16-16-9-33-9-17 19-34 19S16 8 0 8z' fill='%23b96a3b'/%3E%3C/svg%3E");
}
.fbs-drip--coal::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 40'%3E%3Cpath d='M0 0h260v8c-14 0-16 24-34 24s-18-18-32-18-14 12-30 12-17-22-33-22-15 16-31 16-16-9-33-9-17 19-34 19S16 8 0 8z' fill='%232c241b'/%3E%3C/svg%3E");
}
.fbs-drip--creamdeep::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 40'%3E%3Cpath d='M0 0h260v8c-14 0-16 24-34 24s-18-18-32-18-14 12-30 12-17-22-33-22-15 16-31 16-16-9-33-9-17 19-34 19S16 8 0 8z' fill='%23e4dbc3'/%3E%3C/svg%3E");
}

.fbs-collections {
  background:
    var(--fbs-noise),
    radial-gradient(circle at 12% 18%, rgba(217,164,65,.08) 0 2px, transparent 2px),
    var(--fbs-coal);
  background-size: auto, 26px 26px, auto;
  padding-block: clamp(72px, 8vw, 110px);
}
.fbs-collections__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.fbs-collections__head .fbs-eyebrow { color: var(--fbs-gold); }
.fbs-collections__head h2 {
  font-family: var(--fbs-display);
  font-weight: 400;
  color: var(--fbs-cream);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin: 10px 0 0;
  line-height: 1.1;
  transform: rotate(-1deg);
  text-shadow: 0.045em 0.045em 0 var(--fbs-rust), 0.1em 0.1em 0 rgba(217,164,65,.5);
}
.fbs-collections__head a {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fbs-gold);
  text-decoration: none;
  border-bottom: 2px solid var(--fbs-gold);
  padding-bottom: 3px;
  white-space: nowrap;
}
.fbs-collections__head a:hover { color: var(--fbs-cream); border-color: var(--fbs-cream); }

.fbs-collections__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}
.fbs-card {
  display: block;
  background: var(--fbs-cream);
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-card);
  text-decoration: none;
  box-shadow: var(--fbs-shadow-card);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease;
  position: relative;
  overflow: hidden;
}
.fbs-card:nth-child(odd)  { transform: rotate(-.6deg); }
.fbs-card:nth-child(even) { transform: rotate(.5deg); }
.fbs-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 9px 12px 0 rgba(156,61,46,.6);
}
.fbs-card__no {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--fbs-gold);
  color: var(--fbs-ink);
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: var(--fbs-r-pill);
  border: 2px solid var(--fbs-ink);
}
.fbs-card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 2px solid var(--fbs-ink);
  background: #fff;
}
.fbs-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.fbs-card:hover .fbs-card__img img { transform: scale(1.05); }
.fbs-card__body {
  padding: 18px 20px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.fbs-card__body h3 {
  font-family: var(--fbs-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--fbs-ink);
  margin: 0;
  letter-spacing: .01em;
}
.fbs-card__count {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fbs-copper-deep);
  white-space: nowrap;
}
.fbs-card__body::after {
  content: "\2192";
  font-size: 20px;
  color: var(--fbs-rust);
  transition: transform .18s ease;
}
.fbs-card:hover .fbs-card__body::after { transform: translateX(5px); }

/* ============================================================
   8. VALUE PROPS
   ============================================================ */
.fbs-props {
  background: var(--fbs-noise), var(--fbs-cream);
  padding-block: clamp(88px, 8vw, 120px) clamp(64px, 7vw, 96px);
}
.fbs-props__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.fbs-prop { border-top: 4px solid var(--fbs-gold); padding-top: 20px; }
.fbs-prop:nth-child(2) { border-top-color: var(--fbs-copper); }
.fbs-prop:nth-child(3) { border-top-color: var(--fbs-copper-deep); }
.fbs-prop:nth-child(4) { border-top-color: var(--fbs-rust); }
.fbs-prop__no {
  font-family: var(--fbs-display);
  font-size: 1.3rem;
  color: var(--fbs-rust);
  display: block;
  margin-bottom: 10px;
}
.fbs-prop h3 {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fbs-ink);
  margin: 0 0 8px;
}
.fbs-prop p {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--fbs-ink-soft);
  margin: 0;
}

/* ============================================================
   9. FEATURED PRODUCTS
   ============================================================ */
.fbs-featured {
  background: var(--fbs-noise), var(--fbs-cream-deep);
  padding-block: clamp(72px, 8vw, 110px) clamp(56px, 6vw, 80px);
}
.fbs-featured__head { text-align: center; margin-bottom: clamp(36px, 4vw, 52px); }
.fbs-featured__head .fbs-eyebrow { color: var(--fbs-copper-deep); }
.fbs-featured__head h2 {
  font-family: var(--fbs-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  color: var(--fbs-ink);
  margin: 10px 0 0;
  line-height: 1.1;
  transform: rotate(-1deg);
  text-shadow: 0.045em 0.045em 0 var(--fbs-gold), 0.1em 0.1em 0 rgba(156,61,46,.45);
}
.fbs-featured__foot { text-align: center; margin-top: 44px; }

/* ---- GIANT display marquee (burger-ref "Take A Bite") ---- */
.fbs-bigmarquee {
  background: var(--fbs-noise), var(--fbs-cream-deep);
  overflow: hidden;
  padding-block: clamp(18px, 2.5vw, 34px);
}
.fbs-bigmarquee__track {
  display: flex;
  align-items: baseline;
  width: max-content;
  animation: fbs-scroll 70s linear infinite;
}
.fbs-bigmarquee span {
  font-family: var(--fbs-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.15;
  white-space: nowrap;
  padding-right: .55em;
}
.fbs-bigmarquee span:nth-child(4n+1) { color: var(--fbs-copper); }
.fbs-bigmarquee span:nth-child(4n+2) { color: var(--fbs-rust); }
.fbs-bigmarquee span:nth-child(4n+3) { color: var(--fbs-gold); }
.fbs-bigmarquee span:nth-child(4n+4) { color: var(--fbs-coal); }
@media (prefers-reduced-motion: reduce) {
  .fbs-bigmarquee__track { animation: none; }
}

/* Woo loop cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--fbs-cream);
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-card);
  box-shadow: var(--fbs-shadow-card-ink);
  padding: 0 0 18px;
  overflow: hidden;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease;
  text-align: center;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: 8px 10px 0 rgba(156,61,46,.55);
}
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product .ct-media-container {
  margin: 0 0 14px !important;
  border-bottom: 2px solid var(--fbs-ink);
  border-radius: 0 !important; /* pill token was cropping shirts into circles */
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: var(--fbs-ink);
  padding-inline: 16px;
  line-height: 1.4;
}
.woocommerce ul.products li.product .price {
  font-family: var(--fbs-body);
  font-weight: 700;
  color: var(--fbs-copper-deep) !important;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.woocommerce ul.products li.product .button {
  margin-top: 10px;
  padding: 12px 24px;
  font-size: 12px;
  box-shadow: 3px 3px 0 rgba(156,61,46,.8);
}
.woocommerce ul.products li.product .onsale {
  background: var(--fbs-rust);
  color: var(--fbs-cream);
  font-family: var(--fbs-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--fbs-r-pill);
}

/* ============================================================
   10. STORY STRIP — sunrise finale
   ============================================================ */
.fbs-story {
  background: var(--fbs-noise), var(--fbs-ink);
  color: var(--fbs-cream-deep);
  padding-block: clamp(80px, 9vw, 130px);
  position: relative;
  overflow: hidden;
}
.fbs-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fbs-sunrise);
  opacity: .35;
  pointer-events: none;
}
.fbs-story .fbs-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.fbs-story .fbs-eyebrow { color: var(--fbs-gold); }
.fbs-story h2 {
  font-family: var(--fbs-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.3rem);
  color: var(--fbs-cream);
  line-height: 1.12;
  margin: 14px 0 20px;
  transform: rotate(-1deg);
  text-shadow: 0.045em 0.045em 0 var(--fbs-rust), 0.1em 0.1em 0 rgba(217,164,65,.4);
}
.fbs-story p {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--fbs-cream-dim);
  max-width: 36em;
  margin: 0 0 16px;
}
.fbs-story p b { color: var(--fbs-cream); font-weight: 700; }
.fbs-story__cta { margin-top: 30px; }
.fbs-story__badge {
  justify-self: center;
  width: min(300px, 80%);
  aspect-ratio: 1;
  border: 3px dashed var(--fbs-gold);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 6px;
  padding: 30px;
  transform: rotate(6deg);
}
.fbs-story__badge .fbs-display {
  color: var(--fbs-gold);
  font-size: 2.2rem;
  line-height: 1.15;
}
.fbs-story__badge span {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fbs-cream-dim);
}

/* ============================================================
   11. FOOTER
   ============================================================ */
/* kill the cream gap between last section and footer */
body.home #main,
body.home .site-main,
body.home article,
body.home #main > [class*="ct-container"] {
  margin-block: 0 !important;
  padding-block: 0 !important;
}
/* page area beyond the body (short pages / overscroll) reads footer-dark, not white */
html { background: var(--fbs-ink); }

[data-footer] .ct-footer,
footer.ct-footer,
footer.ct-footer [data-row],
footer.ct-footer [data-row] > div,
footer.ct-footer [class*="ct-container"] { background: var(--fbs-ink) !important; }
/* footer container must span full width at any viewport/zoom */
footer.ct-footer [class*="ct-container"] {
  --theme-container-width: 100%;
  width: 100% !important;
  max-width: none !important;
  padding-inline: clamp(20px, 4vw, 48px);
}
footer.ct-footer,
footer.ct-footer .ct-footer-copyright,
footer.ct-footer [data-id="copyright"] {
  color: var(--fbs-cream-dim);
  font-family: var(--fbs-body);
  font-size: 13px;
  letter-spacing: 0.06em;
}
footer.ct-footer [data-row],
footer.ct-footer [data-row] > div { border: 0 !important; }
footer.ct-footer {
  border-top: 3px solid var(--fbs-copper-deep);
}
footer.ct-footer [data-row] { padding-block: 6px; }
footer.ct-footer a { color: var(--fbs-gold); text-decoration: none; }
footer.ct-footer a:hover { color: var(--fbs-cream); }

/* ============================================================
   12. RESPONSIVE
   ============================================================ */
@media (max-width: 999px) {
  .fbs-hero .fbs-wrap { grid-template-columns: 1fr; padding-block: 56px 72px; }
  .fbs-hero__stack { min-height: 400px; max-width: 480px; }
  .fbs-collections__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fbs-props__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fbs-story .fbs-wrap { grid-template-columns: 1fr; }
  .fbs-story__badge { justify-self: start; margin-top: 10px; }
}
@media (max-width: 620px) {
  .fbs-collections__grid { grid-template-columns: 1fr; }
  .fbs-props__grid { grid-template-columns: 1fr; gap: 28px; }
  .fbs-marquee__label { font-size: 11px; padding: 14px 14px; }
  .fbs-hero__stack { min-height: 330px; }
  .fbs-hero__stamp { width: 108px; height: 108px; font-size: 13px; right: 0; }
  .fbs-collections__head { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   13. INNER PAGES — page-title band with ink drip from header
   ============================================================ */
/* pull inner content flush to the header so the drip connects */
body:not(.home) #main > [class*="ct-container"] { padding-block-start: 0 !important; }
body:not(.home) .hero-section[data-type] {
  background: none;
  position: relative;
  margin-top: 0;
  padding: clamp(64px, 6vw, 92px) 0 clamp(24px, 3vw, 40px);
}
body:not(.home) .hero-section[data-type]::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 40px;
  pointer-events: none;
  background-repeat: repeat-x;
  background-size: 260px 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 40'%3E%3Cpath d='M0 0h260v8c-14 0-16 24-34 24s-18-18-32-18-14 12-30 12-17-22-33-22-15 16-31 16-16-9-33-9-17 19-34 19S16 8 0 8z' fill='%23221b14'/%3E%3C/svg%3E");
}
body:not(.home) .hero-section .page-title,
body:not(.home) .woocommerce-products-header__title {
  font-family: var(--fbs-display) !important;
  font-weight: 400 !important;
  font-size: clamp(2rem, 4.2vw, 3.2rem) !important;
  line-height: 1.12;
  color: var(--fbs-ink);
  transform: rotate(-1deg);
  text-shadow: 0.045em 0.045em 0 var(--fbs-gold), 0.1em 0.1em 0 rgba(156,61,46,.35);
}
body:not(.home) .ct-breadcrumbs {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fbs-copper-deep);
}
body:not(.home) .ct-breadcrumbs a { color: var(--fbs-copper-deep); }
body:not(.home) .ct-breadcrumbs a:hover { color: var(--fbs-rust); }

/* header cart icon */
.fbs-cart-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}
.fbs-cart-svg { color: var(--fbs-gold); transition: color .15s ease; }
.fbs-cart-link:hover .fbs-cart-svg { color: var(--fbs-cream); }
.fbs-cart-count {
  background: var(--fbs-gold);
  color: var(--fbs-ink);
  border-radius: var(--fbs-r-pill);
  min-width: 21px;
  height: 21px;
  display: grid;
  place-content: center;
  font-size: 11px;
  font-weight: 700;
  padding: 0 6px;
}
.fbs-cart-link:hover .fbs-cart-count { background: var(--fbs-cream); }

/* ============================================================
   14. FORMS — friendly rounded fields, gold focus
   ============================================================ */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="password"], input[type="search"], input[type="number"],
textarea, select, .select2-container--default .select2-selection--single {
  background: #fffdf7;
  border: 2px solid var(--fbs-ink-soft);
  border-radius: 12px;
  padding: 12px 16px;
  height: auto !important;      /* Blocksy pins selects to 40px — unclip */
  min-height: 48px;
  line-height: 1.4;
  font-family: var(--fbs-body);
  font-size: 15px;
  color: var(--fbs-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--fbs-gold) !important;
  box-shadow: 0 0 0 3px rgba(217,164,65,.3);
  outline: none;
}
label {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fbs-ink);
}

/* ============================================================
   15. SHOP ARCHIVE — catalog floor
   ============================================================ */
.woocommerce .woocommerce-result-count {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fbs-copper-deep);
}
.woocommerce .woocommerce-ordering select { padding: 10px 36px 10px 16px; border-radius: var(--fbs-r-pill); }
.woocommerce nav.woocommerce-pagination ul {
  border: 0;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li { border: 0; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current {
  min-width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-pill);
  background: var(--fbs-cream);
  color: var(--fbs-ink);
  font-family: var(--fbs-body);
  font-weight: 700;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--fbs-gold); }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--fbs-copper); color: var(--fbs-ink); }

/* ============================================================
   16. SINGLE PRODUCT — spec sheet
   ============================================================ */
.single-product div.product .woocommerce-product-gallery {
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-card);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--fbs-shadow-card);
}
/* Gallery internals — Blocksy's flexy slider mounts unreliably (leaves 30-50 raw variation
   images scattered). Drive it deterministically with CSS + a small click-to-swap handler
   (functions.php). Main image = the active slide; pills = a tidy thumbnail strip. */
.single-product .woocommerce-product-gallery .flexy-items { display: block !important; }
.single-product .woocommerce-product-gallery .flexy-item { display: none !important; margin: 0; width: 100%; }
.single-product .woocommerce-product-gallery .flexy-item.flexy-item-is-visible { display: block !important; }
.single-product .woocommerce-product-gallery .flexy-item img { width: 100%; height: auto; display: block; }
.single-product .woocommerce-product-gallery .flexy-pills {
  height: auto !important; max-height: none !important; overflow: visible; margin: 12px 0 0; padding: 0;
}
.single-product .woocommerce-product-gallery .flexy-pills ol {
  list-style: none !important; margin: 0 !important; padding: 0 !important;
  display: flex !important; flex-wrap: wrap; gap: 8px;
}
.single-product .woocommerce-product-gallery .flexy-pills li {
  margin: 0 !important; padding: 0 !important; width: 58px !important; height: 58px !important;
  flex: 0 0 auto; border: 2px solid rgba(34,27,20,.22); border-radius: 9px; overflow: hidden;
  cursor: pointer; background: #fff; transition: border-color .15s ease; position: static !important; transform: none !important;
}
.single-product .woocommerce-product-gallery .flexy-pills li:hover { border-color: var(--fbs-copper); }
.single-product .woocommerce-product-gallery .flexy-pills li.fbs-pill-active { border-color: var(--fbs-copper-deep); }
.single-product .woocommerce-product-gallery .flexy-pills li img,
.single-product .woocommerce-product-gallery .flexy-pills li > * {
  width: 100% !important; height: 100% !important; object-fit: cover; display: block; margin: 0;
}
/* Hide thumbnail squares Blocksy hasn't populated with an image (its lazy JS isn't running) */
.single-product .woocommerce-product-gallery .flexy-pills li:not(:has(img)) { display: none !important; }

/* Tabs / description — keep full width & left-aligned below the gallery+summary row
   (was offsetting into the right column on wide screens). */
.single-product div.product .woocommerce-tabs {
  width: 100%; float: none; clear: both; margin-left: 0; margin-right: 0;
}
.single-product div.product .woocommerce-tabs .panel { max-width: 100%; margin-left: 0; text-align: left; }

.single-product div.product .product_title {
  font-family: var(--fbs-display) !important;
  font-weight: 400 !important;
  font-size: clamp(1.7rem, 3vw, 2.5rem) !important;
  line-height: 1.15;
  color: var(--fbs-ink);
  text-shadow: 0.045em 0.045em 0 rgba(217,164,65,.5);
}
.single-product div.product p.price {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--fbs-copper-deep) !important;
}
.single-product div.product form.cart .button { padding: 18px 38px; font-size: 15px; }
/* tabs to pills */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0 0 4px;
  margin: 0 0 22px;
  border: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-pill);
  margin: 0;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fbs-ink);
  padding: 12px 22px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--fbs-gold); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--fbs-ink) !important; }
.woocommerce div.product .woocommerce-tabs .panel {
  background: #fffdf7;
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-card);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--fbs-shadow-card-ink);
}
.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
  font-family: var(--fbs-display) !important;
  font-weight: 400 !important;
  color: var(--fbs-ink);
  text-shadow: 0.045em 0.045em 0 rgba(217,164,65,.5);
}

/* ============================================================
   17. CART / CHECKOUT — the register
   ============================================================ */
.woocommerce table.shop_table {
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-card);
  overflow: hidden;
  border-collapse: separate;
  background: #fffdf7;
}
.woocommerce table.shop_table th {
  font-family: var(--fbs-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--fbs-cream-deep);
  color: var(--fbs-ink);
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding: 14px 20px !important; }
.woocommerce table.shop_table td { border-top: 1px solid rgba(34,27,20,.12); }
.woocommerce-cart table.cart img { border-radius: 10px; border: 1px solid rgba(34,27,20,.2); }
.woocommerce #payment {
  background: var(--fbs-cream-deep);
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-card);
}
.woocommerce #payment div.payment_box {
  background: #fffdf7;
  border-radius: 10px;
}
.woocommerce #payment div.payment_box::before { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  font-family: var(--fbs-body);
  background: #fffdf7;
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-card);
  color: var(--fbs-ink-soft);
}
.woocommerce-message { border-color: var(--fbs-gold); }
.woocommerce-message::before { color: var(--fbs-copper-deep); }
.woocommerce-info { border-color: var(--fbs-copper); }
.woocommerce-info::before { color: var(--fbs-copper-deep); }
.woocommerce-error { border-color: var(--fbs-rust); }
.woocommerce-error::before { color: var(--fbs-rust); }

/* ============================================================
   18. BLOG — zine cards
   ============================================================ */
.entry-card {
  background: #fffdf7;
  border: 2px solid var(--fbs-ink);
  border-radius: var(--fbs-r-card) !important; /* pill token makes eggs of these */
  box-shadow: var(--fbs-shadow-card-ink);
  overflow: hidden;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease;
}
.entry-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 10px 0 rgba(156,61,46,.5);
}
.entry-card .ct-media-container,
.entry-card img { border-radius: 0 !important; }
.entry-card .entry-title a { color: var(--fbs-ink); }
.entry-card .entry-title a:hover { color: var(--fbs-copper-deep); }
body.single-post .entry-header .page-title {
  font-family: var(--fbs-display) !important;
  font-weight: 400 !important;
}
