/*
Theme Name: Balkony i Tarasy
Theme URI: https://balkonyitarasy.pl
Description: Profesjonalny motyw WooCommerce dla BalkonyiTarasy.pl — ciemny, architektoniczny design inspirowany identyfikacją wizualną marki. Ciemny antracyt, zieleń limonkowa, geometryczna typografia.
Version: 2.0.0
Author: Balkony i Tarasy
Author URI: https://balkonyitarasy.pl
Text Domain: superstore
Domain Path: /languages
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: woocommerce, ecommerce, custom-logo, dark, architectural
*/

/* ================================================================
   IMPORT FONTS — Barlow Condensed (display) + Barlow (body)
   Matches the bold condensed uppercase style of the logo
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ================================================================
   DESIGN TOKENS — Inspired by logo: anthracite + lime green
   ================================================================ */
:root {
    /* --- Brand Colors (from logo) --- */
    --clr-primary:        #3a3d40;   /* anthracite — logo background */
    --clr-primary-dark:   #252729;   /* deeper anthracite */
    --clr-primary-light:  #4f5358;   /* lighter anthracite */
    --clr-primary-mid:    #2e3133;   /* mid anthracite for cards */

    --clr-accent:         #7ab317;   /* lime green — logo accent */
    --clr-accent-hover:   #659910;   /* darker lime */
    --clr-accent-light:   #f0f7e0;   /* pale green tint */
    --clr-accent-dim:     rgba(122,179,23,.12); /* subtle green bg */

    /* --- Neutrals --- */
    --clr-white:          #ffffff;
    --clr-off-white:      #f5f6f4;
    --clr-grey-50:        #f0f1ef;
    --clr-grey-100:       #e2e4e0;
    --clr-grey-200:       #c8cbc5;
    --clr-grey-400:       #8a9184;
    --clr-grey-600:       #555c4f;
    --clr-grey-800:       #2a2d27;
    --clr-black:          #0f1010;

    /* --- Dark surface system (for dark sections) --- */
    --clr-surface-1:      #2e3133;
    --clr-surface-2:      #363a3d;
    --clr-surface-3:      #3d4144;
    --clr-on-dark:        rgba(255,255,255,.85);
    --clr-on-dark-muted:  rgba(255,255,255,.5);
    --clr-on-dark-subtle: rgba(255,255,255,.2);

    /* --- Semantic --- */
    --clr-success:        #4a9a2a;
    --clr-error:          #c0392b;
    --clr-warning:        #e67e22;

    /* --- Typography --- */
    --font-display: 'Barlow Condensed', sans-serif;
    --font-body:    'Barlow', sans-serif;

    /* --- Font Sizes --- */
    --fs-xs:   0.75rem;
    --fs-sm:   0.875rem;
    --fs-base: 1rem;
    --fs-md:   1.125rem;
    --fs-lg:   1.25rem;
    --fs-xl:   1.5rem;
    --fs-2xl:  2rem;
    --fs-3xl:  2.75rem;
    --fs-4xl:  3.5rem;

    /* --- Font Weights --- */
    --fw-light:  300;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semi:   600;
    --fw-bold:   700;
    --fw-black:  800;

    /* --- Spacing --- */
    --sp-1:  0.25rem;   --sp-2:  0.5rem;    --sp-3:  0.75rem;
    --sp-4:  1rem;      --sp-5:  1.25rem;   --sp-6:  1.5rem;
    --sp-8:  2rem;      --sp-10: 2.5rem;    --sp-12: 3rem;
    --sp-16: 4rem;      --sp-20: 5rem;      --sp-24: 6rem;

    /* --- Layout --- */
    --container-max:  1300px;
    --header-h:       72px;
    --topbar-h:       38px;
    --subnav-h:       52px;
    --sidebar-w:      280px;

    /* --- Radius --- */
    --radius-sm:   3px;
    --radius-md:   6px;
    --radius-lg:   10px;
    --radius-xl:   16px;
    --radius-full: 9999px;

    /* --- Shadows --- */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.15);
    --shadow-md: 0 4px 16px rgba(0,0,0,.18);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.22);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.28);
    --shadow-green: 0 4px 20px rgba(122,179,23,.25);

    /* --- Transitions --- */
    --trans-fast: 0.15s ease;
    --trans-base: 0.25s ease;
    --trans-slow: 0.40s ease;

    /* --- Letter spacing for display text --- */
    --ls-wide:  0.06em;
    --ls-wider: 0.12em;
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-normal);
    line-height: 1.65;
    color: var(--clr-grey-800);
    background: var(--clr-off-white);
    overflow-x: hidden;
    padding-top: calc(var(--topbar-h) + var(--header-h) + var(--subnav-h));
}
img, svg, video { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--clr-primary);
    text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 5vw, var(--fs-4xl)); }
h2 { font-size: clamp(1.7rem, 3.5vw, var(--fs-3xl)); }
h3 { font-size: clamp(1.3rem, 2.5vw, var(--fs-2xl)); }
p  { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}
.container--narrow {
    /* max-width: 820px; */
}
.section-padding { padding-block: clamp(3rem, 6vw, var(--sp-20)); }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--sp-2);
    padding: .6em 1.6em;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    white-space: nowrap;
    border: 2px solid transparent;
    line-height: 1.4;
    transition: background var(--trans-fast), color var(--trans-fast),
                box-shadow var(--trans-fast), transform var(--trans-fast),
                border-color var(--trans-fast);
    cursor: pointer;
    text-decoration: none;
}
.btn--primary {
    background: var(--clr-accent);
    color: var(--clr-primary-dark);
    border-color: var(--clr-accent);
}
.btn--primary:hover {
    background: var(--clr-accent-hover);
    border-color: var(--clr-accent-hover);
    box-shadow: var(--shadow-green);
    transform: translateY(-1px);
}
.btn--outline {
    background: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-grey-200);
}
.btn--outline:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: var(--clr-accent-dim);
}
.btn--outline-white {
    background: transparent;
    color: var(--clr-white);
    border-color: rgba(255,255,255,.4);
}
.btn--outline-white:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: var(--clr-accent-dim);
}
.btn--ghost {
    background: transparent;
    color: var(--clr-accent);
    border-color: transparent;
    padding-inline: .5em;
}
.btn--ghost:hover {
    color: var(--clr-accent-hover);
    background: var(--clr-accent-dim);
}
.btn--dark {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
}
.btn--dark:hover {
    background: var(--clr-primary-dark);
}
.btn--full  { width: 100%; }
.btn--sm    { padding: .4em 1.1em;  font-size: var(--fs-xs); }
.btn--lg    { padding: .75em 2em;   font-size: var(--fs-md); }
.btn--xl    { padding: .9em 2.5em;  font-size: var(--fs-lg); }
.btn--icon  { padding: .55em; aspect-ratio: 1; border-radius: var(--radius-md); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ================================================================
   TOP BAR — dark anthracite like logo background
   ================================================================ */
.top-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
    height: var(--topbar-h);
    background: var(--clr-primary-dark);
    color: var(--clr-on-dark-muted);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    border-bottom: 1px solid var(--clr-on-dark-subtle);
    display: flex;
    align-items: center;
}
.top-bar__inner {
    width: 100%; max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
    display: flex; align-items: center;
    justify-content: space-between; gap: var(--sp-4);
}
.top-bar__promo {
    display: flex; align-items: center; gap: var(--sp-2);
    font-weight: var(--fw-medium);
    color: var(--clr-on-dark);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    font-size: 11px;
}
.top-bar__promo svg { color: var(--clr-accent); flex-shrink: 0; }
.top-bar__right {
    display: flex; align-items: center; gap: var(--sp-6);
}
.top-bar__contact { display: flex; gap: var(--sp-5); }
.top-bar__contact a {
    display: flex; align-items: center; gap: var(--sp-1);
    color: var(--clr-on-dark-muted);
    transition: color var(--trans-fast);
}
.top-bar__contact a:hover { color: var(--clr-accent); }
.top-bar__socials { display: flex; gap: var(--sp-3); }
.top-bar__socials a {
    color: var(--clr-on-dark-subtle);
    transition: color var(--trans-fast);
    display: flex; align-items: center;
}
.top-bar__socials a:hover { color: var(--clr-accent); }

/* ================================================================
   HEADER — slightly lighter anthracite, clean architectural
   ================================================================ */
   
.site-header {
    position: fixed;
    top: var(--topbar-h);
    left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--clr-primary);
    border-bottom: 2px solid var(--clr-on-dark-subtle);
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
    transition: box-shadow var(--trans-base);
}
.site-header.is-scrolled {
    box-shadow: 0 6px 32px rgba(0,0,0,.4);
    background: var(--clr-primary-dark);
}
.site-header .container { height: 100%; }
.header-inner {
    height: 100%;
    display: flex; align-items: center; gap: var(--sp-6);
}

/* --- Logo --- */
.site-logo { flex-shrink: 0; display: flex; align-items: center; }

.site-logo a {
    display: flex;
    align-items: center;
}
.site-logo img { height: 48px; width: auto; }

.site-logo__image {
    height: 44px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

.mobile-nav-header .site-logo__image {
    height: 38px;
    max-width: 220px;
}

@media (max-width: 1023px) {
    .site-logo__image {
        height: 42px;
        max-width: 220px;
    }
}

.logo-text {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-black);
    letter-spacing: var(--ls-wide);
    color: var(--clr-white);
    text-transform: uppercase;
    line-height: 1;
}
.logo-text span { color: var(--clr-accent); }

/* --- Search --- */
.header-search { flex: 1; max-width: 520px; margin-inline: auto; }
.header-search form {
    display: flex; align-items: stretch;
    border: 1px solid var(--clr-on-dark-subtle);
    border-radius: var(--radius-md);
    background: var(--clr-surface-2);
    overflow: hidden;
    transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}
.header-search form:focus-within {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px var(--clr-accent-dim);
}
.header-search input[type="search"] {
    flex: 1; border: none; background: transparent;
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--fs-sm);
    color: var(--clr-on-dark);
    outline: none; min-width: 0;
}
.header-search input[type="search"]::placeholder { color: var(--clr-on-dark-muted); }
.header-search button[type="submit"] {
    background: var(--clr-accent);
    color: var(--clr-primary-dark);
    border: none;
    padding: var(--sp-2) var(--sp-4);
    cursor: pointer;
    display: flex; align-items: center; gap: var(--sp-2);
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    transition: background var(--trans-fast);
}
.header-search button[type="submit"]:hover { background: var(--clr-accent-hover); }

/* --- Header Actions --- */
.header-actions {
    display: flex; align-items: center; gap: var(--sp-1);
    margin-left: auto; flex-shrink: 0;
}
.header-action-btn {
    display: flex; flex-direction: column;
    align-items: center; gap: 2px;
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--radius-md);
    color: var(--clr-on-dark-muted);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    transition: color var(--trans-fast), background var(--trans-fast);
    position: relative;
    background: none; border: none; cursor: pointer;
}
.header-action-btn:hover {
    color: var(--clr-accent);
    background: var(--clr-accent-dim);
}
.header-action-btn svg { width: 22px; height: 22px; }
.cart-count {
    position: absolute; top: 4px; right: 4px;
    background: var(--clr-accent);
    color: var(--clr-primary-dark);
    font-size: 10px; font-weight: var(--fw-black);
    width: 18px; height: 18px;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--clr-primary);
}
.cart-count:empty { display: none; }

/* --- Hamburger --- */
.menu-toggle {
    display: flex; flex-direction: column;
    justify-content: center; gap: 5px;
    padding: var(--sp-2); width: 44px; height: 44px;
    border-radius: var(--radius-md);
    transition: background var(--trans-fast);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle:hover { background: var(--clr-surface-2); }
.menu-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--clr-on-dark);
    border-radius: 2px;
    transition: transform var(--trans-base), opacity var(--trans-base);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   DESKTOP SUBNAV — accent green underline style
   ================================================================ */
