/* ═══════════════════════════════════════════
   MODLITECZKA — main.css v1.0
   ═══════════════════════════════════════════ */

/* ── Variables ──────────────────────────── */
:root {
    --navy:        #063144;
    --navy-dark:   #04212F;
    --navy-light:  #567c8d;
    --navy-soft:   #a7c1d2;
    --cream:       #faf7f5;
    --bg:          #FFFFFF;
    --bg-alt:      #f5efeb;
    --bg-warm:     #f8f0e4;
    --text:        #3d3d3d;
    --text-strong: #1B1D21;
    --text-muted:  #656565;
    --text-soft:   #989898;
    --border:      #e7e7e7;
    --border-light:#f2f2f2;
    --input-bg:    #FFFFFF;
    --input-border:#bdbdbd;
    --topbar-bg:   #2f4156;
    --tan:         #b29c91;
    --error:       #f36666;
    --radius:      8px;
    --radius-lg:   12px;
    --radius-pill: 9999px;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.06);
    --shadow:      0 4px 16px rgba(6, 49, 68, 0.08);
    --shadow-lg:   0 20px 60px rgba(6, 49, 68, 0.16);
    --container:   1240px;
    --font-body:   'Quicksand', system-ui, sans-serif;
    --font-display:'Lora', Georgia, serif;

    /* Paleta koszyka (Figma) */
    --cart-primary-50:    #F2F6F9;
    --cart-primary-100:   #E1EBF2;
    --cart-primary-500:   #567C8D;
    --cart-primary-900:   #063144;
    --cart-secondary-50:  #FDFBFA;
    --cart-secondary-100: #FAF7F5;
    --cart-secondary-200: #F5EFEB;
    --cart-secondary-400: #DCCFC6;
    --cart-secondary-500: #C9B6AC;
    --cart-divider:       #F3F4F6;
}

/* ── Reset ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ── Container ──────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    transition: background .2s, color .2s, border-color .2s, opacity .2s;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    font-family: var(--font-body);
}
.btn--primary {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.btn--primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--border);
}
.btn--outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--ghost {
    background: transparent;
    color: var(--navy);
    border-color: transparent;
    padding: 12px 0 12px 24px;
}
.btn--ghost:hover { color: var(--navy-light); }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--full { width: 100%; }

/* ── Section helpers ────────────────────── */
.section-head { margin-bottom: 32px; max-width: 1028px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 1.875rem); font-weight: 700; color: var(--text); line-height: 120%; }
.section-title--center { text-align: center; margin-bottom: 32px; }
.section-sub { color: var(--text-muted); font-size: 16px; margin-top: 16px; line-height: 150%; max-width: 800px; }
.section-cta { text-align: center; margin-top: 40px; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header { position: sticky; top: 0; z-index: 160; background: var(--bg); }

/* Topbar */
.topbar {
    background: var(--topbar-bg);
    color: var(--bg-alt);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 8px 0;
    line-height: 150%;
    position: relative;
    z-index: 200;
}

/* Main header */
.header-main { border-bottom: 1px solid var(--border); padding: 8px 0; background: var(--bg); position: relative; z-index: 200; }
.header-main__inner {
    display: flex;
    align-items: center;
    gap: 24px;
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 48px; width: auto; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* Desktop nav */
.desktop-nav { display: flex; align-items: center; gap: 16px; }
.desktop-nav a,
.desktop-nav__shop {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    transition: color .2s;
    padding: 12px 0;
    line-height: 150%;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.desktop-nav a:hover,
.desktop-nav__shop:hover { color: var(--navy); }
.desktop-nav__shop {
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 10px 16px;
}
.desktop-nav__shop svg { transition: transform .2s; }
.desktop-nav__shop[aria-expanded="true"] svg { transform: rotate(180deg); }
.desktop-nav__shop[aria-expanded="true"] {
    color: var(--navy);
    border-color: var(--navy);
    background: var(--bg);
}

/* Desktop mega menu (Sklep) */
.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 16px 40px rgba(6, 49, 68, .08);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
}
.mega-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mega-menu__overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 49, 68, .25);
    z-index: 140;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.mega-menu__overlay.is-visible { opacity: 1; pointer-events: auto; }
.mega-menu__inner {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 2fr;
    gap: 48px;
    padding-top: 32px;
    padding-bottom: 32px;
    min-height: 360px;
}
.mega-menu__cats { display: flex; flex-direction: column; gap: 4px; }
.mega-menu__cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.mega-menu__cat:hover { background: var(--cream); color: var(--navy); }
.mega-menu__cat.is-active {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}
.mega-menu__cat--leaf { text-decoration: none; }
.mega-menu__cat--leaf:hover { text-decoration: none; }
.mega-menu__cat svg { flex-shrink: 0; opacity: .55; }
.mega-menu__panels { position: relative; padding-left: 32px; border-left: 1px solid var(--border-light); }
.mega-menu__panel { display: none; }
.mega-menu__panel.is-active { display: block; }
.mega-menu__panel-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.mega-menu__subs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mega-menu__subs a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: background .15s, color .15s;
}
.mega-menu__subs a:hover { background: var(--cream); color: var(--navy); }
.mega-menu__panel-cta {
    display: inline-block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cart-primary-500);
    border: 1px solid var(--cart-secondary-500);
    border-radius: var(--radius);
    transition: background .15s, color .15s;
}
.mega-menu__panel-cta:hover { background: var(--cream); color: var(--cart-primary-900); }

/* Cart */
.header-cart {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: var(--radius);
    transition: background .15s;
    position: relative;
    color: var(--text);
    font-weight: 700;
}
.header-cart:hover { background: var(--cream); }
.cart-badge {
    position: absolute;
    top: 6px;
    right: 12px;
    background: var(--navy);
    color: var(--border-light);
    font-size: 10px;
    font-weight: 500;
    min-width: 18px;
    height: 18px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1.6;
}
.cart-badge--hidden { display: none; }
.cart-total { font-size: 14px; font-weight: 700; line-height: 150%; }

/* Menu toggle (mobile) */
.menu-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--text);
    padding: 4px;
}

/* Checkout header */
.site-header--checkout { border-bottom: 1px solid var(--border); }
.header-checkout-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}
/* Back link w headerze checkoutu — tylko na mobile */
.checkout-header-back { display: none; }
.checkout-header-back svg { flex-shrink: 0; }
.header-account-link {
    font-size: 14px;
    color: var(--text-muted);
    transition: color .2s;
}
.header-account-link:hover { color: var(--navy); }
.header-checkout-actions { display: flex; gap: 16px; }

/* Mobile drawer — full screen pod topbarem (zostaje widoczny), multi-level */
.mobile-drawer {
    position: fixed;
    top: var(--topbar-h, 37px);
    right: 0;
    left: 0;
    width: 100vw;
    height: calc(100% - var(--topbar-h, 37px));
    max-height: calc(100dvh - var(--topbar-h, 37px));
    background: var(--bg);
    z-index: 200;
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
    overflow: hidden;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__overlay {
    position: fixed;
    top: var(--topbar-h, 37px);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.4);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.mobile-drawer__overlay.is-visible { opacity: 1; pointer-events: all; }
.mobile-drawer__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    min-height: 64px;
}
.mobile-drawer__back {
    display: none;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 4px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--text);
    cursor: pointer;
}
.mobile-drawer[data-level="2"] .mobile-drawer__back { display: inline-flex; }
.mobile-drawer__logo { flex: 0 0 auto; }
.mobile-drawer[data-level="2"] .mobile-drawer__logo { display: none; }
.mobile-drawer__logo img { display: block; }
.mobile-drawer__header .header-cart { margin-left: auto; padding: 8px 12px; }
.mobile-drawer__close {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    color: var(--text);
    background: none;
    border: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    cursor: pointer;
}

/* Level panels (slide between LVL1 ↔ LVL2) */
.mobile-drawer__level {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
}
.mobile-drawer__level.is-active { display: flex; }
.mobile-drawer__level-title {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}
.mobile-drawer__nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    gap: 0;
}
.mobile-drawer__nav--cats { padding-top: 8px; padding-bottom: 8px; }
.mobile-drawer__nav--secondary {
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--border-light);
}
.mobile-drawer__cat-btn,
.mobile-drawer__cat-link,
.mobile-drawer__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background .15s;
}
.mobile-drawer__cat-btn:hover,
.mobile-drawer__cat-link:hover,
.mobile-drawer__nav a:hover { background: var(--cream); }
.mobile-drawer__cat-btn svg { opacity: .55; flex-shrink: 0; }
.mobile-drawer__nav--secondary a { font-weight: 400; color: var(--text-muted); }
.mobile-drawer__nav--subs a { font-weight: 500; }

/* ═══════════════════════════════════════════
   FRONT PAGE
   ═══════════════════════════════════════════ */

/* Hero */
.hero {
    background: var(--bg-alt);
    padding: 0;
    position: relative;
    overflow: hidden;
}
.hero .container {
    padding: 0;
    max-width: var(--container);
    margin: 0 auto;
    width: auto;
}
.hero__inner {
    display: grid;
    grid-template-columns: 604px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
}
.hero__content {
    padding: 40px 48px 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 120%;
    margin: 0;
    color: var(--text);
}
.hero__sub {
    font-size: 18px;
    color: var(--text);
    margin: 0 0 36px;
    line-height: 150%;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    width: 100%;
    min-width: 0;
}
.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero__image-placeholder {
    background: var(--bg-warm);
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
}

/* Logo strip — 4 benefits row */
.logo-strip {
    background: var(--bg);
    padding: 16px 0;
}
.logo-strip__benefits {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.logo-strip__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 150%;
    color: var(--text);
}
.logo-strip__item svg { color: var(--navy); flex-shrink: 0; }

/* ═══ Category sections with slider ═══ */
.cat-sections { background: var(--bg); }
.cat-section { padding: 36px 0; background: var(--bg); }
.cat-section--alt { background: var(--cream); }
.cat-section__inner {
    display: grid;
    grid-template-columns: 286px 1fr;
    gap: 32px;
    align-items: flex-start;
}
.cat-section__head {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 12px;
}
.cat-section__title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    line-height: 120%;
    margin: 0;
    color: var(--text);
}
.cat-section__desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 150%;
    margin: 0;
}
.cat-section__head .btn { align-self: flex-start; }

/* Slider navigation (in left content) */
.cat-slider-nav {
    display: inline-flex;
    align-items: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    overflow: hidden;
    align-self: flex-start;
}
.cat-slider-nav__btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--text-strong);
    cursor: pointer;
    transition: background .15s, color .15s, opacity .15s;
}
.cat-slider-nav__btn:hover:not(:disabled) {
    background: var(--cream);
    color: var(--navy);
}
.cat-slider-nav__btn:disabled {
    color: var(--text-soft);
    cursor: not-allowed;
    opacity: .5;
}
.cat-slider-nav__btn--prev {
    border-right: 1px solid var(--border);
}
.cat-slider-nav__btn--next {
    border-left: 1px solid var(--border);
}
.cat-slider-nav__indicator {
    padding: 0 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-strong);
    line-height: 48px;
    min-width: 80px;
    text-align: center;
    letter-spacing: .5px;
}
.cat-slider-nav__sep { color: var(--text-soft); margin: 0 4px; }

