/*
 Theme Name:   Nutaperfum
 Theme URI:    https://nutaperfum.pl
 Description:  GeneratePress child theme dla Nutaperfum.pl – luksusowa perfumeria. Performance-first, Gutenberg-native.
 Author:       Nutaperfum Dev
 Author URI:   https://nutaperfum.pl
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  nutaperfum
 License:      GPL-2.0-or-later
*/

/* ==========================================================================
   CSS Custom Properties – Design Tokens Nutaperfum
   ========================================================================== */
:root {
    /* Brand Colors */
    --np-primary: #1c252a;       /* Nutaperfum dark */
    --np-secondary: #b3001b;     /* Nutaperfum red */
    --np-accent: #dd3333;        /* CTA accent red */
    --np-gold: #b99974;          /* dekoracyjny – tła, obramowania, ikony */
    --np-gold-dark: #9a7a56;     /* tekst/linki – kontrast WCAG AA 4.6:1 */
    --np-black: #000000;
    --np-white: #ffffff;
    --np-light: #f7f4ef;

    /* Text Colors */
    --np-text-body: #4a4a4a;
    --np-text-heading: #1c252a;
    --np-text-menu: #1c252a;
    --np-text-muted: #888888;

    /* Borders & Backgrounds */
    --np-border-light: #f0ebe3;
    --np-border-mid: #e2d9cc;
    --np-border-input: #c8bfb5;
    --np-bg-sidebar: #f7f4ef;
    --np-bg-light: #faf8f5;

    /* Typography */
    --np-font-heading: 'Playfair Display', Georgia, serif;
    --np-font-body: 'DM Sans', sans-serif;

    /* Spacing Scale (desktop) */
    --np-space-xs: 8px;
    --np-space-sm: 16px;
    --np-space-md: 24px;
    --np-space-lg: 48px;
    --np-space-xl: 80px;
    --np-space-2xl: 100px;

    /* Container */
    --np-container: 1200px;

    /* Border Radius */
    --np-radius-sm: 4px;
    --np-radius-md: 8px;
    --np-radius-full: 50%;

    /* Shadows */
    --np-shadow-card: 0 4px 10px rgba(0, 0, 0, 0.08);
    --np-shadow-dropdown: 2px 2px 5px 1px rgb(0 0 0 / 5%), -2px 0px 5px 1px rgb(0 0 0 / 5%);

    /* Transitions */
    --np-transition: 0.4s ease;
    --np-transition-fast: 0.3s ease;
}

/* ==========================================================================
   Global Typography
   ========================================================================== */
body {
    font-family: var(--np-font-body);
    color: var(--np-text-body);
    font-size: 16px;
    line-height: 1.875; /* 30px / 16px */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--np-font-heading);
    color: var(--np-text-heading);
}

h1 { font-size: 50px; font-weight: 600; }
h2 { font-size: 40px; font-weight: 600; }
h3 { font-size: 28px; font-weight: 500; }
h4 { font-size: 20px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }

a {
    color: var(--np-primary);
    text-decoration: none;
    transition: color var(--np-transition-fast);
}

a:hover {
    color: var(--np-secondary);
}

/* ==========================================================================
   Buttons (pixel-close to .px_btn)
   ========================================================================== */
.wp-block-button__link,
.np-btn,
button.np-btn,
a.np-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 15px;
    font-family: var(--np-font-body);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--np-white);
    background-color: var(--np-primary);
    border: 2px solid transparent;
    border-radius: var(--np-radius-sm);
    cursor: pointer;
    transition: all var(--np-transition);
    text-decoration: none;
    line-height: 1.5;
}

.wp-block-button__link:hover,
.np-btn:hover,
button.np-btn:hover,
a.np-btn:hover {
    background-color: transparent;
    color: var(--np-primary);
    border-color: var(--np-primary);
}

/* Dark variant */
.wp-block-button.is-style-outline .wp-block-button__link,
.np-btn--dark {
    background-color: var(--np-secondary);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.np-btn--dark:hover {
    background-color: transparent;
    color: var(--np-secondary);
    border-color: var(--np-secondary);
}

/* ==========================================================================
   Section Headings (pixel-close to .px_title / .px_subtitle)
   ========================================================================== */
.np-section-subtitle {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--np-primary);
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-align: center;
}

.np-section-title {
    font-size: 50px;
    font-weight: 600;
    color: var(--np-secondary);
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 15px;
}

.np-section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--np-space-lg);
}

.np-section-divider::before,
.np-section-divider::after {
    content: "";
    width: 60px;
    height: 2px;
    background: var(--np-primary);
    border-radius: var(--np-radius-full);
}

/* ==========================================================================
   Cover Block – hard-light blend (Bellomi category cards)
   ========================================================================== */