.header-subnav {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0; right: 0;
    z-index: 999;
    height: var(--subnav-h);
    background: var(--clr-surface-1);
    border-bottom: 1px solid var(--clr-on-dark-subtle);
}
.header-subnav .container { height: 100%; }
.header-subnav__list {
    height: 100%;
    display: flex; align-items: center; justify-content: center;
    gap: .25rem;
}
.header-subnav__list li a {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 38px;
    padding: 0 1.1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--clr-on-dark-muted);
    transition: color var(--trans-fast), background var(--trans-fast);
    position: relative;
}
.header-subnav__list li a::after {
    content: '';
    position: absolute; bottom: -1px; left: 50%; right: 50%;
    height: 2px;
    background: var(--clr-accent);
    transition: left var(--trans-base), right var(--trans-base);
}
.header-subnav__list li a:hover::after,
.header-subnav__list li.is-active a::after {
    left: 12%; right: 12%;
}
.header-subnav__list li a:hover { color: var(--clr-white); }
.header-subnav__list li.is-active a {
    color: var(--clr-accent);
    font-weight: var(--fw-black);
}

@media (max-width: 1023px) {
    :root { --header-h: 76px; --subnav-h: 0px; }
    body { padding-top: calc(var(--topbar-h) + var(--header-h)); }
    .header-inner { grid-template-columns: auto 1fr auto; gap: .75rem; }
    .header-search { max-width: none; }
    .header-action-btn { min-width: 56px; height: 46px; padding: .35rem .5rem; font-size: 0; }
    .header-action-btn span:last-child { display: none; }
    .header-action-btn svg { width: 20px; height: 20px; }
    .header-subnav { display: none; }
}

.main-nav { display: none; }
@media (min-width: 1024px) { .main-nav { display: flex; align-items: center; } }
.main-nav-list { display: flex; align-items: center; }
.main-nav-list > li > a {
    display: flex; align-items: center; gap: var(--sp-1);
    padding: var(--sp-2) var(--sp-3);
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--clr-on-dark-muted);
    border-radius: var(--radius-md);
    transition: color var(--trans-fast), background var(--trans-fast);
    white-space: nowrap;
}
.main-nav-list > li > a:hover,
.main-nav-list > li.current-menu-item > a {
    color: var(--clr-accent);
    background: var(--clr-accent-dim);
}

/* ================================================================
   MOBILE NAV — full dark anthracite
   ================================================================ */
.mobile-nav-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 1099;
    opacity: 0; pointer-events: none;
    transition: opacity var(--trans-base);
}
.mobile-nav-overlay.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(360px, 90vw);
    background: var(--clr-primary-dark);
    z-index: 1100;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--trans-slow);
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-xl);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-header {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--clr-on-dark-subtle);
    background: var(--clr-primary-dark);
    flex-shrink: 0;
}
.mobile-nav-header .logo-text { font-size: var(--fs-md); color: #fff; }
.mobile-nav-close {
    color: var(--clr-on-dark-muted);
    padding: var(--sp-1); border-radius: var(--radius-md);
    transition: color var(--trans-fast), background var(--trans-fast);
}
.mobile-nav-close:hover { color: var(--clr-accent); background: var(--clr-accent-dim); }
.mobile-nav-list { flex: 1; padding: var(--sp-4); }
.mobile-nav-list li + li { border-top: 1px solid var(--clr-on-dark-subtle); }
.mobile-nav-list a {
    display: flex; align-items: center; gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-2);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-md);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--clr-on-dark-muted);
    transition: color var(--trans-fast), background var(--trans-fast);
    border-radius: var(--radius-md);
}
.mobile-nav-list a:hover { color: var(--clr-accent); background: var(--clr-accent-dim); }
.mobile-nav-actions {
    padding: var(--sp-4) var(--sp-5);
    border-top: 1px solid var(--clr-on-dark-subtle);
    display: grid; gap: var(--sp-3); flex-shrink: 0;
}

/* ================================================================
   MINI CART DRAWER
   ================================================================ */
.mini-cart-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 1099;
    opacity: 0; pointer-events: none;
    transition: opacity var(--trans-base);
}
.mini-cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.mini-cart-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(420px, 95vw);
    background: var(--clr-white);
    z-index: 1100;
    box-shadow: var(--shadow-xl);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--trans-slow);
}
.mini-cart-drawer.is-open { transform: translateX(0); }
.mini-cart-header {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: var(--sp-5) var(--sp-6);
    border-bottom: 1px solid var(--clr-grey-100);
    background: var(--clr-primary);
    flex-shrink: 0;
}
.mini-cart-header h3 {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-black);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--clr-white);
}
.mini-cart-close {
    color: var(--clr-on-dark-muted);
    padding: var(--sp-1); border-radius: var(--radius-md);
    transition: color var(--trans-fast), background var(--trans-fast);
}
.mini-cart-close:hover { color: var(--clr-accent); background: var(--clr-accent-dim); }
.mini-cart-items { flex: 1; overflow-y: auto; padding: var(--sp-4); }
.mini-cart-item {
    display: flex; gap: var(--sp-3);
    padding: var(--sp-3);
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-md);
    align-items: flex-start;
    margin-bottom: var(--sp-3);
}
.mini-cart-item img {
    width: 64px; height: 64px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.mini-cart-item-info { flex: 1; min-width: 0; }
.mini-cart-item-name a {
    font-size: var(--fs-sm); font-weight: var(--fw-medium);
    color: var(--clr-grey-800);
    transition: color var(--trans-fast);
}
.mini-cart-item-name a:hover { color: var(--clr-accent); }
.mini-cart-item-meta { font-size: var(--fs-xs); color: var(--clr-grey-400); margin-top: var(--sp-1); }
.remove-from-cart {
    color: var(--clr-grey-400); flex-shrink: 0;
    padding: var(--sp-1);
    transition: color var(--trans-fast);
}
.remove-from-cart:hover { color: var(--clr-error); }
.mini-cart-empty {
    text-align: center;
    padding: var(--sp-12) var(--sp-6);
    color: var(--clr-grey-400);
}
.mini-cart-footer {
    padding: var(--sp-5) var(--sp-6);
    border-top: 1px solid var(--clr-grey-100);
    flex-shrink: 0;
    background: var(--clr-grey-50);
}
.mini-cart-subtotal {
    display: flex; justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--sp-4);
    font-size: var(--fs-sm);
    color: var(--clr-grey-600);
}
.mini-cart-subtotal strong {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-black);
    color: var(--clr-primary);
}
.mini-cart-actions { display: grid; gap: var(--sp-3); }

/* ================================================================
   PAGE HERO — dark like logo background
   ================================================================ */
.page-hero {
    background: var(--clr-primary-dark);
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
    color: var(--clr-white);
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(122,179,23,.12) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 100%, rgba(122,179,23,.06) 0%, transparent 45%);
    pointer-events: none;
}
/* Subtle grid texture like architectural drawings */
.page-hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, var(--fs-3xl));
    font-weight: var(--fw-black);
    color: var(--clr-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: var(--sp-3);
}
.page-hero__desc { color: var(--clr-on-dark-muted); font-size: var(--fs-md); }

/* Breadcrumbs */
.breadcrumbs {
    display: flex; align-items: center; gap: var(--sp-2);
    flex-wrap: wrap;
    font-size: var(--fs-xs);
    font-family: var(--font-display);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--clr-on-dark-muted);
    margin-bottom: var(--sp-4);
}
.breadcrumbs a { color: var(--clr-on-dark-muted); transition: color var(--trans-fast); }
.breadcrumbs a:hover { color: var(--clr-accent); }
.breadcrumbs .sep { color: var(--clr-on-dark-subtle); }
.breadcrumbs .current { color: var(--clr-accent); }

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-bar {
    background: var(--clr-surface-1);
    border-bottom: 1px solid var(--clr-on-dark-subtle);
    padding: var(--sp-4) 0;
}
.trust-bar__list {
    display: flex; align-items: center;
    justify-content: center; flex-wrap: wrap;
    gap: clamp(1.5rem, 4vw, 3rem);
}
.trust-bar__item {
    display: flex; align-items: center; gap: var(--sp-3);
    font-size: var(--fs-sm); color: var(--clr-on-dark-muted);
}
.trust-bar__item svg { color: var(--clr-accent); flex-shrink: 0; width: 22px; height: 22px; }
.trust-bar__item strong {
    display: block;
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    font-size: var(--fs-sm);
    color: var(--clr-white);
}
.trust-bar__item span { display: block; font-size: var(--fs-xs); }

/* ================================================================
   CATEGORY CARDS
   ================================================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: var(--sp-4);
}
.cat-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
    background: var(--clr-surface-2);
    transition: transform var(--trans-base), box-shadow var(--trans-base);
    border: 1px solid var(--clr-on-dark-subtle);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--trans-slow); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(37,39,41,.92) 0%, rgba(37,39,41,.3) 55%, transparent 100%);
}
.cat-card:hover .cat-card__overlay {
    background: linear-gradient(to top, rgba(37,39,41,.96) 0%, rgba(37,39,41,.4) 55%, transparent 100%);
}
.cat-card__body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: var(--sp-4);
    color: var(--clr-white);
}
.cat-card__name {
    font-family: var(--font-display);
    font-weight: var(--fw-black);
    font-size: var(--fs-lg);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    line-height: 1.1;
    margin-bottom: 4px;
}
/* Green accent bar on hover */
.cat-card::before {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 100%;
    height: 3px; background: var(--clr-accent);
    transition: right var(--trans-base);
    z-index: 3;
}
.cat-card:hover::before { right: 0; }
.cat-card__count { font-size: var(--fs-xs); color: rgba(255,255,255,.55); }

/* ================================================================
   PRODUCT CARDS
   ================================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: var(--sp-5);
    list-style: none; padding: 0; margin: 0;
}
.product-card {
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-lg);
    background: var(--clr-white);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: box-shadow var(--trans-base), transform var(--trans-base), border-color var(--trans-base);
    position: relative;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--clr-accent);
}
.product-card__img-wrap {
    position: relative;
    aspect-ratio: 1;
    background: var(--clr-grey-50);
    overflow: hidden;
}
.product-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
}
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__badges {
    position: absolute; top: var(--sp-3); left: var(--sp-3);
    display: flex; flex-direction: column;
    gap: var(--sp-1); z-index: 2;
}
.badge {
    display: inline-block;
    padding: 3px var(--sp-2);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 11px; font-weight: var(--fw-black);
    letter-spacing: var(--ls-wide); text-transform: uppercase;
    line-height: 1.5;
}
.badge--sale    { background: var(--clr-accent);   color: var(--clr-primary-dark); }
.badge--new     { background: var(--clr-success);   color: var(--clr-white); }
.badge--hot     { background: var(--clr-warning);   color: var(--clr-white); }

.product-card__body {
    padding: var(--sp-4); flex: 1;
    display: flex; flex-direction: column;
}
.product-card__cat {
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    font-weight: var(--fw-bold);
    margin-bottom: var(--sp-1);
}
.product-card__name {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.15;
    margin-bottom: var(--sp-3);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__name a { color: inherit; transition: color var(--trans-fast); }
.product-card__name a:hover { color: var(--clr-accent); }
.product-card__footer {
    display: flex; align-items: center;
    justify-content: space-between; gap: var(--sp-2);
    padding: 0 var(--sp-4) var(--sp-4);
}
.price, .woocommerce-Price-amount {
    font-family: var(--font-display);
    font-weight: var(--fw-black);
    font-size: var(--fs-lg);
    color: var(--clr-primary);
}
ins .woocommerce-Price-amount { color: var(--clr-accent); }
del .woocommerce-Price-amount {
    font-size: var(--fs-sm);
    color: var(--clr-grey-400);
    font-weight: var(--fw-normal);
    text-decoration: line-through;
}
.products-pagination {
    margin-top: var(--sp-12);
    display: flex; justify-content: center;
    align-items: center; gap: var(--sp-2);
}
.products-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding-inline: var(--sp-3);
    border: 1px solid var(--clr-grey-200);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    transition: background var(--trans-fast), color var(--trans-fast), border-color var(--trans-fast);
}
.products-pagination .page-numbers:hover {
    background: var(--clr-accent-dim);
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}
.products-pagination .page-numbers.current {
    background: var(--clr-accent);
    color: var(--clr-primary-dark);
    border-color: var(--clr-accent);
    font-weight: var(--fw-black);
}

/* ================================================================
   SHOP LAYOUT
   ================================================================ */
.shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    align-items: start;
}
@media (min-width: 1024px) {
    .shop-layout { grid-template-columns: var(--sidebar-w) 1fr; }
}
.shop-sidebar {
    position: sticky;
    top: calc(var(--topbar-h) + var(--header-h) + var(--subnav-h) + 1.5rem);
}
.sidebar-widget { margin-bottom: var(--sp-6); }
.sidebar-widget-title {
    font-family: var(--font-display);
    font-size: var(--fs-md); font-weight: var(--fw-black);
    text-transform: uppercase; letter-spacing: var(--ls-wide);
    color: var(--clr-primary);
    padding-bottom: var(--sp-2); margin-bottom: var(--sp-3);
    border-bottom: 2px solid var(--clr-accent);
}
.sidebar-widget-body { padding: var(--sp-3); }
.shop-toolbar {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap;
    gap: var(--sp-3); margin-bottom: var(--sp-6);
    padding: var(--sp-3) var(--sp-4);
    background: var(--clr-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-grey-100);
    border-left: 3px solid var(--clr-accent);
}
.woocommerce-result-count {
    font-size: var(--fs-sm); color: var(--clr-grey-600); margin: 0;
}
.woocommerce-ordering select {
    border: 1px solid var(--clr-grey-200);
    border-radius: var(--radius-md);
    padding: var(--sp-2) 2.25rem var(--sp-2) var(--sp-3);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    background: #fff; cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%233a3d40'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
}

/* ================================================================
   SINGLE PRODUCT
   ================================================================ */
.single-product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    align-items: start;
}
@media (min-width: 768px)  { .single-product-layout { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .single-product-layout { grid-template-columns: 55% 1fr; } }
.superstore-single-product { gap: clamp(2rem, 4vw, 4rem); }

.product-gallery {
    position: sticky;
    top: calc(var(--topbar-h) + var(--header-h) + var(--subnav-h) + 1rem);
}
.product-gallery__main {
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--clr-grey-100);
    background: var(--clr-grey-50);
    margin-bottom: var(--sp-3);
    box-shadow: var(--shadow-sm);
}
.product-gallery__main img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: clamp(1rem, 3vw, 2rem);
}
.product-gallery__thumbs {
    margin-top: 1rem;
    display: flex; gap: .75rem; flex-wrap: wrap;
}
.product-gallery__thumb {
    width: 76px; height: 76px;
    border: 2px solid var(--clr-grey-200);
    border-radius: var(--radius-md);
    background: #fff; padding: 0; overflow: hidden; cursor: pointer;
    transition: border-color var(--trans-fast), transform var(--trans-fast), box-shadow var(--trans-fast);
}
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumb:hover,
.product-gallery__thumb.active {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px var(--clr-accent-dim);
    transform: translateY(-1px);
}

.product-summary { display: flex; flex-direction: column; gap: 1rem; }
.product-summary__badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge--stock { font-weight: var(--fw-black); }
.badge--stock-in  { background: #dcf5c6; color: #3a7a10; }
.badge--stock-out { background: #fce4e0; color: #a52a20; }

.product-summary__title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.0;
    letter-spacing: -0.01em;
}
.product-summary__meta {
    display: flex; flex-wrap: wrap;
    gap: 1rem 1.25rem;
    font-size: .92rem; color: var(--clr-grey-400);
}
.product-summary__meta a { color: var(--clr-accent); }
.product-summary__meta strong { color: var(--clr-grey-600); }
.product-summary__rating { display: inline-flex; align-items: center; gap: .4rem; }
.product-summary__rating em { font-style: normal; color: var(--clr-grey-400); font-size: .85rem; }
.product-summary__short-desc {
    font-size: 1rem; color: var(--clr-grey-600); line-height: 1.75;
}
.product-summary__price-wrap {
    display: flex; align-items: center;
    gap: .75rem; flex-wrap: wrap;
}
.product-summary__old-price {
    color: var(--clr-grey-400);
    text-decoration: line-through; font-size: 1.1rem;
}
.product-summary__price {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: var(--fw-black);
    color: var(--clr-accent); line-height: 1;
}
.product-summary__price del { color: var(--clr-grey-400); font-size: 1.1rem; font-weight: var(--fw-normal); margin-right: .5rem; }
.product-summary__price ins { text-decoration: none; color: var(--clr-accent); }
.product-summary__discount {
    background: var(--clr-accent); color: var(--clr-primary-dark);
    border-radius: 999px; font-size: .8rem;
    font-family: var(--font-display);
    font-weight: var(--fw-black); padding: .25rem .6rem;
    letter-spacing: var(--ls-wide); text-transform: uppercase;
}
.product-summary__cart { margin-top: .25rem; }
.product-summary__cart-row {
    display: flex; gap: .9rem;
    align-items: center; flex-wrap: wrap;
}
.quantity-wrap {
    display: inline-flex; align-items: center;
    height: 56px;
    border: 1px solid var(--clr-grey-200);
    border-radius: var(--radius-lg); overflow: hidden; background: #fff;
}
.quantity-wrap .qty-btn {
    width: 46px; height: 56px;
    background: var(--clr-grey-50);
    color: var(--clr-primary);
    font-size: 1.35rem; font-weight: var(--fw-bold);
    border: 0; display: inline-flex;
    align-items: center; justify-content: center;
    transition: background var(--trans-fast), color var(--trans-fast);
}
.quantity-wrap .qty-btn:hover { background: var(--clr-accent); color: var(--clr-primary-dark); }
.quantity-wrap input[type="number"] {
    width: 54px; height: 56px; border: 0;
    border-left: 1px solid var(--clr-grey-100);
    border-right: 1px solid var(--clr-grey-100);
    text-align: center; font-size: 1.1rem; font-weight: var(--fw-bold);
    background: #fff; -moz-appearance: textfield;
}
.quantity-wrap input[type="number"]::-webkit-outer-spin-button,
.quantity-wrap input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none; margin: 0;
}
.product-summary__add-to-cart {
    min-height: 56px; min-width: 260px;
    border-radius: var(--radius-lg);
    padding-inline: 1.75rem; font-size: 1.05rem;
    box-shadow: var(--shadow-green);
}
.product-summary__secondary { display: flex; flex-wrap: wrap; gap: .75rem; }
.product-summary__specs {
    margin-top: .75rem;
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-lg);
    overflow: hidden; background: #fff;
}
.product-specs-table { width: 100%; border-collapse: collapse; }
.product-specs-table th,
.product-specs-table td {
    padding: .9rem 1rem; font-size: .92rem;
    border-bottom: 1px solid var(--clr-grey-50);
}
.product-specs-table th {
    width: 42%; text-align: left;
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    background: var(--clr-grey-50); color: var(--clr-grey-600);
    font-size: var(--fs-xs);
}
.product-specs-table td { color: var(--clr-grey-800); }
.product-description-block {
    margin-top: var(--sp-16);
    padding-top: var(--sp-10);
    border-top: 2px solid var(--clr-grey-100);
}
.product-description-block h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(1.5rem, 2vw, 2rem);
}
.product-trust-pills {
    display: flex; flex-wrap: wrap;
    gap: var(--sp-2); margin-top: var(--sp-5);
}
.trust-pill {
    display: flex; align-items: center; gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--clr-grey-600);
    background: var(--clr-grey-50);
    transition: border-color var(--trans-fast), color var(--trans-fast);
}
.trust-pill svg { color: var(--clr-accent); width: 14px; height: 14px; flex-shrink: 0; }
.trust-pill:hover { border-color: var(--clr-accent); color: var(--clr-accent); }

@media (max-width: 767px) {
    .product-summary__cart-row { align-items: stretch; }
    .quantity-wrap { width: 100%; justify-content: center; }
    .product-summary__add-to-cart { width: 100%; min-width: 0; }
}

/* ================================================================
   CART / CHECKOUT / ACCOUNT
   ================================================================ */
.cart-page-grid {
    display: grid; grid-template-columns: 1fr;
    gap: var(--sp-8); align-items: start;
}
@media (min-width: 1024px) { .cart-page-grid { grid-template-columns: 1fr 380px; } }
.checkout-page-grid {
    display: grid; grid-template-columns: 1fr;
    gap: var(--sp-8);
}
@media (min-width: 1024px) { .checkout-page-grid { grid-template-columns: 1fr 420px; } }
.my-account-grid {
    display: grid; grid-template-columns: 1fr;
    gap: var(--sp-8); align-items: start;
}
@media (min-width: 768px) { .my-account-grid { grid-template-columns: 240px 1fr; } }

