:root {
  --sc-bar-h: 40px;
  --sc-header-bg: #9a4010;
  --sc-dark: #5c2a10;
}

/* ========== ANNOUNCEMENT BAR ========== */
.stitchlings-bar {
  align-items: center;
  background: var(--sc-header-bg);
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  font-family: var(--stitchlings-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.5rem;
  justify-content: center;
  left: 0;
  letter-spacing: 0.02em;
  min-height: var(--sc-bar-h);
  padding: 0 2.5rem;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  z-index: 9999;
}

.stitchlings-bar strong {
  color: #fde8d5;
}

.stitchlings-bar-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: rgba(255, 245, 240, 0.6);
  cursor: pointer;
  display: flex;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.3rem;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.15s ease;
}

.stitchlings-bar-close:hover {
  color: #ffffff;
}

body,
.wp-site-blocks {
  background: #ffffff;
  color: var(--stitchlings-text);
  font-family: var(--stitchlings-font-body);
}

.wp-site-blocks {
  padding-top: var(--sc-bar-h);
}

.wp-site-blocks :is(h1, h2, h3, h4, h5, h6, .wp-block-site-title, .wp-block-site-title a, .wp-block-post-title, .wp-block-post-title a) {
  color: var(--stitchlings-text);
  font-family: var(--stitchlings-font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.wp-site-blocks :is(p, li, figcaption, blockquote, .wp-block-site-tagline, .wp-block-post-excerpt__excerpt) {
  color: var(--stitchlings-text-2);
  line-height: 1.6;
}

.wp-site-blocks :where(a:not(.wp-element-button):not(.wp-block-navigation-item__content):not(.wc-block-customer-account__link)) {
  color: #7d3a1a;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.wp-site-blocks :where(a:not(.wp-element-button):not(.wp-block-navigation-item__content):not(.wc-block-customer-account__link)):hover {
  color: #9a4010;
}

header.wp-block-template-part {
  background: var(--sc-header-bg);
  border-bottom: 1px solid rgba(255, 245, 240, 0.12);
  padding: 0;
  position: sticky;
  top: var(--sc-bar-h);
  z-index: 9997;
}

header.wp-block-template-part > .wp-block-group {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-inline: auto;
  max-width: 1440px;
  padding: 0.85rem 1.5rem;
}

header.wp-block-template-part .wp-block-site-logo img {
  height: auto;
  max-height: 78px;
  width: auto;
}

header.wp-block-template-part .wp-block-search__inside-wrapper {
  background: rgba(255, 245, 240, 0.12);
  border: 1.5px solid rgba(255, 245, 240, 0.3);
  border-radius: var(--stitchlings-radius-pill);
  padding: 4px;
}

header.wp-block-template-part .wp-block-search__input {
  background: transparent;
  border: 0 !important;
  border-radius: var(--stitchlings-radius-pill);
  box-shadow: none !important;
  color: #ffffff;
  min-height: 44px;
  padding-inline: 1rem;
}

header.wp-block-template-part .wp-block-search__input::placeholder {
  color: rgba(255, 245, 240, 0.5);
}

header.wp-block-template-part .wp-block-search__button {
  background: rgba(255, 245, 240, 0.18);
  border: 0;
  border-radius: var(--stitchlings-radius-pill);
  color: #fde8d5;
  min-height: 44px;
  padding-inline: 0.95rem;
}

header.wp-block-template-part .wp-block-navigation__responsive-container-open,
header.wp-block-template-part .wp-block-navigation__responsive-container-close {
  align-items: center;
  background: transparent;
  border: 1.5px solid rgba(255, 245, 240, 0.4);
  border-radius: 8px;
  color: rgba(255, 245, 240, 0.9);
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

header.wp-block-template-part .wp-block-navigation__responsive-container,
header.wp-block-template-part .wp-block-navigation__responsive-dialog {
  background: var(--sc-header-bg);
}

header.wp-block-template-part .wp-block-navigation-item__content {
  border-radius: 4px;
  color: rgba(255, 245, 240, 0.88);
  font-family: var(--stitchlings-font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
}

header.wp-block-template-part .wp-block-navigation-item__content:hover,
header.wp-block-template-part .wp-block-navigation-item__content:focus {
  background: transparent;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

header.wp-block-template-part .wp-block-woocommerce-customer-account .wc-block-customer-account__link,
header.wp-block-template-part .wp-block-woocommerce-customer-account .wc-block-customer-account__toggle {
  align-items: center;
  background: transparent;
  border: 1.5px solid rgba(255, 245, 240, 0.4);
  border-radius: 8px;
  color: rgba(255, 245, 240, 0.9);
  display: flex;
  justify-content: center;
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
}

.home .entry-content > .wp-block-group.alignfull:first-child {
  background: linear-gradient(to bottom, var(--stitchlings-brand) 0%, var(--stitchlings-brand-light) 100%) !important;
  min-height: 42vh;
  overflow: hidden;
  position: relative;
}

.home .entry-content > .wp-block-group.alignfull:first-child::before {
  display: none;
}

/* Remove inner white card — text shows directly on gradient */
.home .entry-content > .wp-block-group.alignfull:first-child > .wp-block-group {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-block: 3.5rem !important;
}

/* Hide the 3 preview images and Discover Now CTA */
.home .entry-content > .wp-block-group.alignfull:first-child .wp-block-columns,
.home .entry-content > .wp-block-group.alignfull:first-child .wp-block-gallery {
  display: none !important;
}

.home .entry-content > .wp-block-group.alignfull:first-child .wp-block-buttons {
  display: none !important;
}

.home .entry-content > .wp-block-group.alignfull:first-child > * {
  position: relative;
  z-index: 1;
}

.home .entry-content > .wp-block-group.alignfull:first-child h1 {
  color: var(--sc-dark) !important;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  letter-spacing: 0.01em;
  margin-inline: auto;
  max-width: 14ch;
  text-align: center;
}

.home .entry-content > .wp-block-group.alignfull:first-child .wp-block-paragraph {
  color: rgba(92, 42, 16, 0.85) !important;
  font-size: 1.1rem;
  font-weight: 500;
  margin-inline: auto;
  max-width: 55ch;
  text-align: center;
}

.home .entry-content > .wp-block-group.alignfull:first-child .wp-block-buttons {
  justify-content: center;
}

.home .entry-content > .wp-block-group.alignfull:first-child .wp-element-button,
.home .entry-content > .wp-block-group.alignfull:first-child .wp-block-button__link {
  background: var(--sc-dark) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.home .entry-content > .wp-block-group.alignfull:first-child .wp-element-button:hover,
.home .entry-content > .wp-block-group.alignfull:first-child .wp-block-button__link:hover {
  background: #3d1a08 !important;
  transform: none !important;
}

.home .entry-content > .wp-block-group.alignfull:first-child .wp-block-columns {
  gap: 1.25rem;
}

.home .entry-content > .wp-block-group.alignfull:first-child .wp-block-image img {
  border-radius: 20px !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
  transform: rotate(1.5deg);
  transition: transform 0.35s ease;
}

.home .entry-content > .wp-block-group.alignfull:first-child .wp-block-image:hover img {
  transform: rotate(0deg) scale(1.02);
}

#products {
  background: #ffffff !important;
}

#products h2,
#about h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.wp-block-woocommerce-product-collection {
  margin-top: 2rem;
}

.wc-block-product-template {
  gap: 1rem;
}

.wc-block-product {
  list-style: none;
}

.wc-block-product > .wp-block-group,
.wc-block-product .is-style-ext-preset--group--natural-1--item-card-1--align-start {
  background: #ffffff;
  border: 1px solid var(--stitchlings-border);
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wc-block-product:hover > .wp-block-group,
.wc-block-product:hover .is-style-ext-preset--group--natural-1--item-card-1--align-start {
  border-color: var(--stitchlings-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.wc-block-components-product-image img,
.wc-block-grid__product-image img {
  border-radius: 0;
  display: block;
  width: 100%;
}

.wc-block-components-product-sale-badge {
  background: var(--stitchlings-brand);
  border-radius: var(--stitchlings-radius-pill);
  box-shadow: 0 6px 14px rgba(230, 155, 123, 0.24);
  color: #ffffff;
  padding: 0.25rem 0.6rem;
}

.wp-block-post-title a {
  color: var(--stitchlings-text);
  text-decoration: none;
}

.taxonomy-product_cat a {
  align-items: center;
  background: var(--stitchlings-brand-xlight);
  border: 1px solid var(--stitchlings-border);
  border-radius: var(--stitchlings-radius-pill);
  color: #7d3a1a;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  text-decoration: none;
}

.wp-block-woocommerce-product-price .wc-block-grid__product-price {
  color: var(--sc-dark);
  font-weight: 800;
}

.wp-block-woocommerce-product-price ins {
  color: #c00000;
  text-decoration: none;
}

.wp-block-woocommerce-product-price del {
  color: #888;
}

.wp-block-woocommerce-product-button .wp-block-button__link,
.wp-block-woocommerce-product-button .wc-block-components-product-button__button,
.wp-element-button,
.wp-block-button__link,
.wc-block-components-button,
button.single_add_to_cart_button {
  align-items: center;
  background: var(--stitchlings-brand);
  border: 0;
  border-radius: var(--stitchlings-radius-pill);
  box-shadow: 0 8px 18px rgba(230, 155, 123, 0.26);
  color: #ffffff;
  display: inline-flex;
  font-family: var(--stitchlings-font-body);
  font-size: 0.9rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.03em;
  min-height: 46px;
  padding: 0.85rem 1.35rem;
  text-decoration: none;
  text-transform: uppercase;
}

.wp-block-woocommerce-product-button .wp-block-button__link:hover,
.wp-block-woocommerce-product-button .wc-block-components-product-button__button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.wc-block-components-button:hover,
button.single_add_to_cart_button:hover {
  background: var(--stitchlings-brand-dark);
  color: #ffffff;
}

/* Woobles-style outlined Add to Cart */
.wp-block-woocommerce-product-button .wp-block-button__link,
.wp-block-woocommerce-product-button .wc-block-components-product-button__button,
.wc-block-components-product-button__button {
  background: transparent !important;
  border: 1.5px solid var(--sc-dark) !important;
  box-shadow: none !important;
  color: var(--sc-dark) !important;
}

.wp-block-woocommerce-product-button .wp-block-button__link:hover,
.wp-block-woocommerce-product-button .wc-block-components-product-button__button:hover,
.wc-block-components-product-button__button:hover {
  background: var(--sc-dark) !important;
  color: #ffffff !important;
}

.wp-block-woocommerce-product-button .wp-block-button__link,
.wp-block-woocommerce-product-button .wc-block-components-product-button__button {
  width: 100%;
}

.wp-block-group.has-background,
.wp-block-cover,
.wp-block-image img,
.wp-block-post-featured-image img {
  border-radius: 24px;
}

footer.wp-block-template-part {
  background: #fde8d5;
  border-top: 2px solid var(--stitchlings-brand-light);
  padding: 3rem 2rem 2rem;
}

footer.wp-block-template-part h1,
footer.wp-block-template-part h2,
footer.wp-block-template-part h3 {
  color: var(--sc-dark);
}

footer.wp-block-template-part p {
  color: #7d3a1a;
}

footer.wp-block-template-part a:not(.wp-element-button) {
  color: #7d3a1a;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

footer.wp-block-template-part > * {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-inline: auto;
  max-width: 1280px;
}

.stitchlings-demo-hero {
  background: linear-gradient(135deg, #fdf0e8 0%, #ffffff 60%) !important;
  border-radius: 32px;
  box-shadow: 0 18px 34px rgba(230, 155, 123, 0.14);
  overflow: hidden;
  position: relative;
}

.stitchlings-demo-panel {
  background: #ffffff !important;
  border: 1px solid var(--stitchlings-border);
  border-radius: 24px;
  box-shadow: var(--stitchlings-shadow-soft);
}

.stitchlings-demo-chip {
  align-items: center;
  background: var(--stitchlings-brand-xlight);
  border: 1px solid var(--stitchlings-border);
  border-radius: var(--stitchlings-radius-pill);
  color: var(--stitchlings-brand-dark);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
}

.stitchlings-demo-shelf .wc-block-product-template {
  gap: 1rem;
}

/* ==============================================
   CARD STAGGER ANIMATION
   ============================================== */

@keyframes sc-card-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wc-block-product,
li.product {
  animation: sc-card-in 0.44s ease both;
  animation-delay: calc(var(--sc-card-i, 0) * 0.06s);
}

/* ==============================================
   PRODUCT IMAGE: SQUARE ASPECT + PASTEL PALETTE
   ============================================== */

.wc-block-components-product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.wc-block-components-product-image img {
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  width: 100% !important;
}

.wc-block-product:nth-child(5n+1) .wc-block-components-product-image { background: #ffd0b5; }
.wc-block-product:nth-child(5n+2) .wc-block-components-product-image { background: #c7f0d8; }
.wc-block-product:nth-child(5n+3) .wc-block-components-product-image { background: #ffd6e7; }
.wc-block-product:nth-child(5n+4) .wc-block-components-product-image { background: #c7dff0; }
.wc-block-product:nth-child(5n+5) .wc-block-components-product-image { background: #fef0c7; }

/* ==============================================
   IMAGE HOVER ZOOM + QUICK-VIEW TRIGGER
   ============================================== */

.sc-img-wrap {
  overflow: hidden;
  position: relative;
}

.sc-img-wrap img {
  display: block;
  transition: transform 0.38s cubic-bezier(0.34, 1.1, 0.64, 1);
  width: 100%;
}

.sc-img-wrap:hover img {
  transform: scale(1.07);
}

.sc-qv-trigger {
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  bottom: 14px;
  color: var(--stitchlings-text);
  cursor: pointer;
  display: flex;
  font-family: var(--stitchlings-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.35rem;
  justify-content: center;
  left: 50%;
  line-height: 1;
  opacity: 0;
  padding: 0.5rem 1.1rem;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
  z-index: 3;
}

.sc-img-wrap:hover .sc-qv-trigger {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* ==============================================
   SKILL LEVEL BADGE COLORS
   ============================================== */

.taxonomy-product_cat a[href*="beginner"],
.product_cat a[href*="beginner"] {
  background: #dcfce7 !important;
  border-color: #86efac !important;
  color: #15803d !important;
}

.taxonomy-product_cat a[href*="intermediate"],
.product_cat a[href*="intermediate"] {
  background: #fef9c3 !important;
  border-color: #fde047 !important;
  color: #92400e !important;
}

.taxonomy-product_cat a[href*="advanced"],
.product_cat a[href*="advanced"] {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #991b1b !important;
}

/* ==============================================
   CATEGORY CHIPS (YouTube-style)
   ============================================== */

.sc-cat-chips {
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.75rem;
  scrollbar-width: none;
}

.sc-cat-chips::-webkit-scrollbar { display: none; }

.sc-cat-chip {
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--stitchlings-border);
  border-radius: 999px;
  color: var(--stitchlings-text-2);
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  font-family: var(--stitchlings-font-body);
  font-size: 0.86rem;
  font-weight: 700;
  gap: 0.3rem;
  padding: 0.55rem 1.1rem;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.sc-cat-chip:hover {
  background: var(--stitchlings-brand-xlight);
  border-color: var(--stitchlings-brand-light);
  color: var(--stitchlings-brand-dark);
}

.sc-cat-chip.is-active {
  background: var(--stitchlings-brand);
  border-color: var(--stitchlings-brand);
  box-shadow: 0 4px 14px rgba(230, 155, 123, 0.36);
  color: #ffffff;
}

/* ==============================================
   QUICK-VIEW MODAL
   ============================================== */

.sc-qv-backdrop {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.52);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

.sc-qv-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Mobile: bottom sheet */
.sc-qv-modal {
  background: #ffffff;
  border-radius: 28px 28px 0 0;
  bottom: 0;
  box-shadow: 0 -16px 60px rgba(0, 0, 0, 0.18);
  left: 0;
  max-height: 90vh;
  overflow-y: auto;
  position: fixed;
  right: 0;
  transform: translateY(105%);
  transition: transform 0.38s cubic-bezier(0.34, 1.4, 0.64, 1);
  z-index: 10001;
}

.sc-qv-backdrop.is-open .sc-qv-modal {
  transform: translateY(0);
}

@media (min-width: 782px) {
  .sc-qv-modal {
    border-radius: 28px;
    bottom: auto;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
    left: 50%;
    max-height: 82vh;
    max-width: 860px;
    opacity: 0;
    right: auto;
    top: 50%;
    transform: translate(-50%, -52%) scale(0.94);
    transition: transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.28s ease;
    width: 92%;
  }
  .sc-qv-backdrop.is-open .sc-qv-modal {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.sc-qv-close {
  align-items: center;
  background: var(--stitchlings-surface-2);
  border: 1px solid var(--stitchlings-border);
  border-radius: 50%;
  color: var(--stitchlings-text-2);
  cursor: pointer;
  display: flex;
  height: 42px;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 14px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  width: 42px;
  z-index: 2;
}

.sc-qv-close:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

.sc-qv-inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 782px) {
  .sc-qv-inner {
    flex-direction: row;
    min-height: 380px;
  }
}

.sc-qv-image-wrap {
  background: var(--stitchlings-brand-xlight);
  flex-shrink: 0;
  overflow: hidden;
}

.sc-qv-image-wrap img {
  display: block;
  height: 260px;
  object-fit: cover;
  width: 100%;
}

@media (min-width: 782px) {
  .sc-qv-image-wrap {
    border-radius: 28px 0 0 28px;
    width: 44%;
  }
  .sc-qv-image-wrap img {
    height: 100%;
    max-height: 500px;
    min-height: 340px;
  }
}

.sc-qv-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
  padding: 1.6rem 1.5rem 2rem;
}

@media (min-width: 782px) {
  .sc-qv-body { padding: 3rem 2.5rem 2.5rem; }
}

.sc-qv-badge {
  background: var(--stitchlings-brand-xlight);
  border: 1px solid var(--stitchlings-brand-light);
  border-radius: 999px;
  color: var(--stitchlings-brand-dark);
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.85rem;
  text-transform: uppercase;
  width: fit-content;
}

.sc-qv-title {
  color: var(--stitchlings-text);
  font-family: var(--stitchlings-font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0.25rem 0;
}

.sc-qv-price {
  color: var(--stitchlings-brand-dark);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.25rem 0 0.5rem;
}

.sc-qv-desc {
  color: var(--stitchlings-text-2);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

.sc-qv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.sc-qv-primary {
  align-items: center;
  background: var(--stitchlings-brand);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(230, 155, 123, 0.32);
  color: #ffffff !important;
  display: inline-flex;
  font-family: var(--stitchlings-font-body);
  font-size: 0.95rem;
  font-weight: 800;
  gap: 0.4rem;
  padding: 0.95rem 1.8rem;
  text-decoration: none !important;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.sc-qv-primary:hover {
  background: var(--stitchlings-brand-dark);
  box-shadow: 0 14px 36px rgba(230, 155, 123, 0.44);
  color: #ffffff !important;
  transform: translateY(-2px);
}

@media (max-width: 781px) {
  header.wp-block-template-part {
    padding: 0;
  }

  .home .entry-content > .wp-block-group.alignfull:first-child {
    min-height: 44vh;
  }

  .home .entry-content > .wp-block-group.alignfull:first-child h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }
}

/* ==============================================
   FOOTER NAV COLUMNS (injected via JS)
   ============================================== */

.sc-footer-nav {
  border-top: 1px solid rgba(92, 42, 16, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  justify-content: flex-start;
  margin: 2rem auto 0;
  max-width: 900px;
  padding-top: 2rem;
}

.sc-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 130px;
}

.sc-footer-col-head {
  color: var(--sc-dark) !important;
  font-family: var(--stitchlings-font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 0.3rem;
  text-transform: uppercase;
}

.sc-footer-col a {
  color: #7d3a1a !important;
  font-size: 0.88rem;
  text-decoration: none;
}

.sc-footer-col a:hover {
  color: var(--sc-dark) !important;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 600px) {
  .sc-footer-nav {
    gap: 1.5rem 2rem;
  }

  .sc-footer-col {
    min-width: calc(50% - 1rem);
  }
}

/* ==============================================
   DARK MODE (prefers-color-scheme: dark)
   ============================================== */

@media (prefers-color-scheme: dark) {
  .sc-qv-modal {
    background: #1c1410;
    color: #f0ebe6;
  }

  .sc-qv-close {
    background: #2c1c14;
    border-color: #4a2c1c;
    color: #c8b4a8;
  }

  .sc-qv-close:hover {
    background: #5a1010;
    border-color: #9a2020;
    color: #f5a0a0;
  }

  .sc-qv-title { color: #f0ebe6; }

  .sc-qv-desc { color: #c8b4a8; }

  .sc-qv-price { color: #f5956a; }

  .sc-qv-badge {
    background: #3d1a08;
    border-color: #6b3010;
    color: #f5b590;
  }

  .sc-cat-chip {
    background: #2a1c14;
    border-color: #4a2c1c;
    color: #c8b4a8;
  }

  .sc-cat-chip:hover {
    background: #3d2418;
    border-color: var(--stitchlings-brand);
    color: #f5b590;
  }

  .sc-cat-chip.is-active {
    background: var(--stitchlings-brand-dark);
    border-color: var(--stitchlings-brand-dark);
    color: #ffffff;
  }

  .stitchlings-bar {
    background: #c47050;
    color: #fff5f0;
  }

  .stitchlings-bar strong { color: #fff5f0; }

  .stitchlings-bar-close { color: rgba(255, 245, 240, 0.6); }

  .stitchlings-bar-close:hover { color: #fff5f0; }
}
