/**
 * Blocksy-Specific Overrides — STEW Swiss-Minimal Aesthetic
 *
 * Keeps Blocksy's clean defaults while layering the STEW design language.
 * Uses STEW CSS custom properties defined in stew-main.css.
 *
 * @package STEW_Blocksy_Child
 * @version 1.0.0
 */

/* ==========================================================================
   0. BLOCKSY COLOR PALETTE OVERRIDES — Force light theme
   ========================================================================== */

:root {
    /* Override Blocksy's dark palette with STEW light colors */
    --theme-palette-color-1: hsl(38, 80%, 50%) !important;   /* Primary — gold */
    --theme-palette-color-2: hsl(38, 80%, 40%) !important;   /* Primary hover — dark gold */
    --theme-palette-color-3: #1A1A1A !important;              /* Headings — near black */
    --theme-palette-color-4: #737373 !important;              /* Body text — muted gray */
    --theme-palette-color-5: #E8E5E0 !important;              /* Borders — warm taupe */
    --theme-palette-color-6: #F8F7F5 !important;              /* Light bg — warm off-white */
    --theme-palette-color-7: #FFFFFF !important;              /* Site bg — pure white */
    --theme-palette-color-8: #0F0F0F !important;              /* Footer bg — foreground dark */
}

/* Force white site background + dark text globally */
body,
body.stew-theme {
    background-color: #FFFFFF !important;
    color: #1A1A1A !important;
    --theme-text-color: #1A1A1A !important;
    --theme-link-initial-color: #555 !important;
    --theme-link-hover-color: hsl(38, 80%, 50%) !important;
}

/* Blocksy content area — force white bg + dark text */
.ct-container,
.site-main,
main,
.content-area,
[data-page] {
    background-color: transparent !important;
    color: #1A1A1A !important;
}

/* Catch-all: prevent white/light text on white bg (except dark sections) */
.ct-container a,
.site-main a,
main a,
.ct-container p,
.site-main p,
.ct-container span,
.ct-container li {
    color: inherit;
}

/* Force dark text on headings */
h1, h2, h3, h4, h5, h6 {
    color: #1A1A1A !important;
}

/* WooCommerce elements — ensure dark text (exclude buttons) */
.woocommerce .product a:not(.button):not(.add_to_cart_button):not(.added_to_cart),
.woocommerce .products a:not(.button):not(.add_to_cart_button):not(.added_to_cart),
.woocommerce-page a:not(.button):not(.add_to_cart_button):not(.added_to_cart),
.woocommerce .widget a {
    --theme-link-initial-color: #1A1A1A;
    color: #1A1A1A !important;
}

.woocommerce .product a:not(.button):hover,
.woocommerce .products a:not(.button):hover,
.woocommerce-page a:not(.button):hover {
    color: hsl(38, 80%, 50%) !important;
}

/* Product card — consistent inner padding for all content elements */
.woocommerce ul.products li.product > *:not(.ct-image-container):not(.attachment-woocommerce_thumbnail):not(img),
ul.products li.product > *:not(.ct-image-container):not(.attachment-woocommerce_thumbnail):not(img):not(a:has(img)) {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box;
}

/* Product card titles in shop grid */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product a h2,
.woocommerce ul.products li.product a .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title,
.ct-woo-card-actions .woocommerce-loop-product__title,
[data-products] .woocommerce-loop-product__title {
    color: #1A1A1A !important;
}

/* Product card links — exclude buttons */
.woocommerce ul.products li.product a:not(.button):not(.add_to_cart_button),
ul.products li.product a:not(.button):not(.add_to_cart_button) {
    color: #1A1A1A !important;
}

.woocommerce ul.products li.product a:not(.button):hover,
ul.products li.product a:not(.button):hover {
    color: hsl(38, 80%, 50%) !important;
}

/* Product card price */
.woocommerce ul.products li.product .price,
ul.products li.product .price,
.woocommerce ul.products li.product .price .amount {
    color: #1A1A1A !important;
}

