/* ==========================================================================
   BodyCore Shop - design system
   Biel + grafit + czerwone akcenty
   ========================================================================== */

:root {
    --bc-red: #d81e2e;
    --bc-red-dark: #ae1624;
    --bc-red-soft: #fdecee;
    --bc-red-line: #f6c9ce;

    --bc-ink: #16181d;
    --bc-ink-2: #3c444f;
    --bc-muted: #6b7280;
    --bc-line: #e6e8ec;
    --bc-line-2: #f0f2f5;
    --bc-surface: #f7f8fa;
    --bc-white: #fff;

    --bc-green: #15a34a;
    --bc-green-soft: #e9f7ee;
    --bc-amber: #f59e0b;

    --bc-radius: 16px;
    --bc-radius-sm: 10px;
    --bc-radius-pill: 999px;

    --bc-shadow-sm: 0 1px 2px rgba(22, 24, 29, .06), 0 1px 3px rgba(22, 24, 29, .04);
    --bc-shadow: 0 4px 16px rgba(22, 24, 29, .08);
    --bc-shadow-lg: 0 18px 40px rgba(22, 24, 29, .12);

    --bc-maxw: 1280px;
    --bc-gutter: 16px;

    --bc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --bc-font-head: 'Barlow', 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* ---------- reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.bc {
    margin: 0;
    background: var(--bc-white);
    color: var(--bc-ink);
    font-family: var(--bc-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.bc img { max-width: 100%; height: auto; }
/* Linki: bazowa regula ma celowo NISKA specyficznosc (sam typ `a`),
   zeby kazda klasa komponentu (.bc-nav__link, .bc-card__btn, ...) ja nadpisala. */
a { color: inherit; text-decoration: none; }
.bc a { text-decoration: none; }
/* czerwony tylko w tresci redakcyjnej i w wyroznionych linkach */
.bc-prose a, .bc-section__more, .bc-post__more { color: var(--bc-red); }
.bc-prose a:hover, .bc-section__more:hover, .bc-post__more:hover { color: var(--bc-red-dark); }

/* Naglowki: bazowa regula na samych typach (specyficznosc 0,0,1),
   dzieki czemu .bc-cat__name, .bc-promo h2 itd. nadpisuja ja bez walki. */
h1, h2, h3, h4, h5 {
    font-family: var(--bc-font-head);
    color: var(--bc-ink);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(28px, 4.2vw, 46px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
h4 { font-size: 19px; }

.bc p { margin: 0 0 1em; }

.bc :focus-visible {
    outline: 3px solid rgba(216, 30, 46, .45);
    outline-offset: 2px;
    border-radius: 4px;
}

.bc-container {
    width: 100%;
    max-width: var(--bc-maxw);
    margin: 0 auto;
    padding: 0 var(--bc-gutter);
}

.bc-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */

.bc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--bc-font-head);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .01em;
    line-height: 1;
    padding: 14px 24px;
    border-radius: var(--bc-radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
    text-align: center;
}

.bc-btn:active { transform: translateY(1px); }

.bc-btn--primary { background: var(--bc-red); color: #fff; }
.bc-btn--primary:hover { background: var(--bc-red-dark); color: #fff; }

.bc-btn--dark { background: var(--bc-ink); color: #fff; }
.bc-btn--dark:hover { background: #000; color: #fff; }

.bc-btn--ghost { background: transparent; color: var(--bc-ink); border-color: var(--bc-line); }
.bc-btn--ghost:hover { border-color: var(--bc-ink); color: var(--bc-ink); }

.bc-btn--sm { padding: 10px 16px; font-size: 14px; }
.bc-btn--block { width: 100%; }

/* ---------- topbar ---------- */

.bc-topbar {
    background: var(--bc-ink);
    color: #fff;
    font-size: 13px;
}

.bc-topbar a { color: #fff; }
.bc-topbar a:hover { color: #fff; opacity: .8; }

.bc-topbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
    flex-wrap: wrap;
}

.bc-topbar__list { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.bc-topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.bc-topbar__item svg { flex: none; }
.bc-topbar__accent { color: #ff8b95; }

/* ---------- header ---------- */

.bc-header {
    background: #fff;
    border-bottom: 1px solid var(--bc-line);
    position: sticky;
    top: 0;
    z-index: 200;
}

.bc-header__row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
}

.bc-logo { display: inline-flex; align-items: center; flex: none; }
.bc-logo img { display: block; width: 240px; max-width: 46vw; height: auto; }

.bc-search { flex: 1 1 auto; max-width: 560px; }

.bc-search__form {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--bc-line);
    border-radius: var(--bc-radius-pill);
    overflow: hidden;
    background: #fff;
    transition: border-color .18s ease;
}

.bc-search__form:focus-within { border-color: var(--bc-red); }

.bc-search__input {
    flex: 1;
    border: 0;
    padding: 12px 20px;
    font: inherit;
    font-size: 15px;
    background: transparent;
    color: var(--bc-ink);
    min-width: 0;
}

.bc-search__input:focus { outline: none; }

.bc-search__btn {
    border: 0;
    background: var(--bc-red);
    color: #fff;
    padding: 0 22px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background .18s ease;
}

.bc-search__btn:hover { background: var(--bc-red-dark); }

.bc-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }

.bc-iconbtn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 10px;
    border-radius: var(--bc-radius-sm);
    color: var(--bc-ink);
    font-size: 11px;
    font-weight: 600;
    background: none;
    border: 0;
    cursor: pointer;
    position: relative;
    transition: background .18s ease, color .18s ease;
}

.bc-iconbtn:hover { background: var(--bc-surface); color: var(--bc-red); }

.bc-iconbtn__count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--bc-radius-pill);
    background: var(--bc-red);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    font-weight: 700;
    text-align: center;
}

.bc-burger { display: none; }

/* ---------- nav ---------- */

.bc-nav { background: #fff; border-bottom: 1px solid var(--bc-line); }

.bc-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.bc-nav__link {
    display: inline-block;
    padding: 14px 14px;
    font-family: var(--bc-font-head);
    font-weight: 600;
    font-size: 15px;
    color: var(--bc-ink);
    letter-spacing: .01em;
    position: relative;
}

.bc-nav__link::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 8px;
    height: 2px;
    background: var(--bc-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease;
}

.bc-nav__link:hover, .bc-nav__link:focus-visible { color: var(--bc-red); }
.bc-nav__link:hover::after { transform: scaleX(1); }

/* mobile drawer */
.bc-drawer {
    position: fixed;
    inset: 0 30% 0 0;
    min-width: 280px;
    background: #fff;
    z-index: 400;
    transform: translateX(-102%);
    transition: transform .25s ease;
    padding: 20px;
    overflow-y: auto;
    box-shadow: var(--bc-shadow-lg);
}

.bc-drawer.is-open { transform: translateX(0); }

.bc-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }

.bc-drawer__list { list-style: none; margin: 0; padding: 0; }

.bc-drawer__list a {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--bc-line);
    color: var(--bc-ink);
    font-family: var(--bc-font-head);
    font-weight: 600;
    font-size: 17px;
}

.bc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(22, 24, 29, .45);
    z-index: 350;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.bc-overlay.is-open { opacity: 1; visibility: visible; }

/* ---------- hero ---------- */

.bc-hero {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, var(--bc-surface) 100%);
    overflow: hidden;
}

.bc-hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 46%;
    height: 150%;
    background: var(--bc-red);
    transform: skewX(-12deg);
    opacity: .06;
    pointer-events: none;
}

.bc-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
    padding: 56px 0;
    position: relative;
    z-index: 1;
}

.bc-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bc-red-soft);
    color: var(--bc-red-dark);
    border: 1px solid var(--bc-red-line);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: var(--bc-radius-pill);
    margin-bottom: 20px;
}

