/**
 * STEW Custom Styles — Blocksy Child Theme
 * Swiss-minimal design for professional LED lighting webshop
 * Inspired by Flos, Artemide, Erco aesthetics
 * Modernized: glassmorphism header, refined animations, premium feel
 *
 * Inter font is enqueued via wp_enqueue_style in functions.php
 */

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    /* Core palette */
    --stew-white: #FFFFFF;
    --stew-off-white: #F8F8F8;
    --stew-card-bg: #FDFCFA;
    --stew-muted-bg: #F5F5F2;
    --stew-border: #E8E5E0;
    --stew-border-subtle: rgba(232, 229, 224, 0.5);
    --stew-text: #1A1A1A;
    --stew-text-muted: #737373;
    --stew-primary: hsl(38, 80%, 50%);
    --stew-primary-soft: hsl(38, 60%, 95%);
    --stew-primary-dark: hsl(38, 80%, 40%);
    --stew-primary-glow: hsl(38, 100%, 70%);
    --stew-dark: #1A1A1A;
    --stew-dark-lighter: #2A2A2A;
    --stew-badge-soldout: #F5F5F0;
    --stew-success: #4A7C59;
    --stew-error: #C53030;

    /* Typography */
    --stew-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --stew-letter-spacing-wide: 0.1em;
    --stew-letter-spacing-tight: -0.02em;

    /* Spacing */
    --stew-section-padding: 80px;
    --stew-section-padding-mobile: 48px;
    --stew-container-max: 1200px;
    --stew-radius: 6px;
    --stew-radius-sm: 4px;

    /* Transitions */
    --stew-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --stew-transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --stew-transition-fast: all 0.2s ease;
}

/* ============================================
   Base / Typography
   ============================================ */
html {
    scroll-behavior: smooth;
}

body.stew-theme {
    font-family: var(--stew-font) !important;
    color: var(--stew-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6 !important;
    background-color: var(--stew-white);
}

body.stew-theme h1,
body.stew-theme h2,
body.stew-theme h3,
body.stew-theme h4,
body.stew-theme h5,
body.stew-theme h6 {
    font-family: var(--stew-font) !important;
    font-weight: 600 !important;
    letter-spacing: var(--stew-letter-spacing-tight) !important;
    color: var(--stew-text);
    line-height: 1.2 !important;
}

body.stew-theme p,
body.stew-theme a,
body.stew-theme li,
body.stew-theme input,
body.stew-theme button,
body.stew-theme select,
body.stew-theme textarea {
    font-family: var(--stew-font) !important;
}

/* Apply font to spans but exclude icon font classes */
body.stew-theme span:not([class*="fa-"]):not([class*="icon-"]):not(.fa):not(.icon) {
    font-family: var(--stew-font) !important;
}

.stew-section-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--stew-letter-spacing-wide);
    color: var(--stew-text-muted);
    margin-bottom: 2rem;
}

/* Decorative section label with lines */
.stew-section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stew-section-label__line {
    display: block;
    width: 2rem;
    height: 1px;
    background: var(--stew-primary);
}

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

.stew-section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1A1A1A !important;
    text-align: center;
}

/* Center section headings */
.stew-homepage-categories__heading,
.stew-homepage-featured__heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

/* Decorative divider */
.stew-divider {
    width: 3rem;
    height: 1px;
    background: var(--stew-primary);
    margin: 0 auto 1.5rem;
}

/* ============================================
   Animations & Keyframes
   ============================================ */
