@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Baloo+2:wght@400;500;600;700;800&display=swap');

/* ====================================================================
   BLUEBY ART SHOP — STORE REBRAND v3.1
   Aligns store.bluebyartshop.com to www.bluebyartshop.com identity
   Drop into: WP Admin → Appearance → Customize → Additional CSS
   ==================================================================== */

/* Brand tokens — match main site */
:root {
  --by-blue:        #2563EB;
  --by-blue-deep:   #1D4ED8;
  --by-teal:        #0390AC;
  --by-orange:      #C2410C;
  --by-orange-deep: #9A3412;
  --by-orange-soft: #FFF4ED;
  --by-purple:      #7C3AED;

  --by-ink:         #1E293B;
  --by-text:        #334155;
  --by-muted:       #64748B;
  --by-line:        #E2E8F0;

  --by-bg:          #FFFFFF;
  --by-bg-soft:     #F8FAFC;
  --by-bg-blue:     #EBF5FF;
  --by-bg-teal:     #E0F7FA;
  --by-bg-cream:    #FFF8F0;

  --by-shadow-card:       0 2px 8px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
  --by-shadow-card-hover: 0 4px 16px rgba(0,0,0,.08), 0 16px 40px rgba(0,0,0,.10);
  --by-shadow-cta:        0 4px 14px rgba(194,65,12,.40);
  --by-shadow-cta-hover:  0 6px 20px rgba(154,52,18,.45);

  --by-radius-card: 20px;
  --by-radius-pill: 999px;

  --by-font-display: 'Fredoka One', 'Fredoka', system-ui, sans-serif;
  --by-font-body:    'Baloo 2', 'Inter', system-ui, sans-serif;
}

/* ====================================================================
   GLOBAL TYPOGRAPHY & BACKGROUND
   ==================================================================== */
body,
body.woocommerce-page,
.entry-content {
  font-family: var(--by-font-body);
  color: var(--by-text);
  background: #FFFFFF;
}

h1, h2, h3, h4, h5,
.wc-block-grid__product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.woocommerce-Tabs-panel h2,
.product_title,
.entry-title {
  font-family: var(--by-font-display) !important;
  color: var(--by-ink);
  font-weight: 400;
  letter-spacing: -0.005em;
}

a { color: var(--by-blue); }
a:hover { color: var(--by-blue-deep); }

/* ====================================================================
   SHOP HERO (replaces the boring "Shop" title)
   The PHP snippet injects .blueby-hero markup
   ==================================================================== */
.blueby-hero {
  position: relative;
  background: linear-gradient(135deg, #0390AC 0%, #2563EB 100%);
  color: #fff;
  padding: clamp(48px, 9vw, 96px) 24px;
  text-align: center;
  overflow: hidden;
  margin: 0 0 48px;
}
.blueby-hero::before,
.blueby-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.blueby-hero::before {
  top: -90px; right: -90px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,.07);
}
.blueby-hero::after {
  bottom: -80px; left: -80px;
  width: 240px; height: 240px;
  background: rgba(251,146,60,.16);
}
.blueby-hero__inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.blueby-eyebrow.blueby-eyebrow--onhero {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--by-radius-pill);
  background: rgba(255,255,255,.20);
  color: #fff;
  margin-bottom: 18px;
}
.blueby-hero h1 {
  font-family: var(--by-font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 400;
}
.blueby-hero p {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  max-width: 580px;
  margin: 0 auto;
}

/* Trust bar under hero */
.blueby-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  padding: 20px 16px;
  margin: -24px auto 56px;
  max-width: 1100px;
  background: #fff;
  border-radius: var(--by-radius-card);
  box-shadow: var(--by-shadow-card);
  position: relative;
  z-index: 5;
}
.blueby-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--by-text);
  letter-spacing: .01em;
}
.blueby-trust__item span.icon {
  font-size: 16px;
  line-height: 1;
}
@media (max-width: 600px) {
  .blueby-trust { gap: 10px 16px; padding: 14px 12px; margin: -20px 12px 40px; }
  .blueby-trust__item { font-size: 12px; }
}