.bc-hero__title {
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.05;
    margin: 0 0 18px;
}

.bc-hero__title em { font-style: normal; color: var(--bc-red); }

.bc-hero__lead {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--bc-ink-2);
    max-width: 44ch;
    margin-bottom: 28px;
}

.bc-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.bc-hero__points { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }

.bc-hero__points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bc-ink-2);
}

.bc-hero__media { position: relative; }

.bc-hero__media img {
    display: block;
    width: 100%;
    border-radius: var(--bc-radius);
    box-shadow: var(--bc-shadow-lg);
}

.bc-hero__badge {
    position: absolute;
    left: -18px;
    bottom: 26px;
    background: #fff;
    border-radius: var(--bc-radius);
    box-shadow: var(--bc-shadow);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 260px;
}

.bc-hero__badge strong { font-family: var(--bc-font-head); font-size: 22px; display: block; line-height: 1; }
.bc-hero__badge span { font-size: 12.5px; color: var(--bc-muted); }

.bc-hero__badge-ico {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--bc-red-soft);
    color: var(--bc-red);
    display: grid;
    place-items: center;
    flex: none;
}

/* ---------- usp strip ---------- */

.bc-usp { border-bottom: 1px solid var(--bc-line); background: #fff; }

.bc-usp__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 22px 0;
}

