/* ==========================================================
   FAMILY UNIT 2026 — SINGLE PRODUCT  (Madhappy-style, full-bleed)
   File: wp-content/themes/familyunit-2026/assets/css/fu-product.css

   Layout: two full-width halves. LEFT = product image, flush to the
   left edge of the screen, filling its half. RIGHT = sticky details
   with generous padding, wide/tall size buttons, full-width Add to
   Cart, Details below. No outer max-width or centering — the page
   spans the whole viewport, mirroring madhappy.com.

   DESCRIPTION MAPPING:
   - WooCommerce SHORT description -> .fu-pd__short (top, under title)
   - WooCommerce LONG (main) description -> .fu-pd__long (Details)
   ========================================================== */

/* Full-bleed two-column shell. !important guards against theme/plugin
   content-width constraints that would otherwise center or cap it. */
.fu-pd {
  display: grid !important;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0;
  align-items: start;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ---------- Gallery (left half, hugs the left edge) ---------- */
.fu-pd__gallery {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.fu-pd__thumbs {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.fu-pd__thumb {
  width: 54px;
  aspect-ratio: 4 / 5;
  background: #ece9e5;
  overflow: hidden;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.2s ease;
  border: none;
  padding: 0;
}

.fu-pd__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fu-pd__thumb.is-active,
.fu-pd__thumb:hover {
  opacity: 1;
}

.fu-pd__main {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #ebe8e4;
  overflow: hidden;
}

.fu-pd__main img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}

/* ---------- Sticky details (right half) ---------- */
.fu-pd__details {
  position: sticky;
  top: calc(var(--fu-header-height) + 40px);
  display: flex;
  flex-direction: column;
  padding: 44px 6vw 80px 56px;
  box-sizing: border-box;
}

.fu-pd__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}

.fu-pd__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.fu-pd__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
}

/* Short description — top */
.fu-pd__short,
.fu-pd__short p {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

.fu-pd__short {
  font-size: 0.84rem;
  color: #444;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 540px;
}

.fu-pd__short ul { padding-left: 18px; margin: 6px 0; }
.fu-pd__short li { margin-bottom: 2px; }

/* ---------- Size ---------- */
.fu-pd__sizes {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  max-width: 560px;
}

.fu-pd__sizes-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.04em;
}

.fu-pd__sizes-row {
  display: flex;
  gap: 8px;
}

/* Wide, tall, easy-to-click buttons (Madhappy-style rectangles). */
.fu-pd__size {
  flex: 1 1 0;
  padding: 15px 8px;
  border: 1px solid #cfccc8;
  border-radius: 0;
  background: #fff;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #000;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.fu-pd__size:not(.is-selected):hover {
  background: #e4e1dd;
  border-color: #c4c1bd;
  color: #000;
}

.fu-pd__size.is-selected {
  background: #d8d5d0;
  border-color: #b8b5b0;
  color: #000;
}

.fu-pd__size:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ---------- Purchase ---------- */
.fu-pd__purchase {
  margin-top: 26px;
  max-width: 560px;
}

.fu-pd__add {
  width: 100%;
  background: #ffe600 !important;
  background-color: #ffe600 !important;
  color: #000 !important;
  padding: 17px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  border: 2px solid transparent !important;
  border-radius: 0;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
  transition: border-color 0.2s ease;
}

.fu-pd__add:hover {
  background: #ffe600 !important;
  background-color: #ffe600 !important;
  border-color: #000 !important;
}
.fu-pd__add:disabled {
  background: #efe9a8 !important;
  background-color: #efe9a8 !important;
  cursor: not-allowed;
}

/* ---------- Details (long description) ---------- */
.fu-pd__long-wrap {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  max-width: 620px;
}

.fu-pd__long-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.04em;
}

.fu-pd__long {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.7;
}

.fu-pd__long ul { list-style: none; padding: 0; margin: 0; }
.fu-pd__long li { position: relative; padding-left: 14px; margin-bottom: 2px; }
.fu-pd__long li::before { content: '•'; position: absolute; left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .fu-pd__details {
    padding: 36px 5vw 64px 36px;
  }
  .fu-pd__title { font-size: 1.3rem; }
  .fu-pd__price { font-size: 1.2rem; }
}