/* ====================================================================
   SHOP RESULT-COUNT + SORTING — flat clean
   ==================================================================== */
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
  font-family: var(--by-font-body);
  font-size: 13px;
  color: var(--by-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
  border: 1.5px solid var(--by-line);
  border-radius: var(--by-radius-pill);
  padding: 10px 36px 10px 16px;
  font-family: var(--by-font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--by-text);
  background-color: #fff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color .2s, box-shadow .2s;
}
.woocommerce .woocommerce-ordering select:hover,
.woocommerce .woocommerce-ordering select:focus {
  border-color: var(--by-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  outline: none;
}

/* Hide default Woocommerce grid/list view toggle (visual clutter) */
.wc-block-product-categories-list-card-button,
.woocommerce-products-header__title,
.term-description {
  display: none !important;
}

/* Section dividers added by PHP snippet */
.blueby-section__head {
  margin: 24px 0 24px;
  padding: 0;
}
.blueby-section .blueby-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--by-radius-pill);
  margin-bottom: 12px;
}
.blueby-section .blueby-eyebrow.--blue  { background: var(--by-bg-blue);  color: var(--by-blue); }
.blueby-section .blueby-eyebrow.--teal  { background: var(--by-bg-teal);  color: var(--by-teal); }
.blueby-section .blueby-eyebrow.--orange{ background: var(--by-orange-soft); color: var(--by-orange); }

.blueby-section__head h2 {
  font-family: var(--by-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--by-ink);
  margin: 0 0 6px;
  font-weight: 400;
}
.blueby-section__head p {
  font-size: 15px;
  color: var(--by-muted);
  max-width: 560px;
  margin: 0;
  line-height: 1.55;
}

/* ====================================================================
   PRODUCT GRID & CARDS  (Storefront/Kadence/Woo defaults)
   ==================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  margin: 0 0 48px !important;
  padding: 0 !important;
  list-style: none !important;
}
@media (max-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 22px !important; }
}
@media (max-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; }
}
@media (max-width: 480px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: 1fr !important; gap: 16px !important; }
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #FFFFFF;
  border-radius: var(--by-radius-card);
  box-shadow: var(--by-shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1);
  text-align: left;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--by-shadow-card-hover);
}

/* product card image — square consistent crop */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--by-bg-blue);
  margin: 0 !important;
  border-radius: 0 !important;
  display: block;
}

/* card content padding */
.woocommerce ul.products li.product > a,
.woocommerce-page ul.products li.product > a {
  display: block;
  text-decoration: none;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--by-font-display) !important;
  font-size: 1.0625rem !important;
  line-height: 1.25 !important;
  color: var(--by-ink) !important;
  padding: 18px 18px 4px !important;
  margin: 0 !important;
  font-weight: 400 !important;
  min-height: 0 !important;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  font-family: var(--by-font-body) !important;
  font-size: 1.125rem !important;
  font-weight: 800 !important;
  color: var(--by-blue) !important;
  padding: 0 18px 12px !important;
  margin: 0 !important;
  display: block;
}
.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del {
  color: var(--by-muted);
  font-weight: 600;
  margin-right: 6px;
  opacity: .7;
}
.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins {
  background: transparent;
  color: var(--by-orange);
  text-decoration: none;
}

/* "Add to cart" button on archive */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce ul.products li.product a.added_to_cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 18px 18px !important;
  padding: 12px 18px !important;
  border-radius: var(--by-radius-pill) !important;
  background: var(--by-orange) !important;
  color: #fff !important;
  font-family: var(--by-font-body) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: .02em;
  box-shadow: var(--by-shadow-cta);
  text-decoration: none;
  transition: all .2s ease;
  text-transform: none !important;
  width: auto !important;
  border: none !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
  background: var(--by-orange-deep) !important;
  transform: translateY(-1px);
  box-shadow: var(--by-shadow-cta-hover);
}