/* Slider track — horizontal scroll with snap */
.cat-section__slider {
    overflow: hidden;
    position: relative;
}
.cat-slider-track {
    display: flex;
    gap: 32px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transition: transform .35s ease;
}
.cat-slider-track::-webkit-scrollbar { display: none; }
.cat-slider-track .shop-card {
    /* desktop: dokładnie 3 pełne karty w obszarze slidera (bez ucięcia) */
    flex: 0 0 calc((100% - 64px) / 3);
    scroll-snap-align: start;
}

/* Coming-soon placeholder card */
.shop-card--soon .shop-card__img-wrap--placeholder {
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tan);
}
.shop-card--soon { opacity: .85; }
.shop-card__placeholder { color: var(--tan); }
.shop-card__badge--soon {
    background: var(--bg);
    color: var(--text-strong);
    border: 1px solid var(--border);
}
.shop-card__price--soon {
    color: var(--text-soft);
    font-weight: 500;
}
.shop-card__heading { display: flex; flex-direction: column; gap: 4px; }
.shop-card__pricing { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }

/* Products section */
.products-section { padding: 80px 0; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Shop card */
.shop-card {
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 0 24px;
    cursor: pointer;
}
.shop-card__img-wrap {
    display: block;
    height: 286px;
    overflow: hidden;
    position: relative;
    background: var(--border-light);
    border-radius: var(--radius);
}
.shop-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.shop-card__img-wrap:hover .shop-card__img { transform: scale(1.04); }
.shop-card__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0 8px;
}
.shop-card__badge {
    background: var(--tan);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius);
    line-height: 150%;
}
.shop-card__badge--alt {
    background: var(--navy-soft);
    color: var(--navy);
}
.shop-card__badge--shipping {
    background: #E5EDE3;
    color: #4A6B3D;
}
.shop-card__badge--sale {
    background: var(--error);
    color: #fff;
}
.shop-card__body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.shop-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
    color: var(--text);
    font-family: var(--font-body);
    margin: 0;
}
.shop-card__title a:hover { color: var(--navy); }
.shop-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 150%;
    margin: 0;
}
.shop-card__price {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text);
    line-height: 120%;
}
.shop-card__price ins { text-decoration: none; }
.shop-card__price del {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
    font-family: var(--font-body);
    margin-left: 12px;
}
.shop-card__omnibus {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 150%;
}
.shop-card__cta { margin-top: auto; }

/* About section */
.about-section { background: var(--bg); padding: 36px 0; }
.about-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
}
.about-section__img,
.about-section__img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    background: var(--bg-warm);
    display: block;
}
.about-section__content { padding: 32px 32px 32px 0; }
.about-section__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.about-section__content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: 0;
    line-height: 120%;
    color: var(--text);
}
.about-section__content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 16px;
    line-height: 150%;
}
.about-section__content p strong { color: var(--text); font-weight: 700; }
.about-section__content .btn { align-self: flex-start; }

/* Blog section */
.blog-section { padding: 36px 0; background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 32px; align-items: start; }
.blog-grid__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
/* Uniform listing dla /blog/ (home.php) — 3 kolumny równe, bez "alternating big/small". */
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.blog-grid__intro { display: flex; flex-direction: column; gap: 20px; }
.blog-grid__intro .section-title { margin: 0; }
.blog-grid__intro .section-sub { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 150%; }
.blog-grid__intro .btn { align-self: flex-start; margin-top: 8px; }
.blog-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.blog-card__img-wrap {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--border-light);
    border-radius: var(--radius);
}
.blog-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card__img-wrap:hover .blog-card__img { transform: scale(1.04); }
.blog-card__body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.blog-card__date {
    font-size: 14px;
    color: var(--tan);
    font-weight: 700;
    line-height: 150%;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.blog-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 120%;
    margin: 0;
    color: var(--text);
}
.blog-card__title a:hover { color: var(--navy); }
.blog-card__excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 150%;
    margin: 0;
}
.blog-card__link {
    font-size: 14px;
    color: var(--navy);
    font-weight: 700;
    line-height: 150%;
}
.blog-card__link:hover { text-decoration: underline; }

/* FAQ section */
.faq-section { padding: 36px 0; background: var(--bg); }
.faq-section .section-title--center { text-align: left; max-width: var(--container); margin: 0 0 32px; font-size: 30px; }
.faq-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.faq-section__image {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
}
.faq-section__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.faq-section__placeholder {
    width: 100%; height: 100%; background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-soft); font-size: 32px; font-weight: 700;
    font-family: var(--font-display);
}
.faq-section__body { display: flex; flex-direction: column; gap: 20px; }
.faq-section__body .section-title { margin: 0; font-size: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    border-radius: var(--radius);
    background: var(--cream);
    overflow: hidden;
    transition: background .2s;
}
.faq-item:has(.faq-question[aria-expanded="true"]) { background: var(--bg-alt); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    color: var(--text);
    gap: 16px;
    line-height: 150%;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}
.faq-icon {
    flex-shrink: 0;
    transition: transform .25s;
    color: var(--navy);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
    display: none;
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 150%;
}
.faq-answer.is-open { display: block; }
.faq-answer p { margin: 0; }

/* Home SEO text section */
.home-seo-section { background: var(--bg); padding: 36px 0 64px; }
.home-seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 64px;
}
.home-seo-block h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 130%;
    color: var(--text);
    margin: 0 0 12px;
}
.home-seo-block p {
    font-size: 14px;
    line-height: 160%;
    color: var(--text-muted);
    margin: 0;
}
.home-seo-block p strong { color: var(--text); font-weight: 700; }
@media (max-width: 768px) {
    .faq-section__inner { grid-template-columns: 1fr; gap: 24px; }
    .home-seo-section { padding: 24px 0 40px; }
    .home-seo-grid { grid-template-columns: 1fr; gap: 32px; }
    .home-seo-block h3 { font-size: 18px; }
}

/* ═══════════════════════════════════════════
   CART DRAWER
   ═══════════════════════════════════════════ */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(440px, 100vw);
    height: 100%;
    z-index: 1100;
    transform: translateX(100%);
    transition: transform .35s ease;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(6, 49, 68, 0.18);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 49, 68, 0.5);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
}
.cart-drawer__overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.cart-drawer__panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.cart-drawer__inner {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Header */
.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid var(--cart-divider);
    border-bottom: 1px solid var(--cart-divider);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 2;
}
.cart-drawer__title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}
.cart-drawer__count { color: var(--text-muted); font-weight: 500; }
.cart-drawer__close {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background .15s;
}
.cart-drawer__close:hover { background: var(--cream); }

/* Empty state */
.cart-drawer__empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 24px;
    color: var(--text-muted);
    text-align: center;
}
.cart-drawer__empty svg { color: var(--text-soft); }
.cart-drawer__empty p { font-size: 16px; margin: 0; }

/* Shipping progress */
.cart-drawer__shipping {
    padding: 16px 20px 20px;
    background: var(--cart-primary-50);
}
.cart-drawer__shipping-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 12px;
}
.cart-drawer__shipping-text strong { font-weight: 700; }
.cart-drawer__shipping-bar {
    position: relative;
    height: 4px;
    background: var(--cart-primary-100);
    border-radius: 2px;
    margin-top: 4px;
}
.cart-drawer__shipping-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--navy);
    border-radius: 2px;
    transition: width .35s;
}
.cart-drawer__shipping-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: var(--navy);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: left .35s;
}

/* Items */
.cart-drawer__items {
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cart-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: var(--cart-secondary-50);
    border: 1px solid var(--cart-secondary-200);
    border-radius: var(--radius-lg);
}
.cart-item__top {
    display: flex;
    gap: 12px;
    align-items: center;
}
.cart-item__img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cream);
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
}
.cart-item__name:hover { color: var(--navy); }
.cart-item__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}
.cart-item__unit {
    font-size: 12px;
    color: var(--text-muted);
}
.cart-item__total {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: var(--font-display);
}
.cart-item__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.cart-item__remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color .15s;
}
.cart-item__remove:hover { color: var(--error); }
.cart-item__qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.cart-item__qty-btn {
    width: 44px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: none;
    color: var(--text);
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: background .15s;
}
.cart-item__qty-btn:hover { background: var(--cream); }
.cart-item__qty-value {
    min-width: 52px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.cart-item__qty--fixed .cart-item__qty-value { padding: 0 16px; }

/* Cross-sell */
.cart-drawer__cross {
    padding: 20px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cart-drawer__cross-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}
.cart-drawer__cross-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 4px;
}
.cart-cross {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--cart-primary-50);
    border: 1px solid var(--cart-primary-100);
    border-radius: var(--radius-lg);
}
.cart-cross__top {
    display: flex;
    gap: 14px;
    align-items: center;
}
.cart-cross__img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
}
.cart-cross__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-cross__name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.45;
}
.cart-cross__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12px;
    color: var(--text-muted);
}
.cart-cross__price { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); }
.cart-cross__btn {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    color: var(--cart-primary-900);
    border: 1px solid var(--cart-secondary-500);
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
    font-family: var(--font-body);
    flex-shrink: 0;
}
.cart-cross__btn:hover { background: var(--cart-secondary-200); color: var(--cart-primary-900); }
.cart-cross__btn:disabled { opacity: .6; cursor: not-allowed; }