@media (max-width: 768px) {
  .fu-pd {
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  .fu-pd__details {
    position: static;
    padding: 28px 22px 56px;
  }
  .fu-pd__sizes,
  .fu-pd__purchase,
  .fu-pd__short,
  .fu-pd__long-wrap {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fu-pd__thumb,
  .fu-pd__size,
  .fu-pd__add { transition: none; }
}

/* ==========================================================
   Force the site font across the whole product details column.
   (<i> excluded so any icon font is left alone.) Belt-and-suspenders
   over the Elementor kit typography.
   ========================================================== */
.fu-pd,
.fu-pd p,
.fu-pd a,
.fu-pd span,
.fu-pd div,
.fu-pd li,
.fu-pd h1,
.fu-pd button,
.fu-pd .fu-pd__title,
.fu-pd .fu-pd__price,
.fu-pd .fu-pd__short,
.fu-pd .fu-pd__short p,
.fu-pd .fu-pd__size,
.fu-pd .fu-pd__add,
.fu-pd .fu-pd__long,
.fu-pd .fu-pd__long-label {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

/* ==========================================================
   Override-proofing for the Elementor kit's button styles
   (same pattern as the homepage). Anchored to #content, which IS the
   product <main id="content" class="fu-pd">.
   1) Restore intended font-weights — the kit dropped Size buttons and
      Add to Cart to Plus Jakarta Regular (400). font-family was already
      forced; weight wasn't.
   2) Remove the kit's pink hover/focus chrome. The gallery thumbs are
      <button>s, so the kit's focus/hover background + ring was painting
      pink on them. Keep the beige placeholder; the dim-until-active
      opacity above stays as the only gallery state.
   ========================================================== */
#content .fu-pd__sizes-row button.fu-pd__size {
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}
#content .fu-pd__add {
  font-weight: 600 !important;
  font-size: 0.84rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

/* Gallery thumbnails — kill every hover/focus/active background, border,
   shadow and outline the kit adds (the pink). */
#content .fu-pd__thumb,
#content .fu-pd__thumb:hover,
#content .fu-pd__thumb:focus,
#content .fu-pd__thumb:focus-visible,
#content .fu-pd__thumb:active,
#content .fu-pd__thumb.is-active {
  background: #ece9e5 !important;
  background-color: #ece9e5 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Same kit pink can show as a focus ring on the action buttons. */
#content .fu-pd__size:focus,
#content .fu-pd__size:focus-visible,
#content .fu-pd__add:focus,
#content .fu-pd__add:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
#content .fu-pd__add:focus,
#content .fu-pd__add:focus-visible,
#content .fu-pd__add:active {
  background-color: #ffe600 !important;   /* never let focus tint the yellow */
}

/* The kit paints a pink BACKGROUND *and* flips the TEXT to white on the size
   buttons when they get focus/active/selected (its accent state, designed to
   read on pink). We strip the pink, so we must also pin the text color in every
   state — otherwise the kit's white text lands on our light background and the
   label vanishes (the blank button you saw).

   Backgrounds use the `background` SHORTHAND (+ background-image: none) because
   the kit delivers its accent as a background-image/gradient that a plain
   background-color can't erase. Anchored on .fu-pd__sizes-row + button for
   specificity that clears the kit outright. */

/* UNSELECTED — white/grey fill, BLACK text, in every state incl. focus/active */
#content .fu-pd__sizes-row button.fu-pd__size,
#content .fu-pd__sizes-row button.fu-pd__size:focus,
#content .fu-pd__sizes-row button.fu-pd__size:focus-visible,
#content .fu-pd__sizes-row button.fu-pd__size:active {
  background: #fff !important;             /* default / focused-but-unselected */
  background-color: #fff !important;
  background-image: none !important;
  color: #000 !important;                  /* never let the kit white-out the label */
}
#content .fu-pd__sizes-row button.fu-pd__size:not(.is-selected):hover {
  background: #e4e1dd !important;          /* hover feedback wins over focus */
  background-color: #e4e1dd !important;
  background-image: none !important;
  color: #000 !important;
}
/* SELECTED — grey fill, BLACK text (like hover, just a touch darker so it reads
   as the chosen size). */