/* Add to cart buttons — white text on dark bg, gold on hover */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.added_to_cart,
ul.products li.product a.button {
    color: #FFFFFF !important;
    background: #1A1A1A !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover,
ul.products li.product a.button:hover {
    background: hsl(38, 80%, 50%) !important;
    color: #FFFFFF !important;
}

/* Product card category label — inline with name/price */
.woocommerce ul.products li.product .product-category-label,
ul.products li.product [data-product-categories],
.woocommerce ul.products li.product .ct-woo-card-actions [class*="categor"],
ul.products li.product [class*="categor"]:not(.button) {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999 !important;
    margin: 0.25rem 0 0;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    display: block;
}

/* WooCommerce product tabs — force readable text */
.woocommerce-tabs ul.wc-tabs li a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.wc-tabs li a {
    color: #777 !important;
}

.woocommerce-tabs ul.wc-tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.wc-tabs li.active a,
.woocommerce-tabs ul.wc-tabs li a:hover,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
.wc-tabs li a:hover {
    color: hsl(38, 80%, 50%) !important;
}

/* Product page general text */
.woocommerce div.product,
.woocommerce div.product p,
.woocommerce div.product .product_meta,
.woocommerce div.product .product_meta span,
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .price,
.woocommerce div.product .amount {
    color: #1A1A1A !important;
}

/* Product table (additional information) */
.woocommerce div.product .shop_attributes th,
.woocommerce div.product .shop_attributes td,
.woocommerce div.product .shop_attributes td p {
    color: #1A1A1A !important;
}

/* Hero section — left-aligned white text on dark overlay */
.stew-hero,
.stew-hero__content {
    text-align: left !important;
}

.stew-hero h1,
.stew-hero h2,
.stew-hero .stew-hero__title {
    color: #FFFFFF !important;
    text-align: left !important;
}

.stew-hero p,
.stew-hero span,
.stew-hero .stew-hero__subtitle {
    color: rgba(255, 255, 255, 0.80) !important;
    text-align: left !important;
}

.stew-hero .stew-hero__buttons {
    justify-content: flex-start !important;
}

/* ==========================================================================
   0b. SHOP SIDEBAR — Force dark text on filter elements
   ========================================================================== */

.stew-shop-sidebar,
.stew-shop-sidebar * {
    --theme-text-color: #1A1A1A;
    --theme-link-initial-color: #555;
}

.stew-shop-sidebar {
    color: #1A1A1A !important;
}

.stew-shop-sidebar h3,
.stew-shop-sidebar h4,
.stew-shop-sidebar .stew-shop-sidebar__title,
.stew-shop-sidebar .stew-filter-title,
.stew-shop-sidebar .stew-filter-toggle__label,
.stew-shop-sidebar button.stew-filter-toggle {
    color: #1A1A1A !important;
}

.stew-shop-sidebar a,
.stew-shop-sidebar .stew-filter-link,
.stew-shop-sidebar .stew-filter-label,
.stew-shop-sidebar li,
.stew-shop-sidebar li a,
.stew-shop-sidebar p,
.stew-shop-sidebar span,
.stew-shop-sidebar .widget_product_categories a,
.stew-shop-sidebar .widget a,
.stew-shop-sidebar .product-categories a {
    color: #555 !important;
    --theme-link-initial-color: #555 !important;
}

.stew-shop-sidebar a:hover,
.stew-shop-sidebar .widget_product_categories a:hover,
.stew-shop-sidebar .widget a:hover {
    color: #1A1A1A !important;
}

.stew-shop-sidebar .stew-filter-count {
    color: #999 !important;
}

.stew-shop-sidebar .stew-filter-item--active .stew-filter-link,
.stew-shop-sidebar .stew-filter-item--active .stew-filter-label {
    color: hsl(38, 80%, 50%) !important;
}

.stew-shop-sidebar .stew-shop-sidebar__reset {
    color: hsl(38, 80%, 50%) !important;
}

/* Shop main area text */
.stew-shop-main,
.stew-shop-main * {
    --theme-text-color: #1A1A1A;
}

.stew-shop-topbar__title {
    color: #1A1A1A !important;
}

.stew-shop-topbar__meta,
.stew-shop-topbar__meta .woocommerce-result-count {
    color: #999 !important;
}

/* ==========================================================================
   1. HEADER — Clean White / Frosted Glass (Erco / Flos inspired)
   ========================================================================== */

/* Match Blocksy's specificity: [data-header*="type-1"] .ct-header */
/* :not(.ct-panel) excludes the offcanvas mobile drawer which also has class ct-header */
[data-header*="type-1"] .ct-header:not(.ct-panel),
/* Scope this rule to the actual header element. Earlier selector
   `[data-header]:not(.ct-panel)` matched <body> (Blocksy sets
   data-header="type-1" on body for global styling), which made
   backdrop-filter apply to body and turned body into a containing
   block for ALL position:fixed descendants. That broke the
   mobile filter toggle button (its bottom:24px was resolving
   13kpx below the viewport instead of anchoring to it). */
.ct-header:not(.ct-panel),
header.ct-header,
header[data-header] {
    background: rgba(255, 255, 255, 0.80) !important;
    background-color: rgba(255, 255, 255, 0.80) !important;
    background-image: none !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 229, 224, 0.5) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Override Blocksy's inline row backgrounds — match their specificity exactly */
[data-header*="type-1"] .ct-header:not(.ct-panel) [data-row*="middle"],
[data-header*="type-1"] .ct-header:not(.ct-panel) [data-row*="top"],
[data-header*="type-1"] .ct-header:not(.ct-panel) [data-row*="bottom"],
[data-header*="type-1"] .ct-header:not(.ct-panel) [data-row],
[data-header]:not(.ct-panel) [data-row],
.ct-header:not(.ct-panel) [data-row] {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
}

.ct-header:not(.ct-panel)[data-sticky="yes"] {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   2. NAVIGATION — Animated gold underline on hover / active
   ========================================================================== */

/* Match Blocksy specificity: [data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a */
[data-header*="type-1"] .ct-header:not(.ct-panel) [data-id="menu"] > ul > li > a,
.ct-header:not(.ct-panel) nav a,
.ct-header:not(.ct-panel) .ct-menu > li > a,
[data-header]:not(.ct-panel) nav a,
[data-header]:not(.ct-panel) .ct-menu > li > a {
    --theme-link-initial-color: #1A1A1A !important;
    --theme-font-weight: 500 !important;
    --theme-font-size: 0.875rem !important;
    --theme-text-transform: none !important;
    font-family: var(--stew-font, 'Inter', sans-serif) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #1A1A1A !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    position: relative;
    transition: color 0.25s ease;
}

/* Gold underline pseudo-element */
.ct-header:not(.ct-panel) .ct-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: hsl(38, 80%, 50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Expand underline on hover, focus, and active states */
.ct-header:not(.ct-panel) .ct-menu > li > a:hover::after,
.ct-header:not(.ct-panel) .ct-menu > li > a:focus::after,
.ct-header:not(.ct-panel) .ct-menu > .current-menu-item > a::after,
.ct-header:not(.ct-panel) .ct-menu > .current-menu-ancestor > a::after {
    width: 100%;
    left: 0;
}

.ct-header:not(.ct-panel) nav a:hover,
.ct-header:not(.ct-panel) nav a:focus,
.ct-header:not(.ct-panel) .ct-menu > li > a:hover,
[data-header]:not(.ct-panel) nav a:hover {
    color: hsl(38, 80%, 50%) !important;
}

/* Active state */
.ct-header:not(.ct-panel) .ct-menu > .current-menu-item > a,
.ct-header:not(.ct-panel) .ct-menu > .current-menu-ancestor > a {
    color: hsl(38, 80%, 50%) !important;
}

/* Sub-menu */
.ct-header:not(.ct-panel) .sub-menu {
    border-radius: var(--stew-radius, 6px);
    border: 1px solid rgba(232, 229, 224, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.98);
}

/* ==========================================================================
   3. LOGO & SITE TITLE
   ========================================================================== */

.ct-header:not(.ct-panel) .site-logo-container img {
    max-height: 40px;
    width: auto;
}

/* Site title text in header (when no logo image is set) */
[data-header*="type-1"] .ct-header:not(.ct-panel) [data-id="logo"] .site-title,
.ct-header:not(.ct-panel) .site-title,
.ct-header:not(.ct-panel) .site-title a,
[data-header]:not(.ct-panel) .site-title,
[data-header]:not(.ct-panel) .site-title a {
    --theme-link-initial-color: #1A1A1A !important;
    color: #1A1A1A !important;
    font-family: var(--stew-font, 'Inter', sans-serif) !important;
    font-weight: 600 !important;
}

/* Header icon colors (cart, search, etc.) */
.ct-header:not(.ct-panel) .ct-header-cart,
.ct-header:not(.ct-panel) [class*="ct-header-"] svg,
[data-header]:not(.ct-panel) svg {
    color: #1A1A1A !important;
}

/* ==========================================================================
   4. FOOTER — Dark with gold accents (Erco / Flos contrast)
   ========================================================================== */

/* Match Blocksy's specificity: [data-footer*="type-1"] .ct-footer */
[data-footer*="type-1"] .ct-footer,
footer.ct-footer,
footer[data-footer],
[data-footer] {
    background: #0F0F0F !important;
    background-color: #0F0F0F !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-family: var(--stew-font, 'Inter', sans-serif);
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
}

/* Override Blocksy's inline footer row backgrounds */
[data-footer*="type-1"] .ct-footer [data-row*="bottom"],
[data-footer*="type-1"] .ct-footer [data-row],
[data-footer] [data-row],
footer.ct-footer [data-row] {
    background-color: #0F0F0F !important;
    background: #0F0F0F !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

[data-footer*="type-1"] .ct-footer a,
footer.ct-footer a,
[data-footer] a {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color 0.25s ease;
}

[data-footer*="type-1"] .ct-footer a:hover,
footer.ct-footer a:hover,
[data-footer] a:hover {
    color: hsl(38, 80%, 50%) !important;
}

[data-footer*="type-1"] .ct-footer h2,
[data-footer*="type-1"] .ct-footer h3,
[data-footer*="type-1"] .ct-footer h4,
footer.ct-footer h2,
footer.ct-footer h3,
footer.ct-footer h4 {
    color: #FFFFFF !important;
    font-family: var(--stew-font, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Footer copyright and widget text */
[data-footer*="type-1"] [data-id="copyright"],
[data-footer*="type-1"] .ct-footer [data-id="copyright"],
[data-footer] [data-id="copyright"] {
    color: rgba(255, 255, 255, 0.5) !important;
}

[data-footer*="type-1"] .ct-footer p,
[data-footer*="type-1"] .ct-footer span,
[data-footer*="type-1"] .ct-footer li,
footer.ct-footer p,
footer.ct-footer span {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ==========================================================================
   4b. STEW CUSTOM FOOTER
   ========================================================================== */

/* Hide Blocksy's built-in footer when custom footer is present */
footer.ct-footer {
    display: none !important;
}

/* Custom footer base — !important needed to override Blocksy theme vars */
.stew-footer,
footer#stew-footer {
    background: #0F0F0F !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-family: var(--stew-font, 'Inter', sans-serif) !important;
    font-size: 0.875rem !important;
    line-height: 1.7 !important;
    padding: 0 !important;
}

.stew-footer a,
footer#stew-footer a,
.stew-footer a:visited,
footer#stew-footer a:visited {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.stew-footer a:hover,
footer#stew-footer a:hover {
    color: #C9A96E !important;
}

/* Container (footer-scoped — homepage .stew-container is in stew-custom.css) */
.stew-footer .stew-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Footer inner (main content area) */
.stew-footer__inner {
    padding: 64px 24px 48px;
}

/* 4-column grid */
.stew-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 0.8fr;
    gap: 48px;
}

/* Brand column */
.stew-footer__logo {
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #FFFFFF !important;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.stew-footer__logo:hover {
    color: #C9A96E !important;
}

.stew-footer__desc,
footer#stew-footer .stew-footer__desc {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8125rem !important;
    line-height: 1.8 !important;
    margin: 0;
    max-width: 280px;
}

/* Column headings */
.stew-footer__heading {
    color: #FFFFFF !important;
    font-family: var(--stew-font, 'Inter', sans-serif);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 0 0 20px;
}

/* Link lists */
.stew-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.stew-footer__links li {
    margin-bottom: 10px;
}

.stew-footer__links a,
footer#stew-footer .stew-footer__links a,
.stew-footer__links a:visited {
    font-size: 0.8125rem !important;
    color: rgba(255, 255, 255, 0.55) !important;
}

.stew-footer__links a:hover,
footer#stew-footer .stew-footer__links a:hover {
    color: #C9A96E !important;
}

/* Contact list (with icons) */
.stew-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.stew-footer__contact li,
footer#stew-footer .stew-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.8125rem !important;
    color: rgba(255, 255, 255, 0.55) !important;
}

.stew-footer__contact li svg,
footer#stew-footer .stew-footer__contact li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.4) !important;
}