@keyframes stew-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@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(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes stew-badge-pop {
    0% { transform: scale(0); }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.stew-animate-fade-in {
    animation: stew-fade-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stew-animate-fade-in-up {
    animation: stew-fade-in-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stew-animate-slide-down {
    animation: stew-slide-down 0.3s ease-out forwards;
}

.stew-animate-scale-in {
    animation: stew-scale-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger children animation */
.stew-stagger > * {
    opacity: 0;
    animation: stew-fade-in-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.stew-stagger > *:nth-child(1) { animation-delay: 0ms; }
.stew-stagger > *:nth-child(2) { animation-delay: 80ms; }
.stew-stagger > *:nth-child(3) { animation-delay: 160ms; }
.stew-stagger > *:nth-child(4) { animation-delay: 240ms; }
.stew-stagger > *:nth-child(5) { animation-delay: 320ms; }
.stew-stagger > *:nth-child(6) { animation-delay: 400ms; }

/* ============================================
   Layout / Container
   ============================================ */
.stew-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.stew-section {
    padding: var(--stew-section-padding-mobile, 48px) 0;
}

@media (min-width: 768px) {
    .stew-section {
        padding: var(--stew-section-padding, 80px) 0;
    }
}

/* ============================================
   Buttons
   ============================================ */
.stew-btn,
body.stew-theme .button,
body.stew-theme .woocommerce a.button,
body.stew-theme .woocommerce button.button,
body.stew-theme .woocommerce input.button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem !important;
    font-family: var(--stew-font) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;
    border: none !important;
    border-radius: var(--stew-radius) !important;
    cursor: pointer;
    transition: var(--stew-transition) !important;
    text-decoration: none !important;
    line-height: 1.4;
}

.stew-btn--primary,
body.stew-theme .woocommerce a.button.alt,
body.stew-theme .woocommerce button.button.alt,
body.stew-theme .woocommerce input.button.alt {
    background-color: var(--stew-dark) !important;
    color: var(--stew-white) !important;
}

.stew-btn--primary:hover,
body.stew-theme .woocommerce a.button.alt:hover,
body.stew-theme .woocommerce button.button.alt:hover,
body.stew-theme .woocommerce input.button.alt:hover {
    background-color: var(--stew-dark-lighter) !important;
    color: var(--stew-white) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

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

.stew-btn--outline:hover {
    background-color: #1A1A1A;
    color: #FFFFFF !important;
    border-color: #1A1A1A;
    transform: translateY(-1px);
}

.stew-btn--gold {
    background-color: var(--stew-primary);
    color: var(--stew-white) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(201, 169, 110, 0.3);
}

.stew-btn--gold:hover {
    background-color: var(--stew-primary-dark);
    color: var(--stew-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 169, 110, 0.3);
}

/* Ghost button — styled for light backgrounds */
.stew-btn--ghost {
    background-color: transparent;
    color: #1A1A1A !important;
    border: 1px solid rgba(26, 26, 26, 0.3) !important;
}

.stew-btn--ghost:hover {
    background: rgba(26, 26, 26, 0.05);
    border-color: rgba(26, 26, 26, 0.5) !important;
}

/* ============================================
   Hero Section — Dark Overlay with White Text
   Matches Lovable demo design (foreground = #0F0F0F)
   ============================================ */
.stew-hero {
    position: relative;
    min-height: 80vh;
    max-height: 800px;
    display: flex;
    align-items: center;
    background-color: #0F0F0F;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Dark gradient fallback when no background image is set */
.stew-hero--no-image {
    background: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 50%, #0F0F0F 100%);
}

/* Dark overlay — left side dark for text, right side transparent for image */
.stew-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(15, 15, 15, 0.80),
        rgba(15, 15, 15, 0.50),
        rgba(15, 15, 15, 0.10)
    );
    z-index: 1;
}

/* Solid dark background when no image */
.stew-hero--no-image .stew-hero__overlay {
    display: none;
}

.stew-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 2rem);
}

/* Hero badge pill — glassmorphism on dark background */
.stew-hero__badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 1.5rem;
}

.stew-hero__title {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #FFFFFF !important;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .stew-hero__title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .stew-hero__title {
        font-size: 4rem;
        white-space: nowrap;
    }
}

.stew-hero__subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 750px;
    color: rgba(255, 255, 255, 0.80) !important;
}

.stew-hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Ghost button within hero — white text/border on dark hero */
.stew-hero .stew-btn--ghost {
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.30) !important;
}

.stew-hero .stew-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.50) !important;
    color: #FFFFFF !important;
}

/* ============================================
   Category Cards — Enhanced
   ============================================ */
.stew-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@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;
    background: var(--stew-card-bg, #FDFCFA);
    border: 1px solid var(--stew-border-subtle, rgba(232, 229, 224, 0.5));
    border-radius: var(--stew-radius, 8px);
    overflow: hidden;
    text-decoration: none !important;
    color: #1A1A1A !important;
    transition: var(--stew-transition, all 0.3s ease);
}

.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: var(--stew-muted-bg);
    position: relative;
}

.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);
}

/* Gradient overlay on hover */
.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 ease;
}

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

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

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

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

.stew-category-card__name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A !important;
    transition: color 0.2s ease;
}

.stew-category-card:hover .stew-category-card__name {
    color: var(--stew-primary);
}

.stew-category-card__arrow {
    width: 1rem;
    height: 1rem;
    color: var(--stew-text-muted);
    transition: var(--stew-transition);
}