/* Coupon */
.cart-drawer__coupon {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}
.cart-drawer__coupon-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.cart-drawer__coupon-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.cart-drawer__coupon-form {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px 16px 4px 4px;
}
.cart-drawer__coupon-input {
    flex: 1;
    padding: 12px 14px;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
}
.cart-drawer__coupon-input:focus { outline: none; }
.cart-drawer__coupon-btn {
    padding: 8px 0;
    border: none;
    background: transparent;
    color: var(--cart-primary-500);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: color .15s;
}
.cart-drawer__coupon-btn:hover { color: var(--cart-primary-900); }
.cart-drawer__coupon-msg {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}
.cart-drawer__coupon-msg.is-error { color: var(--error); }
.cart-drawer__coupon-msg.is-success { color: #0E9F6E; }
.cart-drawer__coupon-remove {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 6px;
    color: var(--error);
    font-size: 14px;
    line-height: 1;
}

/* Totals */
.cart-drawer__totals {
    padding: 24px 20px;
    margin: auto 0 0;
    background: var(--cart-secondary-100);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Sticky footer w drawerze — widoczny gdy totals jest poza widokiem */
.cart-drawer__sticky-footer {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin-top: -1px;
    padding: 12px 16px 16px;
    background: var(--bg);
    border-top: 1px solid var(--cart-divider);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: opacity .25s, transform .25s;
}
.cart-drawer__sticky-footer.is-hidden {
    display: none;
}
.cart-drawer__sticky-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cart-drawer__sticky-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.cart-drawer__sticky-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.cart-drawer__sticky-item svg { color: var(--cart-primary-500); }
.cart-drawer__sticky-total {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}
.cart-drawer__sticky-total svg { color: var(--cart-primary-500); }
.cart-drawer__sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: var(--cart-primary-500);
    color: #fff;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 700;
    transition: background .2s;
}
.cart-drawer__sticky-cta:hover { background: var(--cart-primary-900); color: #fff; }
.cart-drawer__sticky-payments {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}
.cart-drawer__sticky-payments img { height: 14px; width: auto; }
.cart-drawer__totals-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.cart-drawer__totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text);
}
.cart-drawer__totals-row span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}
.cart-drawer__totals-row--coupon { color: #0E9F6E; }
.cart-drawer__totals-row--total {
    font-size: 16px;
    font-weight: 700;
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
    margin-top: 4px;
}
.cart-drawer__totals-row--total span:first-child { color: var(--text); font-weight: 700; }

/* CTA — wewnątrz karty totals, brand primary 500 */
.cart-drawer__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    margin-top: 8px;
    background: var(--cart-primary-500);
    color: #fff;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    transition: background .2s;
}
.cart-drawer__cta:hover { background: var(--cart-primary-900); color: #fff; }

/* Payments — wewnątrz karty totals, wyrównane do prawej, mniejsze */
.cart-drawer__payments {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.cart-drawer__payments img { height: 16px; width: auto; }

/* Sticky bottom bar */
.cart-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    transform: translateY(100%);
    transition: transform .3s ease;
    box-shadow: 0 -4px 16px rgba(6, 49, 68, 0.08);
}
.cart-sticky-bar[data-visible="true"] { transform: translateY(0); }
/* Na karcie produktu sticky bar zasłaniałby stopkę — dorzucamy padding-bottom na body */
body.single-product { padding-bottom: 88px; }
/* Na checkoucie nie pokazujemy mobilnego paska koszyka — jest własny "Kupuję i płacę" */
.woocommerce-checkout .cart-sticky-bar { display: none !important; }
.cart-sticky-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: var(--container);
    margin: 0 auto;
}
.cart-sticky-bar__info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cart-sticky-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.cart-sticky-bar__item svg { width: 16px; height: 16px; color: var(--navy-light); flex-shrink: 0; }
.cart-sticky-bar__cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    transition: background .2s;
}
.cart-sticky-bar__cta:hover { background: var(--navy-dark); color: #fff; }
.cart-sticky-bar__total {
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 700;
}

/* Body scroll-lock helper */
body.cart-drawer-open { overflow: hidden; }

/* Mobile adjustments */
@media (max-width: 480px) {
    .cart-drawer { width: 100vw; }
    .cart-sticky-bar__item:nth-child(2) { display: none; }
    .cart-sticky-bar__cta { padding: 10px 14px; font-size: 12px; gap: 10px; }
    .cart-sticky-bar__total { padding-left: 10px; }
}

/* ═══════════════════════════════════════════
   SHOP / ARCHIVE
   ═══════════════════════════════════════════ */
.shop-archive { padding-top: 16px; padding-bottom: 96px; max-width: var(--container); }

/* Breadcrumbs */
.shop-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 700;
    line-height: 150%;
    flex-wrap: wrap;
}
.shop-breadcrumbs__link { color: var(--navy-light); transition: color .15s; }
.shop-breadcrumbs__link:hover { color: var(--navy); }
.shop-breadcrumbs__link--current { color: var(--text-strong); cursor: default; }
.shop-breadcrumbs__sep { color: var(--text-soft); flex-shrink: 0; }
.shop-breadcrumbs__current { color: var(--text-muted); font-weight: 400; }

/* Page header */
.shop-archive__header { margin-bottom: 32px; max-width: 1028px; }
.shop-archive__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: var(--text);
    margin: 0 0 16px;
}
.shop-archive__desc {
    font-size: 14px;
    line-height: 150%;
    color: var(--text-muted);
    margin: 0;
}

/* 2-col layout */
.shop-archive__layout {
    display: grid;
    grid-template-columns: 286px 1fr;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 80px;
}

/* Sidebar */
.shop-sidebar { display: flex; flex-direction: column; gap: 24px; }
.shop-sidebar__group { display: flex; flex-direction: column; gap: 4px; }
.shop-sidebar__label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 18px;
    color: var(--text-muted);
    margin: 0;
    padding: 8px 0;
}
.shop-sidebar__nav,
.shop-sidebar__filters { display: flex; flex-direction: column; }
.shop-sidebar__link {
    display: block;
    padding: 12px 24px 12px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 150%;
    color: var(--text-strong);
    transition: color .15s;
}
.shop-sidebar__link:hover { color: var(--navy); }
.shop-sidebar__link--active { text-decoration: underline; text-underline-offset: 4px; color: var(--text-strong); }

/* Filter checkboxes */
.shop-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px 12px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 150%;
    color: var(--text-strong);
}
.shop-filter input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.shop-filter__box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--bg-alt);
    border: 1px solid #CECED1;
    flex-shrink: 0;
    position: relative;
    transition: background .15s, border-color .15s;
}
.shop-filter input[type="checkbox"]:checked + .shop-filter__box {
    background: var(--navy);
    border-color: var(--navy);
}
.shop-filter input[type="checkbox"]:checked + .shop-filter__box::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.shop-filter__text { display: inline-flex; align-items: center; gap: 4px; }
.shop-filter__count { color: var(--text-muted); font-weight: 400; }

/* Toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 36px;
}
.shop-toolbar__count {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 18px;
    color: var(--text-muted);
    flex: 1;
}
.shop-toolbar__count strong { font-weight: 700; color: var(--text-strong); }
.shop-toolbar__sort .woocommerce-ordering { margin: 0; }
.shop-toolbar__sort select {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    line-height: 24px;
    cursor: pointer;
    min-height: 48px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23464646' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Product grid */
ul.products,
.shop-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.products li.product { display: flex; flex-direction: column; }

/* Card badges & misc tweaks */
.shop-card__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0 8px;
}
.shop-card__badge--sale { background: var(--error); color: #fff; }

/* Shop pagination */
.shop-pagination { margin-top: 48px; display: flex; justify-content: center; }
.shop-pagination ul,
.shop-pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.shop-pagination li { display: inline-flex; }
.shop-pagination a,
.shop-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    background: var(--bg);
    transition: background .15s, border-color .15s, color .15s;
}
.shop-pagination a:hover {
    border-color: var(--navy);
    color: var(--navy);
}
.shop-pagination .current {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.shop-pagination .prev,
.shop-pagination .next {
    gap: 6px;
}
.shop-pagination .dots {
    border: none;
    background: none;
}

/* SEO content section under products */
.shop-seo { padding: 36px 0; }
.shop-seo__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.shop-seo__col { display: flex; flex-direction: column; gap: 16px; }
.shop-seo__block { display: flex; flex-direction: column; gap: 16px; }
.shop-seo__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: var(--text-muted);
    margin: 0;
}
.shop-seo__text {
    font-size: 14px;
    line-height: 150%;
    color: var(--text-muted);
    margin: 0;
}
.shop-seo__text strong { font-weight: 700; }
.shop-seo__text em { font-style: italic; }

/* ─── Mobile filter/sort bar ─── */
.shop-mobile-bar {
    display: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    margin: 0 -16px 16px;
}
.shop-mobile-bar__btn {
    flex: 1;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px 24px;
}
.shop-mobile-bar__btn:first-child { border-right: 1px solid var(--border); }
.shop-mobile-bar__btn svg { color: var(--navy-light); }
.shop-mobile-bar__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: var(--navy);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    font-family: var(--font-body);
}
.shop-mobile-bar__count--hidden { display: none; }

/* ─── Mobile filter drawer ─── */
.shop-filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
}
.shop-filter-drawer.is-open { transform: translateX(0); }
.shop-filter-drawer__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.shop-filter-drawer__overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.shop-filter-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    flex-shrink: 0;
}
.shop-filter-drawer__title-btn {
    height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
}
.shop-filter-drawer__close {
    width: 48px;
    height: 48px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}
.shop-filter-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
}
.shop-filter-drawer__section-label {
    padding: 16px 20px 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-muted);
}
.shop-filter-drawer__nav {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
}
.shop-filter-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 12px 24px 12px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    border-radius: var(--radius);
    transition: background .15s;
}
.shop-filter-drawer__link:hover { background: var(--cream); }
.shop-filter-drawer__link--active { background: var(--bg-alt); }
.shop-filter-drawer__filters {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
}
.shop-filter-drawer__filters .shop-filter {
    padding: 12px 16px;
}
.shop-filter-drawer__footer {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg);
    flex-shrink: 0;
}
.shop-filter-drawer__cancel {
    height: 48px;
    padding: 12px 24px;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
}
.shop-filter-drawer__apply {
    flex: 1;
    height: 48px;
    padding: 12px 24px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.shop-filter-drawer__apply:hover { background: var(--navy-dark); }

/* Sort drawer (slim version) */
.shop-sort-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    z-index: 1000;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
    transition: transform .3s ease;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}
.shop-sort-drawer.is-open { transform: translateY(0); }
.shop-sort-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-bottom: 1px solid var(--border);
}
.shop-sort-drawer__title {
    height: 48px;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.shop-sort-drawer__body {
    padding: 8px 0;
    overflow-y: auto;
}
.shop-sort-drawer__opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}
.shop-sort-drawer__opt:hover { background: var(--cream); }
.shop-sort-drawer__opt--active {
    background: var(--bg-alt);
    color: var(--navy);
    font-weight: 700;
}
.shop-sort-drawer__opt--active svg { color: var(--navy); }

/* ═══════════════════════════════════════════
   PRODUCT PAGE — single
   ═══════════════════════════════════════════ */
.single-product-main { padding-bottom: 0; background: var(--bg); }
.sp-page { padding: 16px 24px 24px; max-width: var(--container); }
.sp-wrap { display: block; }

/* UPPER section (grid 604 + 604) */
.sp-upper {
    display: grid;
    grid-template-columns: 604px 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 0;
}

/* Gallery — main 604x604 + 2x2 grid of thumbnails */
.sp-gallery { display: flex; flex-direction: column; gap: 16px; }
.sp-gallery__main {
    aspect-ratio: 1;
    background: var(--bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    border: none;
    padding: 0;
    width: 100%;
    cursor: zoom-in;
}
.sp-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-gallery__thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.sp-thumb {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s;
    background: var(--bg-alt);
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-thumb.is-active { border-color: var(--navy); }
.sp-thumb:hover { border-color: var(--navy-light); }
.sp-thumb { cursor: zoom-in; }

/* Slider galerii — domyślnie ukryty (desktop używa main + miniatury) */
.sp-gallery__slider { display: none; }

/* Lightbox galerii (desktop) */
.sp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 18, 30, .92);
}
.sp-lightbox[hidden] { display: none; }
.sp-lightbox__stage { margin: 0; max-width: 92vw; max-height: 88vh; }
.sp-lightbox__stage img { max-width: 92vw; max-height: 88vh; object-fit: contain; display: block; border-radius: 8px; }
.sp-lightbox__stage video { max-width: 92vw; max-height: 88vh; display: block; border-radius: 8px; background: #000; }
.sp-lightbox__stage img[hidden],
.sp-lightbox__stage video[hidden] { display: none; }

/* Slajdy/miniatury z video — overlay play */
.sp-thumb--video,
.sp-gallery__slide--video { position: relative; }
.sp-thumb--video video,
.sp-gallery__slide--video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.sp-gallery__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.sp-thumb--video .sp-gallery__play { width: 36px; height: 36px; }
.sp-thumb--video .sp-gallery__play svg { width: 14px; height: 14px; }
.sp-lightbox__close,
.sp-lightbox__nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s;
}
.sp-lightbox__close:hover,
.sp-lightbox__nav:hover { background: rgba(255, 255, 255, .25); }
.sp-lightbox__close { top: 20px; right: 24px; width: 44px; height: 44px; }
.sp-lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.sp-lightbox__nav--prev { left: 24px; }
.sp-lightbox__nav--next { right: 24px; }
.sp-lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
}