.np-blend-hard-light .wp-block-cover__image-background {
    mix-blend-mode: hard-light;
}

/* ==========================================================================
   Header
   ========================================================================== */

/* Top bar */
.np-topbar {
    background: var(--np-secondary);
    color: var(--np-white);
    font-size: 13px;
    padding: 6px 0;
    text-align: center;
}

/* Navigation – top-level links (pixel-close to Bellomi.pl) */
.main-navigation a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--np-primary);
    text-transform: uppercase;
    padding: 10px 14px;
    transition: color var(--np-transition-fast);
    border-bottom: none;
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
    color: var(--np-secondary);
}

/* Active underline */
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
    border-bottom: 2px solid var(--np-primary);
    padding-bottom: 8px;
}

/* Sub-menu dropdown */
.main-navigation ul ul {
    background: var(--np-white);
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    border-top: 2px solid var(--np-primary);
    border-radius: 0 0 4px 4px;
    min-width: 200px;
}

.main-navigation ul ul li {
    border-bottom: none;
}

.main-navigation ul ul a {
    font-size: 13px;
    font-weight: 600;
    color: var(--np-text-menu);
    padding: 8px 20px;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: none;
    display: block;
    transition: background var(--np-transition-fast), color var(--np-transition-fast);
}

.main-navigation ul ul a:hover {
    background: var(--np-bg-light);
    color: var(--np-primary);
}

/* Menu badge (Sale/New) */
.menu-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: var(--np-white);
    background: var(--np-primary);
    padding: 3px 6px;
    border-radius: 50px 50px 50px 0;
    margin-left: 5px;
    position: relative;
    top: -8px;
    line-height: 1;
}

/* Cart icon count */
.np-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--np-primary);
    color: var(--np-white);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: var(--np-radius-full);
    position: absolute;
    top: -8px;
    right: -8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.np-footer {
    background: var(--np-white);
    padding: var(--np-space-xl) 0 var(--np-space-lg);
}

.np-footer h4,
.np-footer-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
    color: var(--np-secondary);
}

.np-footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 3px;
    background: var(--np-secondary);
    border-radius: 5px;
}

.np-footer a {
    color: var(--np-secondary);
    font-weight: 600;
    transition: color var(--np-transition);
}

.np-footer a:hover {
    color: var(--np-primary);
}

.np-footer-bottom {
    border-top: 1px solid var(--np-border-light);
    padding-top: var(--np-space-md);
    text-align: center;
    font-size: 14px;
}

/* ==========================================================================
   WooCommerce – Product Cards (pixel-close to .px_wc_product)
   ========================================================================== */
.woocommerce ul.products li.product {
    border: 1px solid #f1f1f1;
    padding-bottom: 30px;
    overflow: hidden;
    background: var(--np-white);
    transition: 0.5s;
    text-align: center;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
}

/* Product image – full width, contain fit, hover zoom (pixel-close to Bellomi) */
.woocommerce ul.products li.product > a img,
.woocommerce ul.products li.product > .woocommerce-LoopProduct-link img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    padding: 0;
    margin: 0 !important;
    transition: 0.5s;
}

.woocommerce ul.products li.product:hover > a img,
.woocommerce ul.products li.product:hover > .woocommerce-LoopProduct-link img {
    transform: scale(1.1);
    transition: 0.5s;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--np-font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--np-text-heading);
    margin: 20px 10px 0 10px;
    padding: 0;
    transition: 0.5s;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
    color: var(--np-primary);
    transition: 0.5s;
}

.woocommerce ul.products li.product .price {
    font-size: 16px;
    font-weight: 600;
    color: var(--np-primary);
}

.woocommerce span.onsale {
    background: var(--np-primary);
    color: var(--np-white);
    border-radius: var(--np-radius-full);
    font-size: 12px;
    font-weight: 700;
    min-width: 50px;
    min-height: 50px;
    line-height: 50px;
    padding: 0;
}

/* Button – pixel-close to Bellomi DIVI: inline, 8px 20px, animated border */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    border-color: transparent;
    color: #fff;
    background: var(--np-primary);
    padding: 8px 20px !important;
    font-size: 12px;
    font-weight: 600;
    border-radius: 2px !important;
    overflow: hidden;
    position: relative;
    margin: 12px 5px 0 0;
    border: transparent;
    transition: 0.5s;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background: transparent !important;
    color: var(--np-primary);
    transition: 0.5s;
}

/* Animated border hover – top/bottom slide from left */
.woocommerce ul.products li.product .button::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-top: 2px solid;
    border-bottom: 2px solid;
    transform: translate(-100%);
    display: block !important;
    opacity: 1;
    transition: all 0.3s ease-out !important;
}