.stew-footer__contact a,
footer#stew-footer .stew-footer__contact a,
.stew-footer__contact a:visited {
    color: rgba(255, 255, 255, 0.55) !important;
}

.stew-footer__contact a:hover,
footer#stew-footer .stew-footer__contact a:hover {
    color: #C9A96E !important;
}

.stew-footer__contact span,
footer#stew-footer .stew-footer__contact span {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* Bottom bar */
.stew-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.stew-footer__bottom p,
footer#stew-footer .stew-footer__bottom p {
    margin: 0;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.35) !important;
    text-align: center;
}

/* Footer responsive */
@media (max-width: 991px) {
    .stew-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }
}

@media (max-width: 575px) {
    .stew-footer__inner {
        padding: 48px 20px 36px;
    }

    .stew-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stew-footer__desc {
        max-width: none;
    }
}

/* ==========================================================================
   5. MOBILE MENU / OFFCANVAS
   ========================================================================== */

#offcanvas,
.ct-offcanvas,
.ct-panel {
    font-family: var(--stew-font, 'Inter', sans-serif) !important;
    --theme-text-color: #FFFFFF !important;
    --theme-link-initial-color: #FFFFFF !important;
    --theme-link-hover-color: #C9A96E !important;
    --theme-heading-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

#offcanvas a,
.ct-offcanvas a,
.ct-panel a,
.ct-panel .ct-menu-link,
#offcanvas .ct-menu-link,
.ct-offcanvas .ct-menu-link {
    font-weight: 500 !important;
    color: #FFFFFF !important;
    transition: color 0.25s ease !important;
}

#offcanvas a:hover,
.ct-offcanvas a:hover,
.ct-panel a:hover,
.ct-panel .ct-menu-link:hover {
    color: #C9A96E !important;
}

/* Mobile menu item text and icons */
.ct-panel .ct-toggle-close,
.ct-panel .ct-toggle-close svg,
#offcanvas .ct-toggle-close {
    color: #FFFFFF !important;
}