.bc-usp__item { display: flex; align-items: center; gap: 14px; padding: 6px 10px; }

.bc-usp__ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--bc-red-soft);
    color: var(--bc-red);
    display: grid;
    place-items: center;
    flex: none;
}

.bc-usp__item strong { display: block; font-family: var(--bc-font-head); font-size: 15.5px; }
.bc-usp__item span { font-size: 13px; color: var(--bc-muted); }

/* ---------- section heads ---------- */

.bc-section { padding: 56px 0; }
.bc-section--tint { background: var(--bc-surface); }

.bc-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.bc-section__title { margin: 0; }

.bc-section__title span {
    display: block;
    font-family: var(--bc-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bc-red);
    margin-bottom: 8px;
}

.bc-section__more { font-weight: 700; font-size: 14px; white-space: nowrap; }

/* ---------- carousel ---------- */

.bc-carousel { position: relative; }

.bc-carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 14px;
    margin: -4px -4px 0;
    scrollbar-width: thin;
}

.bc-carousel__track > * { scroll-snap-align: start; }

.bc-carousel__track::-webkit-scrollbar { height: 6px; }
.bc-carousel__track::-webkit-scrollbar-thumb { background: var(--bc-line); border-radius: 3px; }

.bc-carousel__nav {
    position: absolute;
    top: 38%;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--bc-line);
    box-shadow: var(--bc-shadow);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--bc-ink);
    z-index: 5;
    transition: background .18s ease, color .18s ease, opacity .18s ease;
}

.bc-carousel__nav:hover { background: var(--bc-red); color: #fff; border-color: var(--bc-red); }
.bc-carousel__nav[disabled] { opacity: .3; cursor: default; }
.bc-carousel__nav--prev { left: -18px; }
.bc-carousel__nav--next { right: -18px; }

/* ---------- product card ---------- */

.bc-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius);
    overflow: hidden;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
    height: 100%;
    position: relative;
}

.bc-card:hover { box-shadow: var(--bc-shadow); border-color: #d9dde3; transform: translateY(-3px); }

.bc-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--bc-surface);
    overflow: hidden;
}

.bc-card__media img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform .35s ease;
}

.bc-card:hover .bc-card__media img { transform: scale(1.05); }

.bc-card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }

.bc-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: var(--bc-radius-pill);
    color: #fff;
    background: var(--bc-ink);
}

.bc-badge--sale { background: var(--bc-red); }
.bc-badge--new { background: var(--bc-ink); }
.bc-badge--best { background: var(--bc-amber); color: #2a1c00; }

.bc-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; gap: 8px; }

.bc-card__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bc-muted); }

.bc-card__title {
    font-family: var(--bc-font-head);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.bc-card__title a { color: var(--bc-ink); }
.bc-card__title a:hover { color: var(--bc-red); }

.bc-card__rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--bc-muted); }
.bc-card__stars { color: var(--bc-amber); letter-spacing: 1px; }

.bc-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }

.bc-card__price { font-family: var(--bc-font-head); font-size: 20px; font-weight: 800; color: var(--bc-ink); line-height: 1.1; }
.bc-card__price del { font-size: 14px; font-weight: 600; color: var(--bc-muted); margin-right: 6px; }
.bc-card__price ins { text-decoration: none; color: var(--bc-red); }

.bc-card__btn {
    flex: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bc-ink);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background .18s ease, transform .12s ease;
}