.woocommerce ul.products li.product .button:hover::before {
    border-top-color: var(--np-primary);
    border-bottom-color: var(--np-primary);
    transform: translateX(0);
}

/* Animated border hover – left/right slide from top */
.woocommerce ul.products li.product .button::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    border-right: 2px solid;
    border-left: 2px solid;
    transform: translateY(-100%);
    width: calc(100% - 4px);
    transition: all 0.4s ease-out !important;
}

.woocommerce ul.products li.product .button:hover::after {
    border-right-color: var(--np-primary);
    border-left-color: var(--np-primary);
    transform: translateX(0);
}

/* ==========================================================================
   WooCommerce – Single Product (Manufaktura Esencji style: 2 columns)
   ========================================================================== */

/* Hide GeneratePress entry-header and featured image on single product pages */
.single-product .entry-header,
.single-product .page-header,
.single-product .page-header-image-single {
    display: none !important;
}

/* 2-column grid: gallery | summary */
.single-product div[id^="product-"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.single-product div[id^="product-"] > .woocommerce-product-gallery {
    grid-column: 1;
    float: none !important;
    width: 100% !important;
}

.single-product div[id^="product-"] > .summary {
    grid-column: 2;
    float: none !important;
    width: 100% !important;
}

/* Notices, tabs, related products span full width */
.single-product div[id^="product-"] > .woocommerce-notices-wrapper,
.single-product div[id^="product-"] > .woocommerce-tabs,
.single-product div[id^="product-"] > .related.products,
.single-product div[id^="product-"] > .up-sells {
    grid-column: 1 / -1;
}

/* Gallery – fill full column width */
.single-product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    width: 100% !important;
}

.single-product .woocommerce-product-gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Product title */
.single-product .summary .product_title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--np-black);
    margin: 0 0 15px;
}

/* --- Odpowiednik inline row (like Manufaktura Esencji) --- */
.np-odpowiednik-row {
    border: 1px solid var(--np-border-light);
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
    background: var(--np-bg-light);
}

.np-odpowiednik-row__label {
    display: block;
    font-size: 11px;
    color: var(--np-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.np-odpowiednik-row__link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.np-odpowiednik-row__img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid var(--np-border-light);
    flex-shrink: 0;
}

.np-odpowiednik-row__name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--np-secondary);
}

.np-odpowiednik-row__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--np-text-muted);
    white-space: nowrap;
}

/* Price */
.single-product .summary .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--np-black);
    margin-bottom: 20px;
}

/* --- Size/Price Buttons (like Manufaktura Esencji) --- */
.np-size-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.np-size-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 16px;
    border: 2px solid var(--np-border-mid);
    border-radius: 4px;
    background: var(--np-white);
    cursor: pointer;
    transition: all 0.2s;
}

.np-size-btn:hover {
    border-color: var(--np-secondary);
}

.np-size-btn.active {
    border-color: var(--np-secondary);
    background: var(--np-bg-light);
}

.np-size-btn__size {
    font-size: 14px;
    font-weight: 700;
    color: var(--np-black);
}

.np-size-btn__price {
    font-size: 12px;
    color: var(--np-text-muted);
}

.np-size-btn.active .np-size-btn__price {
    color: var(--np-primary);
    font-weight: 600;
}

/* Hide default WooCommerce variations table (we use custom buttons) */
.single-product .variations {
    display: none !important;
}

.single-product .reset_variations_alert {
    display: none !important;
}

/* Short description */
.single-product .summary .woocommerce-product-details__short-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--np-text-body);
    margin-bottom: 20px;
}

/* Add to cart area */
.single-product .summary .cart {
    margin-bottom: 20px;
}

/* Add to cart button – full width, dark like Manufaktura Esencji */
.single-product .product .single_add_to_cart_button {
    display: block;
    width: 100%;
    background: var(--np-secondary);
    color: var(--np-white);
    padding: 16px 30px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--np-secondary);
    border-radius: 0;
    transition: all 0.3s;
    text-align: center;
}

.single-product .product .single_add_to_cart_button:hover {
    background: transparent;
    color: var(--np-secondary);
}

/* Quantity input with +/- buttons */
.single-product .product .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--np-border-mid);
    border-radius: 4px;
    overflow: hidden;
}

.single-product .product .quantity .np-qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--np-white);
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--np-text-body);
    padding: 0;
    line-height: 1;
}

.single-product .product .quantity .np-qty-btn:hover {
    background: var(--np-bg-light);
}

.single-product .product .quantity .qty {
    width: 40px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--np-border-mid);
    border-right: 1px solid var(--np-border-mid);
    font-size: 15px;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.single-product .product .quantity .qty::-webkit-outer-spin-button,