.ct-panel span,
.ct-panel li,
#offcanvas span,
#offcanvas li {
    color: #FFFFFF !important;
}

/* Mobile submenu dropdown — force dark bg to match panel */
.ct-panel .sub-menu,
.ct-panel ul.sub-menu,
#offcanvas .sub-menu,
#offcanvas ul.sub-menu,
.ct-offcanvas .sub-menu {
    background: #1A1A1A !important;
    border: none !important;
    box-shadow: none !important;
}

.ct-panel .sub-menu a,
.ct-panel .sub-menu .ct-menu-link,
#offcanvas .sub-menu a,
#offcanvas .sub-menu .ct-menu-link {
    color: rgba(255, 255, 255, 0.7) !important;
}

.ct-panel .sub-menu a:hover,
#offcanvas .sub-menu a:hover {
    color: #C9A96E !important;
}

/* ============================================
   Mobile drawer panel — beat Blocksy specificity
   ============================================ */
.ct-panel.ct-header,
.ct-panel.ct-header .ct-panel-inner,
.ct-panel.ct-header .ct-panel-inner.ct-default,
#offcanvas .ct-panel-inner,
.ct-offcanvas .ct-panel-inner {
    background: #1A1A1A !important;
    background-color: #1A1A1A !important;
    color: #FFFFFF !important;
    --theme-text-color: #FFFFFF !important;
    --theme-link-initial-color: #FFFFFF !important;
    --theme-link-hover-color: #C9A96E !important;
    --theme-heading-color: #FFFFFF !important;
    --theme-palette-color-7: #1A1A1A !important;
}

.ct-panel.ct-header a,
.ct-panel.ct-header .ct-menu-link,
#offcanvas a,
.ct-offcanvas a {
    color: #FFFFFF !important;
}

.ct-panel.ct-header a:hover,
.ct-panel.ct-header .ct-menu-link:hover,
#offcanvas a:hover {
    color: #C9A96E !important;
}

/* ==========================================================================
   6. WOOCOMMERCE INSIDE BLOCKSY
   ========================================================================== */

/* --- 6.1 Shop page product grid ---
   Blocksy uses ul.products as the grid container.
   We let Blocksy handle the overall page layout (header, breadcrumbs, etc.)
   and only style the product grid + cards here. */