.stew-category-card:hover .stew-category-card__arrow {
    color: var(--stew-primary);
    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;
}

/* "Bald verfügbar" treatment for empty-category cards.
   Dim the image, show a clear pill badge in the top-right.
   Card stays clickable — lands on the honest empty-category page. */
.stew-category-card--coming-soon .stew-category-card__image img {
    filter: grayscale(0.6) brightness(0.85);
    opacity: 0.7;
}

.stew-category-card--coming-soon:hover .stew-category-card__image img {
    filter: grayscale(0.3) brightness(0.9);
    opacity: 0.85;
}

.stew-category-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26, 26, 26, 0.92);
    color: #FFFFFF;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.stew-category-card--coming-soon .stew-category-card__name {
    color: var(--stew-text-muted, #737373) !important;
}

.stew-category-card--coming-soon:hover .stew-category-card__name {
    color: #1A1A1A !important;
}

.stew-category-card--coming-soon .stew-category-card__arrow {
    opacity: 0.5;
}

.stew-category-card--coming-soon:hover .stew-category-card__arrow {
    opacity: 1;
}

/* ============================================
   Product Cards (WooCommerce) — Premium
   ============================================ */
.stew-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.stew-theme .products {
    list-style: none;
    gap: 1.5rem;
}

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

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

.stew-product-card,
body.stew-theme ul.products li.product,
body.stew-theme .woocommerce ul.products li.product {
    background: var(--stew-card-bg) !important;
    border: 1px solid var(--stew-border-subtle) !important;
    border-radius: var(--stew-radius) !important;
    overflow: hidden !important;
    transition: var(--stew-transition-slow) !important;
    list-style: none;
    margin-bottom: 1.5rem !important;
}

.stew-product-card:hover,
body.stew-theme ul.products li.product:hover,
body.stew-theme .woocommerce ul.products li.product:hover {
    border-color: rgba(201, 169, 110, 0.2) !important;
    box-shadow:
        0 0 30px -8px rgba(201, 169, 110, 0.15),
        0 20px 40px -12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-4px) !important;
}

.stew-product-card__image,
.stew-theme ul.products li.product .attachment-woocommerce_thumbnail {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.7s ease-out;
}

.stew-product-card:hover .stew-product-card__image,
.stew-theme ul.products li.product:hover .attachment-woocommerce_thumbnail {
    transform: scale(1.05);
}

.stew-product-card__image-wrap {
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    background: var(--stew-muted-bg);
}

/* Subtle overlay on hover */
.stew-product-card__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0);
    transition: background 0.5s ease;
}

.stew-product-card:hover .stew-product-card__image-wrap::after {
    background: rgba(26, 26, 26, 0.03);
}

.stew-product-card__info {
    padding: 1.25rem;
    position: relative;
}

.stew-product-card__name,
body.stew-theme ul.products li.product .woocommerce-loop-product__title,
body.stew-theme ul.products li.product h2 {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
    color: var(--stew-text) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.stew-product-card:hover .stew-product-card__name,
body.stew-theme ul.products li.product:hover .woocommerce-loop-product__title,
body.stew-theme ul.products li.product:hover h2 {
    color: var(--stew-primary) !important;
}

.stew-product-card__price,
body.stew-theme ul.products li.product .price,
body.stew-theme ul.products li.product .price .woocommerce-Price-amount {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: var(--stew-text) !important;
}

/* Hover arrow indicator */
.stew-product-card__arrow {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 1rem;
    height: 1rem;
    color: var(--stew-text-muted);
    opacity: 0;
    transition: var(--stew-transition-slow);
}

.stew-product-card:hover .stew-product-card__arrow {
    opacity: 1;
    color: var(--stew-primary);
}

/* Badges — Pill style */
.stew-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    z-index: 2;
}

.stew-badge--soldout {
    background-color: rgba(26, 26, 26, 0.8);
    color: var(--stew-white);
}

