:where(.logout-button) { appearance: none; -webkit-appearance: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-align: inherit; cursor: pointer; text-decoration: none; }
.logout-button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

:root {
    /* paleta przeniesiona z biolabshop.pl: granat + pacific blue (cyjan) */
    --navy: #273370;
    --navy-dark: #1d265a;
    --blue: #24b9d7;
    --blue-soft: #e6f7fb;
    --ink: #273370;
    --muted: #7a7a7a;
    --line: #e7e9f2;
    --paper: #ffffff;
    --bg: #f6f6f6;
    --green: #4cbb6c;
    --sale: #ff4c4c;
    --shadow: 0 10px 24px rgba(39, 51, 112, .08);
    --star: #ffc94c;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.5;
}
h1, h2, h3, h4,
.pl-name, .pl-featured h1, .pl-section-head h2,
.pl-hydration h2, .pl-detail-info h1, .pl-detail-price {
    font-family: "Montserrat", "Manrope", sans-serif;
    letter-spacing: -.01em;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shop-seller-tools { width: 100%; }
.pl-section-head { flex-wrap: wrap; }
.pl-section-head .shop-seller-tools { flex: 1 0 100%; margin-top: 12px; }
.shop-seller-picker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    max-width: 100%;
}
.shop-seller-picker label {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 800;
    text-transform: uppercase;
}
.shop-seller-picker select {
    flex: 1 1 230px;
    min-width: 0;
    max-width: 100%;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    padding: 0 12px;
    box-shadow: var(--shadow);
}
.shop-seller-picker button,
.shop-seller-picker a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 8px;
    padding: 0 14px;
    border: 1px solid var(--blue);
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.shop-seller-picker a {
    background: #fff;
    color: var(--blue);
}

.pl-head {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--navy);
}
.pl-nav {
    display: grid;
    grid-template-columns: repeat(11, minmax(88px, 1fr));
    min-height: 57px;
}
.pl-nav a,
.pl-nav .logout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .4px;
    text-transform: uppercase;
    white-space: nowrap;
}
.pl-nav a:hover,
.pl-nav .logout-button:hover,
.pl-nav a.active {
    background: var(--navy-dark);
    font-weight: 850;
}
.pl-nav a.account,
.pl-nav .logout-button.account {
    background: #202747;
    color: #e8f8ff;
    font-size: .9rem;
}
.pl-nav a.account:hover,
.pl-nav .logout-button.account:hover {
    background: var(--blue);
    color: #fff;
}
.pl-nav a.pl-cta {
    background: var(--blue);
    color: #fff;
    font-weight: 800;
}
.pl-nav a.pl-cta:hover {
    background: var(--blue-soft);
    color: var(--navy-dark);
}
.pl-nav a.pl-nav-cart {
    padding: 0 14px;
}
.pl-nav-cart-ic {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    font-size: 1.05rem;
    transition: background .15s ease;
}
.pl-nav a.pl-nav-cart:hover .pl-nav-cart-ic {
    background: rgba(255, 255, 255, .2);
}
.pl-nav-cart-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1;
    border: 2px solid var(--navy);
}

.pl-featured {
    position: relative;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 42px 60px;
}
.pl-featured h1 {
    margin: 2px 0 50px;
    text-align: center;
    color: var(--ink);
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: 0;
}
.pl-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 22px;
}
.pl-arrow {
    position: absolute;
    top: 308px;
    z-index: 10;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--blue);
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}
.pl-arrow.left { left: 20px; }
.pl-arrow.right { right: 20px; }