.bc-card__btn:hover { background: var(--bc-red); color: #fff; }
.bc-card__btn svg { color: #fff; stroke: #fff; }
.bc-card__btn.loading { opacity: .6; }
.bc-card__btn.added { background: var(--bc-green); }

.bc-card__stock { font-size: 12px; font-weight: 700; color: var(--bc-green); display: inline-flex; align-items: center; gap: 5px; }
.bc-card__stock--out { color: var(--bc-muted); }

/* ---------- product grid (shop) ---------- */

.bc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.bc-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- category tiles ---------- */

.bc-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.bc-cat {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 190px;
    padding: 20px;
    border-radius: var(--bc-radius);
    background: var(--bc-ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.bc-cat img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .5;
    z-index: -2;
    transition: transform .4s ease, opacity .3s ease;
}

.bc-cat::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22,24,29,.10) 35%, rgba(22,24,29,.92) 100%);
    z-index: -1;
}

.bc-cat:hover img { transform: scale(1.06); opacity: .65; }

.bc-cat .bc-cat__name { font-family: var(--bc-font-head); font-weight: 800; font-size: 20px; color: #fff; margin: 0 0 2px; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.bc-cat .bc-cat__count { font-size: 13px; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.bc-cat__arrow { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--bc-red); display: grid; place-items: center; }

/* ---------- promo band ---------- */

.bc-promo {
    background: var(--bc-ink);
    color: #fff;
    border-radius: var(--bc-radius);
    padding: 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.bc-promo::before {
    content: "";
    position: absolute;
    right: -6%;
    top: -40%;
    width: 42%;
    height: 180%;
    background: var(--bc-red);
    transform: skewX(-12deg);
    opacity: .9;
}

.bc-promo h2 { color: #fff; margin-bottom: 10px; }
.bc-promo p { color: rgba(255,255,255,.8); margin-bottom: 0; }
.bc-promo__cta { position: relative; z-index: 2; display: flex; justify-content: flex-end; }

/* ---------- blog teaser ---------- */

.bc-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.bc-post {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.bc-post:hover { box-shadow: var(--bc-shadow); transform: translateY(-3px); }

.bc-post__media { display: block; aspect-ratio: 16 / 10; background: var(--bc-surface); overflow: hidden; }
.bc-post__media img { width: 100%; height: 100%; object-fit: cover; }
.bc-post__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bc-post__meta { font-size: 12.5px; color: var(--bc-muted); display: flex; gap: 10px; align-items: center; }
.bc-post__cat { color: var(--bc-red); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; }
.bc-post__title { font-size: 19px; margin: 0; line-height: 1.25; }
.bc-post__title a { color: var(--bc-ink); }
.bc-post__title a:hover { color: var(--bc-red); }
.bc-post__excerpt { font-size: 14.5px; color: var(--bc-ink-2); margin: 0; }
.bc-post__more { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- single product ---------- */

.bc-product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px 0 20px; }

.bc-gallery__main {
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius);
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    position: relative;
}

.bc-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }

.bc-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

.bc-gallery__thumb {
    width: 76px; height: 76px;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius-sm);
    padding: 4px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.bc-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.bc-gallery__thumb.is-active { border-color: var(--bc-red); box-shadow: 0 0 0 1px var(--bc-red); }

.bc-summary__cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bc-red); margin-bottom: 10px; display: block; }
.bc-summary h1 { margin-bottom: 14px; }
.bc-summary__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--bc-muted); }

.bc-summary__price {
    font-family: var(--bc-font-head);
    font-size: 38px;
    font-weight: 800;
    color: var(--bc-ink);
    line-height: 1;
    margin-bottom: 6px;
}

.bc-summary__price del { font-size: 22px; color: var(--bc-muted); font-weight: 600; margin-right: 10px; }
.bc-summary__price ins { text-decoration: none; color: var(--bc-red); }
.bc-summary__tax { font-size: 13px; color: var(--bc-muted); margin-bottom: 20px; }

.bc-summary__excerpt { color: var(--bc-ink-2); font-size: 15.5px; border-top: 1px solid var(--bc-line); padding-top: 20px; margin-bottom: 22px; }

.bc-summary__trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; border-top: 1px solid var(--bc-line); padding-top: 22px; }
.bc-summary__trust div { display: flex; gap: 10px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--bc-ink-2); }
.bc-summary__trust svg { color: var(--bc-red); flex: none; }

.bc-tabs { border-top: 1px solid var(--bc-line); margin-top: 40px; padding-top: 34px; }
.bc-tabs__nav { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--bc-line); margin-bottom: 26px; }

.bc-tabs__btn {
    appearance: none;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    padding: 12px 18px;
    font-family: var(--bc-font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--bc-muted);
    cursor: pointer;
}