.stew-badge--new {
    background-color: var(--stew-primary);
    color: var(--stew-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stew-theme .woocommerce span.onsale {
    background-color: var(--stew-primary);
    color: var(--stew-white);
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    min-height: auto;
    min-width: auto;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Price on request */
.stew-price-inquiry {
    color: var(--stew-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

/* ============================================
   Product Archive / Shop Page
   ============================================ */

/* Two-column layout: sidebar + grid */
.stew-shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 24px;
}

@media (min-width: 1024px) {
    .stew-shop-layout {
        grid-template-columns: 260px 1fr;
        gap: 2.5rem;
    }
}

/* ── Filter Sidebar ── */
.stew-shop-sidebar {
    font-family: var(--stew-font, 'Inter', sans-serif);
}

@media (max-width: 1023px) {
    .stew-shop-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        padding: 24px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    }
    .stew-shop-sidebar--open {
        left: 0;
    }
}

.stew-shop-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--stew-border, #E8E5E0);
}

.stew-shop-sidebar__title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--stew-text, #1A1A1A);
    margin: 0;
}

.stew-shop-sidebar__reset {
    font-size: 0.75rem;
    color: var(--stew-primary, hsl(38, 80%, 50%));
    text-decoration: none;
    font-weight: 500;
}

.stew-shop-sidebar__reset:hover {
    text-decoration: underline;
}

/* Filter groups */
.stew-filter-group {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(232, 229, 224, 0.4);
}

.stew-filter-group:last-child {
    border-bottom: none;
}

/* Collapsible filter toggle button */
.stew-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin: 0 0 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--stew-font, 'Inter', sans-serif);
}

.stew-filter-toggle__label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stew-text, #1A1A1A);
}

.stew-filter-toggle__icon {
    color: var(--stew-text-muted, #999);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.stew-filter-toggle[aria-expanded="false"] .stew-filter-toggle__icon {
    transform: rotate(-90deg);
}

.stew-filter-toggle[aria-expanded="false"] {
    margin-bottom: 0;
}

/* Active filter count badge */
.stew-filter-toggle__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--stew-primary, hsl(38, 80%, 50%));
    color: #fff;
    font-size: 0.625rem;
    font-weight: 600;
    margin-left: auto;
    margin-right: 8px;
}

/* Filter body (collapsible content) */
.stew-filter-body {
    overflow: hidden;
}

/* Legacy .stew-filter-title fallback */
.stew-filter-title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stew-text, #1A1A1A);
    margin: 0 0 0.75rem;
}

/* Filter list (attribute links) */
.stew-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.stew-filter-item {
    margin-bottom: 2px;
}

.stew-filter-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--stew-text-secondary, #555);
    font-size: 0.8125rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.stew-filter-link:hover {
    background: rgba(245, 245, 242, 0.8);
    color: var(--stew-text, #1A1A1A);
}

.stew-filter-item--active .stew-filter-link {
    background: rgba(201, 169, 110, 0.1);
    color: var(--stew-primary, hsl(38, 80%, 50%));
    font-weight: 500;
}

.stew-filter-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--stew-border, #E8E5E0);
    border-radius: 3px;
    font-size: 10px;
    flex-shrink: 0;
    color: transparent;
}

.stew-filter-item--active .stew-filter-check {
    background: var(--stew-primary, hsl(38, 80%, 50%));
    border-color: var(--stew-primary, hsl(38, 80%, 50%));
    color: #fff;
}

.stew-filter-count {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--stew-text-muted, #999);
}

/* Category widget in sidebar */
.stew-filter-group .widget_product_categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.stew-filter-group .widget_product_categories li {
    margin-bottom: 2px;
}

.stew-filter-group .widget_product_categories a {
    display: block;
    padding: 5px 8px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--stew-text-secondary, #555);
    font-size: 0.8125rem;
    transition: background 0.15s ease;
}

.stew-filter-group .widget_product_categories a:hover {
    background: rgba(245, 245, 242, 0.8);
}

.stew-filter-group .widget_product_categories .count {
    font-size: 0.75rem;
    color: var(--stew-text-muted, #999);
}

.stew-filter-group .widget_product_categories .children {
    padding-left: 16px;
}

/* Price filter widget */
.stew-filter-group .widget_price_filter .price_slider_wrapper {
    padding: 8px 0;
}

.stew-filter-group .widget_price_filter .price_label {
    font-size: 0.8125rem;
    color: var(--stew-text-secondary, #555);
}

/* ── Shop Main Content ── */
.stew-shop-main {
    min-width: 0;
}

.stew-shop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--stew-border, #E8E5E0);
    margin-bottom: 1.5rem;
}

.stew-shop-topbar__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--stew-text, #1A1A1A);
}

.stew-shop-topbar__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--stew-text-muted, #999);
}

.stew-shop-topbar__meta .woocommerce-ordering select {
    font-family: var(--stew-font, 'Inter', sans-serif);
    padding: 6px 10px;
    border: 1px solid var(--stew-border, #E8E5E0);
    border-radius: 4px;
    background: #fff;
    font-size: 0.8125rem;
}

/* No results */
.stew-shop-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--stew-text-muted, #999);
}