/* Info column */
.sp-info { display: flex; flex-direction: column; gap: 24px; }

/* Top meta row */
.sp-info-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 8px;
}
.sp-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-badge {
    background: var(--tan);
    color: var(--bg);
    font-size: 14px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius);
    line-height: 21px;
    text-transform: none;
    letter-spacing: 0;
}
.sp-badge--alt { background: var(--navy-soft); color: var(--navy); }
.sp-badge--sale { background: var(--error); color: #fff; }
.sp-meta-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sp-meta-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text);
    line-height: 18px;
}
.sp-meta-stat strong { font-weight: 700; }
.sp-meta-stat svg { color: var(--text); }

/* Title + subtitle */
.sp-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 120%;
    color: var(--text);
    margin: 0;
}
.sp-subtitle {
    font-size: 14px;
    line-height: 150%;
    color: var(--text-muted);
    margin: 0;
}

/* Price box — light blue bg */
.sp-price-box {
    background: #F2F6F9;
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}
.sp-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.sp-price-wrap { display: flex; align-items: center; gap: 12px; }
.sp-price {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    color: var(--text);
}
.sp-price ins { text-decoration: none; }
.sp-price del {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--text-muted);
    margin-left: 12px;
}
.sp-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 128px;
    font-size: 14px;
    line-height: 21px;
}
.sp-stock--in { color: #0E9F6E; background: rgba(22, 221, 138, 0.08); }
.sp-stock--in svg { color: #16DD8A; }
.sp-stock--out { color: #C81E1E; background: rgba(200, 30, 30, 0.08); }
.sp-stock--out svg { color: #C81E1E; }
.sp-omnibus {
    font-size: 14px;
    line-height: 21px;
    color: var(--text-soft);
    margin: -8px 0 0;
}
.sp-digital-note {
    text-align: center;
    font-size: 14px;
    line-height: 21px;
    color: var(--text-muted);
    margin: 0;
}
.sp-digital-note strong { font-weight: 700; }

/* Qty selector (na karcie produktu dla niedostarczalnych) */
.sp-qty {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 48px;
    margin-right: 12px;
}
.sp-qty__btn {
    width: 40px;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    transition: background .15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sp-qty__btn:hover { background: var(--bg-alt); }
.sp-qty__input {
    width: 48px;
    height: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    font-family: var(--font-body);
    -moz-appearance: textfield;
}
.sp-qty__input:focus { outline: none; }
.sp-qty__input::-webkit-outer-spin-button,
.sp-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ATC button */
.sp-cart-form { margin: 0; padding: 0; display: flex; align-items: stretch; }
.sp-cart-form .sp-atc-btn { flex: 1; }
.sp-atc-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
    font-family: var(--font-body);
    min-height: 48px;
}
.sp-atc-btn:hover { background: var(--navy-dark); }
.sp-atc-btn--disabled,
.sp-atc-btn:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
    pointer-events: none;
}
.sp-atc-btn--disabled:hover,
.sp-atc-btn:disabled:hover { background: var(--border); }

/* Benefits box (outlined card) */
.sp-benefits-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sp-benefits-box__label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 18px;
    color: var(--text);
}
.sp-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sp-benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 21px;
    color: var(--text);
}
.sp-benefits-list li svg { flex-shrink: 0; color: var(--text); }

/* Accordions (product) */
.sp-accordions { display: flex; flex-direction: column; }
.sp-accordion { border-bottom: 1px solid var(--border); }
.sp-accordion__q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    color: var(--text);
}
.sp-accordion__icon {
    display: inline-flex;
    color: var(--text);
    flex-shrink: 0;
}
.sp-accordion__label {
    flex: 1;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    color: var(--text);
}
.sp-accordion__chevron-wrap {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    flex-shrink: 0;
}
.sp-accordion__chevron { transition: transform .25s; color: var(--text); }
.sp-accordion__q[aria-expanded="true"] .sp-accordion__chevron { transform: rotate(180deg); }
.sp-accordion__a {
    display: none;
    padding: 0 0 16px 36px;
    font-size: 14px;
    line-height: 21px;
    color: var(--text-muted);
}
.sp-accordion__a.is-open { display: block; }
.sp-accordion__a p { margin: 0 0 8px; }
.sp-accordion__a p:last-child { margin: 0; }

/* Section title (h2) inside product page */
.sp-section-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: var(--text);
    text-align: center;
    margin: 0;
}

/* Zgrana paczka (Bundle / cross-sell) */
.sp-bundle {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 12px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 8px;
}
.sp-bundle__head { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; }
.sp-bundle__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: var(--text);
}
.sp-bundle__sub { font-size: 14px; line-height: 21px; color: var(--text-muted); }
.sp-bundle__item {
    display: flex;
    gap: 16px;
    align-items: stretch;
}
.sp-bundle__img {
    width: 144px;
    height: 144px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #C8D9E6;
}
.sp-bundle__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-bundle__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}
.sp-bundle__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sp-bundle__name {
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    color: var(--text);
    flex: 1;
    min-width: 0;
}
.sp-bundle__name:hover { color: var(--navy); }
.sp-bundle__price {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: var(--text);
    flex-shrink: 0;
}
.sp-bundle__price ins { text-decoration: none; }
.sp-bundle__price del { display: none; }
.sp-bundle__desc {
    font-size: 14px;
    line-height: 21px;
    color: var(--text-muted);
}
.sp-bundle__btn {
    width: auto;
    align-self: stretch;
    background: #917D74;
    text-transform: none;
}
.sp-bundle__btn:hover { background: #7d6a61; }

/* Stats section — cream bg */
.sp-stats-section {
    background: var(--cream);
    padding: 48px 0;
}
.sp-stats-section__head {
    max-width: 816px;
    margin: 0 auto 64px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sp-stats-section__intro {
    max-width: 1028px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 21px;
    color: var(--text);
    text-align: center;
}
.sp-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.sp-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.sp-stat__value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 43.2px;
    color: var(--text);
}
.sp-stat__label {
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: var(--text);
}

/* "Radosna Wiara" features section */
.sp-features-section { background: var(--bg); padding: 48px 0; }
.sp-features-section__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: flex-start;
}
.sp-features-section__head { grid-column: 1; }
.sp-features-section__head { display: flex; flex-direction: column; gap: 24px; }
.sp-features-section__title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    color: var(--text-strong);
    margin: 0;
}
.sp-features-section__desc {
    font-size: 14px;
    line-height: 21px;
    color: var(--text-strong);
    margin: 0;
}
.sp-features-grid {
    width: auto;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    grid-column: 3 / -1;
}
.sp-feature { display: flex; flex-direction: column; gap: 24px; }
.sp-feature__icon {
    width: 36px;
    height: 36px;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sp-feature__emoji {
    font-size: 32px;
    line-height: 1;
}
.sp-feature__body { display: flex; flex-direction: column; gap: 4px; }
.sp-feature__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    color: var(--text-strong);
    margin: 0;
}
.sp-feature__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: var(--text-strong);
    margin: 0;
}

/* Content section (H2 + paragraph in cream card with image) */
.sp-content-section { background: var(--bg); padding: 36px 0 32px; margin: 0; }
.sp-content-section__card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 604px 1fr;
    align-items: stretch;
    overflow: hidden;
}
.sp-content-section__image {
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--border-light);
}
.sp-content-section__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sp-content-section__placeholder {
    width: 100%;
    height: 100%;
    background: var(--border-light);
}
.sp-content-section__body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}
.sp-content-section__title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 43.2px;
    color: var(--text);
    margin: 0;
}
.sp-content-section__text {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-muted);
    margin: 0;
}

/* Reviews section */
.sp-reviews-section { background: var(--bg); padding: 48px 0; }
.sp-reviews-card {
    background: #EFF4F8;
    border-radius: 24px;
    padding: 56px 64px 40px;
    text-align: center;
}
.sp-reviews-section__title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    color: var(--text);
    margin: 0 0 32px;
}
.sp-reviews-viewport { overflow: hidden; min-width: 0; }
.sp-reviews-track {
    display: flex;
    gap: 0;
    transition: transform .35s ease;
    scrollbar-width: none;
}
.sp-reviews-track::-webkit-scrollbar { display: none; }
.sp-review {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}
.sp-review__stars {
    color: #F5A623;
    font-size: 18px;
    letter-spacing: 4px;
    line-height: 1;
}
.sp-review__text {
    font-size: 15px;
    line-height: 24px;
    color: var(--text);
    margin: 0;
}
.sp-review__author {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}
.sp-reviews-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}
.sp-reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: rgba(15, 28, 70, .18);
    transition: background .2s, transform .2s;
}
.sp-reviews-dot:hover { background: rgba(15, 28, 70, .35); }
.sp-reviews-dot.is-active { background: var(--navy); width: 22px; border-radius: 5px; }

/* FAQ section (product page) */
.sp-faq-section { background: var(--bg); padding: 48px 0; }
.sp-faq-section__inner {
    display: grid;
    grid-template-columns: 604px 1fr;
    gap: 32px;
    align-items: flex-start;
}
.sp-faq-section__image {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
}
.sp-faq-section__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-faq-section__placeholder { width: 100%; height: 100%; background: var(--bg-alt); }
.sp-faq-section__body { display: flex; flex-direction: column; gap: 16px; }
.sp-faq-section__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: var(--text);
    margin: 0 0 16px;
    padding-bottom: 16px;
}
/* FAQ na karcie produktu używa tych samych stylów co homepage (.faq-list/.faq-item) */

/* Related section "Zobacz inne z tej kategorii" */
.sp-related-section { background: var(--bg); padding: 48px 0; }
.sp-related-section__inner {
    display: grid;
    grid-template-columns: 286px 1fr 1fr 1fr;
    gap: 32px;
    align-items: flex-start;
}
.sp-related-section__head { display: flex; flex-direction: column; gap: 24px; padding-top: 12px; }
.sp-related-section__title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    color: var(--text-strong);
    margin: 0;
}
.sp-related-section__desc {
    font-size: 14px;
    line-height: 21px;
    color: var(--text-strong);
    margin: 0;
}
.sp-related-section__head .btn { align-self: flex-start; }
.sp-related-section__grid { display: contents; }
.sp-related-card { padding-bottom: 24px; }

/* ═══════════════════════════════════════════
   BLOG ARCHIVE
   ═══════════════════════════════════════════ */
.blog-archive { padding-top: 48px; padding-bottom: 80px; }
.blog-archive__header { text-align: center; margin-bottom: 48px; }
.blog-archive__title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; margin-bottom: 12px; }
.blog-archive__intro { font-size: 16px; color: var(--text-muted); }
.blog-card__img-placeholder { aspect-ratio: 16/9; background: var(--bg-alt); }
.blog-card__excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.blog-pagination { display: flex; justify-content: center; margin-top: 48px; }
.blog-pagination .nav-links { display: flex; gap: 8px; }
.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 14px;
    color: var(--text);
}
.blog-pagination .current {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.blog-empty { text-align: center; color: var(--text-muted); padding: 60px 0; }

/* ═══════════════════════════════════════════
   PRODUCT PAGE
   ═══════════════════════════════════════════ */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.woocommerce div.product .woocommerce-product-gallery { position: sticky; top: 80px; }
.woocommerce div.product .summary { padding-top: 8px; }

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del { font-size: 1rem; color: var(--text-muted); font-weight: 400; }

/* Add to cart */
.woocommerce .single_add_to_cart_button {
    background: var(--navy) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius) !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background .2s !important;
}
.woocommerce .single_add_to_cart_button:hover { background: var(--navy-dark) !important; }
.woocommerce .quantity input.qty {
    border: 1px solid var(--input-border);
    border-radius: var(--radius);
    padding: 10px 12px;
    font-size: 16px;
    width: 80px;
    text-align: center;
}