.checkout-order-review {
    position: sticky;
    top: calc(var(--topbar-h) + var(--header-h) + 1rem);
}
.form-row { margin-bottom: var(--sp-4); }
.form-row label {
    display: block; font-size: var(--fs-sm); font-weight: var(--fw-medium);
    color: var(--clr-grey-800); margin-bottom: var(--sp-2);
}
.form-row .required { color: var(--clr-error); }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"],
.form-row input[type="password"], .form-row select, .form-row textarea {
    width: 100%; padding: var(--sp-3) var(--sp-4);
    border: 1px solid var(--clr-grey-200);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm); background: #fff;
    transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
    appearance: none; outline: none;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px var(--clr-accent-dim);
}
.woocommerce-error   { background: #fef2f0; border: 1px solid #f5a9a0; color: #a52a20; border-radius: var(--radius-md); padding: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-4); font-size: var(--fs-sm); }
.woocommerce-message { background: #f0f7e0; border: 1px solid #b0d470; color: #3a7a10; border-radius: var(--radius-md); padding: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-4); font-size: var(--fs-sm); }
.woocommerce-info    { background: #f0f7e0; border: 1px solid #b0d470; color: #3a7a10; border-radius: var(--radius-md); padding: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-4); font-size: var(--fs-sm); }

.woocommerce-MyAccount-navigation ul a {
    display: flex; align-items: center; gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--clr-grey-800);
    transition: color var(--trans-fast), background var(--trans-fast);
    border-left: 3px solid transparent;
}
.woocommerce-MyAccount-navigation ul a:hover {
    color: var(--clr-accent);
    background: var(--clr-accent-dim);
    border-left-color: var(--clr-accent);
}
.woocommerce-MyAccount-navigation ul .is-active a {
    color: var(--clr-accent);
    background: var(--clr-accent-dim);
    border-left-color: var(--clr-accent);
}



/* ================================================================
   FOOTER — full dark anthracite like logo
   ================================================================ */
.site-footer {
    background: var(--clr-primary-dark);
    color: var(--clr-on-dark-muted);
    padding-top: var(--sp-16);
    margin-top: var(--sp-20);
    border-top: 3px solid var(--clr-accent);
}
.footer-main {
    display: grid; grid-template-columns: 1fr;
    gap: var(--sp-10); padding-bottom: var(--sp-10);
    border-bottom: 1px solid var(--clr-on-dark-subtle);
}
@media (min-width: 640px)  { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }

.footer-logo { margin-bottom: var(--sp-4); }

.footer-logo a {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-logo__image {
    display: block;
    width: auto;
    /* height: 52px ; */
    max-width: 220px !important; /* avoid woocommerce img class withg height*/
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .footer-logo__image {
        height: 44px;
        max-width: 180px;
    }
}




.footer-logo-text {
    font-family: var(--font-display);
    font-size: var(--fs-xl); font-weight: var(--fw-black);
    color: var(--clr-white); text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    margin-bottom: var(--sp-4);
}
.footer-logo-text span { color: var(--clr-accent); }
.footer-desc {
    font-size: var(--fs-sm); color: var(--clr-on-dark-muted);
    line-height: 1.75; margin-bottom: var(--sp-5); max-width: 280px;
}
.footer-socials { display: flex; gap: var(--sp-3); }
.footer-social-link {
    width: 36px; height: 36px;
    border-radius: var(--radius-md);
    background: var(--clr-on-dark-subtle);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-on-dark-muted);
    transition: background var(--trans-fast), color var(--trans-fast);
    border: 1px solid transparent;
}
.footer-social-link:hover {
    background: var(--clr-accent);
    color: var(--clr-primary-dark);
    border-color: var(--clr-accent);
}
.footer-col-title {
    font-family: var(--font-display);
    font-size: var(--fs-sm); font-weight: var(--fw-black);
    color: var(--clr-white); text-transform: uppercase;
    letter-spacing: var(--ls-wider); margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-2);
    border-bottom: 1px solid var(--clr-on-dark-subtle);
}
.footer-links { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-links a {
    font-size: var(--fs-sm); color: var(--clr-on-dark-muted);
    transition: color var(--trans-fast), padding-left var(--trans-fast);
    padding-block: 2px;
}
.footer-links a:hover { color: var(--clr-accent); padding-left: var(--sp-2); }
.footer-contact-item {
    display: flex; align-items: flex-start; gap: var(--sp-3);
    font-size: var(--fs-sm); color: var(--clr-on-dark-muted);
    margin-bottom: var(--sp-3);
}
.footer-contact-item svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: var(--clr-accent); }
.footer-contact-item a { color: var(--clr-on-dark-muted); transition: color var(--trans-fast); }
.footer-contact-item a:hover { color: var(--clr-accent); }
.footer-bottom {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap;
    gap: var(--sp-4); padding-block: var(--sp-5);
    font-size: var(--fs-xs); color: var(--clr-on-dark-subtle);
}
.footer-bottom-links { display: flex; gap: var(--sp-5); }
.footer-bottom-links a { color: var(--clr-on-dark-subtle); transition: color var(--trans-fast); }
.footer-bottom-links a:hover { color: var(--clr-accent); }


/* ================================================================
   WOOCOMMERCE GLOBAL BUTTONS
   ================================================================ */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--sp-2); padding: .7em 1.6em;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: var(--fw-bold); font-size: var(--fs-sm);
    letter-spacing: var(--ls-wide); text-transform: uppercase;
    cursor: pointer; border: 2px solid transparent;
    background: var(--clr-grey-100);
    color: var(--clr-grey-800);
    border-color: var(--clr-grey-200);
    transition: background var(--trans-fast), transform var(--trans-fast);
}
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.single_add_to_cart_button {
    background: var(--clr-accent) !important;
    color: var(--clr-primary-dark) !important;
    border-color: var(--clr-accent) !important;
}
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.single_add_to_cart_button:hover {
    background: var(--clr-accent-hover) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-green);
}

/* ================================================================
   UTILITIES
   ================================================================ */
.spinner {
    width: 36px; height: 36px;
    border: 3px solid var(--clr-grey-100);
    border-top-color: var(--clr-accent);
    border-radius: var(--radius-full);
    animation: spin .7s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
    text-align: center; padding: var(--sp-20) var(--sp-6);
    color: var(--clr-grey-400);
}
.empty-state svg { width: 64px; height: 64px; margin: 0 auto var(--sp-6); opacity: .3; }
.empty-state h3 { font-size: var(--fs-xl); color: var(--clr-grey-600); margin-bottom: var(--sp-3); }

/* Green accent divider utility */
.divider-accent {
    height: 2px;
    background: linear-gradient(90deg, var(--clr-accent) 0%, transparent 100%);
    border: none; margin: var(--sp-8) 0;
}

/* Section label — like "WENTYLOWANE" text above logo */
.section-label {
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: var(--fw-light);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: var(--sp-2);
    display: block;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 767px) {
    .header-search, .top-bar__contact { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    table.shop_table thead { display: none; }
    table.shop_table tr {
        display: flex; flex-direction: column;
        padding: var(--sp-3);
        border-bottom: 1px solid var(--clr-grey-100);
    }
    table.shop_table td { padding: var(--sp-1) 0; border: none; }
    table.shop_table td::before {
        content: attr(data-title);
        font-family: var(--font-display);
        font-weight: var(--fw-bold);
        letter-spacing: var(--ls-wide);
        text-transform: uppercase;
        margin-right: var(--sp-2);
        font-size: var(--fs-xs);
        color: var(--clr-grey-400);
    }
}
@media print {
    .site-header, .top-bar, .mini-cart-drawer, .mobile-nav { display: none !important; }
    body { padding-top: 0; }
}

/* ================================================================
   WOOCOMMERCE NOTICES — full override for checkout page
   Targets: .woocommerce-error, .woocommerce-message, .woocommerce-info
   and the NoticeGroup wrapper
   ================================================================ */

/* Reset the default WC notice list styles */
.woocommerce-notices-wrapper,
.woocommerce-NoticeGroup,
.woocommerce-NoticeGroup-checkout,
.woocommerce-NoticeGroup-before_checkout_form {
    margin-bottom: 1.5rem;
    list-style: none;
    padding: 0;
}

/* Base notice — shared between all types */
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-NoticeGroup .woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-message,
.woocommerce-NoticeGroup .woocommerce-info {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .95rem 1.15rem;
    border-radius: var(--radius-md);
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: .65rem;
    list-style: none;

    /* kill default WC left-border + background */
    border-left: none;
    background-image: none;
    box-shadow: none;
}

/* Remove the default WC ::before icon (the circle-i / circle-check) */
.woocommerce-notices-wrapper .woocommerce-error::before,
.woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce-notices-wrapper .woocommerce-info::before,
.woocommerce-NoticeGroup .woocommerce-error::before,
.woocommerce-NoticeGroup .woocommerce-message::before,
.woocommerce-NoticeGroup .woocommerce-info::before {
    display: none !important;
    content: none !important;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    padding-left: 2.5rem !important;
}



/* ── Error (red) ── */
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-error,
ul.woocommerce-error {
    background: #fef2f0;
    border: 1.5px solid #f5a9a0;
    color: #a52a20;
    border-left: 4px solid var(--clr-error, #c0392b) !important;
    border-radius: var(--radius-md);
    padding: .95rem 1.15rem;
    margin-bottom: .65rem;
    list-style: none;
    font-size: .9rem;
    line-height: 1.55;
}

/* Error list items */
ul.woocommerce-error li,
.woocommerce-NoticeGroup .woocommerce-error li {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .2rem 0;
    list-style: none;
    color: #a52a20;
    font-size: .9rem;
}

/* Prepend a small ✕ icon via pseudo */
ul.woocommerce-error li::before,
.woocommerce-NoticeGroup .woocommerce-error li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-color: var(--clr-error, #c0392b);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='3' y1='3' x2='9' y2='9'/%3E%3Cline x1='9' y1='3' x2='3' y2='9'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ── Success / message (green) ── */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-NoticeGroup .woocommerce-message {
    background: var(--clr-accent-light, #f4fce8);
    border: 1.5px solid rgba(122,179,23,.35);
    border-left: 4px solid var(--clr-accent, #7ab317) !important;
    color: #3d5a09;
}

/* ── Info (blue-ish → use accent-light) ── */
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-NoticeGroup .woocommerce-info {
    background: #f0f6ff;
    border: 1.5px solid #bad3f5;
    border-left: 4px solid #3b82f6 !important;
    color: #1e3a6e;
}

/* Links inside notices */
.woocommerce-notices-wrapper a,
.woocommerce-NoticeGroup a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    color: inherit;
    transition: opacity .15s;
}
.woocommerce-notices-wrapper a:hover,
.woocommerce-NoticeGroup a:hover {
    opacity: .75;
}

/* The "Masz kupon? Kliknij tutaj" info notice specifically */
.woocommerce-info.woocommerce-info {
    cursor: default;
}



/* ================================================================
   FIX: white gap under fixed header on shop/archive pages
   ================================================================ */

/* Kill top spacing on Woo wrappers */
body.woocommerce .site-main,
body.woocommerce-page .site-main,
body.woocommerce .superstore-wc-content,
body.woocommerce-page .superstore-wc-content,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Make sure first hero sits flush under header */
body.woocommerce .page-hero,
body.woocommerce-page .page-hero {
    margin-top: 0 !important;
}

/* Hide empty WooCommerce archive header if it's rendering blank space */
.woocommerce-products-header:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide accidental empty blocks/paragraphs above the hero */
.entry-content > p:empty,
.entry-content .wp-block-spacer:first-child,
.entry-content > .wp-block-group:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* WordPress admin bar + fixed header */
body.admin-bar .top-bar {
    top: 32px;
}
body.admin-bar .site-header {
    top: calc(32px + var(--topbar-h));
}
body.admin-bar .header-subnav {
    top: calc(32px + var(--topbar-h) + var(--header-h));
}

@media screen and (max-width: 782px) {
    body.admin-bar .top-bar {
        top: 46px;
    }
    body.admin-bar .site-header {
        top: calc(46px + var(--topbar-h));
    }
    body.admin-bar .header-subnav {
        top: calc(46px + var(--topbar-h) + var(--header-h));
    }
}



/* ================================================================
   SHOP ARCHIVE — MOBILE FIX
   Prevent distorted layout on phones
   ================================================================ */

html,
body {
    overflow-x: hidden;
}

.site-main,
.shop-layout,
.shop-main-content,
.shop-sidebar,
.products-grid,
.product-card,
.product-card__body,
.product-card__footer,
.shop-toolbar,
.superstore-sort-form,
.superstore-sort-form .select2-container,
.superstore-orderby-select {
    min-width: 0;
}

/* Better image behavior */
.product-card__img,
.product-card__img-wrap img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Long text should wrap instead of stretching layout */
.product-card__name,
.product-card__name a,
.product-card__cat,
.superstore-cat-tree__label,
.sidebar-widget-title,
.woocommerce-result-count {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 1023px) {
    .shop-layout {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .shop-sidebar {
        position: static !important;
        top: auto !important;
        order: 2;
        width: 100%;
    }

    .shop-main-content {
        order: 1;
        width: 100%;
        min-width: 0;
    }

    .shop-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: .85rem !important;
        padding: .9rem !important;
    }

    .woocommerce-result-count {
        width: 100%;
        margin: 0 !important;
    }

    .superstore-sort-form {
        width: 100%;
    }

    .superstore-orderby-select,
    .superstore-sort-form .select2-container,
    .superstore-sort-form .select2-selection--single {
        width: 100% !important;
        max-width: 100% !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .85rem !important;
    }

    .product-card {
        min-width: 0;
    }

    .product-card__body {
        padding: .8rem !important;
    }

    .product-card__name {
        font-size: 1rem !important;
        line-height: 1.15 !important;
        margin-bottom: .5rem !important;
    }

    .product-card__cat {
        font-size: .68rem !important;
        margin-bottom: .3rem !important;
    }

    .product-card__footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: .65rem !important;
        padding: 0 .8rem .8rem !important;
    }

    .product-card__price {
        width: 100%;
    }

    .product-card__footer .btn,
    .product-card__footer .button,
    .product-card__footer a.button,
    .product-card__footer .add_to_cart_button {
        width: 100% !important;
        justify-content: center !important;
        min-height: 42px;
        text-align: center;
        white-space: normal !important;
    }

  

    .product-card__quick .btn,
    .product-card__quick a {
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
    }

    /* Badges should not overflow */
    .product-card__badges {
        top: .5rem !important;
        left: .5rem !important;
        max-width: calc(100% - 1rem);
    }

    .badge {
        font-size: 10px !important;
        line-height: 1.25 !important;
    }

    /* Sidebar cards fit viewport */
    .shop-sidebar .widget,
    .superstore-shop-card,
    .superstore-shop-sidebar-widgets .sidebar-widget {
        width: 100%;
        min-width: 0;
    }

    .superstore-shop-all-link,
    .superstore-cat-tree__link {
        padding: .7rem .75rem !important;
        align-items: flex-start !important;
    }

    .superstore-cat-tree__count {
        margin-left: .4rem;
    }
}

@media (max-width: 767px) {
    .container {
        padding-inline: 14px !important;
    }

    .section-padding {
        padding-block: 1.5rem !important;
    }

    .shop-toolbar {
        border-left-width: 0 !important;
    }

    /* Safer on very small phones */
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: .9rem !important;
    }

    .product-card__img-wrap {
        aspect-ratio: 1 / 1;
    }

    .product-card__body {
        padding: .9rem !important;
    }

    .product-card__footer {
        padding: 0 .9rem .9rem !important;
    }

    .price,
    .woocommerce-Price-amount,
    .product-card__price {
        font-size: 1.15rem !important;
    }

    .sidebar-widget-title,
    .shop-sidebar .widget-title,
    .shop-sidebar .widgettitle,
    .shop-sidebar .wp-block-heading,
    .shop-sidebar .widget_block > h2,
    .shop-sidebar .widget_block > h3 {
        padding: .8rem .95rem !important;
        font-size: .82rem !important;
    }

    .sidebar-widget-body,
    .shop-sidebar .widget > *:not(.widget-title):not(.widgettitle),
    .shop-sidebar .widget_block > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
        padding: .9rem !important;
    }

    .shop-sidebar .price_slider.ui-slider {
        margin-left: .2rem !important;
        margin-right: .2rem !important;
    }

    .shop-sidebar .price_slider_amount button,
    .shop-sidebar .price_slider_amount .button,
    .shop-sidebar .widget_search button,
    .shop-sidebar .widget_search input[type="submit"],
    .shop-sidebar .search-form button,
    .shop-sidebar .search-form input[type="submit"],
    .shop-sidebar .wp-block-search__button,
    .shop-sidebar .wc-block-product-search__button {
        width: 100% !important;
    }
}