#content .fu-pd__sizes-row button.fu-pd__size.is-selected,
#content .fu-pd__sizes-row button.fu-pd__size.is-selected:focus,
#content .fu-pd__sizes-row button.fu-pd__size.is-selected:focus-visible,
#content .fu-pd__sizes-row button.fu-pd__size.is-selected:active {
  background: #d8d5d0 !important;
  background-color: #d8d5d0 !important;
  background-image: none !important;
  color: #000 !important;
}

/* =========================================================
   PRODUCT — MOBILE (Madhappy-style single product page)
   Desktop keeps the approved thumb + sticky-details layout untouched.
   Everything below is mobile-only.
   ========================================================= */

/* Swipe gallery + numbered dots: mobile only. */
.fu-pd__swipe,
.fu-pd__dots { display: none; }

@media (max-width: 768px) {

  /* ---- Gallery: full-bleed swipe strip, one image per screen ---- */
  .fu-pd__thumbs,                 /* corner thumbnails are replaced by swipe */
  .fu-pd__main { display: none !important; }

  .fu-pd__swipe {
    display: flex !important;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;                 /* hide the scrollbar */
  }
  .fu-pd__swipe::-webkit-scrollbar { display: none; }

  .fu-pd__slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    background: #ebe8e4;
  }
  .fu-pd__slide img {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
  }

  /* Subtle numbered pagination (1 2 3 4) under the image. */
  .fu-pd__dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0 4px;
  }
  .fu-pd__dot {
    background: none;
    border: 0;
    padding: 2px 2px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
    color: #b3afa9;                        /* inactive: soft gray */
    cursor: pointer;
    transition: color 0.15s ease;
  }
  .fu-pd__dot.is-active { color: #111; }   /* active: solid black */

  /* Madhappy numbering: small, centred, 6px apart; inactive at 25%.
     The dots are <button>s, so the Elementor kit was giving each one
     14px 24px of padding, which spread six of them across the image. */
  .fu-pd__dots.fu-pd__dots { gap: 6px !important; }
  .fu-pd__dots button.fu-pd__dot {
    padding: 4px 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    color: #111 !important;
    opacity: 0.25 !important;
    transition: opacity 0.15s ease !important;
  }
  .fu-pd__dots button.fu-pd__dot.is-active { opacity: 1 !important; }

  /* ---- Details: tighter, phone-sized ---- */
  .fu-pd__details {
    position: static;
    padding: 20px 18px 40px;
  }

  /* Title + price share one line, like Madhappy. */
  .fu-pd__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
  }
  .fu-pd__title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }
  .fu-pd__price {
    font-size: 1.05rem;
    font-weight: 600;
  }

  .fu-pd__short {
    font-size: 0.8rem;
    margin-top: 8px;
    line-height: 1.5;
  }

  /* ---- Size row: label above, buttons full width in one row ---- */
  .fu-pd__sizes {
    display: block;                 /* drop the 64px label column */
    margin-top: 18px;
    max-width: none;
  }
  .fu-pd__sizes-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.75rem;
  }
  .fu-pd__sizes-row {
    display: flex;
    gap: 6px;
  }
  .fu-pd__size {
    flex: 1 1 0;
    padding: 11px 4px;
    font-size: 0.72rem;
  }

  /* ---- Add to cart ---- */
  .fu-pd__purchase { margin-top: 12px; }
  .fu-pd__add {
    width: 100%;
    padding: 15px !important;
    font-size: 0.85rem !important;
  }

  /* ---- Details block: label above the text, not beside it ---- */
  .fu-pd__long-wrap {
    display: block !important;      /* was a 64px + 1fr grid */
    margin-top: 26px;
    max-width: none;
  }
  .fu-pd__long-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.75rem;
  }
  .fu-pd__long,
  .fu-pd__long p,
  .fu-pd__long li {
    font-size: 0.8rem;
    line-height: 1.55;
  }
  .fu-pd__long ul { padding-left: 18px; }

  /* ---- Below the product: newsletter + category tiles ---- */
  .fu-pd-below { display: block; }
}