.pl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 442px;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.pl-heart {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
}
.pl-heart span {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
}
.pl-heart:hover {
    color: #008dbb;
}
.pl-discount {
    position: absolute;
    top: 20px;
    left: 21px;
    z-index: 3;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--sale);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
}
.pl-instock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-size: .82rem;
    font-weight: 800;
}
.pl-instock::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}
.pl-thumb {
    display: grid;
    place-items: end center;
    height: 230px;
    padding: 56px 28px 14px;
}
.pl-product-shot {
    position: relative;
    display: block;
    width: 205px;
    height: 132px;
}
.pl-product-image {
    display: grid;
    place-items: center;
    width: 100%;
    height: 188px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff, #f8fbff);
}
.pl-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pl-bottle {
    position: absolute;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 58px;
    height: 100px;
    border-radius: 8px 8px 14px 14px;
    background: linear-gradient(90deg, #16172b, #4f3dbb 38%, #101125);
    color: #fff;
    font-size: .83rem;
    font-weight: 900;
    box-shadow: 0 12px 20px rgba(0,0,0,.16);
}
.pl-bottle:before {
    content: "";
    position: absolute;
    top: -16px;
    width: 43px;
    height: 18px;
    border-radius: 6px 6px 2px 2px;
    background: #252525;
}
.pl-bottle:after {
    content: "";
    position: absolute;
    left: 7px;
    right: 7px;
    bottom: 14px;
    height: 30px;
    border-radius: 3px;
    background: #f5de3b;
}
.pl-bottle.one { left: 68px; z-index: 2; }
.pl-bottle.two {
    left: 21px;
    z-index: 1;
    transform: scale(.9);
}
.pl-bottle.two:after { background: #38dbb6; }
.pl-box {
    position: absolute;
    right: 12px;
    bottom: 4px;
    width: 74px;
    height: 94px;
    border-radius: 3px;
    background: linear-gradient(160deg, #fff 0 54%, #ef4762 55%);
    border: 1px solid #f0d8df;
    box-shadow: 0 12px 20px rgba(0,0,0,.08);
}
.variant-1 .pl-box { display: none; }
.variant-1 .pl-bottle.one {
    left: 72px;
    width: 82px;
    height: 92px;
    border-radius: 14px;
    background: linear-gradient(135deg, #161616, #383838);
}
.variant-1 .pl-bottle.one:after {
    height: 36px;
    background: #f05d4f;
}
.variant-1 .pl-bottle.two {
    left: 31px;
    bottom: 5px;
    width: 46px;
    height: 28px;
    border-radius: 50%;
    background: #ef4c47;
    box-shadow: 25px 4px 0 #ef4c47, 50px 0 0 #ef4c47;
}
.variant-1 .pl-bottle.two:before,
.variant-1 .pl-bottle.two:after { display: none; }
.variant-2 .pl-box { display: none; }
.variant-2 .pl-bottle.two { left: 118px; }
.variant-3 .pl-bottle.one {
    left: 42px;
    width: 48px;
    height: 82px;
    background: linear-gradient(90deg, #2a1420, #ba243d);
}
.variant-3 .pl-bottle.two { display: none; }
.variant-3 .pl-box {
    right: 42px;
    background: linear-gradient(160deg, #fff 0 52%, #e53b56 53%);
}
.pl-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 6px 30px 20px;
    text-align: center;
}
.pl-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-height: 20px;
    margin-bottom: 12px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--star);
    font-size: .92rem;
    line-height: 1;
}
.pl-stars em {
    color: var(--blue);
    font-size: .78rem;
    font-style: normal;
}
.pl-name {
    min-height: 42px;
    max-width: 220px;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.25;
}
.pl-name:hover { color: var(--blue); }
.pl-cat {
    display: none;
}
.pl-price {
    margin: 24px 0 18px;
    color: var(--blue);
    font-size: 1.38rem;
    font-weight: 850;
    line-height: 1;
}
.pl-price small {
    margin-left: 4px;
    color: var(--blue);
    font-size: .82rem;
    font-weight: 500;
    text-decoration: line-through;
}
.pl-lowest {
    margin: -9px 0 16px;
    color: var(--muted);
    font-size: .75rem;
}
.pl-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 204px;
    min-height: 38px;
    margin-top: auto;
    border: 1.5px solid var(--blue);
    border-radius: 999px;
    color: var(--blue);
    background: #fff;
    font-size: .9rem;
    font-weight: 850;
    text-transform: uppercase;
}
.pl-cart i {
    font-size: 1rem;
}
.pl-cart:hover {
    background: var(--blue);
    color: #fff;
}

.pl-hydration {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(300px, .75fr);
    gap: 24px;
    max-width: 1240px;
    min-height: 190px;
    margin: 2px auto 0;
    padding: 48px 62px;
    border-radius: 9px;
    overflow: hidden;
    background: linear-gradient(95deg, #eef3ff, #e8f8ff);
}
.pl-hydration:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 83% 20%, rgba(0,168,220,.22), transparent 22%),
        radial-gradient(circle at 92% 88%, rgba(39,51,111,.18), transparent 28%);
}
.pl-hydration > * { position: relative; z-index: 1; }
.pl-hydration h2 {
    margin: 0 0 20px;
    color: var(--ink);
    font-size: 2rem;
    line-height: 1;
}
.pl-hydration p {
    max-width: 620px;
    margin: 0 0 18px;
    color: var(--ink);
}
.pl-hydration a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 850;
}
.pl-water-pack {
    position: relative;
    min-height: 190px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(39, 51, 112, .16);
}
.pl-water-pack img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    object-position: center;
}