.single-product .product .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Product meta (SKU, Category) */
.single-product .summary .product_meta {
    font-size: 13px;
    color: var(--np-text-body);
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--np-border-light);
}

.single-product .summary .product_meta a {
    color: var(--np-primary);
}

/* ==========================================================================
   WooCommerce – Sidebar (pixel-close to .px_shop_sidebar)
   ========================================================================== */
.woocommerce-page .widget {
    background: var(--np-white);
    padding: 20px 0;
    border-radius: 0;
    margin-bottom: 30px;
}

.woocommerce-page .widget .widget-title {
    color: var(--np-text-heading);
    font-family: var(--np-font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--np-gold);
    position: relative;
}

.woocommerce-page .widget .widget-title::before {
    display: none;
}

.woocommerce-page .widget .widget-title::after {
    display: none;
}

.woocommerce-page .widget ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--np-border-light);
}

.woocommerce-page .widget ul li:last-child {
    border-bottom: 0;
}

.woocommerce-page .widget ul li a {
    color: var(--np-text-heading);
    font-size: 13px;
    transition: color var(--np-transition);
}

.woocommerce-page .widget ul li a:hover {
    color: var(--np-gold-dark);
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.np-breadcrumbs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 0;
    margin: 0;
    font-size: 14px;
}

.np-breadcrumbs li {
    display: inline;
}

.np-breadcrumbs a {
    color: var(--np-text-body);
}

.np-breadcrumbs a:hover {
    color: var(--np-primary);
}

.np-breadcrumbs .separator {
    color: var(--np-text-muted);
}

/* ==========================================================================
   Page Title Bar (pixel-close to Bellomi DIVI category header)
   ========================================================================== */
.np-page-title {
    background: linear-gradient(135deg, var(--np-accent) 0%, var(--np-primary) 100%);
    padding: 50px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.np-page-title::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -100px;
    right: -50px;
}

.np-page-title::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: -80px;
    right: 100px;
}

.np-page-title__inner {
    max-width: var(--np-container);
    margin: 0 auto;
    padding: 0 20px;
}

.np-page-title h1 {
    color: var(--np-white);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Category Cards (pixel-close to .px_category_v2_blurb)
   ========================================================================== */
.np-category-card {
    text-align: center;
    transition: transform var(--np-transition);
}

.np-category-card:hover {
    transform: translateY(-10px);
}

.np-category-card img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    padding: 10px;
    border: 2px solid #e6e6e6;
    border-radius: var(--np-radius-full);
    transition: border-color var(--np-transition);
}

.np-category-card:hover img {
    border-color: var(--np-primary);
}

.np-category-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--np-secondary);
    margin-top: 15px;
    transition: color var(--np-transition);
}

.np-category-card:hover h3 {
    color: var(--np-primary);
}

/* ==========================================================================
   Testimonials (pixel-close to .px_testimonial_v1)
   ========================================================================== */
.np-testimonial {
    padding: 30px;
    background: var(--np-white);
    border: 1px solid var(--np-border-light);
    text-align: center;
    transition: all var(--np-transition);
}

.np-testimonial:hover {
    transform: translateY(-10px);
    box-shadow: var(--np-shadow-card);
}

.np-testimonial-author {
    color: var(--np-primary);
    font-weight: 600;
    margin-top: 15px;
}

/* ==========================================================================
   Newsletter (pixel-close to .px_newsletter_v1)
   ========================================================================== */
.np-newsletter {
    display: flex;
    gap: 0;
}

.np-newsletter input[type="email"] {
    flex: 7;
    padding: 12px 20px;
    border: 1px solid var(--np-border-input);
    border-radius: 0;
    font-size: 16px;
}

.np-newsletter button {
    flex: 3;
    padding: 12px 30px;
    background: var(--np-secondary);
    color: var(--np-white);
    border: 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all var(--np-transition);
}