/* The below-product block is mobile-only; desktop keeps the approved
   two-column layout with nothing beneath it. */
.fu-pd-below { display: none; }
@media (max-width: 768px) { .fu-pd-below { display: block; } }

/* =========================================================
   PRODUCT — MOBILE FIXES (round 2)
   1) Kill the horizontal overflow that made the page render wider than
      the screen (why buttons/description looked cut off until you
      pinch-zoomed out).
   2) Overlay the gallery numbers on the image instead of below it.
   ========================================================= */
@media (max-width: 768px) {

  /* ---- 1a) Size buttons could not shrink ----
     .fu-pd__size is flex:1 1 0 BUT flex items default to min-width:auto,
     so they refuse to shrink below their text width — and the text is
     white-space:nowrap ("Extra Large"). Four of those forced the row
     wider than the screen. min-width:0 lets flex actually do its job. */
  .fu-pd__sizes-row { width: 100%; }
  #content .fu-pd__sizes-row button.fu-pd__size {
    min-width: 0 !important;
    flex: 1 1 0 !important;
    padding: 11px 2px !important;
    /* The base rule sets 0.78rem with !important, which beat the mobile
       size — match that weight here so 4 labels fit a phone width. */
    font-size: 0.68rem !important;
    letter-spacing: 0 !important;
  }

  /* ---- 1b) Safety net: nothing on this page may exceed the viewport ---- */
  .fu-pd,
  .fu-pd__details,
  .fu-pd__long-wrap,
  .fu-pd__long,
  .fu-pd-below {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .fu-pd__long img,
  .fu-pd__long table { max-width: 100% !important; }

  /* ---- 2) Numbered pagination overlaid on the bottom of the image ---- */
  .fu-pd__gallery { position: relative; }
  .fu-pd__dots {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 2;
    padding: 0 !important;
    gap: 12px;
    pointer-events: auto;
  }
  .fu-pd__dot {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
    font-size: 0.65rem !important;   /* smaller */
    font-weight: 500 !important;
    color: #9a968f !important;       /* inactive */
  }
  .fu-pd__dot.is-active { color: #111 !important; }
}

/* =========================================================
   PRODUCT — NEWSLETTER FIX (outside #content)
   The newsletter block sits BELOW </main>, so the five
   "#content .fu-news__*" rules in fu-home.css — the ones that tame the
   Elementor kit — never matched here. That's why Subscribe rendered
   oversized and floated above the line: the kit's own font-size and
   min-height were winning. Re-apply the same treatment, anchored on
   .fu-pd-below instead of #content.
   ========================================================= */
body .fu-pd-below .fu-news__input,
body .fu-pd-below .fu-news__submit {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1 !important;
}
body .fu-pd-below .fu-news__submit {
  color: #000000 !important;
  font-weight: 600 !important;
  padding: 0 0 0 18px !important;   /* seats on the line, pinned flush right */
  min-height: 0 !important;         /* kit min-height was inflating the box */
  height: auto !important;
  border: none !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-transform: none !important;
}
body .fu-pd-below .fu-news__input {
  color: #000000 !important;
  font-weight: 400 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  background: none !important;
}
body .fu-pd-below .fu-news__input::placeholder {
  color: #8a8783 !important;
  opacity: 1;
}

/* =========================================================
   SIZE BUTTONS — STRONGER BLACK BORDER (desktop + mobile)
   The 1px light-gray outline read as washed out. Solid black at 1.5px
   gives the size row real definition, with a filled state on select.
   ========================================================= */
#content .fu-pd__sizes-row button.fu-pd__size,
.fu-pd__size {
  border: 1.5px solid #111 !important;
  color: #111 !important;
  background: #fff !important;
}
#content .fu-pd__sizes-row button.fu-pd__size:hover,
.fu-pd__size:hover {
  background: #f4f2ee !important;
}
/* SELECTED — soft gray fill with black text (the original look), now
   sitting inside the stronger black border. */
#content .fu-pd__sizes-row button.fu-pd__size.is-selected,
#content .fu-pd__sizes-row button.fu-pd__size[aria-pressed="true"],
.fu-pd__size.is-selected,
.fu-pd__size[aria-pressed="true"] {
  background: #d8d5d0 !important;
  background-color: #d8d5d0 !important;
  background-image: none !important;
  color: #111 !important;
  border-color: #111 !important;
}
/* Unavailable variations stay visibly disabled. */
#content .fu-pd__sizes-row button.fu-pd__size:disabled,
.fu-pd__size:disabled {
  border-color: #d5d2ce !important;
  color: #b3afa9 !important;
  background: #fff !important;
  cursor: not-allowed !important;
}

/* Brand font across the whole mobile product page, every element
   (<i> excluded so any icon font is left alone). */
@media (max-width: 768px) {
  .fu-pd, .fu-pd *:not(i),
  .fu-pd-below, .fu-pd-below *:not(i) {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
  }
}

/* ==========================================================
   ROUND 41 — DESKTOP PRODUCT PAGE, MADHAPPY LAYOUT
   Measured on madhappy.com at 1280px:
   - Photos take the left 45% and are stacked top to bottom (scroll
     to see them all). Small thumbnails pinned at the top-left; clicking
     one scrolls to that photo (fu-product.js).
   - Details take the right 55%, 32px in from each side, pinned while
     the photos scroll. Title and price 24px, 40px below the header.
   - Label column 90px wide: Size / Purchase / Details.
   - Size boxes and Add to Cart are 26px tall, 12px text, 6px gaps.
   Phones are unchanged (all of this is min-width: 769px).
   ========================================================== */
.fu-pd__purchase-label { display: none; }

@media (min-width: 769px) {
  html body .fu-pd { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr) !important; }

  /* ---- Gallery: every photo, stacked ---- */
  html body .fu-pd .fu-pd__gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  html body .fu-pd .fu-pd__main { display: none !important; }
  html body .fu-pd .fu-pd__swipe {
    grid-area: 1 / 1;
    display: flex !important;
    flex-direction: column;
    overflow: visible;
  }
  html body .fu-pd .fu-pd__slide {
    width: 100%;
    background: #ebe8e4;
    scroll-margin-top: calc(var(--fu-header-height) + var(--fu-header-top-offset));
  }
  html body .fu-pd .fu-pd__slide img {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
  }
  html body .fu-pd .fu-pd__thumbs {
    grid-area: 1 / 1;
    position: sticky !important;
    top: calc(var(--fu-header-height) + var(--fu-header-top-offset));
    left: auto;
    justify-self: start;
    align-self: start;
    gap: 0;
    z-index: 2;
  }
  html body #content .fu-pd__thumb { width: 34px !important; }

  /* ---- Details column ---- */
  html body .fu-pd .fu-pd__details {
    position: sticky;
    top: calc(var(--fu-header-height) + var(--fu-header-top-offset) + 28px);
    padding: 12px 32px 80px !important;
  }
  html body .fu-pd .fu-pd__head { align-items: flex-start; gap: 24px; }
  html body .fu-pd .fu-pd__title,
  html body .fu-pd .fu-pd__price {
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    letter-spacing: normal !important;
    color: #000 !important;
  }
  html body .fu-pd .fu-pd__title { margin: 0 !important; }
  html body .fu-pd .fu-pd__short {
    margin-top: 14px;                 /* round 43: was 6px, too tight to the title */
    max-width: 60%;
    font-size: 13px !important;       /* round 43: 12px read as faint */
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: #000 !important;
  }
  html body .fu-pd .fu-pd__short p { font-size: 13px !important; font-weight: 500 !important; line-height: 1.5 !important; color: #000 !important; }
  html body .fu-pd .fu-pd__short p { margin: 0; }

  /* Label column shared by Size / Purchase / Details */
  html body .fu-pd .fu-pd__sizes,
  html body .fu-pd .fu-pd__purchase,
  html body .fu-pd .fu-pd__long-wrap {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 6px;
    max-width: none;
  }
  html body .fu-pd .fu-pd__sizes-label,
  html body .fu-pd .fu-pd__purchase-label,
  html body .fu-pd .fu-pd__long-label {
    display: block;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 12px !important;
    letter-spacing: normal !important;
    color: #000;
  }

  /* ---- Size ---- */
  html body .fu-pd .fu-pd__sizes { margin-top: 48px; align-items: center; }   /* round 43: was 35px */
  html body .fu-pd .fu-pd__sizes-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  html body #content .fu-pd__sizes-row button.fu-pd__size {
    flex: 0 0 calc((100% - 30px) / 6) !important;
    min-width: 86px !important;
    height: 32px !important;          /* round 43: between Madhappy's 26px and our old 43px */
    padding: 6px 3px !important;
    border: 1px solid #000 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 12px !important;
    letter-spacing: normal !important;
  }
  html body #content .fu-pd__sizes-row button.fu-pd__size:disabled {
    border-color: #d5d2ce !important;
  }

  /* ---- Purchase ---- */
  html body .fu-pd .fu-pd__purchase { margin-top: 12px; align-items: center; }
  html body #content .fu-pd__add {
    height: 40px !important;          /* round 43: was 26px; the main action reads stronger */
    padding: 6px !important;
    border: 1px solid transparent !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 12px !important;
    letter-spacing: normal !important;
  }
  html body #content .fu-pd__add:hover { border-color: #000 !important; }

  /* ---- Details ---- */
  html body .fu-pd .fu-pd__long-wrap { margin-top: 44px; }
  html body .fu-pd .fu-pd__long-label { padding: 4px 0 0; }
  html body .fu-pd .fu-pd__long,
  html body .fu-pd .fu-pd__long p,
  html body .fu-pd .fu-pd__long li {
    font-size: 13px !important;       /* round 43: was 12px */
    font-weight: 500 !important;
    line-height: 1.55 !important;
    color: #000 !important;
  }
  html body .fu-pd .fu-pd__long p { margin: 0 0 2px; }
  html body .fu-pd .fu-pd__long li { padding-left: 10px; margin-bottom: 0; }
}