.stew-shop-empty p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Mobile filter toggle button */
.stew-shop-filter-toggle {
    display: none;
}

@media (max-width: 1023px) {
    .stew-shop-filter-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9998;
        background: var(--stew-text, #1A1A1A);
        color: #fff;
        border: none;
        border-radius: 999px;
        padding: 12px 24px;
        font-family: var(--stew-font, 'Inter', sans-serif);
        font-size: 0.875rem;
        font-weight: 500;
        cursor: pointer;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    }

    .stew-shop-filter-toggle--active {
        background: var(--stew-primary, hsl(38, 80%, 50%));
    }
}

/* Remove Blocksy's default WooCommerce header on archive */
.woocommerce .woocommerce-products-header {
    display: none !important;
}

/* ============================================
   Single Product Page
   ============================================ */
.stew-single-product {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .stew-single-product {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
    }
}

.stew-product-gallery {
    position: sticky;
    top: 120px;
    overflow: hidden;
    border-radius: var(--stew-radius);
}

.stew-product-gallery img {
    width: 100%;
    height: auto;
    border-radius: var(--stew-radius);
    transition: transform 0.7s ease;
}

.stew-product-gallery:hover img {
    transform: scale(1.05);
}

.stew-product-info__title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.stew-product-info__price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.stew-product-info__description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--stew-text-muted);
    margin-bottom: 2rem;
}

/* Highlights */
.stew-product-highlights {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--stew-off-white);
    border-radius: var(--stew-radius);
}

.stew-product-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.stew-product-highlights li::before {
    content: "\2713";
    color: var(--stew-primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* Technical Specs Table */
.stew-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: var(--stew-radius);
    overflow: hidden;
}

.stew-specs-table th,
.stew-specs-table td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    text-align: left;
    border-bottom: 1px solid var(--stew-border);
}

.stew-specs-table th {
    font-weight: 500;
    color: var(--stew-text-muted);
    width: 40%;
    background: transparent;
}

.stew-specs-table tr:nth-child(even) {
    background: var(--stew-off-white);
}

.stew-specs-table tr:hover {
    background: rgba(245, 245, 242, 0.5);
}

.stew-specs-table tr:last-child th,
.stew-specs-table tr:last-child td {
    border-bottom: none;
}

/* Datasheet button — outline by default (no amber-on-amber against the WC .button rule),
   fills amber on hover. !important needed to beat the global .button gold-bg rule. */
.stew-datasheet-btn,
a.stew-datasheet-btn,
a.stew-datasheet-btn.button {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem !important;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border: 1.5px solid #1A1A1A !important;
    border-radius: var(--stew-radius, 6px) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #1A1A1A !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.stew-datasheet-btn:hover,
a.stew-datasheet-btn:hover,
a.stew-datasheet-btn.button:hover {
    background: hsl(38, 80%, 50%) !important;
    background-color: hsl(38, 80%, 50%) !important;
    border-color: hsl(38, 80%, 50%) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.stew-datasheet-btn svg,
.stew-datasheet-btn::before {
    width: 1rem;
    height: 1rem;
}

/* WooCommerce tabs override */
.stew-theme .woocommerce-tabs {
    margin-top: 3rem;
}

.stew-theme .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid var(--stew-border);
    padding: 0;
    margin: 0 0 2rem;
    list-style: none;
    display: flex;
    gap: 2rem;
}

.stew-theme .woocommerce-tabs ul.tabs::before {
    display: none;
}

.stew-theme .woocommerce-tabs ul.tabs li {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.stew-theme .woocommerce-tabs ul.tabs li a {
    font-family: var(--stew-font);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stew-text-muted);
    padding: 0.75rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--stew-transition);
    text-decoration: none;
}

.stew-theme .woocommerce-tabs ul.tabs li.active a,
.stew-theme .woocommerce-tabs ul.tabs li a:hover {
    color: var(--stew-text);
    border-bottom-color: var(--stew-primary);
}

/* ============================================
   Trade Pricing Notice
   ============================================ */
.stew-trade-notice {
    background: var(--stew-primary-soft);
    border-left: 3px solid var(--stew-primary);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: var(--stew-radius);
}

.stew-trade-notice p {
    margin: 0;
    font-size: 0.875rem;
}

.stew-trade-notice a {
    color: var(--stew-primary-dark);
    font-weight: 500;
    text-decoration: none;
}