.np-newsletter button:hover {
    background: transparent;
    color: var(--np-secondary);
    outline: 2px solid var(--np-secondary);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
details.np-faq {
    border-bottom: 1px solid var(--np-border-mid);
    padding: 15px 0;
}

details.np-faq summary {
    font-size: 18px;
    font-weight: 600;
    color: var(--np-secondary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details.np-faq summary::after {
    content: "+";
    font-size: 24px;
    font-weight: 300;
    transition: transform var(--np-transition-fast);
}

details.np-faq[open] summary::after {
    content: "−";
}

details.np-faq p {
    padding-top: 10px;
    color: var(--np-text-body);
    line-height: 1.8;
}

/* ==========================================================================
   Upsell Row (pixel-close to Bellomi .bm_product_upsell_wrapper)
   ========================================================================== */
.np-product-upsell-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
    padding: 8px 10px 12px;
}

.np-product-upsell-wrapper > span {
    font-weight: 700;
    color: var(--np-text-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.np-product-upsell {
    display: flex;
    align-items: center;
    column-gap: 15px;
    margin-top: 10px;
}

.np-product-upsell > a {
    width: 35px;
    flex-shrink: 0;
}

.woocommerce ul.products li.product a .np-product-upsell-img,
.np-product-upsell-img {
    width: 35px !important;
    height: 35px !important;
    object-fit: cover;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0;
}

.woocommerce ul.products li.product .np-product-upsell-title {
    font-size: 12px !important;
    font-weight: 300;
    line-height: 1.4em;
    text-align: center;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product .np-product-upsell-title a {
    color: var(--np-secondary);
    font-size: 12px;
    transition: color 0.5s;
}

.woocommerce ul.products li.product .np-product-upsell-title a:hover {
    color: var(--np-primary) !important;
}

.np-product-upsell-title b {
    color: var(--np-primary);
}

/* ==========================================================================
   Responsive – Tablet (577–980px)
   ========================================================================== */
@media (max-width: 980px) {
    h1 { font-size: 40px; }
    .np-section-title { font-size: 40px; }

    /* Logo – constrain on tablet */
    .site-logo img {
        max-width: 220px;
        height: auto;
    }

    /* Topbar – slightly smaller on tablet */
    .np-topbar {
        font-size: 12px;
        padding: 5px 10px;
    }

    /* Single product: stack to 1 column on tablet */
    .single-product div[id^="product-"] {
        grid-template-columns: 1fr !important;
    }

    .single-product div[id^="product-"] > .woocommerce-product-gallery,
    .single-product div[id^="product-"] > .summary,
    .single-product div[id^="product-"] > .woocommerce-tabs,
    .single-product div[id^="product-"] > .related.products {
        grid-column: 1 !important;
    }

    .np-newsletter {
        flex-direction: column;
    }

    .np-newsletter input[type="email"],
    .np-newsletter button {
        flex: auto;
    }

    /* Homepage hero: stack columns on tablet */
    .page .wp-block-columns {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 768px) {
    /* Header – compact on mobile */
    .site-header .inside-header {
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Logo – smaller on mobile */
    .site-logo img {
        max-width: 130px;
        height: auto;
    }

    /* Topbar – compact single line */
    .np-topbar {
        font-size: 11px;
        padding: 3px 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Homepage: stack all columns vertically */
    .page .wp-block-columns {
        flex-direction: column !important;
    }

    .page .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    /* Fix cover blocks: reduce padding on mobile */
    .page .wp-block-cover {
        min-height: 220px !important;
        padding: 28px 18px !important;
    }

    /* Cover block inner container – override inline padding-right */
    .page .wp-block-cover .wp-block-cover__inner-container {
        padding: 0 !important;
    }

    /* Darmowa Dostawa heading – readable on mobile like bellomi */
    .page .wp-block-cover .wp-block-heading {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }

    /* Cover paragraphs */
    .page .wp-block-cover p:not(.wp-block-heading) {
        font-size: 14px !important;
    }

    /* Product grid: 2 columns on mobile (like bellomi) */
    .woocommerce ul.products[class*="columns-"] {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    /* Hide WooCommerce clearfix pseudo-elements – they become grid items */
    .woocommerce ul.products::before,
    .woocommerce ul.products::after {
        display: none !important;
    }

    .woocommerce ul.products[class*="columns-"] li.product,
    .woocommerce ul.products[class*="columns-"] li.product:nth-child(2n) {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
    }

    /* Product card title smaller on mobile */
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 15px;
        margin: 10px 8px 0;
    }

    /* Section titles – consistent sizing on mobile */
    .np-section-title {
        font-size: 30px !important;
    }

    /* Single product mobile adjustments */
    .single-product .summary .product_title {
        font-size: 22px;
    }

    .single-product .summary .price {
        font-size: 20px;
    }

    .np-odpowiednik-row__link {
        gap: 8px;
    }

    .np-odpowiednik-row__name {
        font-size: 13px;
    }

    .np-odpowiednik-row__price {
        font-size: 13px;
    }
}

/* ==========================================================================
   Responsive – Mobile (<576px)
   ========================================================================== */
@media (max-width: 576px) {
    h1 { font-size: 26px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }

    .np-section-title { font-size: 26px !important; }
    .np-section-subtitle { font-size: 14px; }

    /* Logo – compact on small phones */
    .site-logo img {
        max-width: 110px;
        height: auto;
    }

    /* Topbar – minimal on small screens */
    .np-topbar {
        font-size: 10px;
        padding: 2px 8px;
    }

    /* Header – tighter spacing */
    .site-header .inside-header {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .wp-block-button__link,
    .np-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .np-category-card img {
        width: 120px;
        height: 120px;
    }

    /* Homepage cover blocks – compact for small phones */
    .page .wp-block-cover .wp-block-heading {
        font-size: 18px !important;
    }

    .page .wp-block-cover {
        min-height: 160px !important;
        padding: 20px 14px !important;
    }

    .page .wp-block-cover p:not(.wp-block-heading) {
        font-size: 13px !important;
    }

    /* Product card title – tighter on small screens */
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px;
        margin: 8px 6px 0;
    }
}

/* ==========================================================================
   18. Header Icons – animowany koszyk + wyszukiwarka
   ========================================================================== */

/* Spin: 3 pełne obroty (1080°) w 0.9s */
@keyframes bm-cart-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(1080deg); }
}

/* Nav bar – jeden rząd, ikony po prawej */
.main-navigation .inside-navigation {
    align-items: center;
    flex-wrap: nowrap !important;
    width: 100%;
}

/* Menu zajmuje dostępne miejsce, ikony wypychane na prawo */
.main-navigation .main-nav {
    flex: 1 1 auto;
    overflow: visible;
}

/* Kontener ikon – po prawej stronie (flex order: po menu) */
.np-header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    order: 999;
    padding-left: 16px;
}

/* Wspólne style: ikona koszyka + lupka */
.np-header-cart,
.np-header-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--np-primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    text-decoration: none;
    transition: color var(--np-transition-fast);
}

.np-header-cart:hover,
.np-header-search:hover {
    color: var(--np-secondary);
}

/* Spin przy hover – 3 pełne obroty */
.np-header-cart:hover svg {
    animation: bm-cart-spin 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Ukryj badge gdy koszyk pusty */
.np-cart-count--hidden {
    display: none !important;
}

/* Search overlay – wysuwa się z góry */
.np-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
    z-index: 99999;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.25s ease;
}

.np-search-overlay.is-open {
    transform: translateY(0);
    opacity: 1;
}

/* Formularz wyszukiwania */
.np-search-form {
    display: flex;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
    gap: 8px;
}

.np-search-form input[type="search"] {
    flex: 1;
    padding: 11px 18px;
    border: 2px solid var(--np-border-mid);
    border-radius: 4px;
    font-size: 16px;
    font-family: var(--np-font-body);
    outline: none;
    -webkit-appearance: none;
    transition: border-color 0.2s;
}

.np-search-form input[type="search"]:focus {
    border-color: var(--np-primary);
}

.np-search-form input[type="search"]::-webkit-search-decoration,
.np-search-form input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.np-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--np-primary);
    color: var(--np-white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--np-transition-fast);
}

.np-search-submit:hover {
    background: var(--np-secondary);
}

.np-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--np-text-muted);
    flex-shrink: 0;
    padding: 0;
    transition: color var(--np-transition-fast);
}