/* "Read more" / variable products button */
.woocommerce ul.products li.product .button.product_type_variable,
.woocommerce ul.products li.product .button.product_type_grouped,
.woocommerce ul.products li.product .button.product_type_external {
  background: var(--by-blue) !important;
  box-shadow: 0 4px 14px rgba(37,99,235,.30);
}
.woocommerce ul.products li.product .button.product_type_variable:hover {
  background: var(--by-blue-deep) !important;
}

/* ====================================================================
   SALE / CUSTOM BADGES on cards
   PHP injects a .blueby-badge label inside the <li> with class --tier-X
   ==================================================================== */
.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  background: var(--by-orange) !important;
  color: #fff !important;
  font-family: var(--by-font-body) !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: .08em;
  padding: 5px 12px !important;
  border-radius: var(--by-radius-pill) !important;
  margin: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  line-height: 1.4 !important;
  z-index: 2;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}

.blueby-badge {
  position: absolute;
  top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px;
  border-radius: var(--by-radius-pill);
  font-family: var(--by-font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.blueby-badge.--mini       { background: var(--by-bg-blue);  color: var(--by-blue); }
.blueby-badge.--explorer   { background: var(--by-bg-teal);  color: var(--by-teal); }
.blueby-badge.--master     { background: #F3E8FF; color: var(--by-purple); }
.blueby-badge.--popular    { background: var(--by-orange); color: #fff; }
.blueby-badge.--new        { background: #ECFDF5; color: #059669; }
.blueby-badge.--soon       { background: #F1F5F9; color: var(--by-muted); }

/* ====================================================================
   SINGLE PRODUCT PAGE
   ==================================================================== */
.single-product .product .entry-summary {
  padding: 0 0 0 16px;
}
.single-product .breadcrumb,
.single-product .woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--by-muted);
  margin: 0 0 24px;
  font-weight: 600;
}
.single-product .woocommerce-breadcrumb a {
  color: var(--by-muted);
  text-decoration: none;
}
.single-product .woocommerce-breadcrumb a:hover { color: var(--by-blue); }

.single-product .product_title,
.single-product .product .product_title.entry-title {
  font-family: var(--by-font-display) !important;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  line-height: 1.15 !important;
  color: var(--by-ink) !important;
  margin: 0 0 12px !important;
  font-weight: 400 !important;
}

.single-product .product .price,
.single-product .summary > .price {
  font-family: var(--by-font-body) !important;
  font-size: 1.875rem !important;
  font-weight: 800 !important;
  color: var(--by-blue) !important;
  margin: 0 0 18px !important;
  letter-spacing: -0.01em;
}
.single-product .product .price del { color: var(--by-muted); font-weight: 600; opacity: .7; }
.single-product .product .price ins { background: transparent; color: var(--by-orange); text-decoration: none; }

.single-product .woocommerce-product-details__short-description,
.single-product .summary .woocommerce-product-details__short-description p {
  font-family: var(--by-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--by-text);
  margin: 0 0 24px;
}

/* trust list injected via PHP next to short description */
.blueby-singletrust {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 8px;
}
.blueby-singletrust li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--by-text);
  font-weight: 600;
}
.blueby-singletrust li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--by-bg-teal);
  color: var(--by-teal);
  font-weight: 800;
  font-size: 12px;
}