/* ═══════════════════════════════════════════
   CHECKOUT
   ═══════════════════════════════════════════ */
.woocommerce-checkout .woocommerce { padding: 0; }
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 32px;
    align-items: start;
    padding: 40px 24px 80px;
    max-width: var(--container);
    margin: 0 auto;
}

/* Back link */
.checkout-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    transition: color .2s;
}
.checkout-back-link:hover { color: var(--navy); }

/* Section */
.checkout-section { margin-bottom: 32px; }
.checkout-section__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 20px;
    padding: 0;
    border-bottom: none;
}

/* Fields */
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 6px; }
.form-row .input-text,
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    background: var(--bg-alt);
    color: var(--text);
    transition: border-color .2s, background .2s;
    appearance: none;
}
.form-row .input-text:focus,
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--navy);
}
.form-row.woocommerce-invalid .input-text,
.form-row.woocommerce-invalid input,
.form-row.woocommerce-invalid select { border-color: #e53e3e; }
.form-row-first { float: left; width: calc(50% - 8px); }
.form-row-last  { float: right; width: calc(50% - 8px); }

/* Pole kraju zablokowane na PL — select z jedną opcją, wygląda jak readonly z kłódką */
#billing_country_field .woocommerce-input-wrapper,
#shipping_country_field .woocommerce-input-wrapper {
    display: block;
    position: relative;
}
#billing_country_field select#billing_country,
#shipping_country_field select#shipping_country {
    padding-right: 40px;
    opacity: .46;
    pointer-events: none;
    background-image: none;
}
#billing_country_field .woocommerce-input-wrapper::after,
#shipping_country_field .woocommerce-input-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23063144' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 1 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: .46;
    pointer-events: none;
}

/* Checkbox */
.checkout-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.5;
}
.checkout-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--navy);
    cursor: pointer;
}
.checkout-newsletter-row,
.checkout-invoice-toggle-row,
.checkout-alt-address-toggle-row { margin-bottom: 12px; }
.checkout-invoice-fields,
.checkout-alt-address-fields { margin-top: 12px; }

/* Shipping methods */
.checkout-shipping-methods { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checkout-shipping-method { }
.checkout-shipping-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.checkout-shipping-label:hover { border-color: var(--navy); }
.checkout-shipping-label:has(input:checked) { border-color: var(--navy); background: #fff; }
.checkout-shipping-label input[type="radio"] { width: 18px; height: 18px; accent-color: var(--navy); flex-shrink: 0; }
.checkout-shipping-info { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 12px; }
.checkout-shipping-body { display: flex; flex-direction: column; gap: 4px; }
.checkout-shipping-name { font-size: 15px; font-weight: 500; }
.checkout-shipping-meta { display: flex; align-items: center; gap: 12px; }
.checkout-shipping-price,
.checkout-shipping-time { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); }
.checkout-shipping-logo-wrap { display: inline-flex; align-items: center; }
.checkout-shipping-logo-wrap img { height: 32px; width: auto; max-width: 72px; object-fit: contain; display: block; }

/* Payment */
.woocommerce-checkout #payment { background: none; border-radius: 0; padding: 0; }
.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.woocommerce-checkout #payment ul.payment_methods li {
    padding: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s;
    position: relative;
}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--navy); }
.woocommerce-checkout #payment ul.payment_methods li > input[type="radio"] {
    position: absolute;
    top: 17px;
    left: 16px;
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--navy);
}
.woocommerce-checkout #payment ul.payment_methods label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 14px 46px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] { width: 18px; height: 18px; accent-color: var(--navy); }
.woocommerce-checkout #payment ul.payment_methods label img {
    height: 24px;
    width: auto;
    margin-left: auto;
}

/* Payment box (rozwijany pod radio) — widoczny tylko po zaznaczeniu metody */
.woocommerce-checkout #payment .payment_box {
    display: none;
    padding: 4px 16px 16px 46px;
    background: transparent;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    border: none;
    box-shadow: none;
}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) > .payment_box { display: block; flex: 1 0 100%; }
.woocommerce-checkout #payment .payment_box::before { display: none; } /* WC default arrow */
.woocommerce-checkout #payment .payment_box p:first-child { margin-top: 0; }
.woocommerce-checkout #payment .payment_box p:last-child { margin-bottom: 0; }

/* Stripe internal cleanup — usuń borders/hr żeby box wyglądał spójnie */
.woocommerce-checkout #wc-stripe-form,
.woocommerce-checkout #wc-stripe-upe-form,
.woocommerce-checkout #wc-stripe_blik-form {
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    background: transparent;
}
.woocommerce-checkout #payment fieldset,
.woocommerce-checkout #wc-stripe-form fieldset,
.woocommerce-checkout #wc-stripe-upe-form,
.woocommerce-checkout #wc-stripe-upe-form fieldset,
.woocommerce-checkout .woocommerce-additional-fields fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
.woocommerce-checkout .wc-payment-form-divider,
.woocommerce-checkout .payment_box hr {
    display: none !important;
}
.woocommerce-checkout .stripe-payment-element,
.woocommerce-checkout .StripeElement,
.woocommerce-checkout .stripe-card-element {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .2s;
}
.woocommerce-checkout .StripeElement--focus,
.woocommerce-checkout .stripe-payment-element--focus { border-color: var(--navy); }

/* "Test mode: use the test VISA card..." tip — wyróżniony info box */
.woocommerce-checkout #payment .payment_box .stripe-test-card-info,
.woocommerce-checkout #payment .payment_box > p:has(strong:first-child) {
    font-size: 13px;
    color: var(--text-muted);
    padding: 10px 14px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    margin: 0 0 14px;
}

.woocommerce-checkout #payment #place_order {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 16px 24px;
    background: var(--cart-primary-500);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    cursor: pointer;
    transition: background .2s;
    font-family: var(--font-body);
}
.woocommerce-checkout #payment #place_order:hover { background: var(--cart-primary-900); }
.checkout-sticky-bar { display: none; }

/* Terms & conditions checkbox — bordered box */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-top: 16px;
}
.woocommerce-checkout .validate-required.woocommerce-validated label,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row,
.woocommerce-checkout p.form-row.validate-required:has(#terms),
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper > .form-row {
    margin: 0;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
    color: var(--text);
    cursor: pointer;
    margin: 0;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text {
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--navy);
    cursor: pointer;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a { color: var(--navy); text-decoration: underline; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .required,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper abbr.required {
    color: #e53e3e;
    margin-left: auto;
    padding-left: 8px;
    text-decoration: none;
    border: none;
    cursor: default;
}

/* ─── Shipping point picker (inline pod sekcją Sposób dostawy) ─── */
/* Express Checkout (Apple Pay / Google Pay / Link) — góra checkoutu */
.checkout-express-top { margin-bottom: 28px; }
.checkout-express-top__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin: 0 0 12px;
}
.checkout-express-top__divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0 0;
    color: var(--text-soft);
    font-size: 13px;
}
.checkout-express-top__divider::before,
.checkout-express-top__divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--border);
}
.checkout-express-top__divider span { padding: 0 12px; }
/* Ukryj wbudowany separator Stripe "— OR —" (mamy własny divider) */
#wc-stripe-express-checkout-button-separator { display: none !important; }

/* Point picker wewnątrz boxa metody — widoczny tylko gdy metoda wybrana.
   Box przykleja się do dołu metody: metoda traci dolne zaokrąglenie, picker górne. */
.checkout-shipping-method__point {
    display: none;
    padding: 16px;
    background: var(--bg-alt);
    border: 1px solid var(--navy);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    margin-top: -1px;
}
.checkout-shipping-method:has(input:checked) .checkout-shipping-method__point { display: block; }
/* Gdy picker widoczny, metoda traci dolne zaokrąglenie żeby się skleiły */
.checkout-shipping-method:has(.checkout-shipping-method__point) .checkout-shipping-label:has(input:checked) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
/* Inputy w pickerze — białe tło (override ogólnego .form-row input) */
.checkout-shipping-method__point .form-row input[type="text"],
.checkout-shipping-method__point input.input-text {
    background: #fff;
    border: 1.5px solid var(--border);
}
.checkout-shipping-method__point .form-row input[type="text"]:focus,
.checkout-shipping-method__point input.input-text:focus {
    background: #fff;
    border-color: var(--navy);
    outline: none;
}
.shipping-point-picker__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--navy);
    color: var(--navy);
    border-radius: var(--radius);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
    font-family: inherit;
}
.shipping-point-picker__btn:hover { background: var(--navy); color: #fff; }
.shipping-point-picker__btn:hover svg { color: #fff; }
.shipping-point-picker__btn svg { color: var(--navy); transition: color .2s; }
.shipping-point-picker__btn strong { font-weight: 700; }
.shipping-point-picker__help {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 12px;
}
.shipping-point-picker__help a { color: var(--navy); text-decoration: underline; }

/* ─── InPost picker modal (full-screen Leaflet + lista) ─── */
.inpost-picker-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.inpost-picker-modal[hidden] { display: none; }
.inpost-picker-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
}
.inpost-picker-modal__panel {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 1100px;
    width: 100%;
    height: 85vh;
    max-height: 720px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    overflow: hidden;
}
.inpost-picker-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.inpost-picker-modal__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}
.inpost-picker-modal__close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    display: inline-flex;
    transition: color .2s;
}
.inpost-picker-modal__close:hover { color: var(--text); }
.inpost-picker-modal__search {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
#inpost-picker-search {
    flex: 1;
    min-width: 220px;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    background: #fff;
    transition: border-color .2s;
    font-family: inherit;
}
#inpost-picker-search:focus { outline: none; border-color: var(--navy); }
.inpost-picker-modal__filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    user-select: none;
}
.inpost-picker-modal__filter input { width: 18px; height: 18px; accent-color: var(--navy); cursor: pointer; }
.inpost-picker-modal__body {
    flex: 1;
    display: grid;
    grid-template-columns: 360px 1fr;
    min-height: 0;
}
.inpost-picker-modal__list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    border-right: 1px solid var(--border);
}
.inpost-picker-modal__item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background .15s;
}
.inpost-picker-modal__item:hover { background: var(--bg-alt); }
.inpost-picker-modal__item-id { font-weight: 700; color: var(--navy); font-family: var(--font-display); font-size: 15px; }
.inpost-picker-modal__item-type { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.inpost-picker-modal__item-addr { font-size: 14px; color: var(--text); margin-top: 4px; }
.inpost-picker-modal__item-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; font-style: italic; }
.inpost-picker-modal__loading,
.inpost-picker-modal__empty,
.inpost-picker-modal__error {
    padding: 24px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}