.stew-trade-notice a:hover {
    text-decoration: underline;
}

/* ============================================
   Newsletter Section — Warm Gradient
   ============================================ */
.stew-newsletter {
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.05), transparent, rgba(201, 169, 110, 0.08));
    padding: var(--stew-section-padding-mobile) 0;
    text-align: center;
}

@media (min-width: 768px) {
    .stew-newsletter {
        padding: var(--stew-section-padding) 0;
    }
}

.stew-newsletter__content {
    max-width: 600px;
    margin: 0 auto;
}

.stew-newsletter__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.stew-newsletter__text {
    color: var(--stew-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.stew-newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 420px;
    margin: 0 auto;
}

.stew-newsletter-form input[type="email"] {
    flex: 1;
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid var(--stew-border-subtle);
    border-radius: var(--stew-radius);
    font-family: var(--stew-font);
    font-size: 0.875rem;
    background: var(--stew-white);
    transition: border-color 0.2s ease;
}

.stew-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--stew-primary);
}

.stew-newsletter-form .stew-btn {
    height: 3rem;
    padding: 0 1.5rem;
}

.stew-newsletter__privacy {
    font-size: 0.75rem;
    color: var(--stew-text-muted);
    margin-top: 0.75rem;
}

/* ============================================
   About Section — Values Cards
   ============================================ */
.stew-about-hero {
    padding: 5rem 0 6rem;
    background: linear-gradient(to bottom, var(--stew-off-white), var(--stew-white));
    text-align: center;
}

.stew-about-hero h1 {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .stew-about-hero h1 {
        font-size: 3rem;
    }
}

.stew-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

/* ============================================
   USP / Values Grid — Card style
   ============================================ */
.stew-usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

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

.stew-usp-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--stew-card-bg);
    border: 1px solid var(--stew-border-subtle);
    border-radius: var(--stew-radius);
    transition: var(--stew-transition);
}

.stew-usp-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.stew-usp-item__icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--stew-primary-soft);
    border-radius: 0.75rem;
    color: var(--stew-primary);
}

.stew-usp-item__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.stew-usp-item__text {
    font-size: 0.875rem;
    color: var(--stew-text-muted);
    line-height: 1.6;
}

/* ============================================
   Footer — Dark Premium
   ============================================ */
.stew-footer {
    background-color: var(--stew-dark) !important;
    color: var(--stew-white);
    border-top: none;
}

.stew-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 0 5rem;
}

@media (min-width: 768px) {
    .stew-footer__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

.stew-footer__brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: var(--stew-letter-spacing-tight);
    margin-bottom: 1rem;
    color: var(--stew-white);
}

.stew-footer__brand .stew-logo-dot {
    color: var(--stew-primary);
}

.stew-footer__text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.stew-footer h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--stew-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: var(--stew-letter-spacing-wide);
}

.stew-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stew-footer ul li {
    margin-bottom: 0.5rem;
}

.stew-footer a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.stew-footer a:hover {
    color: var(--stew-white);
}

.stew-footer .stew-footer__contact-icon {
    color: var(--stew-primary);
}

.stew-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Contact Form — Refined
   ============================================ */
.stew-form-grid {
    max-width: 640px;
}

.stew-form-row {
    margin-bottom: 1.5rem;
}

.stew-form-row--half {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .stew-form-row--half {
        grid-template-columns: 1fr 1fr;
    }
}

.stew-form-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--stew-text);
}

.stew-form-field input,
.stew-form-field select,
.stew-form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--stew-border);
    border-radius: var(--stew-radius);
    font-family: var(--stew-font);
    font-size: 0.875rem;
    background: var(--stew-white);
    transition: border-color 0.2s ease;
}