/* qty + add-to-cart */
.single-product form.cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.single-product .quantity .qty {
  width: 72px !important;
  height: 52px;
  border: 1.5px solid var(--by-line);
  border-radius: var(--by-radius-pill);
  text-align: center;
  font-family: var(--by-font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--by-ink);
  padding: 0 8px;
  appearance: textfield;
}
.single-product .quantity .qty:focus {
  outline: none;
  border-color: var(--by-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.single-product .single_add_to_cart_button,
.woocommerce .single_add_to_cart_button.button.alt {
  background: var(--by-orange) !important;
  color: #fff !important;
  font-family: var(--by-font-body) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 14px 32px !important;
  border-radius: var(--by-radius-pill) !important;
  border: none !important;
  box-shadow: var(--by-shadow-cta) !important;
  transition: all .2s ease;
  text-transform: none !important;
  letter-spacing: .02em;
  min-height: 52px;
}
.single-product .single_add_to_cart_button:hover {
  background: var(--by-orange-deep) !important;
  transform: translateY(-2px);
  box-shadow: var(--by-shadow-cta-hover) !important;
}

/* WooPay button toned down */
.wc-block-components-button.wc-block-checkout-express-payment-method__button,
.woopay-express-button,
[id^="wcpay-express-checkout-element"] button {
  border-radius: var(--by-radius-pill) !important;
  height: 52px !important;
}

/* product meta (category) */
.single-product .product_meta {
  border-top: 1px solid var(--by-line);
  padding-top: 18px;
  font-size: 13px;
  color: var(--by-muted);
}
.single-product .product_meta .posted_in {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.single-product .product_meta a {
  color: var(--by-blue);
  text-decoration: none;
  font-weight: 700;
}

/* product gallery — soft frame */
.single-product .woocommerce-product-gallery {
  background: var(--by-bg-blue);
  border-radius: var(--by-radius-card);
  padding: 16px;
  box-shadow: var(--by-shadow-card);
}
.single-product .woocommerce-product-gallery__image img {
  border-radius: 14px !important;
}
.single-product .flex-control-thumbs li img {
  border-radius: 10px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.single-product .flex-control-thumbs li img:hover,
.single-product .flex-control-thumbs li img.flex-active {
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(37,99,235,.20);
}

/* tabs panel */
.woocommerce-tabs ul.tabs {
  border-bottom: 2px solid var(--by-line) !important;
  padding: 0 !important;
  margin: 32px 0 0 !important;
}
.woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 16px 0 0 !important;
  padding: 0 !important;
}
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li a {
  font-family: var(--by-font-body) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: var(--by-muted) !important;
  padding: 14px 4px !important;
  text-transform: uppercase;
  letter-spacing: .06em;
  position: relative;
  border: none !important;
}
.woocommerce-tabs ul.tabs li.active a {
  color: var(--by-blue) !important;
}
.woocommerce-tabs ul.tabs li.active a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 3px;
  background: var(--by-blue);
  border-radius: 3px;
}
.woocommerce-Tabs-panel {
  padding: 24px 0 !important;
  font-size: 15px;
  line-height: 1.7;
  color: var(--by-text);
}

/* Related products section */
.related.products > h2,
.upsells.products > h2 {
  font-family: var(--by-font-display);
  font-size: 1.5rem;
  margin: 48px 0 20px;
  color: var(--by-ink);
  font-weight: 400;
}

/* ====================================================================
   CART / MINI-CART touchpoints
   ==================================================================== */
.woocommerce-cart-form .actions .button,
.woocommerce .cart_totals .checkout-button {
  background: var(--by-orange) !important;
  color: #fff !important;
  border-radius: var(--by-radius-pill) !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
  border: none !important;
  font-family: var(--by-font-body) !important;
}
.woocommerce-cart-form .actions .button:hover,
.woocommerce .cart_totals .checkout-button:hover {
  background: var(--by-orange-deep) !important;
}

.woocommerce-info,
.woocommerce-message {
  border-top-color: var(--by-blue) !important;
  background-color: var(--by-bg-blue) !important;
  color: var(--by-ink);
  border-radius: var(--by-radius-card);
  font-family: var(--by-font-body);
}
.woocommerce-info::before,
.woocommerce-message::before {
  color: var(--by-blue) !important;
}

/* ====================================================================
   HEADER & MOBILE
   ==================================================================== */
@media (max-width: 768px) {
  .site-header .site-logo img,
  .header-logo img,
  .custom-logo {
    max-height: 60px !important;
    width: auto !important;
  }

  .blueby-hero { padding: 48px 20px 60px; margin-bottom: 32px; }
  .single-product .product .entry-summary { padding: 24px 0 0; }
  .single-product form.cart { gap: 10px; }
  .single-product .single_add_to_cart_button { flex: 1; }
}

/* ====================================================================
   ARCHIVE pagination
   ==================================================================== */
.woocommerce-pagination ul.page-numbers {
  display: flex !important;
  gap: 6px;
  border: none !important;
  list-style: none;
  justify-content: center;
  padding: 24px 0;
}
.woocommerce-pagination ul.page-numbers li {
  border: none !important;
  margin: 0 !important;
}
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--by-radius-pill);
  font-family: var(--by-font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--by-text);
  background: var(--by-bg-soft);
  border: none;
  text-decoration: none;
  transition: all .2s;
}
.woocommerce-pagination ul.page-numbers li a:hover {
  background: var(--by-bg-blue);
  color: var(--by-blue);
}
.woocommerce-pagination ul.page-numbers li span.current {
  background: var(--by-blue);
  color: #fff;
}