/* Fix Select2 / dropdown overflow */
.select2-container,
.select2-dropdown,
.select2-results,
.select2-results__options {
    max-width: 100% !important;
}

/* Wishlist/plugin injected elements should never overflow cards */
.product-card__wishlist,
.product-card__wishlist *,
.tinv-wraper,
.tinv-wraper * {
    max-width: 100%;
}

/* ================================================================
   MOBILE FILTER DRAWER — shop archive
   ================================================================ */

.shop-filters-toggle {
    display: none;
}

.shop-sidebar__mobile-header {
    display: none;
}

.shop-filters-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,16,16,.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 1198;
}

.shop-filters-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

body.shop-filters-open {
    overflow: hidden;
}

/* desktop */
@media (min-width: 1024px) {
    .shop-filters-overlay {
        display: none !important;
    }
}

/* mobile / tablet */
@media (max-width: 1023px) {
    .shop-layout {
        grid-template-columns: 1fr !important;
    }

    .shop-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        bottom: 0;
        width: min(380px, 88vw);
        max-width: 100%;
        background: var(--clr-off-white);
        z-index: 1199;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform .28s ease;
        box-shadow: var(--shadow-xl);
        padding: 0;
        margin: 0;
    }

    .shop-sidebar.is-open {
        transform: translateX(0);
    }

    .shop-sidebar__mobile-header {
        position: sticky;
        top: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem 1rem .95rem;
        background: var(--clr-primary);
        border-bottom: 2px solid var(--clr-accent);
    }

    .shop-sidebar__mobile-title {
        margin: 0;
        color: var(--clr-white);
        font-size: 1rem;
        line-height: 1;
    }

    .shop-sidebar__close {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-md);
        color: var(--clr-white);
        background: transparent;
        transition: background .18s ease, color .18s ease;
    }

    .shop-sidebar__close:hover {
        background: rgba(255,255,255,.08);
        color: var(--clr-accent);
    }

    .shop-sidebar .sidebar-widget,
    .shop-sidebar .widget,
    .shop-sidebar .widget_block,
    .shop-sidebar .superstore-shop-card {
        margin: 1rem;
        margin-bottom: 0;
    }

    .shop-sidebar .sidebar-widget:last-child,
    .shop-sidebar .widget:last-child,
    .shop-sidebar .widget_block:last-child,
    .shop-sidebar .superstore-shop-card:last-child {
        margin-bottom: 1rem;
    }

    .shop-toolbar {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: .75rem !important;
        align-items: center;
    }

    .shop-filters-toggle {
        display: inline-flex !important;
        width: 100%;
        min-height: 46px;
        justify-content: center;
    }

    .woocommerce-result-count {
        grid-column: 1 / -1;
        order: 3;
        margin: 0 !important;
    }

    .superstore-sort-form {
        width: 100%;
    }

    .superstore-orderby-select,
    .superstore-sort-form .select2-container,
    .superstore-sort-form .select2-selection--single {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .shop-sidebar {
        width: min(360px, 92vw);
    }

    .shop-toolbar {
        grid-template-columns: 1fr 1fr;
        padding: .85rem !important;
    }

    .shop-filters-toggle,
    .superstore-sort-form .select2-container,
    .superstore-orderby-select {
        min-height: 44px;
    }

    .shop-sidebar .sidebar-widget,
    .shop-sidebar .widget,
    .shop-sidebar .widget_block,
    .shop-sidebar .superstore-shop-card {
        margin: .85rem;
        margin-bottom: 0;
    }
}

/* ================================================================
   PRODUCT CARD — ACTIONS UNDER PRODUCT NAME
   ================================================================ */

.product-card__actions {
    display: none !important;
}

.product-card__body {
    padding: 1rem !important;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.product-card__name {
    margin-bottom: .2rem !important;
    flex: unset !important;
}

.product-card__quick {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding: 0 !important;
    margin-top: .2rem;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.product-card:hover .product-card__quick {
    opacity: 1 !important;
    transform: none !important;
}

.product-card__wishlist {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    min-width: 28px;
}

.product-card__wishlist a,
.product-card__wishlist button,
.product-card__wishlist .tinvwl_add_to_wishlist_button {
    color: var(--clr-primary) !important;
}

.product-card__wishlist a:hover,
.product-card__wishlist button:hover,
.product-card__wishlist .tinvwl_add_to_wishlist_button:hover {
    color: var(--clr-accent) !important;
}

/* smaller preview button */
.product-card__preview-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 34px !important;
    padding: .38rem .85rem !important;
    font-size: .68rem !important;
    line-height: 1 !important;
    letter-spacing: .08em !important;
    border-width: 1px !important;
    border-radius: 6px !important;
}

/* make sure full-width mobile button rule does not affect preview */
.product-card__quick .product-card__preview-btn,
.product-card__quick a.product-card__preview-btn {
    width: auto !important;
    flex: 0 0 auto !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

@media (max-width: 1023px) {
    .product-card__body {
        padding: .85rem !important;
    }

    .product-card__quick {
        gap: .5rem !important;
    }

    .product-card__preview-btn {
        min-height: 32px !important;
        padding: .34rem .75rem !important;
        font-size: .64rem !important;
    }
}

@media (max-width: 767px) {
    .product-card__body {
        padding: .9rem !important;
    }

    .product-card__name {
        font-size: 1rem !important;
        line-height: 1.15 !important;
    }

    .product-card__quick {
        justify-content: space-between !important;
        align-items: center !important;
    }

    .product-card__quick .product-card__preview-btn {
        width: auto !important;
        min-width: 92px;
    }
}


/* ================================================================
   LEGAL PAGES — shared styles
   Applies to: polityka-prywatnosci, regulamin, dostawa-i-platnosci,
               zwroty-i-reklamacje, polityka-dostawy, polityka-platnosci
   ================================================================ */

/* ---- Page wrapper ---- */
.site-main--legal {
    background: var(--clr-off-white);
}

/* ---- Section container ---- */
.legal-page {
    max-width: 100%;
}

.legal-page .container--narrow {
    max-width: 820px;
}

/* ---- Download button row (top & bottom) ---- */
.legal-page__download {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--sp-8);
}

.legal-page__downloads-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    justify-content: flex-end;
    margin-bottom: var(--sp-8);
}

.legal-page__download--bottom,
.legal-page__downloads-row--bottom {
    margin-bottom: 0;
    margin-top: var(--sp-10);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--clr-grey-100);
}

/* ---- Content typography ---- */
.legal-page__content {
    background: var(--clr-white);
    border: 1px solid var(--clr-grey-100);
    border-top: 3px solid var(--clr-accent);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 3rem);
    font-size: var(--fs-base);
    line-height: 1.75;
    color: var(--clr-grey-800);
}

.legal-page__content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: var(--fw-black);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    color: var(--clr-primary);
    margin-top: var(--sp-8);
    margin-bottom: var(--sp-3);
    padding-bottom: var(--sp-2);
    border-bottom: 2px solid var(--clr-accent);
}

.legal-page__content h2:first-child {
    margin-top: 0;
}

.legal-page__content h3 {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    color: var(--clr-primary-light);
    margin-top: var(--sp-6);
    margin-bottom: var(--sp-2);
}

.legal-page__content p {
    margin-bottom: var(--sp-4);
    color: var(--clr-grey-800);
}

.legal-page__content p:last-child {
    margin-bottom: 0;
}

.legal-page__content ul,
.legal-page__content ol {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--sp-4) 0;
}

.legal-page__content ul li,
.legal-page__content ol li {
    position: relative;
    padding-left: var(--sp-5);
    margin-bottom: var(--sp-2);
    color: var(--clr-grey-800);
    counter-increment: ordered-list;
}

.legal-page__content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--clr-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.legal-page__content ol {
    counter-reset: ordered-list;
}

.legal-page__content ol li::before {
    content: counter(ordered-list) '.';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--clr-accent);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
}

.legal-page__content a {
    color: var(--clr-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--trans-fast), opacity var(--trans-fast);
}

.legal-page__content a:hover {
    color: var(--clr-accent-hover);
    opacity: 0.85;
}

/* ---- Address block ---- */
.legal-address {
    font-style: normal;
    background: var(--clr-grey-50);
    border-left: 3px solid var(--clr-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--sp-4) var(--sp-5);
    margin: var(--sp-4) 0;
    line-height: 1.85;
    color: var(--clr-grey-800);
}

.legal-address a {
    color: var(--clr-accent) !important;
    text-decoration: none;
    transition: opacity var(--trans-fast);
}