.stew-form-field input:focus,
.stew-form-field select:focus,
.stew-form-field textarea:focus {
    outline: none;
    border-color: var(--stew-primary);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.stew-form-field textarea {
    min-height: 150px;
    resize: vertical;
}

/* Contact info card */
.stew-contact-info {
    background: var(--stew-off-white);
    padding: 1.5rem;
    border-radius: var(--stew-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ============================================
   WooCommerce Breadcrumbs
   ============================================ */
.stew-theme .woocommerce-breadcrumb {
    font-size: 0.75rem;
    color: var(--stew-text-muted);
    margin-bottom: 2rem;
    padding: 0;
}

.stew-theme .woocommerce-breadcrumb a {
    color: var(--stew-text-muted);
    text-decoration: none;
}

.stew-theme .woocommerce-breadcrumb a:hover {
    color: var(--stew-primary);
}

.stew-theme .woocommerce-breadcrumb .breadcrumb-separator {
    opacity: 0.6;
}

/* ============================================
   WooCommerce Cart
   ============================================ */
.stew-theme .woocommerce-cart table.cart {
    border-collapse: collapse;
}

.stew-theme .woocommerce-cart table.cart th,
.stew-theme .woocommerce-cart table.cart td {
    padding: 1rem;
    border-bottom: 1px solid var(--stew-border);
    font-size: 0.875rem;
}

.stew-theme .woocommerce-cart .cart_totals {
    background: var(--stew-off-white);
    padding: 1.5rem;
    border-radius: var(--stew-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ============================================
   WooCommerce Checkout
   ============================================ */
.stew-theme .woocommerce-checkout .form-row label {
    font-size: 0.875rem;
    font-weight: 500;
}

.stew-theme .woocommerce-checkout .form-row input.input-text,
.stew-theme .woocommerce-checkout .form-row select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--stew-border);
    border-radius: var(--stew-radius);
    font-family: var(--stew-font);
}

.stew-theme #order_review {
    background: var(--stew-off-white);
    padding: 1.5rem;
    border-radius: var(--stew-radius);
}

/* ============================================
   WooCommerce Notices
   ============================================ */
.stew-theme .woocommerce-message {
    border-top-color: var(--stew-primary);
    background: var(--stew-primary-soft);
    border-radius: var(--stew-radius);
}

.stew-theme .woocommerce-error {
    border-top-color: var(--stew-error);
    border-radius: var(--stew-radius);
}

.stew-theme .woocommerce-info {
    border-top-color: var(--stew-primary);
    background: var(--stew-primary-soft);
    border-radius: var(--stew-radius);
}

/* "View Basket" button in WooCommerce notices */
.woocommerce-message .button,
.woocommerce-message .wc-forward,
.woocommerce-info .button,
.woocommerce-info .wc-forward {
    background: #1A1A1A !important;
    color: #FFFFFF !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    display: inline-block !important;
    transition: background 0.25s ease !important;
}

.woocommerce-message .button:hover,
.woocommerce-message .wc-forward:hover,
.woocommerce-info .button:hover,
.woocommerce-info .wc-forward:hover {
    background: #C9A96E !important;
    color: #FFFFFF !important;
}

/* ============================================
   WooCommerce Quantity Input
   ============================================ */
.stew-theme .woocommerce .quantity .qty {
    width: 4rem;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid var(--stew-border);
    border-radius: var(--stew-radius);
    font-family: var(--stew-font);
}

/* ============================================
   WooCommerce Pagination
   ============================================ */
.stew-theme .woocommerce-pagination {
    margin-top: 3rem;
    text-align: center;
}

.stew-theme .woocommerce-pagination ul.page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.stew-theme .woocommerce-pagination ul.page-numbers li a,
.stew-theme .woocommerce-pagination ul.page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.875rem;
    border: 1px solid var(--stew-border);
    border-radius: var(--stew-radius);
    color: var(--stew-text);
    text-decoration: none;
    transition: var(--stew-transition);
}

.stew-theme .woocommerce-pagination ul.page-numbers li a:hover {
    border-color: var(--stew-primary);
    color: var(--stew-primary);
}

.stew-theme .woocommerce-pagination ul.page-numbers li span.current {
    background: var(--stew-dark);
    border-color: var(--stew-dark);
    color: var(--stew-white);
}

/* ============================================
   Related Products
   ============================================ */
.stew-related-products {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--stew-border-subtle);
}

.stew-related-products h2 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--stew-letter-spacing-wide);
    color: var(--stew-text-muted);
    margin-bottom: 2rem;
}

/* ============================================
   Glassmorphism Utility
   ============================================ */
.stew-glass {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--stew-border-subtle);
}

/* ============================================
   Hover Lift Utility
   ============================================ */
.stew-hover-lift {
    transition: var(--stew-transition);
}

.stew-hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ============================================
   Focus Accessibility
   ============================================ */