/* ====================================================================
   COMPACT FIXES — page wrappers, breadcrumbs alignment
   ==================================================================== */
.woocommerce-products-header { display: none; }

/* Kadence sometimes adds page-title block above shop. Hide for /shop only */
body.post-type-archive-product .entry-header,
body.post-type-archive-product .page-header {
  display: none;
}

/* small tweak: the archive "results count + sorting" row */
.woocommerce-notices-wrapper { margin: 0; }
.woocommerce-result-count { float: none !important; margin: 0 !important; }
.woocommerce-ordering    { float: none !important; margin: 0 !important; }

.blueby-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 28px;
  padding: 0;
}
@media (max-width: 600px) {
  .blueby-toolbar { flex-direction: column; align-items: flex-start; }
}

/* end of file */

/* ====================================================================
   v3.1 — Additional rules for .blueby-* HTML hooks emitted by snippet
   These ensure hero gradient, trust icons, and section heads render.
   ==================================================================== */

.blueby-hero {
  background: linear-gradient(135deg, #0390AC 0%, #2563EB 100%) !important;
  color: #fff !important;
  padding: clamp(48px, 9vw, 96px) 24px !important;
  text-align: center !important;
  margin: 0 0 32px !important;
  border-radius: 0 !important;
  position: relative;
  overflow: hidden;
}
.blueby-hero__inner { max-width: 820px; margin: 0 auto; }
.blueby-hero__title {
  font-family: var(--by-font-display) !important;
  font-size: clamp(36px, 5vw, 56px) !important;
  line-height: 1.05 !important;
  color: #fff !important;
  margin: 12px 0 14px !important;
  font-weight: 400 !important;
}
.blueby-hero__desc {
  font-family: var(--by-font-body);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255,255,255,.95) !important;
}

.blueby-eyebrow {
  display: inline-block;
  font-family: var(--by-font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--by-radius-pill);
  background: var(--by-bg-blue);
  color: var(--by-blue-deep);
}
.blueby-eyebrow--onhero {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
  backdrop-filter: blur(4px);
}

.blueby-trust {
  background: #fff;
  border-bottom: 1px solid var(--by-line);
  padding: 18px 24px;
  margin: -32px 0 32px;
}
.blueby-trust__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
}
.blueby-trust__item {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--by-text);
  font-weight: 500;
}
.blueby-trust__icon {
  display: inline-flex !important;
  width: 28px !important;
  height: 28px !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  background: var(--by-bg-soft) !important;
  font-size: 14px;
  flex: none;
}

.blueby-section { padding: 56px 0 24px; }
.blueby-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}
.blueby-section__title {
  font-family: var(--by-font-display);
  color: var(--by-ink);
  font-size: clamp(28px, 3.6vw, 38px);
  margin: 12px 0 8px;
  font-weight: 400;
}
.blueby-section__desc {
  color: var(--by-muted);
  font-size: 16px;
  line-height: 1.55;
}
.blueby-section--creative-explorer-kits .blueby-eyebrow { background: var(--by-bg-teal); color: var(--by-teal); }
.blueby-section--mini-art-kits .blueby-eyebrow { background: var(--by-orange-soft); color: var(--by-orange); }