/* ==========================================================
   ROUND 44 — BOLDER TYPE + MORE AIR (desktop product page)
   - Text smoothing back to the browser default. The Elementor kit sets
     "antialiased" on the body, which draws text thinner on Macs;
     Madhappy leaves it on the default.
   - One step bolder everywhere: title/price 700, description and
     Details text 600 (the same weight), labels and buttons 700.
   - Gaps: title → description 20px, description → sizes 56px,
     sizes → Add to Cart 16px.
   ========================================================== */
.fu-pd,
.fu-pd * {
  -webkit-font-smoothing: auto !important;
  -moz-osx-font-smoothing: auto !important;
}
@media (min-width: 769px) {
  html body .fu-pd .fu-pd__title,
  html body .fu-pd .fu-pd__price,
  html body .fu-pd .fu-pd__price * { font-weight: 700 !important; }

  html body .fu-pd .fu-pd__short { margin-top: 20px !important; }
  html body .fu-pd .fu-pd__short,
  html body .fu-pd .fu-pd__short p,
  html body .fu-pd .fu-pd__long,
  html body .fu-pd .fu-pd__long p,
  html body .fu-pd .fu-pd__long li { font-weight: 600 !important; }

  html body .fu-pd .fu-pd__sizes { margin-top: 56px !important; }
  html body .fu-pd .fu-pd__purchase { margin-top: 16px !important; }

  html body .fu-pd .fu-pd__sizes-label,
  html body .fu-pd .fu-pd__purchase-label,
  html body .fu-pd .fu-pd__long-label,
  html body #content .fu-pd__sizes-row button.fu-pd__size,
  html body #content .fu-pd__add { font-weight: 700 !important; }
}