.legal-address a:hover {
    opacity: 0.75;
}

/* ---- Bank details box ---- */
.legal-bank-box {
    background: var(--clr-accent-dim);
    border: 1px solid rgba(122,179,23,.25);
    border-radius: var(--radius-md);
    padding: var(--sp-4) var(--sp-5);
    margin: var(--sp-4) 0;
    line-height: 1.85;
    font-size: var(--fs-sm);
}

/* ---- Table ---- */
.legal-table-wrap {
    overflow-x: auto;
    margin: var(--sp-4) 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-grey-100);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}

.legal-table thead {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.legal-table th {
    padding: var(--sp-3) var(--sp-4);
    text-align: left;
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    font-size: var(--fs-xs);
    white-space: nowrap;
}

.legal-table td {
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--clr-grey-50);
    color: var(--clr-grey-800);
    vertical-align: middle;
}

.legal-table tbody tr:last-child td {
    border-bottom: none;
}

.legal-table tbody tr:hover td {
    background: var(--clr-grey-50);
}

.legal-table .text-accent {
    color: var(--clr-accent);
}

/* ---- Section divider heading (big label) ---- */
.legal-section-divider {
    font-family: var(--font-display) !important;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem) !important;
    font-weight: var(--fw-black) !important;
    color: var(--clr-white) !important;
    background: var(--clr-primary) !important;
    padding: var(--sp-3) var(--sp-5) !important;
    border-radius: var(--radius-md) !important;
    margin: var(--sp-10) 0 var(--sp-5) !important;
    border-bottom: none !important;
    letter-spacing: var(--ls-wide) !important;
}

/* ---- Divider ---- */
.legal-page__content hr.divider-accent {
    height: 2px;
    background: linear-gradient(90deg, var(--clr-accent) 0%, transparent 100%);
    border: none;
    margin: var(--sp-10) 0;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .legal-page__content {
        padding: 1.25rem;
    }

    .legal-page__download,
    .legal-page__downloads-row {
        justify-content: flex-start;
    }

    .legal-page__downloads-row {
        flex-direction: column;
    }

    .legal-page__downloads-row .btn {
        width: 100%;
        justify-content: center;
    }

    .legal-table th,
    .legal-table td {
        padding: var(--sp-2) var(--sp-3);
        font-size: var(--fs-xs);
    }
}

/* ================================================================
   CONTENT PAGES — o-nas, oferta, wycena, współpraca
   ================================================================ */

/* ── SHARED: section header ── */
.about-section-header {
    text-align: center;
    margin-bottom: var(--sp-10);
}
.about-section-header h2 {
    margin-top: var(--sp-2);
}

/* ── O NAS — intro grid ── */
.about-intro__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
@media (min-width: 768px) {
    .about-intro__grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 1024px) {
    .about-intro__grid {
        grid-template-columns: 55% 1fr;
    }
}

.about-section-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    color: var(--clr-primary);
    margin-bottom: var(--sp-5);
}

.about-intro__text {
    font-size: var(--fs-md);
    line-height: 1.75;
    color: var(--clr-grey-600);
    margin-bottom: var(--sp-6);
}

/* Values list */
.about-values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.about-values-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: var(--fs-sm);
    color: var(--clr-grey-700, var(--clr-grey-600));
    line-height: 1.55;
}
.about-values-list li svg {
    color: var(--clr-accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.about-values-list li strong {
    color: var(--clr-primary);
}

/* Image card */
.about-image-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    border: 2px solid var(--clr-on-dark-subtle, rgba(0,0,0,.08));
}
.about-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image placeholder */
.about-image-placeholder {
    border-radius: var(--radius-xl);
    background: var(--clr-grey-50);
    border: 2px dashed var(--clr-grey-200);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
    color: var(--clr-grey-400);
    text-align: center;
    padding: var(--sp-6);
}
.about-image-placeholder svg { opacity: .4; }
.about-image-placeholder p { font-size: var(--fs-sm); margin: 0; }
.about-image-placeholder small { color: var(--clr-grey-400); font-size: var(--fs-xs); }

/* ── STATS BAR ── */
.about-stats {
    background: var(--clr-primary-dark);
    padding: clamp(2rem, 4vw, 3.5rem) 0;
    border-top: 3px solid var(--clr-accent);
    border-bottom: 1px solid var(--clr-on-dark-subtle);
}
.about-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-1);
}
@media (min-width: 640px) {
    .about-stats__grid { grid-template-columns: repeat(4, 1fr); }
}
.about-stat-card {
    text-align: center;
    padding: var(--sp-6) var(--sp-4);
    border-right: 1px solid var(--clr-on-dark-subtle);
}
.about-stat-card:last-child { border-right: none; }
.about-stat-card__number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: var(--fw-black);
    color: var(--clr-accent);
    line-height: 1;
    margin-bottom: var(--sp-2);
    letter-spacing: -0.02em;
}
.about-stat-card__label {
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: var(--clr-on-dark-muted);
}

/* ── SPECIALIZATIONS (O nas) ── */
.about-specializations { background: var(--clr-off-white); }
.about-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--sp-5);
    margin-top: var(--sp-8);
}
.about-spec-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    transition: box-shadow var(--trans-base), transform var(--trans-base), border-color var(--trans-base);
}
.about-spec-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--clr-accent);
}
.about-spec-card__icon {
    width: 56px; height: 56px;
    background: var(--clr-accent-dim);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent);
    margin-bottom: var(--sp-4);
}
.about-spec-card h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-3);
    color: var(--clr-primary);
}
.about-spec-card p {
    font-size: var(--fs-sm);
    color: var(--clr-grey-600);
    line-height: 1.65;
    margin: 0;
}

/* ── GALLERY ── */
.about-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--sp-3);
}
.about-gallery__item {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.about-gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--trans-slow);
}
.about-gallery__item:hover img { transform: scale(1.04); }

/* ── CTA BOX (shared) ── */
.about-cta { background: var(--clr-primary-dark); }
.about-cta__box {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-8);
    align-items: center;
    justify-content: space-between;
    padding: clamp(2rem, 4vw, 3.5rem);
    border: 1px solid var(--clr-on-dark-subtle);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--clr-accent);
    background: var(--clr-surface-1);
}
.about-cta__title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--clr-white) !important;
    margin-bottom: var(--sp-3);
}
.about-cta__text {
    color: var(--clr-on-dark-muted);
    font-size: var(--fs-md);
    margin: 0;
}
.about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    flex-shrink: 0;
}

/* ── OFERTA PAGE ── */
.oferta-intro {
    max-width: 760px;
    margin-bottom: var(--sp-10);
}
.oferta-intro h2 { margin-bottom: var(--sp-4); }
.oferta-intro__lead {
    font-size: var(--fs-md);
    color: var(--clr-grey-600);
    line-height: 1.75;
}

.oferta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--sp-5);
}
.oferta-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    transition: box-shadow var(--trans-base), transform var(--trans-base), border-color var(--trans-base);
}
.oferta-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--clr-accent);
}
.oferta-card__icon {
    width: 60px; height: 60px;
    background: var(--clr-accent-dim);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent);
    flex-shrink: 0;
}
.oferta-card h3 {
    font-size: var(--fs-lg);
    color: var(--clr-primary);
    margin: 0;
}
.oferta-card p {
    font-size: var(--fs-sm);
    color: var(--clr-grey-600);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.oferta-card__features {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: var(--sp-1);
}
.oferta-card__features li {
    font-size: var(--fs-xs);
    color: var(--clr-grey-600);
    padding-left: var(--sp-4);
    position: relative;
}
.oferta-card__features li::before {
    content: '✓';
    position: absolute; left: 0;
    color: var(--clr-accent);
    font-weight: var(--fw-bold);
}

.oferta-why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--sp-5);
    margin-top: var(--sp-8);
}
.oferta-why__item {
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
}
.oferta-why__item svg {
    color: var(--clr-accent);
    flex-shrink: 0;
    margin-top: 3px;
}
.oferta-why__item h4 {
    font-size: var(--fs-md);
    color: var(--clr-white);
    margin-bottom: var(--sp-2);
}
.oferta-why__item p {
    font-size: var(--fs-sm);
    color: var(--clr-on-dark-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── WYCENA PAGE ── */
.wycena-intro { max-width: 760px; margin: 0 auto var(--sp-10); text-align: center; }
.wycena-intro__lead {
    font-size: var(--fs-md);
    color: var(--clr-grey-600);
    line-height: 1.75;
}

.wycena-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    margin-bottom: var(--sp-10);
}
@media (min-width: 900px) {
    .wycena-options { grid-template-columns: 1fr 1fr; }
}

.wycena-option {
    background: var(--clr-white);
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow var(--trans-base), border-color var(--trans-base);
}
.wycena-option:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-accent);
}
.wycena-option__badge {
    position: absolute;
    top: var(--sp-4); left: var(--sp-4);
    background: var(--clr-surface-1);
    color: var(--clr-on-dark-muted);
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: var(--fw-black);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    padding: 3px var(--sp-3);
    border-radius: var(--radius-full);
}
.wycena-option__badge--paid {
    background: var(--clr-accent);
    color: var(--clr-primary-dark);
}
.wycena-option__header {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    padding: var(--sp-8) var(--sp-6) var(--sp-4);
    border-bottom: 1px solid var(--clr-grey-100);
    flex-wrap: wrap;
}
.wycena-option__icon {
    width: 56px; height: 56px;
    background: var(--clr-accent-dim);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent);
    flex-shrink: 0;
}
.wycena-option__header > div:nth-child(2) { flex: 1; min-width: 140px; }
.wycena-option__header h2 {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin: 0 0 var(--sp-1);
    color: var(--clr-primary);
}
.wycena-option__tagline { font-size: var(--fs-sm); color: var(--clr-grey-400); margin: 0; }
.wycena-option__price-tag { text-align: right; flex-shrink: 0; }
.wycena-option__price {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-black);
    color: var(--clr-accent);
    line-height: 1;
}
.wycena-option--free .wycena-option__price { font-size: var(--fs-lg); }
.wycena-option__price-note {
    display: block;
    font-size: var(--fs-xs);
    color: var(--clr-grey-400);
    margin-top: var(--sp-1);
}
.wycena-option__body {
    padding: var(--sp-5) var(--sp-6);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.wycena-option__body p { font-size: var(--fs-sm); color: var(--clr-grey-600); margin: 0; line-height: 1.65; }
.wycena-option__body p strong { color: var(--clr-primary); }

.wycena-checklist {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: var(--sp-2);
}
.wycena-checklist li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-2);
    font-size: var(--fs-sm);
    color: var(--clr-grey-700, var(--clr-grey-600));
    line-height: 1.5;
}
.wycena-checklist li svg { color: var(--clr-accent); flex-shrink: 0; margin-top: 2px; }

.wycena-option__info-box {
    background: var(--clr-accent-dim);
    border-left: 3px solid var(--clr-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--sp-3) var(--sp-4);
    display: flex;
    gap: var(--sp-3);
    align-items: flex-start;
}
.wycena-option__info-box svg { color: var(--clr-accent); flex-shrink: 0; margin-top: 2px; }
.wycena-option__info-box p { font-size: var(--fs-sm); color: var(--clr-grey-700, var(--clr-grey-600)); margin: 0; }
.wycena-option__note { font-size: var(--fs-xs) !important; color: var(--clr-grey-400) !important; }