.blueby-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 4px 0;
  margin: 0 0 -4px;
}
.blueby-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--by-radius-pill);
  line-height: 1;
}
.blueby-badge--mini     { background: var(--by-orange-soft); color: var(--by-orange); }
.blueby-badge--explorer { background: var(--by-bg-teal); color: var(--by-teal); }
.blueby-badge--master   { background: #F3E8FF; color: var(--by-purple); }
.blueby-badge--popular  { background: var(--by-orange); color: #fff; }
.blueby-badge--soon     { background: var(--by-line); color: var(--by-muted); }

.blueby-card__tag {
  font-size: 13px;
  color: var(--by-muted);
  margin: 4px 4px 0;
}

.blueby-singletrust {
  list-style: none;
  margin: 18px 0 24px !important;
  padding: 14px 16px !important;
  background: var(--by-bg-soft);
  border: 1px solid var(--by-line);
  border-radius: 14px;
}
.blueby-singletrust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--by-text);
  padding: 4px 0;
}
.blueby-singletrust li::before {
  content: '✓';
  color: var(--by-orange);
  font-weight: 800;
  width: 22px; height: 22px;
  flex: none;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--by-orange-soft);
  border-radius: 50%;
  font-size: 13px;
}

.blueby-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 0 24px;
  border-bottom: 1px solid var(--by-line);
  margin-bottom: 32px;
}
.blueby-bc-sep { opacity: .55; }

/* Hide default WC shop title (we render hero) */
.woocommerce .page-title,
.woocommerce-products-header__title,
body.archive.post-type-archive-product .entry-header,
body.tax-product_cat .entry-header,
.woocommerce-result-count {
  display: none !important;
}

/* end v3.1 .blueby-* additions */

/* ====================================================================
   v3.1 polish — fix badge overflow on cards
   ==================================================================== */
.woocommerce ul.products li.product { overflow: visible !important; }
.blueby-badges {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.blueby-badge {
  white-space: nowrap;
}
/* If two badges per card, stack below first if needed */
.blueby-badges .blueby-badge + .blueby-badge {
  margin-left: 0;
}
/* end polish */

/* ====================================================================
   v3.2 — FOOTER (matches main site www.bluebyartshop.com)
   Solid blue #2563EB background, white text, 4-col grid, Fredoka headings.
   Selectors target the actual HTML emitted on store: .blueby-footer-*
   ==================================================================== */

/* Override Kadence's white footer wrapper */
body .site-footer,
body .site-footer-wrap,
body .site-footer-row-container,
body .site-footer-row-container-inner,
body .site-footer-row,
body .site-top-footer-inner-wrap,
body .site-footer .site-container,
body .site-footer-top-section-1,
body .site-footer .footer-widget-area,
body .site-footer .footer-widget-area-inner,
body .site-footer .widget,
body .site-footer .widget.widget_block,
body .site-footer #block-7 {
  background: #2563EB !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  max-width: none !important;
}

body .site-footer .footer-widget-area {
  width: 100%;
  max-width: 100%;
}

/* The custom blueby-footer container */
body .site-footer .blueby-footer,
body .blueby-footer {
  background: #2563EB !important;
  color: #ffffff !important;
  padding: 56px 24px 28px !important;
  margin: 0 !important;
  font-family: var(--by-font-body);
}