.inpost-picker-modal__error { color: #c0392b; }
.inpost-picker-modal__map { background: var(--bg-alt); }

@media (max-width: 768px) {
    .inpost-picker-modal { padding: 0; }
    .inpost-picker-modal__panel { height: 100vh; max-height: none; border-radius: 0; }
    .inpost-picker-modal__body { grid-template-columns: 1fr; grid-template-rows: 50% 50%; }
    .inpost-picker-modal__list { border-right: none; border-bottom: 1px solid var(--border); }
}

/* Summary card */
.ckout-summary-card {
    background: var(--bg-alt);
    border: none;
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 24px;
}
.ckout-summary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 16px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text);
    font: inherit;
}
.ckout-summary-toggle .checkout-section__title { margin: 0; }
.ckout-summary-chevron { transition: transform .25s; flex-shrink: 0; }
.ckout-summary-toggle[aria-expanded="false"] .ckout-summary-chevron { transform: rotate(-180deg); }
.ckout-summary-body { display: block; }
.ckout-summary-body[hidden] { display: none; }
.ckout-summary-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    padding: 0;
    border-bottom: none;
    color: var(--text);
}

/* Products table in summary */
.ckout-products-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.ckout-product-row td { padding: 8px 0; vertical-align: middle; }
.ckout-product-img { width: 60px; padding-right: 20px; position: relative; }
.ckout-product-img img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px;
    box-sizing: border-box;
}
.ckout-product-qty-badge {
    position: absolute;
    top: -7px;
    right: 8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.ckout-product-name { font-size: 14px; line-height: 1.4; color: var(--text); padding-right: 24px; }
.ckout-product-price { font-size: 14px; font-weight: 500; text-align: right; white-space: nowrap; color: var(--text); padding-left: 8px; }

/* Coupon */
.ckout-coupon { margin-bottom: 20px; }
.ckout-coupon__label { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.ckout-coupon__form {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px 16px 4px 4px;
}
.ckout-coupon__input {
    flex: 1;
    padding: 12px 14px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
}
.ckout-coupon__input:focus { outline: none; }
.ckout-coupon__btn {
    padding: 8px 0;
    border: none;
    background: transparent;
    color: var(--cart-primary-500);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .15s;
}
.ckout-coupon__btn:hover { color: var(--cart-primary-900); }
.ckout-coupon__msg {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
    min-height: 0;
}
.ckout-coupon__msg:empty { margin-top: 0; }
.ckout-coupon__msg.is-error { color: var(--error); }
.ckout-coupon__msg.is-success { color: #0E9F6E; }

/* Totals */
.ckout-totals { border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.ckout-totals__row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.ckout-totals__row--total { font-size: 16px; font-weight: 700; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
.ckout-totals__row--tax-incl { font-size: 12px; color: var(--text-muted); }

/* Sticky bottom bar */
.checkout-sticky-bar { display: none; }
.checkout-sticky-bar__info {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.checkout-sticky-bar__delivery { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.checkout-sticky-bar__total { font-size: 20px; font-weight: 700; font-family: var(--font-display); color: var(--text); }
.checkout-sticky-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s;
    font-family: var(--font-body);
}
.checkout-sticky-bar__btn::after {
    content: "";
    width: 16px; height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat;
}
.checkout-sticky-bar__btn:hover { background: var(--navy-dark); }

/* Standard page (Regulamin, Polityka, Dostawa, Płatności, Cookies, Kontakt) */
.page-main { padding: 0 0 5rem; }
.page-main .page-hero {
    background: var(--bg-alt);
    padding: 56px 0 48px;
    margin-bottom: 56px;
}
.page-main .page-hero .page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
    line-height: 1.15;
}
.page-main .page-hero .page-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}
.page-main .page-content { max-width: 740px; }
.entry-content h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text);
    margin: 2.75rem 0 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
    line-height: 1.3;
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.75rem 0 0.4rem;
}
.entry-content p {
    font-size: 0.97rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 1rem;
}
.entry-content strong { color: var(--text); font-weight: 600; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.25rem 0; padding-left: 1.4rem; color: var(--text); }
.entry-content li { font-size: 0.97rem; line-height: 1.75; margin-bottom: 0.35rem; }
.entry-content ul li::marker { color: var(--navy); }
.entry-content a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--navy-dark); }

/* Zdjęcie ilustrujące sekcję produktową w artykule */
.entry-content .mdl-article-img,
.post-content .mdl-article-img {
    margin: 24px 0 32px;
    max-width: 540px;
}
.entry-content .mdl-article-img,
.post-content .mdl-article-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Quick-links na początku artykułu (→ Nazwa produktu — krótki opis) — strzałka
   jest częścią linku <a>, więc dziedziczy podkreślenie (jak w referencji modliteczka.pl). */
.entry-content .mdl-quick-links,
.post-content .mdl-quick-links {
    margin: 32px 0;
    list-style: none !important;
    padding-left: 0;
}
.entry-content .mdl-quick-links,
.post-content .mdl-quick-links li {
    font-size: 1.02rem;
    margin-bottom: 14px;
    line-height: 1.5;
    padding-left: 0;
    position: static;
}
/* Wyłącz globalną strzałkę z .is-style-mdl-arrows (która jest pseudo-elementem li::before).
   Strzałka jest inline w treści <a> (z &rarr; w seedzie) — żeby podkreślenie było CIĄGŁE. */
.entry-content .mdl-quick-links li::before,
.post-content .mdl-quick-links li::before { content: none !important; }
.entry-content .mdl-quick-links li::marker,
.post-content .mdl-quick-links li::marker { content: '' !important; }
.entry-content .mdl-quick-links a,
.post-content .mdl-quick-links a {
    color: var(--cart-primary-900, #063144);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
}
.entry-content .mdl-quick-links a:hover,
.post-content .mdl-quick-links a:hover {
    color: var(--cart-primary-500, #567C8D);
}

/* Link do produktu w artykule — styl "Karty na Mszę Świętą →" */
.entry-content p.mdl-product-link,
.post-content p.mdl-product-link {
    margin: 24px 0 32px;
    font-size: 1.05rem;
}
.entry-content p.mdl-product-link,
.post-content p.mdl-product-link a {
    color: var(--cart-primary-900, #063144);
    text-decoration: none;
    border-bottom: 2px solid var(--cart-primary-500, #567C8D);
    padding-bottom: 2px;
    transition: color .2s, border-color .2s;
}
.entry-content p.mdl-product-link,
.post-content p.mdl-product-link a:hover {
    color: var(--cart-primary-500, #567C8D);
    border-color: var(--cart-primary-900, #063144);
}

/* ═══ Modliteczka block styles (Gutenberg) — beżowy box, arrow/check listy ═══ */
.wp-block-group.is-style-mdl-cream-box,
.is-style-mdl-cream-box {
    background: var(--cart-secondary-100, #FAF7F5);
    border-left: 4px solid var(--cart-secondary-500, #C9B6AC);
    padding: 24px 28px;
    border-radius: 8px;
    margin: 32px 0;
}
.wp-block-group.is-style-mdl-cream-box > *,
.is-style-mdl-cream-box > * { margin-top: 0; }
.wp-block-group.is-style-mdl-cream-box > * + *,
.is-style-mdl-cream-box > * + * { margin-top: 12px; }
.wp-block-group.is-style-mdl-cream-box h2,
.wp-block-group.is-style-mdl-cream-box h3,
.wp-block-group.is-style-mdl-cream-box h4 {
    margin-bottom: 4px;
    color: var(--cart-primary-900, #063144);
}

/* Lista ze strzałkami → */
.wp-block-list.is-style-mdl-arrows,
ul.is-style-mdl-arrows,
ol.is-style-mdl-arrows {
    list-style: none !important;
    padding-left: 0;
}
.wp-block-list.is-style-mdl-arrows li,
ul.is-style-mdl-arrows li,
ol.is-style-mdl-arrows li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    list-style: none;
}
.wp-block-list.is-style-mdl-arrows li::marker,
ul.is-style-mdl-arrows li::marker,
ol.is-style-mdl-arrows li::marker { content: ''; }
.wp-block-list.is-style-mdl-arrows li::before,
ul.is-style-mdl-arrows li::before,
ol.is-style-mdl-arrows li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--cart-primary-500, #567C8D);
    font-weight: 700;
    line-height: inherit;
}

/* Lista ze ✓ */
.wp-block-list.is-style-mdl-checks,
ul.is-style-mdl-checks,
ol.is-style-mdl-checks {
    list-style: none !important;
    padding-left: 0;
}
.wp-block-list.is-style-mdl-checks li,
ul.is-style-mdl-checks li,
ol.is-style-mdl-checks li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    list-style: none;
}
.wp-block-list.is-style-mdl-checks li::marker,
ul.is-style-mdl-checks li::marker,
ol.is-style-mdl-checks li::marker { content: ''; }
.wp-block-list.is-style-mdl-checks li::before,
ul.is-style-mdl-checks li::before,
ol.is-style-mdl-checks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--cart-primary-500, #567C8D);
    font-weight: 700;
    line-height: inherit;
}

@media (max-width: 768px) {
    .page-main .page-hero { padding: 32px 0 24px; margin-bottom: 32px; }
    .wp-block-group.is-style-mdl-cream-box,
    .is-style-mdl-cream-box { padding: 20px; margin: 24px 0; }
}

/* Thank you page */
.thankyou-page {
    max-width: 540px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.thankyou-page__icon {
    width: 80px;
    height: 80px;
    border: 2px solid var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    margin-bottom: 16px;
}
.thankyou-page__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 130%;
    color: var(--text);
    margin: 0;
}
.thankyou-page__subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 150%;
    margin: 0 0 24px;
}
.thankyou-page__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    align-items: center;
}
.thankyou-page__cta { width: 100%; }
.thankyou-page__link {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: color .2s;
}
.thankyou-page__link:hover { color: var(--navy); }

/* BLIK pending — loader + odliczanie na stronie podziękowania */
.thankyou-blik-wait {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 16px 32px;
}
.thankyou-blik-wait__spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}
.thankyou-blik-wait__ring { width: 80px; height: 80px; }
.thankyou-blik-wait__arc {
    stroke-dasharray: 150.8;
    stroke-dashoffset: 0;
    transform-origin: center;
    transform: rotate(-90deg);
    animation: blik-spin 2s linear infinite;
}
@keyframes blik-spin {
    to { transform: rotate(270deg); }
}
.thankyou-blik-wait__count {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}
.thankyou-blik-wait__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px;
}
.thankyou-blik-wait__subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
    max-width: 360px;
}
@media (max-width: 768px) {
    .thankyou-page { padding: 48px 16px; }
    .thankyou-page__title { font-size: 22px; }
    .thankyou-blik-wait__title { font-size: 22px; }
}