/* Contact quick bar */
.wycena-contact {
    background: var(--clr-surface-1);
    border-radius: var(--radius-xl);
    padding: var(--sp-8);
    margin-bottom: var(--sp-10);
    text-align: center;
    border: 1px solid var(--clr-on-dark-subtle);
}
.wycena-contact h3 { color: var(--clr-white); margin-bottom: var(--sp-5); font-size: var(--fs-xl); }
.wycena-contact__items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    justify-content: center;
    margin-bottom: var(--sp-5);
}
.wycena-contact__item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    background: var(--clr-surface-2);
    border: 1px solid var(--clr-on-dark-subtle);
    border-radius: var(--radius-lg);
    padding: var(--sp-4) var(--sp-5);
    color: var(--clr-on-dark-muted);
    text-decoration: none;
    transition: border-color var(--trans-fast), color var(--trans-fast), background var(--trans-fast);
    min-width: 200px;
}
.wycena-contact__item:hover {
    border-color: var(--clr-accent);
    color: var(--clr-white);
    background: var(--clr-surface-3);
}
.wycena-contact__item svg { color: var(--clr-accent); flex-shrink: 0; }
.wycena-contact__item strong { display: block; color: var(--clr-white); font-size: var(--fs-sm); font-weight: var(--fw-bold); }
.wycena-contact__item span { font-size: var(--fs-sm); }
.wycena-contact__tagline { color: var(--clr-on-dark-muted); font-style: italic; font-size: var(--fs-sm); margin: 0; }

/* Wycena form */
.wycena-form-section { margin-top: var(--sp-10); }
.wycena-form-section h2 { margin-bottom: var(--sp-2); }
.wycena-form-section > p { color: var(--clr-grey-600); margin-bottom: var(--sp-6); }

.wycena-form {
    background: var(--clr-white);
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    border-top: 3px solid var(--clr-accent);
}
.wycena-form__row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
}
@media (max-width: 600px) {
    .wycena-form__row--2col { grid-template-columns: 1fr; }
}
.wycena-form .form-row label {
    font-weight: var(--fw-medium);
    color: var(--clr-grey-800);
    font-size: var(--fs-sm);
    display: block;
    margin-bottom: var(--sp-2);
}
.wycena-form .form-row input,
.wycena-form .form-row select,
.wycena-form .form-row textarea {
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    border: 1px solid var(--clr-grey-200);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    font-family: var(--font-body);
    background: var(--clr-white);
    color: var(--clr-grey-800);
    transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
    appearance: none;
    outline: none;
}
.wycena-form .form-row input:focus,
.wycena-form .form-row select:focus,
.wycena-form .form-row textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px var(--clr-accent-dim);
}
.wycena-form .required { color: var(--clr-error); }
.wycena-form__gdpr { background: var(--clr-grey-50); padding: var(--sp-4); border-radius: var(--radius-md); }
.wycena-form__checkbox-label {
    display: flex;
    gap: var(--sp-3);
    align-items: flex-start;
    font-size: var(--fs-sm);
    color: var(--clr-grey-600);
    cursor: pointer;
    line-height: 1.55;
}
.wycena-form__checkbox-label input[type="checkbox"] {
    width: auto; flex-shrink: 0; margin-top: 3px;
    accent-color: var(--clr-accent);
}
.wycena-form__checkbox-label a { color: var(--clr-accent); }

/* ── WSPÓŁPRACA PAGE ── */
.wspolpraca-intro { max-width: 760px; margin-bottom: var(--sp-10); }
.wspolpraca-intro h2 { margin-bottom: var(--sp-4); }
.wspolpraca-intro__lead {
    font-size: var(--fs-md);
    color: var(--clr-grey-600);
    line-height: 1.75;
}

.wspolpraca-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--sp-5);
    margin-top: var(--sp-8);
}
.wspolpraca-benefit {
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
    padding: var(--sp-5);
    background: var(--clr-white);
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--trans-base), border-color var(--trans-base);
}
.wspolpraca-benefit:hover { box-shadow: var(--shadow-md); border-color: var(--clr-accent); }
.wspolpraca-benefit__icon {
    width: 52px; height: 52px;
    background: var(--clr-accent-dim);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent);
    flex-shrink: 0;
}
.wspolpraca-benefit h3 { font-size: var(--fs-md); color: var(--clr-primary); margin-bottom: var(--sp-2); }
.wspolpraca-benefit p { font-size: var(--fs-sm); color: var(--clr-grey-600); line-height: 1.65; margin: 0; }

.wspolpraca-who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--sp-4);
    margin-top: var(--sp-8);
}
.wspolpraca-who-card {
    background: var(--clr-surface-2);
    border: 1px solid var(--clr-on-dark-subtle);
    border-radius: var(--radius-lg);
    padding: var(--sp-5);
    border-left: 3px solid var(--clr-accent);
}
.wspolpraca-who-card h4 { color: var(--clr-white); font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.wspolpraca-who-card p { font-size: var(--fs-sm); color: var(--clr-on-dark-muted); margin: 0; line-height: 1.65; }

.wspolpraca-steps {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-2);
    flex-wrap: wrap;
    margin-top: var(--sp-8);
    justify-content: center;
}
.wspolpraca-step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    background: var(--clr-white);
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-lg);
    padding: var(--sp-6) var(--sp-5);
    text-align: center;
}
.wspolpraca-step__num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--fw-black);
    color: var(--clr-accent);
    line-height: 1;
    margin-bottom: var(--sp-3);
    opacity: .35;
}
.wspolpraca-step h4 { font-size: var(--fs-md); color: var(--clr-primary); margin-bottom: var(--sp-2); }
.wspolpraca-step p { font-size: var(--fs-sm); color: var(--clr-grey-600); margin: 0; line-height: 1.65; }
.wspolpraca-step__arrow {
    color: var(--clr-grey-200);
    align-self: center;
    flex-shrink: 0;
    display: none;
}
@media (min-width: 768px) { .wspolpraca-step__arrow { display: flex; } }

/* ── REVEAL ANIMATIONS ── */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    animation: revealUp .55s ease forwards;
}
.reveal-delay-1 { animation-delay: .1s; }
.reveal-delay-2 { animation-delay: .2s; }
.reveal-delay-3 { animation-delay: .3s; }

@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
    .about-cta__box { flex-direction: column; gap: var(--sp-5); }
    .about-cta__actions { width: 100%; flex-direction: column; }
    .about-cta__actions .btn { width: 100%; justify-content: center; }
    .wycena-contact__items { flex-direction: column; align-items: stretch; }
    .wycena-contact__item { min-width: 0; }
    .about-stat-card { border-right: none; border-bottom: 1px solid var(--clr-on-dark-subtle); }
    .about-stat-card:last-child { border-bottom: none; }
    .wspolpraca-steps { flex-direction: column; align-items: stretch; }
    .wspolpraca-step { max-width: none; }
}

/* ================================================================
   O NAS — additional sections
   Append to assets/css/content-pages.css
   ================================================================ */

/* ── Section header description ── */
.about-section-header__desc {
    max-width: 640px;
    margin: var(--sp-3) auto 0;
    font-size: var(--fs-md);
    color: var(--clr-grey-600);
    line-height: 1.75;
    text-align: center;
}

/* ── CO NAS WYRÓŻNIA — feature cards ── */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--sp-5);
    margin-top: var(--sp-10);
}
.about-feature-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    transition: box-shadow var(--trans-base), transform var(--trans-base), border-color var(--trans-base);
    border-top: 3px solid transparent;
}
.about-feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-top-color: var(--clr-accent);
}
.about-feature-card__icon {
    width: 54px; height: 54px;
    background: var(--clr-accent-dim);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent);
    flex-shrink: 0;
}
.about-feature-card h3 {
    font-size: var(--fs-md);
    color: var(--clr-primary);
    margin: 0;
    line-height: 1.25;
}
.about-feature-card p {
    font-size: var(--fs-sm);
    color: var(--clr-grey-600);
    line-height: 1.65;
    margin: 0;
}

/* ── SPEC CARD list ── */
.about-spec-card__list {
    list-style: none;
    padding: 0; margin: var(--sp-3) 0 0;
    display: flex; flex-direction: column; gap: var(--sp-1);
}
.about-spec-card__list li {
    position: relative;
    padding-left: var(--sp-4);
    font-size: var(--fs-xs);
    color: var(--clr-grey-600);
    line-height: 1.5;
}
.about-spec-card__list li::before {
    content: '✓';
    position: absolute; left: 0;
    color: var(--clr-accent);
    font-weight: var(--fw-bold);
    font-size: var(--fs-xs);
}

/* ── WHY IT MATTERS banner ── */
.about-spec-why {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    margin-top: var(--sp-10);
    background: var(--clr-primary-dark);
    border: 1px solid var(--clr-on-dark-subtle);
    border-left: 4px solid var(--clr-accent);
    border-radius: var(--radius-lg);
    padding: var(--sp-5) var(--sp-6);
}
.about-spec-why svg {
    color: var(--clr-accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.about-spec-why p {
    font-size: var(--fs-sm);
    color: var(--clr-on-dark-muted);
    line-height: 1.7;
    margin: 0;
}
.about-spec-why p strong { color: var(--clr-white); }

/* ── SOCIAL MEDIA section ── */
.about-social { background: var(--clr-primary-dark); }
.about-social__inner {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-10);
    align-items: center;
    justify-content: space-between;
}
.about-social__text { flex: 1; min-width: 240px; }
.about-social__text h2 {
    color: var(--clr-white) !important;
    margin-top: var(--sp-2);
    margin-bottom: var(--sp-3);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}
.about-social__text p {
    color: var(--clr-on-dark-muted);
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin: 0;
}
.about-social__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    flex-shrink: 0;
}
.about-social__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-5);
    border-radius: var(--radius-lg);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background var(--trans-fast), border-color var(--trans-fast),
                transform var(--trans-fast), box-shadow var(--trans-fast);
}
.about-social__btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.about-social__btn--fb {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}
.about-social__btn--fb:hover {
    background: #1464d0;
    border-color: #1464d0;
}
.about-social__btn--ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-color: transparent;
}
.about-social__btn--ig:hover { opacity: .9; }
.about-social__btn--tt {
    background: var(--clr-surface-2);
    color: var(--clr-white);
    border-color: var(--clr-on-dark-subtle);
}
.about-social__btn--tt:hover {
    background: var(--clr-surface-3);
    border-color: var(--clr-white);
}

@media (max-width: 767px) {
    .about-social__inner { flex-direction: column; gap: var(--sp-6); }
    .about-social__links { width: 100%; justify-content: flex-start; }
    .about-social__btn { flex: 1; justify-content: center; min-width: 120px; }
    .about-features-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   WYCENA FORM — GDPR CHECKBOX
   ================================================================ */
.wycena-form__gdpr {
    margin-top: var(--sp-4);
}

.wycena-form__checkbox-label {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #ececea;
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-md);
    cursor: pointer;
    line-height: 1.5;
}

.wycena-form__checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wycena-form__checkbox-text {
    position: relative;
    display: block;
    padding-left: 42px;
    font-size: var(--fs-base);
    color: var(--clr-grey-800);
    min-height: 28px;
}

.wycena-form__checkbox-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 2px solid var(--clr-accent);
    background: var(--clr-white);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.02);
    transition: background var(--trans-fast), border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.wycena-form__checkbox-text::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 7px;
    width: 8px;
    height: 14px;
    border-right: 3px solid var(--clr-primary-dark);
    border-bottom: 3px solid var(--clr-primary-dark);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity var(--trans-fast);
}

.wycena-form__checkbox-label input[type="checkbox"]:checked + .wycena-form__checkbox-text::before {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(122,179,23,.15);
}

.wycena-form__checkbox-label input[type="checkbox"]:checked + .wycena-form__checkbox-text::after {
    opacity: 1;
}