.np-search-close:hover {
    color: var(--np-secondary);
}

/* Mobile */
@media (max-width: 768px) {
    .np-header-icons {
        gap: 12px;
    }
    .np-search-overlay {
        padding: 12px 14px;
    }
}

/* ==========================================================================
   14. My Account – WooCommerce dashboard styling
   ========================================================================== */

/* Navigation sidebar */
.woocommerce-MyAccount-navigation {
    background: var(--np-white);
    border: 1px solid var(--np-border-light);
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
    border-bottom: 1px solid var(--np-border-light);
}

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

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 20px;
    color: var(--np-text-body);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s, color 0.15s;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--np-bg-light);
    color: var(--np-secondary);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--np-secondary);
    color: var(--np-white);
    font-weight: 600;
}

/* Content area */
.woocommerce-MyAccount-content {
    background: var(--np-white);
    border: 1px solid var(--np-border-light);
    border-radius: 6px;
    padding: 30px;
}

/* Addresses – single column stack, kill WooCommerce col2-set floats */
.woocommerce-MyAccount-content .col2-set,
.woocommerce-MyAccount-content .woocommerce-Addresses {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
}

.woocommerce-MyAccount-content .col2-set::after {
    display: none;
}

.woocommerce-MyAccount-content .col2-set .col-1,
.woocommerce-MyAccount-content .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
    margin: 0 !important;
    background: var(--np-bg-light);
    border: 1px solid var(--np-border-light);
    border-radius: 6px;
}

/* Address title row: heading + edit link inline */
.woocommerce-MyAccount-content .col2-set .col-1 > .woocommerce-Address-title,
.woocommerce-MyAccount-content .col2-set .col-2 > .woocommerce-Address-title,
.woocommerce-MyAccount-content .woocommerce-Address header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--np-border-light);
}