/* Szczegóły zamówienia — schludna tabela (thankyou / order-received / konto) */
.thankyou-page .woocommerce-order,
.thankyou-page .order_details { max-width: 560px; margin-left: auto; margin-right: auto; }
.woocommerce-order-details__title,
.woocommerce-column__title,
.woocommerce-customer-details h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin: 40px 0 16px;
}
table.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-size: 14px;
    background: #fff;
    margin: 0 0 8px;
}
table.woocommerce-table--order-details th,
table.woocommerce-table--order-details td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
    line-height: 1.5;
}
table.woocommerce-table--order-details thead th {
    background: var(--bg-alt);
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .03em;
}
table.woocommerce-table--order-details td.product-total,
table.woocommerce-table--order-details thead th.product-total,
table.woocommerce-table--order-details tfoot td {
    text-align: right;
    white-space: nowrap;
}
table.woocommerce-table--order-details tfoot th {
    font-weight: 600;
    color: var(--text-muted);
}
table.woocommerce-table--order-details tfoot tr.order-total th,
table.woocommerce-table--order-details tfoot tr.order-total td {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}
table.woocommerce-table--order-details tr:last-child th,
table.woocommerce-table--order-details tr:last-child td { border-bottom: none; }
table.woocommerce-table--order-details .product-quantity { color: var(--text-muted); font-weight: 600; }
.woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.7;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    background: #fff;
}
/* Box „pliki wysłane na e-mail" (produkt cyfrowy, strona podziękowania) */
.order-downloads-sent {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-align: left;
    max-width: 480px;
    margin: 24px auto 0;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
}
.order-downloads-sent__icon { color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.order-downloads-sent__title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 4px;
}
.order-downloads-sent__text { font-size: 14px; color: var(--text); margin: 0; line-height: 1.55; }

/* Kontakt — formularz */
.contact-main { padding: 56px 0 80px; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
.contact-info__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1.5rem;
    line-height: 1.15;
}
.contact-info__content {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}
.contact-info__content p { margin: 0 0 1rem; }
.contact-info__content a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.contact-info__content a:hover { color: var(--navy); }
.contact-info__img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1.91 / 1;
    background: var(--bg-alt);
}
.contact-info__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contact-form-col { position: sticky; top: 1.5rem; }
.contact-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 2rem 2.25rem;
}
.contact-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.contact-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-alt);
    flex-shrink: 0;
}
.contact-card__heading {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.15rem;
}
.contact-card__subheading {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.cf-field {
    margin-bottom: 1rem;
    background: var(--bg);
    border: 1px solid var(--bg-alt);
    border-radius: 8px;
    padding: 1rem 1.25rem;
}
.cf-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}
.cf-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    -webkit-appearance: none;
}
.cf-input:focus { outline: none; }
.cf-field:focus-within { border-color: var(--navy); }
.cf-textarea { resize: vertical; min-height: 110px; }

.cf-submit {
    display: block;
    width: 100%;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 0.95rem 1.5rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background 0.2s;
}
.cf-submit:hover { background: var(--navy-dark); }

.contact-success {
    background: #edf7f1;
    border: 1px solid #b8dfc8;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    color: #1a3a2a;
    font-size: 0.9rem;
    line-height: 1.6;
}
.contact-errors {
    list-style: none;
    padding: 0.85rem 1.1rem;
    margin: 0 0 1.25rem;
    background: #fff0f0;
    border: 1px solid #f5c0c0;
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: #c0392b;
}
.contact-errors li + li { margin-top: 0.3rem; }
.contact-errors li::before { content: "• "; }

@media (max-width: 860px) {
    .contact-main { padding: 32px 0 48px; }
    .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form-col { position: static; }
}