.pl-main {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 42px 0 58px;
}
.pl-cats {
    align-self: start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(32,43,96,.04);
}
.pl-cats h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 1rem;
}
.pl-cats a {
    display: block;
    padding: 9px 10px;
    border-radius: 7px;
    color: var(--muted);
    font-weight: 700;
}
.pl-cats a.child {
    margin-left: 10px;
    font-size: .9rem;
    font-weight: 600;
}
.pl-cats a.active,
.pl-cats a:hover {
    background: var(--blue-soft);
    color: var(--blue);
}
.pl-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.pl-section-head span {
    color: var(--blue);
    font-size: .76rem;
    font-weight: 850;
    text-transform: uppercase;
}
.pl-section-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.65rem;
}
.pl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 22px;
}
.pl-empty {
    padding: 42px;
    border: 1px dashed var(--line);
    border-radius: 10px;
    color: var(--muted);
    text-align: center;
}
.pl-chat {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #1f71f2;
    box-shadow: 0 12px 22px rgba(31,113,242,.28);
}
.pl-chat:before {
    content: "";
    width: 25px;
    height: 17px;
    border-radius: 4px;
    background: #fff;
}
.pl-chat:after {
    content: "";
    position: absolute;
    bottom: 16px;
    right: 17px;
    border-top: 7px solid #fff;
    border-left: 7px solid transparent;
}