.woocommerce ul.products,
.stew-homepage-featured__products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

@media (max-width: 999px) {
    .stew-homepage-featured__products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 575px) {
    .stew-homepage-featured__products ul.products {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 999px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
}

@media (max-width: 479px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* --- 6.2 Product card --- */

.woocommerce ul.products li.product {
    background: #FFFFFF;
    border: 1px solid rgba(232, 229, 224, 0.5);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    font-family: var(--stew-font, 'Inter', sans-serif);
}

.woocommerce ul.products li.product:hover {
    border-color: rgba(201, 169, 110, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* --- 6.3 Product image --- */

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    margin: 0 !important;
}

/* --- 6.4 Product title --- */

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.stew-homepage-featured__products ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #1A1A1A !important;
    padding: 1rem 1.25rem 0.25rem !important;
    margin: 0 !important;
    /* Reserve 2 lines on desktop so single-line titles don't shift the
       price/button up and cause misalignment across cards. */
    min-height: calc(1rem + 0.25rem + 2 * 1.4 * 0.875rem);
}

/* On mobile, cards stack single-column so vertical alignment across
   the grid doesn't matter. Drop the 2-line clamp + min-height so long
   product names render in full (LED Converters often need 3 lines on
   narrow viewports). */
@media (max-width: 767px) {
    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .stew-homepage-featured__products ul.products li.product .woocommerce-loop-product__title {
        min-height: 0 !important;
        -webkit-line-clamp: unset !important;
        overflow: visible !important;
        display: block !important;
    }
}

/* Equal-height cards with button glued to bottom — keeps featured + shop
   product grids visually clean regardless of title line count. */
.woocommerce ul.products li.product,
.stew-homepage-featured__products ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce ul.products li.product .ct-woo-card-actions,
.stew-homepage-featured__products ul.products li.product .ct-woo-card-actions {
    margin-top: auto !important;
    padding-top: 0.75rem !important;
}

/* --- 6.5 Product price --- */

.woocommerce ul.products li.product .price,
.stew-homepage-featured__products ul.products li.product .price {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #1A1A1A !important;
    padding: 0 1.25rem 1rem !important;
    margin: 0 !important;
}

/* --- 6.6 Add to cart button --- */

.woocommerce ul.products li.product .button,
.stew-homepage-featured__products ul.products li.product .button {
    display: block;
    width: calc(100% - 2.5rem);
    margin: 0 1.25rem 1.25rem !important;
    padding: 0.625rem 1rem;
    background: #1A1A1A;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.2s ease;
    font-family: var(--stew-font, 'Inter', sans-serif);
}

.woocommerce ul.products li.product .button:hover,
.stew-homepage-featured__products ul.products li.product .button:hover {
    background: #2A2A2A;
}

/* --- 6.7 Sale badge --- */

.woocommerce span.onsale {
    background: hsl(38, 80%, 50%) !important;
    color: #FFFFFF !important;
    border-radius: 999px !important;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.625rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
}

/* --- 6.8 Blocksy "NEU" / "New" badge --- */

[class*="ct-badge"],
.ct-woo-card-extra .ct-badge {
    background: hsl(38, 80%, 50%) !important;
    color: #FFFFFF !important;
    border-radius: 999px !important;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.625rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   7. FORM INPUTS IN BLOCKSY CONTEXT
   ========================================================================== */

.ct-container input[type="text"],
.ct-container input[type="email"],
.ct-container input[type="password"],
.ct-container input[type="search"],
.ct-container input[type="number"],
.ct-container input[type="tel"],
.ct-container textarea,
.ct-container select {
    font-family: var(--stew-font, 'Inter', sans-serif);
    border: 1px solid rgba(232, 229, 224, 0.5);
    border-radius: var(--stew-radius, 6px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ct-container input:focus,
.ct-container textarea:focus,
.ct-container select:focus {
    border-color: hsl(38, 80%, 50%);
    outline: none;
    box-shadow: 0 0 0 3px hsla(38, 80%, 50%, 0.1);
}

/* Fix select dropdown height — prevent text cutoff */
.ct-container select,
.woocommerce-form-register select,
.woocommerce form select {
    padding: 10px 14px !important;
    height: auto !important;
    min-height: 48px !important;
    line-height: 1.4 !important;
    font-size: 1rem !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23737373' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px !important;
    padding-right: 36px !important;
}

/* ==========================================================================
   8. BREADCRUMBS
   ========================================================================== */

.ct-breadcrumbs,
.woocommerce-breadcrumb {
    font-family: var(--stew-font, 'Inter', sans-serif);
    font-size: 0.8125rem;
    color: rgba(26, 26, 26, 0.5);
}

.ct-breadcrumbs a,
.woocommerce-breadcrumb a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ct-breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover {
    color: hsl(38, 80%, 50%);
}

/* ==========================================================================
   9. HOMEPAGE SECTIONS — Swiss-Minimal Layout & Design
   ========================================================================== */

.stew-homepage {
    background-color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   9.1 Container — defined in stew-custom.css (max-width: 1200px; padding: 0 24px)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   9.2 Section spacing — defined in stew-custom.css (80px desktop, 48px mobile)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   9.3 Section labels & titles
   -------------------------------------------------------------------------- */
.stew-section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.stew-section-label__line {
    display: block;
    width: 2rem;
    height: 1px;
    background: rgba(201, 169, 110, 0.4);
    flex-shrink: 0;
}

.stew-section-label__text {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: var(--stew-letter-spacing-wide, 0.1em);
    color: #999 !important;
    white-space: nowrap;
}

/* Left-aligned variant (used in About section) */
.stew-section-label--left {
    justify-content: flex-start;
}

.stew-section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1A1A1A !important;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* More specific selectors to beat Blocksy overrides */
.stew-homepage .stew-section-title,
.stew-homepage-categories .stew-section-title,
.stew-homepage-featured .stew-section-title,
.stew-homepage-about .stew-section-title,
.stew-section .stew-section-title,
h2.stew-section-title {
    color: #1A1A1A !important;
}

@media (min-width: 768px) {
    .stew-section-title {
        font-size: 2.5rem;
    }
}

/* Left-aligned title for sections with --left labels */
.stew-section-label--left ~ .stew-section-title {
    text-align: left;
}

/* --------------------------------------------------------------------------
   9.4 Categories grid
   -------------------------------------------------------------------------- */
.stew-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .stew-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stew-categories {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stew-category-card {
    display: block;
    border-radius: var(--stew-radius, 6px);
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(232, 229, 224, 0.5);
    transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: #1A1A1A;
}

.stew-category-card:hover {
    border-color: rgba(201, 169, 110, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.stew-category-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #F5F3EF;
    position: relative;
}

.stew-category-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.5), transparent, transparent);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    pointer-events: none;
}

.stew-category-card:hover .stew-category-card__image::after {
    opacity: 1;
}

.stew-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stew-category-card:hover .stew-category-card__image img {
    transform: scale(1.1);
}

/* Overlay name — slides up on hover */
.stew-category-card__overlay-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stew-category-card:hover .stew-category-card__overlay-name {
    transform: translateY(0);
}

.stew-category-card__info {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stew-category-card__name {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--stew-text, #1A1A1A);
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stew-category-card:hover .stew-category-card__name {
    color: var(--stew-primary, hsl(38, 80%, 50%));
}

.stew-category-card__arrow {
    width: 1rem;
    height: 1rem;
    color: var(--stew-text-muted, #737373);
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.stew-category-card:hover .stew-category-card__arrow {
    color: var(--stew-primary, hsl(38, 80%, 50%));
    transform: translateX(4px);
}

/* Cards without images — center the info section */
.stew-category-card:not(:has(.stew-category-card__image)) .stew-category-card__info {
    min-height: 60px;
    display: flex;
    align-items: center;
}

/* Categories heading wrapper */
.stew-homepage-categories__heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   9.5 Featured products
   -------------------------------------------------------------------------- */
.stew-homepage-featured__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.stew-homepage-featured__heading {
    text-align: center;
    margin-bottom: 1rem;
}

.stew-homepage-featured__heading .stew-section-title {
    text-align: center;
    margin-bottom: 0;
}

/* Desktop CTA centered below heading */
.stew-homepage-featured__cta-desktop {
    display: inline-block;
    margin-top: 1rem;
}

/* Mobile CTA below products */
.stew-homepage-featured__cta-mobile {
    display: none;
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 767px) {
    .stew-homepage-featured__cta-mobile {
        display: block;
    }
}

/* WooCommerce product grid inside featured section — 3-up on desktop, 2-up on tablet, 1 on mobile.
   See: this rule beats the earlier .woocommerce ul.products one because it comes later in the file
   AND because the .stew-homepage-featured__products parent makes it more specific. */
.stew-homepage-featured__products .woocommerce ul.products,
.stew-homepage-featured__products ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (min-width: 1024px) {
    .stew-homepage-featured__products .woocommerce ul.products,
    .stew-homepage-featured__products ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.stew-homepage-featured__products ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
}

/* --------------------------------------------------------------------------
   9.6 About teaser
   -------------------------------------------------------------------------- */
.stew-homepage-about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .stew-homepage-about__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.stew-homepage-about__text .stew-section-title {
    text-align: left;
}

.stew-homepage-about__body {
    font-size: 1rem;
    line-height: 1.6;
    color: #737373;
    margin-bottom: 1.5rem;
}

.stew-homepage-about__body p {
    margin-bottom: 1rem;
}

.stew-homepage-about__body p:last-child {
    margin-bottom: 0;
}

.stew-homepage-about__image {
    border-radius: var(--stew-radius, 6px);
    overflow: hidden;
}

.stew-homepage-about__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--stew-radius, 6px);
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   9.7 Newsletter section
   -------------------------------------------------------------------------- */
.stew-homepage-newsletter {
    background: #F8F7F5;
}

.stew-homepage-newsletter__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.stew-homepage-newsletter .stew-homepage-newsletter__title,
.stew-homepage-newsletter h2,
.stew-homepage-newsletter h2.stew-homepage-newsletter__title,
section.stew-homepage-newsletter h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A1A1A !important;
    --theme-heading-color: #1A1A1A !important;
    --theme-palette-color-3: #1A1A1A !important;
    margin-bottom: 0.75rem;
}

.stew-homepage-newsletter .stew-homepage-newsletter__text,
.stew-homepage-newsletter p,
section.stew-homepage-newsletter p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #1A1A1A !important;
    --theme-text-color: #1A1A1A !important;
    margin-bottom: 1.5rem;
}

.stew-homepage-newsletter,
.stew-homepage-newsletter * {
    --theme-text-color: #1A1A1A;
    --theme-heading-color: #1A1A1A;
    --theme-link-initial-color: #1A1A1A;
}

.stew-homepage-newsletter .stew-divider {
    border-color: #C9A96E !important;
}

/* Newsletter form — CF7 inside */
.stew-homepage-newsletter__form {
    max-width: 440px;
    margin: 0 auto;
}

.stew-homepage-newsletter__form .wpcf7-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stew-homepage-newsletter__form input[type="email"],
.stew-homepage-newsletter__form input[type="text"] {
    flex: 1;
    min-width: 200px;
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid var(--stew-border, #E8E5E0);
    border-radius: var(--stew-radius, 6px);
    font-family: var(--stew-font, 'Inter', sans-serif);
    font-size: 0.875rem;
    background: var(--stew-white, #FFFFFF);
    transition: border-color 0.2s ease;
}

.stew-homepage-newsletter__form input[type="email"]:focus,
.stew-homepage-newsletter__form input[type="text"]:focus {
    outline: none;
    border-color: var(--stew-primary, hsl(38, 80%, 50%));
    box-shadow: 0 0 0 3px hsla(38, 80%, 50%, 0.1);
}

.stew-homepage-newsletter__form input[type="submit"] {
    height: 3rem;
    padding: 0 1.75rem;
    background: var(--stew-primary, hsl(38, 80%, 50%));
    color: var(--stew-white, #FFFFFF);
    border: none;
    border-radius: var(--stew-radius, 6px);
    font-family: var(--stew-font, 'Inter', sans-serif);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.stew-homepage-newsletter__form input[type="submit"]:hover {
    background: var(--stew-primary-dark, hsl(38, 80%, 40%));
}

/* Divider */
.stew-divider {
    width: 3rem;
    height: 1px;
    background: rgba(201, 169, 110, 0.5);
    margin: 0 auto 2rem;
    border: none;
}

/* --------------------------------------------------------------------------
   9.8 CTA section
   -------------------------------------------------------------------------- */
.stew-homepage-cta__inner {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid #E8E5E0;
}

.stew-homepage-cta__title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.75rem;
}

.stew-homepage-cta__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #737373;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   9.9 Buttons — Homepage variants
   -------------------------------------------------------------------------- */
.stew-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--stew-radius, 6px);
    font-family: var(--stew-font, 'Inter', sans-serif);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: var(--stew-transition, all 0.3s cubic-bezier(0.16, 1, 0.3, 1));
    line-height: 1.4;
    border: none;
}

.stew-btn--gold {
    background: var(--stew-primary, hsl(38, 80%, 50%));
    color: var(--stew-white, #FFFFFF);
}

.stew-btn--gold:hover {
    background: var(--stew-primary-dark, hsl(38, 80%, 40%));
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 169, 110, 0.3);
}

.stew-btn--ghost {
    background: transparent;
    border: 1px solid rgba(26, 26, 26, 0.2);
    color: #1A1A1A;
}

.stew-btn--ghost:hover {
    background: rgba(26, 26, 26, 0.03);
}

.stew-btn--outline,
.stew-btn--outline:link,
.stew-btn--outline:visited {
    background: transparent !important;
    border: 2px solid #1A1A1A !important;
    color: #1A1A1A !important;
}

.stew-btn--outline:hover,
.stew-btn--outline:focus {
    background: #1A1A1A !important;
    border-color: #1A1A1A !important;
    color: #FFFFFF !important;
}

.stew-btn--primary {
    background: #1A1A1A;
    color: #FFFFFF;
}

.stew-btn--primary:hover {
    background: #2A2A2A;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   9.10 Hero section — see stew-custom.css for main hero styles
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   9.11 Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stew-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes stew-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stew-slide-down {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stew-scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stew-animate-fade-in {
    opacity: 0;
    transform: translateY(16px);
    animation: stew-fade-in-up 0.6s ease forwards;
}

/* Staggered children (used on .stew-stagger) */
.stew-stagger > * {
    opacity: 0;
    animation: stew-fade-in-up 0.5s ease forwards;
}

.stew-stagger > *:nth-child(1) { animation-delay: 0s; }
.stew-stagger > *:nth-child(2) { animation-delay: 0.08s; }
.stew-stagger > *:nth-child(3) { animation-delay: 0.16s; }
.stew-stagger > *:nth-child(4) { animation-delay: 0.24s; }
.stew-stagger > *:nth-child(5) { animation-delay: 0.32s; }
.stew-stagger > *:nth-child(6) { animation-delay: 0.4s; }

/* --------------------------------------------------------------------------
   9.12 Mobile responsive — global homepage adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    /* Categories: single column on mobile (2-col handled at 640px above) */
    .stew-categories {
        grid-template-columns: 1fr;
    }

    .stew-homepage-about__grid {
        grid-template-columns: 1fr;
    }

    .stew-homepage-featured__products .woocommerce ul.products,
    .stew-homepage-featured__products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    /* Reduce hero height on mobile */
    .stew-hero {
        min-height: 60vh;
    }

    .stew-hero__content {
        padding: 1.5rem;
    }

    /* Reduce section label gap */
    .stew-section-label {
        gap: 0.5rem;
    }

    /* Stack newsletter form */
    .stew-homepage-newsletter__form .wpcf7-form {
        flex-direction: column;
    }

    .stew-homepage-newsletter__form input[type="email"],
    .stew-homepage-newsletter__form input[type="text"] {
        min-width: 100%;
    }

    /* CTA inner padding */
    .stew-homepage-cta__inner {
        padding: 2rem 0;
    }

    /* Buttons: full-width on small screens */
    .stew-hero__buttons {
        flex-direction: column;
    }

    .stew-hero__buttons .stew-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small mobile — extra adjustments */
@media (max-width: 479px) {
    .stew-homepage-featured__products .woocommerce ul.products,
    .stew-homepage-featured__products ul.products {
        grid-template-columns: 1fr;
    }

    .stew-category-card__info {
        padding: 0.75rem 1rem;
    }
}

/* ==========================================================================
   MY ACCOUNT — Force light backgrounds on navigation
   ========================================================================== */

.woocommerce-MyAccount-navigation ul li,
.woocommerce-MyAccount-navigation ul li a,
.woocommerce-MyAccount-navigation li,
.woocommerce-MyAccount-navigation li a,
.ct-account-page .woocommerce-MyAccount-navigation li,
.ct-account-page .woocommerce-MyAccount-navigation li a {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #737373 !important;
}

.woocommerce-MyAccount-navigation ul li.is-active,
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation li.is-active,
.woocommerce-MyAccount-navigation li.is-active a {
    background: #F8F7F5 !important;
    background-color: #F8F7F5 !important;
    color: #1A1A1A !important;
    font-weight: 600;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation li a:hover {
    background: #F8F7F5 !important;
    background-color: #F8F7F5 !important;
    color: hsl(38, 80%, 50%) !important;
}

/* Nav icons — match text color */
.woocommerce-MyAccount-navigation li svg,
.woocommerce-MyAccount-navigation li img,
.woocommerce-MyAccount-navigation li a svg {
    opacity: 0.5;
}

.woocommerce-MyAccount-navigation li.is-active svg,
.woocommerce-MyAccount-navigation li.is-active a svg {
    opacity: 1;
}

/* My Account content area */
.woocommerce-MyAccount-content,
.ct-account-page .woocommerce-MyAccount-content {
    background: #FFFFFF !important;
    color: #1A1A1A !important;
}

.woocommerce-MyAccount-content a {
    color: hsl(38, 80%, 50%) !important;
}

.woocommerce-MyAccount-content a:hover {
    color: hsl(38, 80%, 40%) !important;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.stew-contact {
    --theme-text-color: #1A1A1A;
    --theme-heading-color: #1A1A1A;
}

.stew-contact__header {
    text-align: center;
    padding: 4rem 0 2rem;
}

.stew-contact__page-title {
    font-size: 2.5rem !important;
    font-weight: 600;
    color: #1A1A1A !important;
    margin-bottom: 0.75rem;
}

.stew-contact__page-subtitle {
    font-size: 1.0625rem;
    color: #737373 !important;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.stew-contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .stew-contact__grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.stew-contact__form-title {
    font-size: 1.5rem !important;
    font-weight: 600;
    color: #1A1A1A !important;
    margin-bottom: 1.5rem;
}

/* CF7 form styling */
.stew-contact__form-wrap label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A !important;
    margin-bottom: 0.25rem;
}

.stew-contact__form-wrap input[type="text"],
.stew-contact__form-wrap input[type="email"],
.stew-contact__form-wrap input[type="tel"],
.stew-contact__form-wrap select,
.stew-contact__form-wrap textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E8E5E0;
    border-radius: 6px;
    font-size: 0.9375rem;
    color: #1A1A1A;
    background: #FFFFFF;
    margin-bottom: 1rem;
    transition: border-color 0.2s ease;
}

.stew-contact__form-wrap input:focus,
.stew-contact__form-wrap select:focus,
.stew-contact__form-wrap textarea:focus {
    border-color: hsl(38, 80%, 50%);
    outline: none;
}

.stew-contact__form-wrap textarea {
    min-height: 150px;
    resize: vertical;
}

.stew-contact__form-wrap input[type="submit"] {
    background: #1A1A1A !important;
    color: #FFFFFF !important;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.stew-contact__form-wrap input[type="submit"]:hover {
    background: hsl(38, 80%, 50%) !important;
}

/* Contact details card */
.stew-contact__details-card {
    background: #F8F7F5;
    padding: 2rem;
    border-radius: 6px;
}

.stew-contact__detail-group {
    margin-bottom: 1.5rem;
}

.stew-contact__detail-group:last-child {
    margin-bottom: 0;
}

.stew-contact__detail-label {
    font-size: 0.75rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999 !important;
    margin-bottom: 0.5rem;
}

.stew-contact__address {
    font-style: normal;
    line-height: 1.7;
    color: #1A1A1A !important;
}

.stew-contact__address span {
    display: block;
}

.stew-contact__company-name {
    font-weight: 600;
}

.stew-contact__link {
    color: #1A1A1A !important;
    text-decoration: none;
    font-size: 0.9375rem;
}

.stew-contact__link:hover {
    color: hsl(38, 80%, 50%) !important;
}

.stew-contact__hours {
    color: #1A1A1A !important;
    font-size: 0.9375rem;
    margin: 0;
}