/* Heading inside title row */
.woocommerce-MyAccount-content .col2-set h2,
.woocommerce-MyAccount-content .col2-set h3,
.woocommerce-MyAccount-content .woocommerce-Address h2,
.woocommerce-MyAccount-content .woocommerce-Address h3 {
    font-size: 15px !important;
    font-weight: 700;
    color: var(--np-secondary);
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    flex-shrink: 0;
}

/* Edit/Add link */
.woocommerce-MyAccount-content .col2-set a:not(.button),
.woocommerce-MyAccount-content .woocommerce-Address-title a,
.woocommerce-MyAccount-content a.edit {
    font-size: 13px;
    color: var(--np-accent);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 12px;
}

.woocommerce-MyAccount-content .col2-set a:not(.button):hover,
.woocommerce-MyAccount-content a.edit:hover {
    text-decoration: underline;
}

/* Address text */
.woocommerce-MyAccount-content address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
    color: var(--np-text-body);
}

/* Page title */
.woocommerce-MyAccount-content > h2:first-child,
.woocommerce-MyAccount-content > h3:first-child {
    font-size: 20px;
    font-weight: 700;
    color: var(--np-secondary);
    margin: 0 0 20px;
}

/* Forms in My Account (edit address, account details) */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm,
.woocommerce-MyAccount-content .woocommerce-address-fields {
    max-width: 600px;
}

.woocommerce-MyAccount-content .form-row {
    margin-bottom: 16px;
}

.woocommerce-MyAccount-content .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--np-secondary);
    margin-bottom: 4px;
}

.woocommerce-MyAccount-content .form-row input,
.woocommerce-MyAccount-content .form-row select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--np-border-mid);
    border-radius: 4px;
    font-size: 14px;
    color: var(--np-text-body);
    background: var(--np-white);
    transition: border-color 0.15s;
}

.woocommerce-MyAccount-content .form-row input:focus,
.woocommerce-MyAccount-content .form-row select:focus {
    outline: none;
    border-color: var(--np-secondary);
}

.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content .button {
    display: inline-block;
    background: var(--np-secondary);
    color: var(--np-white);
    padding: 12px 30px;
    border: 2px solid var(--np-secondary);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-MyAccount-content .button:hover {
    background: transparent;
    color: var(--np-secondary);
}

/* Orders table */
.woocommerce-MyAccount-content .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.woocommerce-MyAccount-content .woocommerce-orders-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--np-text-body);
    border-bottom: 2px solid var(--np-border-light);
}

.woocommerce-MyAccount-content .woocommerce-orders-table td {
    padding: 12px;
    border-bottom: 1px solid var(--np-border-light);
    vertical-align: middle;
}

.woocommerce-MyAccount-content .woocommerce-orders-table .button {
    padding: 6px 14px;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-MyAccount-content {
        padding: 16px;
    }

    .woocommerce-MyAccount-content .col2-set .col-1,
    .woocommerce-MyAccount-content .col2-set .col-2 {
        padding: 14px !important;
    }
}

/* ==========================================================================
   15. Custom Footer (bellomi-style pink wave)
   ========================================================================== */

/* Wave divider */
.np-footer-wave {
    line-height: 0;
    margin-top: 60px;
}

.np-footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Hide default GP footer */
.site-footer {
    display: none !important;
}

/* Main footer */
.np-custom-footer {
    background: var(--np-primary);
    background-image:
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(179,0,27,0.1) 0%, transparent 50%);
    color: var(--np-white);
    padding: 0 0 30px;
    font-family: var(--np-font-body);
}

.np-footer-inner {
    max-width: var(--np-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* 4-column grid */
.np-footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 50px 0 40px;
}

.np-footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--np-gold);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
    text-decoration-color: var(--np-gold);
    margin: 0 0 20px;
    padding: 0;
}

.np-footer-col h4::after {
    display: none;
}

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

.np-footer-col ul li {
    margin: 0 0 10px;
    padding: 0;
    border: none;
    font-size: 14px;
    line-height: 1.5;
}

.np-footer-col ul li a {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.np-footer-col ul li a:hover {
    color: var(--np-primary);
}

.np-fi {
    display: inline-block;
    width: 20px;
    text-align: center;
    color: var(--np-primary);
}

.np-footer-hours {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 16px;
}

.np-footer-legal {
    font-size: 12px;
    line-height: 1.6;
    opacity: 0.75;
    margin-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 10px;
}

/* Bottom bar */
.np-footer-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px 0;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.np-footer-bar h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--np-gold);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    margin: 0 0 14px;
}

.np-footer-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.np-pay-icon,
.np-ship-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--np-white);
    color: var(--np-secondary);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.06);
}

.np-footer-social {
    display: flex;
    gap: 12px;
}

.np-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    color: var(--np-white);
    border-radius: 4px;
    transition: background 0.2s;
}