.bc-tabs__btn.is-active { color: var(--bc-ink); border-bottom-color: var(--bc-red); }
.bc-tabs__panel { display: none; }
.bc-tabs__panel.bc-prose { max-width: 88ch; }
.bc-tabs__panel.is-active { display: block; }

/* woo add-to-cart form inside our layout */
.bc-summary form.cart { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 8px; }
.bc-summary .quantity input[type="number"] {
    width: 86px;
    padding: 13px 10px;
    border: 2px solid var(--bc-line);
    border-radius: var(--bc-radius-pill);
    text-align: center;
    font: inherit;
    font-weight: 700;
}

.bc-summary form.cart button[type="submit"],
.bc-summary .single_add_to_cart_button {
    background: var(--bc-red) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: var(--bc-radius-pill) !important;
    padding: 15px 34px !important;
    font-family: var(--bc-font-head) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer;
    flex: 1 1 200px;
}

.bc-summary .single_add_to_cart_button:hover { background: var(--bc-red-dark) !important; }

/* WooCommerce ustawia .summary na 48% szerokosci - w naszej siatce ma byc pelna */
.bc div.product div.summary.bc-summary,
.bc .bc-summary { width: 100%; float: none; margin: 0; }
.bc div.product div.images { width: 100%; float: none; }
.bc-summary__excerpt { max-width: 62ch; }
.bc-summary h1 { font-size: clamp(26px, 2.8vw, 38px); }

/* ---------- blog single ---------- */

.bc-article { padding: 0 0 56px; }

.bc-article__head { background: var(--bc-surface); border-bottom: 1px solid var(--bc-line); padding: 40px 0; margin-bottom: 40px; }
.bc-article__meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--bc-muted); margin-bottom: 14px; }
.bc-article__title { max-width: 22ch; }
.bc-article__lead { font-size: 18px; color: var(--bc-ink-2); max-width: 70ch; margin: 0; }

.bc-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }

.bc-article__thumb { border-radius: var(--bc-radius); overflow: hidden; margin-bottom: 30px; }
.bc-article__thumb img { width: 100%; display: block; }

.bc-prose { font-size: 17px; line-height: 1.75; color: var(--bc-ink-2); max-width: 75ch; }
.bc-prose > *:first-child { margin-top: 0; }
.bc-prose h2 { font-size: clamp(23px, 2.6vw, 30px); margin: 1.9em 0 .6em; color: var(--bc-ink); }
.bc-prose h3 { font-size: clamp(19px, 2vw, 23px); margin: 1.6em 0 .5em; color: var(--bc-ink); }
.bc-prose h2 + h3 { margin-top: .8em; }
.bc-prose img { border-radius: var(--bc-radius); margin: 1.4em 0; }
.bc-prose ul, .bc-prose ol { padding-left: 1.25em; margin: 0 0 1.3em; }
.bc-prose li { margin-bottom: .5em; }
.bc-prose li::marker { color: var(--bc-red); font-weight: 700; }
.bc-prose blockquote {
    margin: 1.6em 0;
    padding: 18px 24px;
    border-left: 4px solid var(--bc-red);
    background: var(--bc-red-soft);
    border-radius: 0 var(--bc-radius-sm) var(--bc-radius-sm) 0;
    color: var(--bc-ink);
    font-size: 17px;
}
.bc-prose blockquote p:last-child { margin-bottom: 0; }
.bc-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.bc-prose th, .bc-prose td { border: 1px solid var(--bc-line); padding: 11px 14px; text-align: left; }
.bc-prose th { background: var(--bc-surface); font-family: var(--bc-font-head); font-weight: 700; color: var(--bc-ink); }
.bc-prose a { text-decoration: underline; text-underline-offset: 2px; }

.bc-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }

.bc-aside__box { border: 1px solid var(--bc-line); border-radius: var(--bc-radius); padding: 22px; background: #fff; }
.bc-aside__box h3 { font-size: 18px; margin-bottom: 14px; }
.bc-aside__box--red { background: var(--bc-ink); color: #fff; border-color: var(--bc-ink); }
.bc-aside__box--red h3 { color: #fff; }
.bc-aside__box--red p { color: rgba(255,255,255,.78); font-size: 14.5px; }

.bc-aside__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bc-aside__list a { display: flex; gap: 12px; align-items: center; color: var(--bc-ink); font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.bc-aside__list a:hover { color: var(--bc-red); }
.bc-aside__list img { width: 62px; height: 62px; object-fit: cover; border-radius: var(--bc-radius-sm); flex: none; background: var(--bc-surface); }

/* ---------- page / archive ---------- */

.bc-pagehead { background: var(--bc-surface); border-bottom: 1px solid var(--bc-line); padding: 34px 0; margin-bottom: 40px; }
.bc-pagehead h1 { margin: 0; }
.bc-crumbs { font-size: 13px; color: var(--bc-muted); margin-bottom: 10px; }
.bc-crumbs a { color: var(--bc-muted); }
.bc-crumbs a:hover { color: var(--bc-red); }

.bc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }

.bc-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.bc-pagination .page-numbers {
    min-width: 42px; height: 42px;
    padding: 0 12px;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius-sm);
    display: inline-grid;
    place-items: center;
    color: var(--bc-ink);
    font-weight: 700;
}
.bc-pagination .page-numbers.current, .bc-pagination .page-numbers:hover { background: var(--bc-red); border-color: var(--bc-red); color: #fff; }

/* ---------- footer ---------- */

.bc-footer { background: var(--bc-ink); color: rgba(255,255,255,.72); margin-top: 60px; }
.bc-footer a { color: rgba(255,255,255,.72); }
.bc-footer a:hover { color: #fff; }

.bc-footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding: 52px 0 40px; }
.bc-footer h4 { color: #fff; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.bc-footer p, .bc-footer li { font-size: 14.5px; }
.bc-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bc-footer__logo { width: 230px; margin-bottom: 18px; }
.bc-footer__logo img { width: 100%; filter: brightness(0) invert(1); opacity: .95; }

.bc-footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.bc-footer__contact a { display: inline-flex; gap: 9px; align-items: center; }

.bc-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 30px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bc-footer__disclaimer { font-size: 12.5px; color: rgba(255,255,255,.5); padding-bottom: 18px; max-width: 900px; }

/* ---------- woocommerce base overrides ---------- */

.bc .woocommerce-message, .bc .woocommerce-info, .bc .woocommerce-error {
    border-top-color: var(--bc-red) !important;
    border-radius: var(--bc-radius-sm);
    background: var(--bc-surface);
}

.bc .woocommerce-message::before, .bc .woocommerce-info::before { color: var(--bc-red) !important; }

.bc .woocommerce button.button,
.bc .woocommerce a.button,
.bc .woocommerce input.button,
.bc .woocommerce #respond input#submit {
    background: var(--bc-ink);
    color: #fff;
    border-radius: var(--bc-radius-pill);
    padding: 13px 26px;
    font-family: var(--bc-font-head);
    font-weight: 700;
    font-size: 15px;
}

.bc .woocommerce button.button:hover,
.bc .woocommerce a.button:hover,
.bc .woocommerce input.button:hover { background: var(--bc-red); color: #fff; }

.bc .woocommerce button.button.alt,
.bc .woocommerce a.button.alt,
.bc .woocommerce input.button.alt { background: var(--bc-red); }
.bc .woocommerce button.button.alt:hover { background: var(--bc-red-dark); }

.bc .woocommerce table.shop_table { border-radius: var(--bc-radius); border-color: var(--bc-line); }
.bc .woocommerce table.shop_table th { font-family: var(--bc-font-head); color: var(--bc-ink); }

.bc input[type="text"], .bc input[type="email"], .bc input[type="tel"],
.bc input[type="password"], .bc input[type="number"], .bc input[type="search"],
.bc select, .bc textarea {
    border: 2px solid var(--bc-line);
    border-radius: var(--bc-radius-sm);
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    width: 100%;
    background: #fff;
    color: var(--bc-ink);
    transition: border-color .18s ease;
}

.bc input:focus, .bc select:focus, .bc textarea:focus { border-color: var(--bc-red); outline: none; }

.bc .select2-container--default .select2-selection--single {
    height: 48px;
    border: 2px solid var(--bc-line);
    border-radius: var(--bc-radius-sm);
}
.bc .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; }
.bc .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }

/* ---------- responsive ---------- */

@media (max-width: 1200px) {
    .bc-carousel__track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
    .bc-carousel__nav--prev { left: -10px; }
    .bc-carousel__nav--next { right: -10px; }
}

@media (max-width: 1024px) {
    .bc-hero__grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
    .bc-hero__media { order: -1; }
    .bc-hero__badge { left: 12px; }
    .bc-grid { grid-template-columns: repeat(3, 1fr); }
    .bc-cats { grid-template-columns: repeat(2, 1fr); }
    .bc-product { grid-template-columns: 1fr; gap: 30px; }
    .bc-article__layout { grid-template-columns: 1fr; }
    .bc-aside { position: static; }
    .bc-footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
    .bc-nav { display: none; }
    .bc-burger { display: inline-flex; }
    .bc-promo { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
    .bc-promo__cta { justify-content: center; }
}

@media (max-width: 860px) {
    .bc-usp__grid { grid-template-columns: repeat(2, 1fr); }
    .bc-posts { grid-template-columns: repeat(2, 1fr); }
    .bc-carousel__track { grid-auto-columns: calc((100% - 20px) / 2); }
    .bc-header__row { flex-wrap: wrap; row-gap: 12px; }
    .bc-search { order: 3; flex-basis: 100%; max-width: none; }
    .bc-section { padding: 40px 0; }
}

@media (max-width: 680px) {
    :root { --bc-gutter: 16px; }
    .bc-grid, .bc-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .bc-posts { grid-template-columns: 1fr; }
    .bc-carousel__track { grid-auto-columns: 74%; gap: 14px; }
    .bc-carousel__nav { display: none; }
    .bc-section__head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .bc-hero__cta .bc-btn { flex: 1 1 100%; }
    .bc-hero__points { gap: 12px 18px; }
    .bc-summary__trust { grid-template-columns: 1fr; }
    .bc-footer__top { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 26px; }
    .bc-card__body { padding: 12px 12px 14px; }
    .bc-card__title { font-size: 15px; }
    .bc-card__price { font-size: 17px; }
    .bc-card__btn { width: 40px; height: 40px; }
    .bc-topbar__item--hide-sm { display: none; }
    .bc-article__head { padding: 26px 0; margin-bottom: 26px; }
    .bc-prose { font-size: 16px; }
    .bc-gallery__thumb { width: 62px; height: 62px; }
    .bc-summary__price { font-size: 30px; }
}

@media (max-width: 420px) {
    .bc-grid, .bc-grid--3 { grid-template-columns: 1fr; }
    .bc-carousel__track { grid-auto-columns: 82%; }
}

/* ---------- dopracowanie mobile ---------- */

@media (max-width: 860px) {
    .bc-logo img { width: 190px; }
    .bc-header__row { gap: 10px; }
    .bc-usp__item { gap: 10px; padding: 4px 2px; }
    .bc-usp__item strong { font-size: 14.5px; }
    .bc-usp__item span { font-size: 12px; }
    .bc-usp__ico { width: 38px; height: 38px; border-radius: 10px; }
}

@media (max-width: 680px) {
    .bc-logo img { width: 168px; }
    .bc-iconbtn { padding: 6px 8px; }
    .bc-iconbtn > span:not(.bc-cart-count) { display: none; }
    .bc-header__row { padding: 10px 0; }
    .bc-topbar { font-size: 12px; }
    .bc-topbar__row { min-height: 34px; }

    /* plakietka z ocena nie zaslania zdjecia w hero */
    .bc-hero__badge {
        position: static;
        margin: 14px 0 0;
        max-width: none;
        box-shadow: var(--bc-shadow-sm);
        border: 1px solid var(--bc-line);
    }

    .bc-hero__grid { gap: 22px; padding: 26px 0 32px; }
    .bc-hero__eyebrow { font-size: 11.5px; padding: 6px 12px; }

    .bc-cat { min-height: 150px; padding: 16px; }
    .bc-cat .bc-cat__name { font-size: 16px; overflow-wrap: anywhere; hyphens: auto; }
    .bc-cat .bc-cat__count { font-size: 12px; }
    .bc-cat__arrow { width: 30px; height: 30px; top: 12px; right: 12px; }

    .bc-tabs__btn { padding: 10px 12px; font-size: 14.5px; }
    .bc-gallery__main { aspect-ratio: 4 / 3; }
    .bc-toolbar { gap: 10px; }
    .bc-toolbar > div { width: 100%; }
}