*:focus-visible {
    outline: 2px solid var(--stew-primary);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.stew-text-center { text-align: center; }
.stew-text-muted { color: var(--stew-text-muted); }
.stew-bg-muted { background-color: var(--stew-muted-bg); }
.stew-bg-dark { background-color: var(--stew-dark); color: var(--stew-white); }
.stew-bg-gradient-warm { background: linear-gradient(to bottom, rgba(201, 169, 110, 0.04), rgba(201, 169, 110, 0.02)); }
.stew-mt-0 { margin-top: 0; }
.stew-mb-0 { margin-bottom: 0; }
.stew-mb-1 { margin-bottom: 1rem; }
.stew-mb-2 { margin-bottom: 2rem; }
.stew-mb-3 { margin-bottom: 3rem; }

/* ============================================
   WooCommerce Star Rating
   ============================================ */
.stew-theme .star-rating {
    color: var(--stew-primary);
}

/* ============================================
   My Account Page
   ============================================ */
.stew-theme .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    border: 1px solid var(--stew-border);
    border-radius: var(--stew-radius);
    overflow: hidden;
}

.stew-theme .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid var(--stew-border);
}

.stew-theme .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.stew-theme .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--stew-text-muted) !important;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.stew-theme .woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--stew-off-white);
    color: var(--stew-text) !important;
    font-weight: 600;
}

.stew-theme .woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--stew-off-white);
    color: var(--stew-primary) !important;
}

/* ============================================
   WooCommerce Product Styling (theme-agnostic)
   ============================================ */

/* Product title styling */
body.stew-theme .woocommerce ul.products li.product h2,
body.stew-theme .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--stew-font) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: var(--stew-text) !important;
    transition: color 0.2s ease !important;
}

body.stew-theme .woocommerce ul.products li.product:hover h2 {
    color: var(--stew-primary) !important;
}

/* Product price styling */
body.stew-theme .woocommerce ul.products li.product .price,
body.stew-theme .woocommerce ul.products li.product .price .amount,
body.stew-theme .woocommerce ul.products li.product .price .woocommerce-Price-amount {
    font-family: var(--stew-font) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: var(--stew-text) !important;
}

/* Product badges */
body.stew-theme .woocommerce ul.products li.product span.onsale,
body.stew-theme .woocommerce span.onsale {
    background-color: var(--stew-primary) !important;
    color: var(--stew-white) !important;
    border-radius: 999px !important;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.625rem !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* Single product page */
body.stew-theme .woocommerce div.product .product_title,
body.stew-theme .woocommerce div.product h1 {
    font-family: var(--stew-font) !important;
    font-weight: 600 !important;
    color: var(--stew-text) !important;
}

body.stew-theme .woocommerce div.product p.price,
body.stew-theme .woocommerce div.product span.price {
    font-family: var(--stew-font) !important;
    font-weight: 600 !important;
    color: var(--stew-text) !important;
}

body.stew-theme .woocommerce div.product .woocommerce-product-details__short-description {
    font-family: var(--stew-font) !important;
    color: var(--stew-text-muted) !important;
    line-height: 1.7 !important;
}

/* Add to Cart button */
body.stew-theme .woocommerce div.product form.cart .button,
body.stew-theme .woocommerce div.product .single_add_to_cart_button {
    background-color: var(--stew-dark) !important;
    color: var(--stew-white) !important;
    border-radius: var(--stew-radius) !important;
    font-family: var(--stew-font) !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;
    padding: 0.75rem 2rem !important;
    transition: var(--stew-transition) !important;
}

body.stew-theme .woocommerce div.product form.cart .button:hover {
    background-color: var(--stew-dark-lighter) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* ============================================
   Global Form Inputs
   ============================================ */
body.stew-theme input[type="text"],
body.stew-theme input[type="email"],
body.stew-theme input[type="tel"],
body.stew-theme input[type="password"],
body.stew-theme input[type="number"],
body.stew-theme input[type="search"],
body.stew-theme select,
body.stew-theme textarea {
    font-family: var(--stew-font) !important;
    border: 1px solid var(--stew-border) !important;
    border-radius: var(--stew-radius) !important;
    padding: 0.75rem 1rem !important;
    transition: border-color 0.2s ease !important;
}

body.stew-theme input[type="text"]:focus,
body.stew-theme input[type="email"]:focus,
body.stew-theme input[type="tel"]:focus,
body.stew-theme input[type="password"]:focus,
body.stew-theme input[type="number"]:focus,
body.stew-theme input[type="search"]:focus,
body.stew-theme select:focus,
body.stew-theme textarea:focus {
    outline: none !important;
    border-color: var(--stew-primary) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1) !important;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .stew-hero,
    .stew-newsletter,
    .stew-filter-sidebar,
    .stew-trade-notice {
        display: none !important;
    }
}