body .blueby-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* 4-column grid */
body .blueby-footer-grid {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1fr 1fr !important;
  gap: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body .blueby-footer-col {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body .blueby-footer-col::marker { content: '' !important; }

/* Brand column */
body .blueby-footer-brand .blueby-footer-logo-link {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
}
body .blueby-footer-logo {
  width: 152px !important;
  height: auto !important;
  max-width: 152px !important;
  display: block;
  filter: brightness(0) invert(1); /* white logo */
}
body .blueby-footer-tagline {
  color: rgba(255,255,255,.88) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  margin: 8px 0 0 !important;
  max-width: 280px;
}

/* Headings */
body .blueby-footer-heading,
body .blueby-footer h4.blueby-footer-heading {
  font-family: var(--by-font-display) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  margin: 0 0 16px !important;
  letter-spacing: 0;
  text-transform: none;
}

/* Lists — kill bullets fully */
body .blueby-footer-list {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body .blueby-footer-list li {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.5;
}
body .blueby-footer-list li::before,
body .blueby-footer-list li::marker {
  display: none !important;
  content: '' !important;
}
body .blueby-footer-list a {
  color: rgba(255,255,255,.85) !important;
  text-decoration: none !important;
  transition: color .15s ease;
}
body .blueby-footer-list a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Bottom bar (copy + legal) */
body .blueby-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.25) !important;
  margin-top: 40px !important;
  padding-top: 24px !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
body .blueby-footer-copy {
  color: #BFDBFE !important;
  font-size: 14px !important;
  margin: 0 !important;
}

body .blueby-footer-legal {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
body .blueby-footer-legal li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body .blueby-footer-legal li::before,
body .blueby-footer-legal li::marker {
  display: none !important;
  content: '' !important;
}
body .blueby-footer-legal a {
  color: #BFDBFE !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: color .15s ease;
}
body .blueby-footer-legal a:hover {
  color: #ffffff !important;
}

/* Hide Kadence default footer credits / extra rows */
body .site-footer .site-bottom-footer-wrap,
body .site-footer .site-bottom-footer-inner-wrap,
body .site-footer .footer-html.content-align-default {
  display: none !important;
}
body .site-footer .blueby-footer ~ * { display: none !important; }

/* Mobile */
@media (max-width: 900px) {
  body .blueby-footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 24px !important;
  }
  body .blueby-footer-brand { grid-column: 1 / -1; }
  body .blueby-footer-tagline { max-width: none; }
}
@media (max-width: 560px) {
  body .blueby-footer { padding: 40px 20px 24px !important; }
  body .blueby-footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  body .blueby-footer-bottom { flex-direction: column; align-items: flex-start; }
}
/* end footer v3.2 */

/* ====================================================================
   v3.3 — TRUST BAR centering & robust spacing
   Force full-width container, perfect horizontal centering, robust spacing.
   ==================================================================== */

/* Full-bleed trust bar that breaks out of any 1240 content container */
.blueby-trust {
  display: block !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: -32px !important;
  margin-bottom: 32px !important;
  padding: 18px 24px !important;
  background: #ffffff !important;
  border-bottom: 1px solid var(--by-line) !important;
  text-align: center !important;
  box-sizing: border-box;
}

.blueby-trust__inner {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 14px 32px !important;
  list-style: none !important;
}

.blueby-trust__item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--by-text) !important;
  white-space: nowrap;
  line-height: 1.4 !important;
}

.blueby-trust__icon {
  display: inline-flex !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: var(--by-bg-soft) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  flex: 0 0 auto !important;
}

@media (max-width: 768px) {
  .blueby-trust { padding: 14px 16px !important; }
  .blueby-trust__inner { gap: 10px 18px !important; }
  .blueby-trust__item { font-size: 13px !important; }
}
/* end trust bar v3.3 */

/* ====================================================================
   v3.4 — TRUST BAR full-bleed fix
   The .blueby-trust sits inside a Kadence content container limited to ~1100px.
   We need the white bar to span the full viewport while the inner items stay centered.
   Use position absolute trick or force width with left:50% transform.
   ==================================================================== */

.blueby-trust {
  /* Reset margin-trick approach (was unreliable inside flex/grid parents) */
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  width: 100vw !important;
  max-width: 100vw !important;
  padding: 22px max(24px, calc((100vw - 1200px) / 2)) !important;
  box-sizing: border-box !important;
  margin-top: -32px !important;
  margin-bottom: 40px !important;
  background: #ffffff !important;
  border-bottom: 1px solid var(--by-line) !important;
  display: block !important;
  text-align: center !important;
  /* Avoid horizontal scrollbar caused by 100vw on pages with vertical scrollbar */
  overflow-x: hidden;
}