.wycena-form__checkbox-label input[type="checkbox"]:focus + .wycena-form__checkbox-text::before,
.wycena-form__checkbox-label input[type="checkbox"]:focus-visible + .wycena-form__checkbox-text::before {
    box-shadow: 0 0 0 4px rgba(122,179,23,.18);
}

.wycena-form__checkbox-label:hover .wycena-form__checkbox-text::before {
    border-color: var(--clr-accent-hover);
}

.wycena-form__checkbox-text a {
    color: var(--clr-accent);
    font-weight: var(--fw-semi);
    text-decoration: none;
}

.wycena-form__checkbox-text a:hover {
    color: var(--clr-accent-hover);
    text-decoration: underline;
}



/* ================================================================
   VARIABLE PRODUCT FORM — clean single product layout
   ================================================================ */

.product-summary__cart--variable {
    margin-top: .25rem;
}

.product-variant-box {
    padding: 1rem;
    background: var(--clr-white);
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* form reset */
.product-summary__cart--variable form.variations_form {
    margin: 0 !important;
}

.product-summary__cart--variable table.variations {
    width: 100% !important;
    margin: 0 0 1rem !important;
    border: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

.product-summary__cart--variable table.variations tbody,
.product-summary__cart--variable table.variations tr,
.product-summary__cart--variable table.variations td,
.product-summary__cart--variable table.variations th {
    display: block;
    width: 100%;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.product-summary__cart--variable table.variations tr + tr {
    margin-top: 1rem !important;
}

.product-summary__cart--variable table.variations td.label {
    margin-bottom: .45rem !important;
}

.product-summary__cart--variable table.variations td.label label {
    display: block;
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--clr-primary);
    margin: 0 !important;
}

.product-summary__cart--variable table.variations td.value {
    position: relative;
}

.product-summary__cart--variable table.variations select {
    display: block;
    width: 100% !important;
    min-height: 54px;
    height: 54px;
    padding: 0 2.75rem 0 1rem !important;
    border: 1px solid var(--clr-grey-200) !important;
    border-radius: var(--radius-md) !important;
    background-color: var(--clr-white) !important;
    color: var(--clr-grey-800) !important;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.2;
    box-shadow: none !important;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%233a3d40'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 12px 12px !important;
}

.product-summary__cart--variable table.variations select:focus {
    border-color: var(--clr-accent) !important;
    box-shadow: 0 0 0 3px var(--clr-accent-dim) !important;
}

/* reset link */
.product-summary__cart--variable .reset_variations {
    display: inline-block !important;
    margin-top: .6rem !important;
    font-size: .85rem;
    font-weight: 600;
    color: var(--clr-accent) !important;
    text-decoration: none !important;
}

.product-summary__cart--variable .reset_variations:hover {
    color: var(--clr-accent-hover) !important;
    text-decoration: underline !important;
}

/* variation result area */
.product-summary__cart--variable .single_variation_wrap {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--clr-grey-100);
}

.product-summary__cart--variable .woocommerce-variation {
    margin-bottom: .85rem;
}

.product-summary__cart--variable .woocommerce-variation-price {
    margin-bottom: .6rem;
}

.product-summary__cart--variable .woocommerce-variation-price .price,
.product-summary__cart--variable .woocommerce-variation-price .woocommerce-Price-amount {
    font-family: var(--font-display);
    font-weight: var(--fw-black);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--clr-primary) !important;
}

.product-summary__cart--variable .woocommerce-variation-availability {
    margin-bottom: .6rem;
}

.product-summary__cart--variable .woocommerce-variation-availability .stock {
    margin: 0;
    font-size: .92rem;
    font-weight: 600;
}

.product-summary__cart--variable .woocommerce-variation-availability .stock.in-stock {
    color: var(--clr-success);
}

.product-summary__cart--variable .woocommerce-variation-availability .stock.out-of-stock {
    color: var(--clr-error);
}

/* qty + button row */
.product-summary__cart--variable .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: stretch !important;
    gap: .75rem !important;
    flex-wrap: wrap !important;
    margin-top: .2rem;
}

.product-summary__cart--variable .woocommerce-variation-add-to-cart .quantity {
    float: none !important;
    margin: 0 !important;
}

.product-summary__cart--variable .woocommerce-variation-add-to-cart .qty {
    width: 66px !important;
    min-width: 66px;
    height: 54px !important;
    padding: 0 .5rem !important;
    border: 1px solid var(--clr-grey-200) !important;
    border-radius: var(--radius-md) !important;
    background: var(--clr-white) !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: var(--fw-bold);
    box-shadow: none !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

.product-summary__cart--variable .woocommerce-variation-add-to-cart .qty::-webkit-outer-spin-button,
.product-summary__cart--variable .woocommerce-variation-add-to-cart .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-summary__cart--variable .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    flex: 1 1 220px;
    min-height: 54px !important;
    border-radius: var(--radius-md) !important;
    padding: .75rem 1.5rem !important;
    font-size: 1rem !important;
}

/* hide ugly extra helper text spacing */
.product-summary__cart--variable .woocommerce-variation-description p:last-child {
    margin-bottom: 0;
}

/* mobile */
@media (max-width: 767px) {
    .product-variant-box {
        padding: .9rem;
    }

    .product-summary__cart--variable .woocommerce-variation-add-to-cart {
        flex-direction: column !important;
    }

    .product-summary__cart--variable .woocommerce-variation-add-to-cart .quantity,
    .product-summary__cart--variable .woocommerce-variation-add-to-cart .qty,
    .product-summary__cart--variable .woocommerce-variation-add-to-cart .single_add_to_cart_button {
        width: 100% !important;
    }
}

/* ================================================================
   FORCE STYLE VARIABLE PRODUCT FORM
   ================================================================ */

.single-product .product-summary__cart--variable,
.single-product .product-summary__cart--variable * {
    box-sizing: border-box;
}

.single-product .product-summary__cart--variable {
    margin: 1rem 0 1.5rem !important;
    padding: 1rem !important;
    background: #fff !important;
    border: 1px solid var(--clr-grey-100) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow-sm) !important;
}

.single-product .product-summary__cart--variable form.variations_form {
    margin: 0 !important;
    display: block !important;
}

.single-product .product-summary__cart--variable table.variations {
    width: 100% !important;
    display: block !important;
    border: 0 !important;
    margin: 0 0 1rem !important;
}

.single-product .product-summary__cart--variable table.variations tbody {
    display: block !important;
    width: 100% !important;
}

.single-product .product-summary__cart--variable table.variations tr {
    display: block !important;
    width: 100% !important;
    margin: 0 0 1rem !important;
}

.single-product .product-summary__cart--variable table.variations td,
.single-product .product-summary__cart--variable table.variations th {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.single-product .product-summary__cart--variable td.label {
    margin-bottom: .45rem !important;
}

.single-product .product-summary__cart--variable td.label label {
    display: block !important;
    margin: 0 !important;
    font-family: var(--font-display) !important;
    font-size: .95rem !important;
    font-weight: 700 !important;
    color: var(--clr-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
}

.single-product .product-summary__cart--variable td.value {
    display: block !important;
    width: 100% !important;
}

.single-product .product-summary__cart--variable td.value select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 2.5rem 0 1rem !important;
    border: 1px solid var(--clr-grey-200) !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    color: var(--clr-grey-800) !important;
    font-size: 1rem !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    box-shadow: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%233a3d40'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 12px 12px !important;
}

.single-product .product-summary__cart--variable .reset_variations {
    display: inline-block !important;
    margin-top: .55rem !important;
    color: var(--clr-accent) !important;
    font-size: .85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.single-product .product-summary__cart--variable .single_variation_wrap {
    display: block !important;
    width: 100% !important;
    margin-top: .75rem !important;
    padding-top: .75rem !important;
    border-top: 1px solid var(--clr-grey-100) !important;
}

.single-product .product-summary__cart--variable .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: stretch !important;
    gap: .75rem !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.single-product .product-summary__cart--variable .quantity {
    float: none !important;
    margin: 0 !important;
}

.single-product .product-summary__cart--variable .quantity input.qty {
    width: 72px !important;
    min-width: 72px !important;
    height: 52px !important;
    border: 1px solid var(--clr-grey-200) !important;
    border-radius: 8px !important;
    text-align: center !important;
    background: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.single-product .product-summary__cart--variable .single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 52px !important;
    flex: 1 1 220px !important;
    border-radius: 8px !important;
    padding: .75rem 1.5rem !important;
}

@media (max-width: 767px) {
    .single-product .product-summary__cart--variable .woocommerce-variation-add-to-cart {
        flex-direction: column !important;
    }

    .single-product .product-summary__cart--variable .quantity,
    .single-product .product-summary__cart--variable .quantity input.qty,
    .single-product .product-summary__cart--variable .single_add_to_cart_button {
        width: 100% !important;
    }
}

/* ================================================================
   SHOP CATEGORY TREE
   ================================================================ */

.superstore-shop-all-link-wrap {
    margin-bottom: .9rem;
}

.superstore-shop-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: .85rem 1rem;
    border-radius: var(--radius-md);
    color: var(--clr-grey-800);
    font-weight: 600;
    transition: background var(--trans-fast), color var(--trans-fast), border-color var(--trans-fast);
}

.superstore-shop-all-link:hover,
.superstore-shop-all-link.is-active {
    background: var(--clr-accent-dim);
    color: var(--clr-accent-hover);
}

.superstore-cat-tree {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.superstore-cat-tree__item {
    position: relative;
}

.superstore-cat-tree__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 44px;
    padding: .72rem .9rem;
    border-radius: var(--radius-md);
    color: var(--clr-grey-800);
    text-decoration: none;
    transition: background var(--trans-fast), color var(--trans-fast), transform var(--trans-fast);
}

.superstore-cat-tree__link:hover {
    background: var(--clr-grey-50);
    color: var(--clr-accent-hover);
}

.superstore-cat-tree__link.is-active {
    background: rgba(122,179,23,.14);
    color: var(--clr-accent-hover);
    font-weight: 700;
}

.superstore-cat-tree__label {
    min-width: 0;
    flex: 1 1 auto;
    font-size: .98rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.superstore-cat-tree__count {
    flex: 0 0 auto;
    min-width: 28px;
    height: 28px;
    padding: 0 .45rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-grey-100);
    color: var(--clr-grey-600);
    font-size: .8rem;
    font-weight: 700;
}

.superstore-cat-tree__link.is-active .superstore-cat-tree__count {
    background: var(--clr-accent);
    color: var(--clr-primary-dark);
}

.superstore-cat-tree__children {
    position: relative;
    margin-top: .25rem;
    margin-left: 1rem;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.superstore-cat-tree__children::before {
    content: "";
    position: absolute;
    left: .3rem;
    top: .2rem;
    bottom: .4rem;
    width: 1px;
    background: var(--clr-grey-200);
}

.superstore-cat-tree__children > .superstore-cat-tree > .superstore-cat-tree__item > .superstore-cat-tree__link::before,
.superstore-cat-tree__children > .superstore-cat-tree__item > .superstore-cat-tree__link::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 50%;
    width: .8rem;
    height: 1px;
    background: var(--clr-grey-200);
    transform: translateY(-50%);
}

.superstore-cat-tree__children .superstore-cat-tree__link {
    min-height: 40px;
    padding-top: .62rem;
    padding-bottom: .62rem;
    background: transparent;
}

.superstore-cat-tree__children .superstore-cat-tree__label {
    font-size: .93rem;
}

@media (max-width: 767px) {
    .superstore-cat-tree__link,
    .superstore-shop-all-link {
        min-height: 42px;
        padding: .72rem .8rem;
    }

    .superstore-cat-tree__children {
        margin-left: .7rem;
        padding-left: .8rem;
    }
}