/* ==========================================================
   ROUND 45 — PHONE PRODUCT PAGE
   - Text in solid black at explicit weights (it was dark grey, and
     inheriting the Elementor kit's odd 800 weight).
   - Slimmer buttons: size boxes 30px tall with a 1px border (were
     35px / 1.5px), Add to Cart 34px (was 44px). Madhappy's are 24px.
   - Madhappy tabs under Add to Cart: Description / Details / Returns.
     Active tab solid, others at 25%. They replace the Details block
     on phones; desktop keeps its Details row and never shows tabs.
   ========================================================== */
.fu-pd__tabs { display: none; }

@media (max-width: 768px) {
  /* Type */
  html body .fu-pd .fu-pd__title,
  html body .fu-pd .fu-pd__price,
  html body .fu-pd .fu-pd__price * { font-weight: 600 !important; color: #000 !important; }
  html body .fu-pd .fu-pd__short,
  html body .fu-pd .fu-pd__short p {
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #000 !important;
  }
  html body .fu-pd .fu-pd__short p { margin: 0 0 4px !important; }
  html body .fu-pd .fu-pd__sizes-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 12px !important;
    margin-bottom: 8px !important;
    color: #000 !important;
  }

  /* Slimmer size boxes */
  html body #content .fu-pd__sizes-row { gap: 6px !important; }
  html body #content .fu-pd__sizes-row button.fu-pd__size {
    height: 30px !important;
    padding: 0 2px !important;
    border-width: 1px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }

  /* Slimmer Add to Cart */
  html body .fu-pd .fu-pd__purchase { margin-top: 8px !important; }
  html body #content .fu-pd__add {
    height: 34px !important;
    padding: 0 12px !important;
    border-width: 1px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }

  /* Tabs replace the Details block */
  html body .fu-pd .fu-pd__long-wrap { display: none !important; }
  html body .fu-pd .fu-pd__tabs { display: block; margin-top: 22px; }
  html body .fu-pd .fu-pd__tab-row {
    display: flex;
    margin: 0 -12px;                 /* tab text lines up with the text above */
    overflow-x: auto;
    scrollbar-width: none;
  }
  html body .fu-pd .fu-pd__tab-row::-webkit-scrollbar { display: none; }
  html body #content .fu-pd__tab-row button.fu-pd__tab,
  html body #content .fu-pd__tab-row button.fu-pd__tab:hover,
  html body #content .fu-pd__tab-row button.fu-pd__tab:focus,
  html body #content .fu-pd__tab-row button.fu-pd__tab:active {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    background: none !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 11px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    white-space: nowrap !important;
    color: #000 !important;
    opacity: 0.25;
    cursor: pointer;
    transition: opacity 0.15s ease;
  }
  html body #content .fu-pd__tab-row button.fu-pd__tab.is-active { opacity: 1; }

  html body .fu-pd .fu-pd__panel { padding: 8px 0 0; }
  html body .fu-pd .fu-pd__panel[hidden] { display: none !important; }
  html body .fu-pd .fu-pd__panel,
  html body .fu-pd .fu-pd__panel p,
  html body .fu-pd .fu-pd__panel li {
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #000 !important;
  }
  html body .fu-pd .fu-pd__panel p { margin: 0 0 8px !important; }
  html body .fu-pd .fu-pd__panel ul,
  html body .fu-pd .fu-pd__panel ol { margin: 0 !important; padding: 0 !important; list-style: none !important; }
  html body .fu-pd .fu-pd__panel li { margin: 0 !important; padding: 0 !important; }
  html body .fu-pd .fu-pd__panel li::before { content: '\2022\00a0'; }
  html body .fu-pd .fu-pd__panel a { color: #000 !important; text-decoration: underline !important; text-underline-offset: 2px; }
}

/* ROUND 46 — phones: "Sizes are unisex…" lives in the Description tab
   now, so it's no longer repeated under the title. Desktop unchanged. */
@media (max-width: 768px) {
  html body .fu-pd .fu-pd__short { display: none !important; }
  html body .fu-pd .fu-pd__sizes { margin-top: 16px !important; }
}