.pl-detail {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px 56px;
}
.pl-back {
    display: inline-flex;
    margin: 0 0 18px;
    color: var(--blue);
    font-weight: 850;
}
.pl-detail-grid {
    display: grid;
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
    gap: 34px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
}
.pl-detail-visual {
    display: grid;
    place-items: center;
    min-height: 360px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #f8fbff);
    overflow: hidden;
}
.pl-detail-visual img {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
}
.pl-detail-visual span {
    display: grid;
    place-items: center;
    width: 120px;
    height: 150px;
    border-radius: 18px;
    background: linear-gradient(90deg, #17172a, #4f3dbb);
    color: #fff;
    font-weight: 950;
}
.pl-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.pl-thumb-btn {
    display: block;
    width: 64px;
    height: 64px;
    padding: 6px;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pl-thumb-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pl-thumb-btn:hover {
    border-color: var(--blue);
}
.pl-thumb-btn.active {
    border-color: var(--blue);
    background: var(--blue-soft);
    box-shadow: 0 0 0 3px var(--blue-soft);
}
.pl-detail-info h1 {
    margin: 10px 0;
    color: var(--ink);
    font-size: 2.1rem;
    line-height: 1.1;
}
.pl-detail-price {
    margin: 14px 0;
    color: var(--blue);
    font-size: 1.85rem;
    font-weight: 900;
}
.pl-detail-price small {
    color: var(--muted);
    font-size: 1rem;
}
.pl-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pl-meta span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.pl-desc {
    margin-top: 22px;
    color: var(--muted);
}
.pl-desc h2 {
    color: var(--ink);
    font-size: 1.15rem;
}
.pl-seller {
    color: var(--muted);
    font-size: .92rem;
}

.pl-foot {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding: 34px 32px;
    background: var(--navy);
    color: #dbe6ff;
}
.pl-foot h4 {
    margin: 0 0 10px;
    color: #fff;
}
.pl-foot a {
    display: block;
    padding: 3px 0;
    color: #dbe6ff;
}
.pl-foot p {
    margin: 0;
    color: #c9d6f7;
}
.pl-newsletter {
    display: flex;
    margin-top: 10px;
}
.pl-newsletter input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 10px 12px;
    border-radius: 22px 0 0 22px;
}
.pl-newsletter button {
    border: 0;
    padding: 10px 13px;
    border-radius: 0 22px 22px 0;
    background: var(--blue);
    color: #fff;
    font-weight: 950;
}

@media (max-width: 1100px) {
    .pl-nav {
        display: flex;
        overflow-x: auto;
    }
    .pl-nav a,
    .pl-nav .logout-button { min-width: 150px; }
    .pl-featured-grid { grid-template-columns: repeat(2, minmax(230px, 1fr)); }
    .pl-main {
        grid-template-columns: 1fr;
        padding-left: 24px;
        padding-right: 24px;
    }
    .pl-cats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .pl-cats h2 { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .pl-featured {
        padding: 0 18px 36px;
    }
    .pl-featured h1 {
        margin-bottom: 26px;
        font-size: 1.75rem;
    }
    .pl-featured-grid,
    .pl-grid {
        grid-template-columns: 1fr;
    }
    .pl-arrow { display: none; }
    .pl-hydration {
        grid-template-columns: 1fr;
        margin: 0 18px;
        padding: 32px 26px;
    }
    .pl-water-pack { display: none; }
    .pl-cats { display: block; }
    .pl-detail-grid,
    .pl-foot {
        grid-template-columns: 1fr;
    }
}

.cat-count { color: var(--muted); font-weight: 700; }
.cat-count-active { color: var(--green); font-weight: 900; }
.sub-footer-signature { display: inline-block; margin-top: 10px; color: #7a8794; font-size: .82rem; }
.sub-footer-signature a { color: #0f172a; font-weight: 900; }

.listing-message-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid #b9eefe;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--navy);
    font-weight: 900;
}
.listing-message-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.listing-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.listing-badge { display: inline-flex; align-items: center; width: fit-content; padding: 3px 10px; border-radius: 999px;
    font-size: .72rem; font-weight: 900; line-height: 1.2; text-transform: uppercase; letter-spacing: .04em; }
.listing-badge-compact { margin-left: 6px; padding: 2px 8px; font-size: .66rem; vertical-align: middle; }
.listing-badge-demo { border: 1px solid #b9eefe; background: var(--blue-soft); color: var(--navy); }
.listing-badge-sold { background: var(--navy); color: #fff; }
.listing-badge-reserved { background: #0f766e; color: #fff; }
.listing-badge-stale { border: 1px solid rgba(107, 114, 128, .3); background: rgba(107, 114, 128, .08); color: #9ca3af; text-transform: none; letter-spacing: 0; opacity: 0.75; }
.listing-badge-views { border: 1px solid #abefc6; background: #ecfdf3; color: #067647; text-transform: none; letter-spacing: 0; }

.pl-spec-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    min-height: 24px;
    margin-top: 6px;
    color: #526171;
    font-size: .76rem;
    line-height: 1.25;
}
.pl-spec-mini b {
    color: var(--navy);
}
.pl-spec-box {
    border: 1px solid #dbeafe;
    background: #f8fbff;
}
.pl-spec-list {
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr;
    gap: 8px 14px;
    margin: 0;
}
.pl-spec-list dt {
    color: #64748b;
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}
.pl-spec-list dd {
    margin: 0;
    color: #0f172a;
    font-weight: 800;
}
.pl-lab-note {
    margin: 14px 0 0;
    color: #64748b;
    font-size: .85rem;
}
@media (max-width: 560px) {
    .pl-spec-list {
        grid-template-columns: 1fr;
    }
}