.np-footer-social a:hover {
    background: var(--np-gold);
    color: var(--np-white);
}

/* Copyright */
.np-footer-copyright {
    text-align: center;
    font-size: 13px;
    color: rgba(42,42,42,0.6);
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

/* Footer responsive – tablet */
@media (max-width: 980px) {
    .np-footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Footer responsive – mobile */
@media (max-width: 576px) {
    .np-footer-columns {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 0;
    }

    .np-footer-bar {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .np-footer-wave svg {
        height: 50px;
    }
}

/* ==========================================================================
   Shop Sidebar – Accordion Category Filters
   ========================================================================== */

/* -- Layout: custom sidebar + products grid (no GP sidebar) -- */
.np-shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    align-items: start;
}

.np-shop-sidebar {
    position: sticky;
    top: 20px;
}

.np-shop-products {
    min-width: 0; /* prevent grid blowout */
}

/* Ensure WC product grid inside np-shop-products keeps columns */
.np-shop-products ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* -- Sidebar widget container -- */
.np-cat-filter {
    font-family: var(--np-font-body);
}

/* -- Accordion section -- */
.np-accordion-section {
    border-bottom: 1px solid var(--np-border-light);
}

.np-accordion-section:last-child {
    border-bottom: none;
}

/* -- Toggle button (parent with children) -- */
.np-accordion-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--np-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--np-text-heading);
    text-align: left;
    gap: 6px;
    transition: color 0.2s;
}

.np-accordion-toggle:hover {
    color: var(--np-gold-dark);
}

.np-accordion-toggle:focus-visible {
    outline: 2px solid var(--np-gold);
    outline-offset: 2px;
    border-radius: 2px;
}

.np-accordion-toggle span:first-child {
    flex: 1;
}

.np-accordion-count,
.np-term-count {
    font-size: 12px;
    color: var(--np-text-muted);
    font-weight: 400;
}

/* -- Arrow icon -- */
.np-accordion-arrow {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--np-text-muted);
}

.np-accordion-open > .np-accordion-toggle .np-accordion-arrow {
    transform: rotate(180deg);
}

/* -- Panel (children list) -- */
.np-accordion-panel {
    padding: 0 0 8px 0;
}

.np-accordion-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.np-accordion-panel ul li {
    margin: 0;
    padding: 0;
    border-bottom: none !important;
}

.np-accordion-panel ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0 6px 16px;
    font-size: 13px;
    color: var(--np-text-body);
    text-decoration: none;
    transition: color 0.2s;
}

.np-accordion-panel ul li a:hover {
    color: var(--np-gold-dark);
}

/* -- Active state -- */
.np-accordion-panel ul li a.np-cat-active,
.np-accordion-panel ul li a[class*="np-cat-active"],
a.np-accordion-link.np-cat-active {
    color: var(--np-text-heading);
    font-weight: 700;
}

.np-cat-count {
    font-size: 11px;
    color: var(--np-text-muted);
    font-weight: 400;
}

/* -- Leaf link (no children) -- */
.np-accordion-leaf .np-accordion-link {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--np-text-heading);
    text-decoration: none;
    transition: color 0.2s;
    gap: 6px;
}

.np-accordion-leaf .np-accordion-link span:first-child {
    flex: 1;
}

.np-accordion-leaf .np-accordion-link:hover {
    color: var(--np-gold-dark);
}

.np-accordion-leaf .np-accordion-empty {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--np-text-muted);
    gap: 6px;
    cursor: default;
}

.np-accordion-leaf .np-accordion-empty span:first-child {
    flex: 1;
}


/* -- Tablet: 2 columns products -- */
@media (max-width: 1024px) {
    .np-shop-layout {
        grid-template-columns: 220px 1fr;
        gap: 20px;
    }
    .np-shop-products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* -- Mobile: sidebar as slide-out drawer -- */
@media (max-width: 768px) {
    .np-shop-layout {
        display: block;
    }

    .np-shop-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        z-index: 9999;
        background: var(--np-white);
        padding: 20px;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
        transition: left 0.3s ease;
    }

    .np-shop-sidebar.np-sidebar-visible {
        left: 0;
    }

    .np-shop-products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Filter toggle button */
    .np-filters-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 20px;
        background: var(--np-primary);
        color: var(--np-white);
        border: none;
        border-radius: var(--np-radius-sm);
        font-family: var(--np-font-body);
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        margin-bottom: 16px;
        transition: background 0.2s;
    }

    .np-filters-toggle:hover,
    .np-filters-toggle.np-filters-active {
        background: var(--np-gold-dark);
    }
}

/* Desktop: hide filter button */
@media (min-width: 769px) {
    .np-filters-toggle {
        display: none;
    }
}