/* Thank you page — failed payment */
.thankyou-failed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.thankyou-failed__icon {
    width: 80px;
    height: 80px;
    border: 2px solid #e53e3e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e53e3e;
    margin-bottom: 16px;
}
.thankyou-failed__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 130%;
    color: var(--text);
    margin: 0;
}
.thankyou-failed__subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 150%;
    margin: 0 0 24px;
    max-width: 420px;
}
.thankyou-failed__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    align-items: center;
}
.thankyou-failed__cta { width: 100%; }
.thankyou-failed__link {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: color .2s;
}
.thankyou-failed__link:hover { color: var(--navy); }
@media (max-width: 768px) {
    .thankyou-failed__title { font-size: 22px; }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
/* Zaokrąglona karta stopki — nie na pełną szerokość (wzór modliteczka.pl) */
.site-footer {
    background: var(--bg-alt);
    max-width: 1320px;
    margin: 24px auto 32px;
    border-radius: 24px;
    padding: 16px 48px 32px;
}
.site-footer .container { max-width: none; padding-left: 0; padding-right: 0; margin: 0; width: auto; }

/* Trust strip */
.footer-trust { padding: 40px 0 32px; }
.footer-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-trust__item { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-trust__item svg { color: var(--text); }
.footer-trust__item strong { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text); margin-bottom: 4px; }
.footer-trust__item span { font-size: 13px; color: var(--text-muted); }

/* Footer main */
.footer-main { padding: 24px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col--spacer { display: block; }
.footer-brand img { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.footer-brand__contact { color: var(--text-muted); }
.footer-brand__contact a { color: var(--text); }
.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-social a { color: var(--text-muted); transition: color .2s; display: inline-flex; }
.footer-social a:hover { color: var(--navy); }
.footer-col h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 14px; color: var(--navy); transition: color .2s; }
.footer-col li a:hover { color: var(--navy-dark); text-decoration: underline; }

/* Footer bottom */
.footer-bottom { padding: 24px 0 32px; }
.footer-bottom__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-payment-group { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-payment-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); white-space: nowrap; }
.footer-payment-icons { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-payment-icons img { height: 28px; width: auto; filter: grayscale(1); opacity: .85; }
/* Footer legal (copyright + Lemon Studio) — POZA zaokrągloną kartą */
.footer-legal {
    max-width: 1320px;
    margin: 0 auto 24px;
    padding: 0 48px;
    font-size: 13px;
    color: var(--text-muted);
}
.footer-legal__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-credit { color: var(--text-muted); transition: color .2s; }
.footer-credit:hover { color: var(--navy); }

/* ═══════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════ */
.blog-single { max-width: 720px; margin: 0 auto; padding: 48px 0; }
.post-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.post-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 24px; }
.post-thumbnail { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.post-content { font-size: 16px; line-height: 1.8; color: var(--text); }
.post-content h2, .post-content h3 { font-family: var(--font-display); margin: 32px 0 12px; }
.post-content p { margin-bottom: 16px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 16px; }

/* Static pages */
.page-content { padding: 48px 0; max-width: 800px; margin: 0 auto; }
.page-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 24px; }
.page-body { font-size: 16px; line-height: 1.8; }
.page-body p { margin-bottom: 16px; }

/* ═══════════════════════════════════════════
   WOOCOMMERCE — misc
   ═══════════════════════════════════════════ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-left: 4px solid var(--navy);
    background: var(--cream);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
}
.woocommerce-error { border-left-color: #dc2626; background: #fef2f2; color: #b91c1c; }
.woocommerce-error a { color: #b91c1c; text-decoration: underline; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
/* ─── Tablet 900-1239px: 2-col hero, węższa kolumna tekstu ─── */
@media (max-width: 1239px) and (min-width: 900px) {
    .hero__inner { grid-template-columns: minmax(380px, 1fr) minmax(0, 1fr); }
    .hero__content { padding: 48px 24px 48px 32px; }
    .hero__title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
}

@media (max-width: 1024px) {
    /* Hero — stack only below 900px */
}

@media (max-width: 899px) {
    /* Hero — stack content+image vertically */
    .hero { padding: 0; }
    .hero .container { padding: 0; margin: 0 auto !important; width: 100%; max-width: 100%; }
    .hero__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero__content {
        padding: 48px 32px;
        order: 1;
    }
    .hero__image { aspect-ratio: 3/2; order: 0; }
    .hero__img { min-height: 0; aspect-ratio: 3/2; }
}

@media (max-width: 1024px) {

    /* Logo strip — wrap */
    .logo-strip__benefits {
        overflow-x: auto;
        scrollbar-width: none;
        flex-wrap: nowrap;
    }
    .logo-strip__benefits::-webkit-scrollbar { display: none; }
    .logo-strip__item { flex-shrink: 0; }

    /* Category sections — slider przesuwany palcem (jak mobile), nie grid.
       Układ: tytuł → opis → slider → przycisk full width. */
    .cat-section__inner { display: flex; flex-direction: column; gap: 20px; align-items: stretch; }
    .cat-section__head { display: contents; }
    .cat-section__title { order: 1; }
    .cat-section__desc { order: 2; }
    .cat-slider-nav { display: none; }
    .cat-section__slider { order: 3; margin: 0 -24px; overflow: visible; min-width: 0; }
    .cat-section__head .btn { order: 4; width: 100%; justify-content: center; align-self: stretch; }
    .cat-slider-track {
        display: flex;
        grid-template-columns: none;
        gap: 20px;
        overflow-x: auto;
        padding: 0 24px;
        scroll-padding-left: 24px;
    }
    .cat-slider-track .shop-card { flex: 0 0 46%; scroll-snap-align: start; }
    .cat-slider-track .shop-card__img-wrap { height: auto; aspect-ratio: 1; }

    /* Product grid */
    .products-grid,
    ul.products,
    .shop-archive__grid { grid-template-columns: repeat(2, 1fr); }
    /* Blog — slider jak sekcje kategorii: tytuł → opis → slider → przycisk full width */
    .blog-grid { display: flex; flex-direction: column; gap: 20px; }
    .blog-grid__intro { display: contents; }
    .blog-grid__intro .section-title { order: 1; }
    .blog-grid__intro .section-sub { order: 2; }
    .blog-grid__cards {
        order: 3;
        display: flex;
        gap: 20px;
        overflow-x: auto;
        margin: 0 -24px;
        padding: 0 24px;
        scroll-padding-left: 24px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .blog-grid__cards::-webkit-scrollbar { display: none; }
    .blog-grid__intro .btn { order: 4; width: 100%; justify-content: center; align-self: stretch; margin-top: 0; }
    .blog-card { flex: 0 0 46%; scroll-snap-align: start; }

    /* FAQ — tytuł nad obrazkiem, accordion full width (tablet + mobile) */
    .faq-section__inner { display: flex; flex-direction: column; gap: 16px; }
    .faq-section__body { display: contents; }
    .faq-section__body .section-title { order: 1; }
    .faq-section__image { order: 2; width: 100%; max-height: 420px; }
    .faq-list { order: 3; width: 100%; }

    /* Shop archive — hide sidebar, show mobile bar */
    .shop-toolbar { display: none; }
    .shop-sidebar { display: none; }
    .shop-archive { padding: 0 0 64px; }
    .shop-archive__layout { display: block; gap: 0; }
    .shop-archive__header { padding: 0 24px; }
    .shop-breadcrumbs { padding: 24px 24px 0; margin-bottom: 24px; }
    .shop-mobile-bar { display: flex; margin: 0 0 24px; }
    .shop-archive__main { padding: 0 24px; }
    .shop-seo__grid { grid-template-columns: 1fr; gap: 24px; }
    .shop-seo { padding: 32px 24px; }

    /* Product page upper — stack gallery + info */
    .sp-upper { grid-template-columns: 1fr; gap: 32px; }
    .sp-gallery { position: static; max-width: 604px; margin: 0 auto; width: 100%; }
    /* ≤1024: swipe slider wszystkich zdjęć zamiast main + miniatury */
    .sp-gallery__main,
    .sp-gallery__thumbs { display: none; }
    .sp-gallery__slider {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .sp-gallery__slider::-webkit-scrollbar { display: none; }
    .sp-gallery__slide {
        flex: 0 0 85%;
        scroll-snap-align: center;
        aspect-ratio: 1;
        border-radius: var(--radius);
        overflow: hidden;
        background: var(--bg-alt);
    }
    .sp-gallery__slide { border: none; padding: 0; background: var(--bg-alt); cursor: zoom-in; }
    .sp-gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

    /* Opinie — swipe slider na mobile (zamiast transform desktopu) */
    .sp-reviews-card { padding: 32px 20px 24px; border-radius: 16px; }
    .sp-reviews-section__title { font-size: 22px; line-height: 28px; margin-bottom: 20px; }
    .sp-reviews-viewport { overflow: visible; margin: 0 -8px; }
    .sp-reviews-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        transition: none;
        gap: 16px;
        padding: 0 8px;
    }
    .sp-review {
        flex: 0 0 88%;
        scroll-snap-align: center;
    }
    .sp-reviews-dots { margin-top: 20px; }

    /* Karta produktu — meta-statsy (kupiło/handmade) pod opisem zamiast nad tytułem */
    .sp-info-top { display: contents; }
    .sp-badges { order: -3; }
    .sp-title { order: -2; }
    .sp-subtitle { order: -1; }
    .sp-meta-stats { align-items: flex-start; }

    /* Cross-sell „Zgrana paczka" — przycisk pełnej szerokości pod spodem */
    .sp-bundle__item {
        display: grid;
        grid-template-columns: 96px 1fr;
        column-gap: 16px;
        row-gap: 8px;
        align-items: center;
    }
    .sp-bundle__img { width: 96px; height: 96px; grid-row: 1; }
    .sp-bundle__body { display: contents; }
    .sp-bundle__top  { grid-column: 2; grid-row: 1; align-self: center; }
    .sp-bundle__btn  { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-top: 4px; }

    /* Stats: 1 kolumna na mobile (jedno pod drugim) */
    .sp-stats__grid { grid-template-columns: 1fr; gap: 24px; }
    .sp-stats-section__head { margin-bottom: 32px; }

    /* Features (Radosna Wiara) — stack 1 column on tablet */
    .sp-features-section__inner { grid-template-columns: 1fr; gap: 24px; }
    .sp-features-grid { width: 100%; grid-template-columns: 1fr; gap: 24px; grid-column: auto; }

    /* Content section — stack */
    .sp-content-section__card { grid-template-columns: 1fr; }
    .sp-content-section__image { aspect-ratio: 16/9; }

    /* Reviews — stack head + 1 review at a time */
    .sp-reviews-section__inner { grid-template-columns: 1fr; gap: 24px; }
    .sp-review { flex: 0 0 calc(100% - 32px); }

    /* FAQ — stack */
    /* Karta produktu — FAQ: tytuł nad obrazkiem, accordion pod */
    .sp-faq-section__inner { display: flex; flex-direction: column; gap: 16px; }
    .sp-faq-section__body { display: contents; }
    .sp-faq-section__title { order: 1; }
    .sp-faq-section__image { order: 2; aspect-ratio: 16/9; width: 100%; }
    .sp-faq-list { order: 3; width: 100%; }

    /* Related products — slider przesuwany palcem (jak sekcje kategorii) */
    .sp-related-section__inner { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
    .sp-related-section__head { display: contents; }
    .sp-related-section__title { order: 1; }
    .sp-related-section__desc { order: 2; }
    .sp-related-section__head .btn { order: 4; width: 100%; justify-content: center; align-self: stretch; padding: 12px 20px; font-size: 13px; }
    .sp-related-section__grid {
        order: 3;
        display: flex;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        margin: 0 -16px;
        padding: 0 16px;
        scroll-padding-left: 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        grid-template-columns: none;
    }
    .sp-related-section__grid::-webkit-scrollbar { display: none; }
    .sp-related-card { flex: 0 0 78%; scroll-snap-align: start; }


    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-col--spacer { display: none; }
    .footer-trust__grid { grid-template-columns: repeat(2, 1fr); }

    /* Checkout — stack */
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-col--summary { order: -1; }
    /* Podsumowanie na mobile — accordion, cream bg, full-width bez zaokrąglonych rogów */
    .ckout-summary-card {
        position: static;
        border-radius: 0;
        padding: 20px 16px;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    /* About section — stack */
    .about-section__inner { grid-template-columns: 1fr; gap: 32px; height: auto; }
    .about-section__content { padding: 0 32px 32px; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

    /* Koszyk — mniejszy padding na mobile (full-width już z base) */
    .cart-drawer__totals {
        padding: 20px 16px;
    }

    /* ── Mobile header ── */
    .header-main { padding: 12px 0; }
    .header-main .container { padding: 0 16px; }
    .header-main__inner { gap: 8px; }
    .site-logo img { height: 36px; }

    /* ── Checkout header na mobile: back-link po lewej, logo po prawej, wysokość 64px ── */
    .header-checkout-inner {
        justify-content: space-between;
        align-items: center;
        min-height: 64px;
        padding-top: 0;
        padding-bottom: 0;
    }
    .header-checkout-inner .site-logo img { height: 28px; width: auto; }
    .checkout-header-back {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 700;
        color: var(--text);
    }
    .checkout-back-link { display: none; } /* hide form-level back link on mobile */
    .header-cart {
        padding: 8px 12px;
        gap: 6px;
        background: transparent;
    }
    .header-cart .cart-badge { right: 8px; top: 2px; }
    .menu-toggle {
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        font-size: 12px;
        font-weight: 700;
        color: var(--text);
        border-radius: var(--radius);
    }

    /* ── Hero ── */
    .hero { padding: 0; }
    .hero .container { padding: 0; }
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }
    .hero__image { margin: 0; aspect-ratio: 3/2; }
    .hero__img { min-height: 0; aspect-ratio: 3/2; }
    .hero__content { padding: 24px 16px 32px; gap: 12px; }
    .hero__title { font-size: 24px; line-height: 120%; }
    .hero__sub { font-size: 14px; margin-bottom: 16px; }
    .hero__actions { width: 100%; }
    .hero__actions .btn { width: 100%; justify-content: center; }

    /* ── Logo strip — auto-karuzela: 1 widoczny element ── */
    .logo-strip { padding: 16px 0; }
    .logo-strip .container { padding: 0 16px; }
    .logo-strip__benefits {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 0;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .logo-strip__benefits::-webkit-scrollbar { display: none; }
    .logo-strip__item { flex: 0 0 100%; justify-content: center; gap: 10px; font-size: 13px; scroll-snap-align: center; }
    .logo-strip__item svg { width: 24px; height: 24px; }

    /* ── Category sections ── */
    .container { padding: 0 16px; }
    .cat-section { padding: 24px 0; }
    /* Sekcje kategorii — slider jak na tablecie, mniejsze rozmiary/odstępy */
    .cat-section__inner { gap: 16px; }
    .cat-section__title { font-size: 22px; }
    .cat-section__desc { font-size: 14px; }
    .cat-section__slider { margin: 0 -16px; }
    .cat-section__head .btn { padding: 12px 20px; font-size: 13px; }
    .cat-slider-track { gap: 12px; padding: 0 16px; scroll-padding-left: 16px; }
    .cat-slider-track .shop-card { flex: 0 0 78%; }
    .cat-slider-track .shop-card__title { font-size: 18px; line-height: 120%; }
    .cat-slider-track .shop-card__desc { font-size: 14px; }
    .cat-slider-track .shop-card__price { font-size: 20px; }
    .cat-slider-track .shop-card__omnibus { font-size: 12px; }

    /* ── About ── */
    .about-section { padding: 24px 0; }
    .about-section__inner { grid-template-columns: 1fr; gap: 20px; height: auto; }
    .about-section__content { gap: 16px; padding: 0 20px 24px; }
    .about-section__content h2 { font-size: 24px; }
    .about-section__content p { font-size: 14px; }
    .about-section__content .btn { width: 100%; justify-content: center; align-self: stretch; }

    /* ── Blog ── */
    .blog-section { padding: 24px 0; }
    .blog-section .section-head { margin-bottom: 24px; text-align: left; }
    .section-title { font-size: 22px; }
    .blog-grid { gap: 16px; }
    .blog-grid__cards { gap: 12px; margin: 0 -16px; padding: 0 16px; scroll-padding-left: 16px; }
    .blog-card { flex: 0 0 78%; }
    .blog-card__img-wrap { aspect-ratio: 1; }

    /* ── FAQ ── */
    .faq-section { padding: 24px 0; }
    .faq-section .section-title--center { text-align: left; font-size: 22px; margin-bottom: 20px; }
    .faq-question { padding: 16px 16px; font-size: 14px; }
    .faq-answer { padding: 0 16px 16px; font-size: 13px; }

    /* ── Footer — mniejsze paddingi, bez zaokrągleń (flush) na mobile ── */
    .site-footer { padding: 8px 20px 24px; margin: 0; border-radius: 0; }
    .footer-trust { padding: 20px 0; }
    .footer-trust__grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-trust__item strong { font-size: 13px; }
    .footer-trust__item span { font-size: 12px; }
    .footer-trust__item svg { width: 24px; height: 24px; }

    /* ── Footer main — stack ── */
    .footer-main { padding: 20px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-col h3 { font-size: 12px; }

    /* ── Footer bottom — stack ── */
    .footer-bottom { padding: 20px 0; }
    .footer-bottom__row { flex-direction: column; align-items: flex-start; gap: 16px; }
    .footer-legal { padding: 0 16px 16px; }
    .footer-legal__inner { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
    .footer-payment-group { width: 100%; flex-wrap: wrap; }
    .footer-payment-icons img { height: 24px; }

    /* ── Top-level helpers ── */
    .about-section__inner { grid-template-columns: 1fr; }
    .cat-section__products { grid-template-columns: 1fr; }
    .products-grid,
    ul.products,
    .shop-archive__grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-list { grid-template-columns: 1fr; gap: 20px; }
    .footer-trust__grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .woocommerce div.product { grid-template-columns: 1fr; }
    .form-row-first, .form-row-last { float: none; width: 100%; }
    .sp-related__grid { grid-template-columns: 1fr; }
    .sp-stats__grid { grid-template-columns: 1fr; }
    .shop-toolbar { display: none; }
    .shop-sidebar { display: none; }
    .shop-archive { padding: 0 0 64px; }
    .shop-archive__layout { gap: 0; }
    .shop-archive__header { padding: 0 16px; margin-bottom: 16px; }
    .shop-breadcrumbs { padding: 16px 16px 0; margin-bottom: 16px; }
    .shop-mobile-bar { display: flex; margin: 0 0 16px; }
    .shop-archive__main { padding: 0 16px; }
    .shop-archive__grid,
    ul.products { grid-template-columns: 1fr 1fr; gap: 8px; }
    .shop-archive__grid .shop-card,
    ul.products .shop-card { padding: 0 0 24px; }
    .shop-archive__grid .shop-card__img-wrap,
    ul.products .shop-card__img-wrap { height: 167px; }
    .shop-archive__grid .shop-card__title,
    ul.products .shop-card__title { font-size: 16px; line-height: 19.2px; }
    .shop-archive__grid .shop-card__desc,
    ul.products .shop-card__desc { font-size: 13px; }
    .shop-archive__grid .shop-card__price,
    ul.products .shop-card__price { font-size: 20px; }
    .shop-archive__grid .shop-card__omnibus,
    ul.products .shop-card__omnibus { font-size: 12px; }
    .shop-seo { padding: 24px 16px; }
    .shop-seo__title { font-size: 18px; }
}

@media (max-width: 480px) {
    /* Listing produktów zostaje 2-kolumnowy nawet na bardzo wąskich ekranach */
    .footer-trust__grid { grid-template-columns: 1fr; }
    .checkout-layout { padding: 16px 16px 48px; }
}