/* Need to also break out of the wp-site-blocks padding by adjusting content overflow */
body.archive.post-type-archive-product,
body.tax-product_cat {
  overflow-x: hidden;
}

.blueby-trust__inner {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px 32px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}

@media (max-width: 768px) {
  .blueby-trust { padding: 16px 16px !important; }
  .blueby-trust__inner { gap: 10px 20px !important; }
}
/* end trust bar v3.4 */

/* ====================================================================
   v3.5 — Subscription card badges: prevent overlap, ensure inline layout
   ==================================================================== */

/* Badges container is a normal flex row INSIDE the card flow (not absolute) */
.woocommerce ul.products li.product .blueby-badges,
ul.products li.product .blueby-badges,
.blueby-badges {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 22px !important;
  margin: 8px 4px 0 !important;
  padding: 0 !important;
  z-index: auto !important;
  overflow: visible !important;
}

/* Each badge is a discrete inline-flex pill, never overlapping siblings */
.woocommerce ul.products li.product .blueby-badge,
ul.products li.product .blueby-badge,
.blueby-badge {
  position: static !important;
  top: auto !important;
  right: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 5px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
  border-radius: 999px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Color variants reaffirmed (in case anything overrode them) */
.blueby-badge--mini     { background: #FFF4ED !important; color: #C2410C !important; }
.blueby-badge--explorer { background: #E0F7FA !important; color: #0390AC !important; }
.blueby-badge--master   { background: #F3E8FF !important; color: #7C3AED !important; }
.blueby-badge--popular  { background: #C2410C !important; color: #ffffff !important; }
.blueby-badge--soon     { background: #E2E8F0 !important; color: #64748B !important; }

/* On narrow cards, allow second badge to wrap to next line cleanly */
@media (max-width: 640px) {
  .blueby-badges { gap: 6px !important; }
  .blueby-badge { font-size: 10px !important; padding: 4px 9px !important; }
}
/* end badges v3.5 */

/* ====================================================================
   v3.6 — Center the 3 Subscription cards (instead of left-aligned grid)
   ==================================================================== */

.blueby-section--subscriptions ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 24px !important;
  grid-template-columns: none !important;
}
.blueby-section--subscriptions ul.products li.product {
  flex: 0 1 282px !important;
  max-width: 320px !important;
  width: 282px !important;
}

@media (max-width: 1024px) {
  .blueby-section--subscriptions ul.products li.product {
    flex-basis: 280px !important;
    width: 280px !important;
  }
}
@media (max-width: 768px) {
  .blueby-section--subscriptions ul.products {
    gap: 16px !important;
  }
  .blueby-section--subscriptions ul.products li.product {
    flex-basis: calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
    max-width: 100% !important;
  }
}
@media (max-width: 480px) {
  .blueby-section--subscriptions ul.products li.product {
    flex-basis: 100% !important;
    width: 100% !important;
  }
}
/* end v3.6 */

/* ====================================================================
   v3.7 — Subscription cards order: Mini Artist → Creative Explorer → Master Creator
   Use CSS order on flex children. Targets cards by product slug class.
   ==================================================================== */

/* WooCommerce post-NNN classes — target cards by post ID */
.blueby-section--subscriptions ul.products li.product { order: 99; }

/* Mini Artist Subscription = post-238 → first (left) */
.blueby-section--subscriptions ul.products li.product.post-238 { order: 1 !important; }

/* Creative Explorer Subscription = post-239 → center (Most Popular) */
.blueby-section--subscriptions ul.products li.product.post-239 { order: 2 !important; }

/* Master Creator Subscription = post-237 → last (right) */
.blueby-section--subscriptions ul.products li.product.post-237 { order: 3 !important; }
/* end v3.7 */
