
/* -------------------------------------------------
   12. PRODUCTS
------------------------------------------------- */

.products{
    background:var(--color-white);
}

/*
 * KARUZELA PRODUKTÓW
 *
 * Jeden poziomy rząd na każdej szerokości ekranu.
 * Na desktopie widoczne jest 5 produktów.
 */

.product-grid{
    display:flex;
    flex-wrap:nowrap;

    gap:var(--gap);

    margin-bottom:10px;

    overflow-x:auto;
    overflow-y:hidden;

    /*
     * Płynne przewijanie palcem / trackpadem.
     */
    -webkit-overflow-scrolling:touch;

    /*
     * Przewijanie zatrzymuje się na początku karty.
     */
    scroll-snap-type:x mandatory;

    /*
     * Ukrywamy pasek przewijania.
     */
    scrollbar-width:none;
    -ms-overflow-style:none;

    /*
     * Pozwala na poziome przesuwanie na urządzeniach dotykowych.
     */
    touch-action:pan-x;

    /*
     * Niewielki odstęp po ostatniej karcie.
     */
    padding-bottom:4px;
}

.product-grid::-webkit-scrollbar{
    display:none;
}



/* =================================================
   17. SHOP / PRODUCT ARCHIVE
================================================= */


/* -------------------------------------------------
   SHOP HEADER
------------------------------------------------- */

.shop-header {
    background: var(--color-white-grey);
    border-bottom: 1px solid var(--color-line);
    padding: 72px 0 68px;
}

.shop-header-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.shop-breadcrumb{
    margin-bottom: 18px;
}

.shop-breadcrumb .woocommerce-breadcrumb{
    font-size:var(--fs-sm);
    color: var(--color-text-muted);
    letter-spacing: .02em;
}

.shop-breadcrumb .woocommerce-breadcrumb a{
    color: var(--color-text-muted);
    transition: color .2s ease;
}

.shop-breadcrumb .woocommerce-breadcrumb a:hover{
    color: var(--color-dark);
}

.shop-header .eyebrow {
    margin-bottom: 14px;
}

.shop-title {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
}

.shop-header .term-description {
    max-width: 620px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size:var(--fs-base);
    line-height: 1.75;
}


/* -------------------------------------------------
   SHOP CONTENT
------------------------------------------------- */

.shop-content {
    padding: 0 0 90px;
    position: relative;
}

.shop-toolbar-sentinel{
    height: 1px;
}


/* -------------------------------------------------
   TOOLBAR (sticky, materiał szklany - Apple §12)
------------------------------------------------- */

.shop-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
 
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: box-shadow .25s ease, border-color .25s ease;
    border-bottom: 1px solid transparent;
}

/* efekt krawędzi przewijania zamiast sztywnej linii - pojawia się dopiero,
   gdy treść faktycznie chowa się pod paskiem */
.shop-toolbar.is-scrolled{
    border-bottom-color: var(--color-line);
    box-shadow: 0 12px 24px -18px rgba(23,20,15,.25);
}

.shop-filter-mobile-toggle{
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-dark);
    font-size:var(--fs-sm);
    letter-spacing: .04em;
    transition: transform .1s ease-out, border-color .2s ease;
}
.shop-filter-mobile-toggle:active{ transform: scale(.96); }
.shop-filter-mobile-toggle svg{ width: 16px; height: 16px; }

.shop-results-count {
    color: var(--color-text-muted);
    font-size:var(--fs-base);
    font-weight: 400;
}
.woocommerce-result-count {
    align-items: center;
}

.shop-ordering {
    display: flex;
    align-items: center;
}

.shop-ordering .woocommerce-ordering {
    margin: 0;
}

.shop-ordering select {
    min-width: 190px;
    padding: 10px 34px 10px 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size:var(--fs-sm);
    transition: border-color .2s ease;
}
.shop-ordering select:hover{ border-color: var(--color-dark); }


/* -------------------------------------------------
   MAIN LAYOUT
------------------------------------------------- */

.shop-main-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 48px;
    align-items: start;
}


/* -------------------------------------------------
   SIDEBAR
------------------------------------------------- */

.shop-sidebar {
	position: sticky;
	top: 96px;
	height: calc(100vh - 96px - 24px);
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;

	/* Firefox - wąski pasek natywnie, bez pseudo-elementów */
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}

/* Chrome / Safari / Edge (WebKit) - pasek budowany ręcznie */
.shop-sidebar::-webkit-scrollbar {
	width: 3px;
}
.shop-sidebar::-webkit-scrollbar-track {
	background: transparent;
}
.shop-sidebar::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.18);
	border-radius: 999px;
}
.shop-sidebar::-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, 0.32);
}
.shop-filter {
    border-top: 1px solid var(--color-dark);
}

.shop-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-family:var(--font-body);
    font-size: var(--fs-sm);
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-line);
}

.shop-sidebar-close{
    display: none;
    border: 0;
    background: transparent;
    color: var(--color-dark);
    padding: 4px;
}
.shop-sidebar-close svg{ width: 18px; height: 18px; }

.shop-filter-group {
    border-bottom: 1px solid var(--color-line);
}

.shop-filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 0;
    border: 0;
    background: transparent;
    color: var(--color-dark);
    font-size:var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: .08em;
    text-align: left;
    transition: opacity .15s ease-out;
}
.shop-filter-toggle:active{ opacity: .6; }

.shop-filter-toggle-icon{
    position: relative;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}
.shop-filter-toggle-icon::before,
.shop-filter-toggle-icon::after{
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    background: var(--color-dark);
    transform: translate(-50%, -50%);
}
.shop-filter-toggle-icon::before{ width: 10px; height: 1px; }
.shop-filter-toggle-icon::after{ width: 1px; height: 10px; transition: transform .2s ease; }
.shop-filter-toggle[aria-expanded="true"] .shop-filter-toggle-icon::after{ transform: translate(-50%, -50%) scaleY(0); }

.shop-filter-content {
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 0 18px;
}
.shop-filter-content.is-collapsed{ padding-bottom: 0; }

.shop-filter-note {
    color: var(--color-text-muted);
    font-size:var(--fs-sm);
    line-height: 1.6;
}


/* -------------------------------------------------
   CATEGORY FILTER
------------------------------------------------- */

.shop-category-list li {
    margin-bottom: 8px;
}

.shop-category-list a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--color-text-muted);
    font-size:var(--fs-base);
    transition: color .2s ease;
    font-weight: 400;
}

.shop-category-list a:hover,
.shop-category-list a.is-active {
    color: var(--color-dark);
}

.shop-category-count {
    font-size:var(--fs-base);
    color: var(--color-text-muted);
}
.shop-category-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.shop-category-list > li {
	margin-bottom: 4px;
}

.shop-subcategory-list {
	list-style: none;
	margin: 4px 0 12px 20px;
	padding-left: 12px;
	border-left: 1px solid var(--color-line);
}

.shop-subcategory-list li {
	margin-bottom: 2px;
}

.shop-subcategory-list .shop-attribute-name {
	font-size: var(--fs-sm);
	color: var(--color-text-muted);
}


/* -------------------------------------------------
   MOBILE FILTER SHEET
------------------------------------------------- */

.shop-sidebar-scrim{
    position: fixed;
    inset: 0;
    background: rgba(23,20,15,.4);
    opacity: 0;
    z-index: 39;
    transition: opacity .25s ease;
}
.shop-sidebar-scrim.is-visible{ opacity: 1; }


/* -------------------------------------------------
   PRODUCT GRID
------------------------------------------------- */

.luxora-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 24px;
}


/* -------------------------------------------------
   WOOCOMMERCE PRODUCT CARD
------------------------------------------------- */

.luxora-product-grid .product {
    position: relative;
    margin: 0 !important;
    text-align: left;
    transition: transform .25s cubic-bezier(.22,.61,.36,1);
    display: block;
}

.luxora-product-grid .product:hover{
    transform: translateY(-4px);
}

.luxora-product-grid .product a {
    color: inherit;
}

.luxora-product-grid .product a img{
    transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.luxora-product-grid .product:hover a img{
    transform: scale(1.05);
}

.luxora-product-grid .product img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 0 16px !important;
    background: var(--color-white-grey);
    border-radius: var(--radius);
}


.luxora-product-grid .woocommerce-loop-product__title {
    padding: 0 !important;
    margin: 12px 0 6px !important;
    color: var(--color-dark);
    font-family: var(--font-body);
    font-size:var(--fs-title) !important;
    font-weight: 400;
    line-height: 1.3;
 
}

.luxora-product-grid .price {
    display: block;
    margin: 0 !important;
    color: var(--color-text-muted) !important;
    font-family: var(--font-body);
    font-size:var(--fs-sm) !important;
    font-weight: 400;
}

.luxora-product-grid .price del {
    color: var(--color-text-muted);
    opacity: .7;
    margin-right: 6px;
}

.luxora-product-grid .price ins {
    text-decoration: none;
}


/* -------------------------------------------------
   SALE BADGE
------------------------------------------------- */

.luxora-product-grid .onsale {
    min-width: auto;
    min-height: auto;
    margin: 12px !important;
    padding: 7px 10px !important;
    border-radius: var(--radius);
    background: var(--color-dark) !important;
    color: var(--color-white) !important;
    font-family: var(--font-body);
    font-size:var(--fs-sm) !important;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.2;
}


/* -------------------------------------------------
   ADD TO CART
------------------------------------------------- */

.luxora-product-grid .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: var(--btn-spacing-top) !important;
    padding: var(--btn-padding-sm) !important;
    border: 1px solid var(--color-dark) !important;
    border-radius: var(--radius) !important;
    background: transparent !important;
    color: var(--color-dark) !important;
    font-family: var(--font-body);
    font-size: var(--btn-font-size) !important;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, transform .1s ease-out;
}

.luxora-product-grid .button:hover {
    background: var(--color-dark) !important;
    color: var(--color-white) !important;
}
.luxora-product-grid .button:active{ transform: scale(.96); }

/* -------------------------------------------------
   HIDDEN VIEW CART
------------------------------------------------- */


.added_to_cart.wc-forward {
    display: none !important;
}

/* -------------------------------------------------
   PAGINATION
------------------------------------------------- */

.woocommerce-pagination {
    margin-top: 60px;
}

.woocommerce-pagination ul {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 0 !important;
}

.woocommerce-pagination ul li {
    border: 0 !important;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-line) !important;
    background: var(--color-white);
    color: var(--color-text);
    font-size:var(--fs-sm);
    transition: background .2s ease, color .2s ease, transform .1s ease-out;
}
.woocommerce-pagination a:active{ transform: scale(.92); }

.woocommerce-pagination span.current,
.woocommerce-pagination a:hover {
    background: var(--color-dark) !important;
    color: var(--color-white) !important;
    border-color: var(--color-dark) !important;
}


/* -------------------------------------------------
   NO PRODUCTS
------------------------------------------------- */

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    border-top-color: var(--color-dark) !important;
    background: var(--color-white-grey) !important;
    color: var(--color-text) !important;
}


/* -------------------------------------------------
   RESPONSIVE
------------------------------------------------- */

@media (max-width: 1000px) {

    .shop-main-layout {
        grid-template-columns: 190px 1fr;
        gap: 30px;
    }

    .luxora-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .shop-header {
        padding: 55px 0;
    }

    .shop-title {
        font-size: 38px;
    }

    .shop-filter-mobile-toggle{
        display: inline-flex;
    }

    .shop-main-layout {
        display: block;
    }

    .shop-sidebar {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 82vh;
        overflow-y: auto;
        background: var(--color-white);
        border-radius: 16px 16px 0 0;
        padding: 8px 24px 32px;
        box-shadow: 0 -20px 50px rgba(23,20,15,.18);
        z-index: 40;
        transform: translateY(100%);
        transition: transform .32s cubic-bezier(.22,.61,.36,1);
    }
    .shop-sidebar.is-open{
        transform: translateY(0);
    }

    .shop-sidebar-close{ display: inline-flex; }

    .shop-toolbar {
        align-items: flex-start;
        gap: 20px;
        flex-wrap: wrap;
        font-size: var(--fs-sm);
    }

    .shop-ordering select {
        min-width: 150px;
    }

}


@media (max-width: 500px) {

    .luxora-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 6px;
        margin: 0 -16px;
    }

    .luxora-product-grid .woocommerce-loop-product__title {
        font-size:var(--fs-base) !important;
        margin: 6px 0 4px !important;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        font-size: var(--fs-sm);

    }

}


/* =================================================
   PRODUCT CARD IMAGE HOVER
================================================= */

.product-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}


/* Kontener obu zdjęć */

.product-media-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


/* Oba zdjęcia leżą dokładnie na sobie */

.product-media-img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}


/* Pierwsze zdjęcie widoczne */

.product-media-img.is-primary {
    opacity: 1;
    z-index: 1;
}


/* Drugie zdjęcie początkowo niewidoczne */

.product-media-img.is-secondary {
    opacity: 0;
    z-index: 2;
}


/* Hover karty/zdjęcia */

.product-media:hover .product-media-img.is-primary {
    opacity: 0;
}


.product-media:hover .product-media-img.is-secondary {
    opacity: 1;
}

.luxora-product-new{
    display: flex;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: #0c9c00;
}


/* ============================================================
   LUXORA – Filtry: kategorie, atrybuty, aktywne filtry (pigułki)
   Wskazówka: przenieś ten blok do głównego pliku CSS motywu
   i dopasuj kolory/fonty do reszty strony.
   ============================================================ */

/* Kategoria aktywna + przycisk "x" przy niej */
.shop-category-list li {

	align-items: center;
	gap: 6px;
}

.shop-category-list li a {
	flex: 1;
}

.shop-category-list li a.is-active {
	font-weight: 400;
}

.shop-category-list li.is-removing {
	animation: luxoraPillOut 0.2s ease forwards;
}

.shop-category-remove,
.shop-filter-pill-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.06);
	color: currentColor;
	flex-shrink: 0;
	cursor: pointer;
	transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

.shop-category-remove svg,
.shop-filter-pill-remove svg {
	width: 11px;
	height: 11px;
}

.shop-category-remove:hover,
.shop-filter-pill-remove:hover {
	background: rgba(0, 0, 0, 0.12);
	transform: rotate(90deg);
}

.shop-category-remove:active,
.shop-filter-pill-remove:active {
	transform: rotate(90deg) scale(0.85);
}

/* Atrybuty (moc, barwa światła, kolor) */
.shop-attribute-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.shop-attribute-option {
	display: flex;
	align-items: center;
    font-size:var(--fs-sm);
    font-weight: 400;
	gap: 10px;
	padding: 4px 0;
	text-decoration: none;
	color: inherit;
}

.shop-attribute-checkbox {
	width: 16px;
	height: 16px;
	border: 1.5px solid rgba(0, 0, 0, 0.3);
	border-radius: 4px;
	position: relative;
	flex-shrink: 0;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.shop-attribute-option.is-active .shop-attribute-checkbox {
	background: currentColor;
	border-color: currentColor;
}

.shop-attribute-option.is-active .shop-attribute-checkbox::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}

.shop-attribute-name {
	flex: 1;
    color: var(--color-text-muted);
    font-size:var(--fs-sm);
}

/* Filtry zakresu: cena, barwa światła (od–do) */
.shop-range-filter {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.shop-range-inputs {
	display: flex;
	align-items: flex-end;
	gap: 8px;
}

.shop-range-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 0;
}

.shop-range-field span {
	font-size:var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.55;
}

.shop-range-field input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	font-size:var(--fs-sm);
	background: #fff;
	color: inherit;
	transition: border-color 0.2s ease;
	/* usuwa strzałki spinnera w input[type=number] dla spójnego wyglądu */
	appearance: textfield;
	-moz-appearance: textfield;
}

.shop-range-field input::-webkit-outer-spin-button,
.shop-range-field input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.shop-range-field input:focus {
	outline: none;
	border-color: currentColor;
}

.shop-range-sep {
	padding-bottom: 9px;
	opacity: 0.4;
}

.shop-range-apply {
	align-self: flex-start;
	border: 1px solid currentColor;
	background: transparent;
	padding: 7px 16px;
	border-radius: 999px;
	font-size:var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	cursor: pointer;
	color: inherit;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.shop-range-apply:hover {

	color: #fff;
    background: var(--color-dark-soft) !important; 
}

/* Pasek aktywnych filtrów */
.shop-active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 14px 0;
	margin-bottom: 8px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	animation: luxoraFadeIn 0.3s ease;
}

.shop-active-filters-label {
	font-size:var(--fs-base);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.6;
	margin-right: 4px;
}

.shop-filter-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px 6px 14px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.04);
	font-size:var(--fs-base);
	animation: luxoraPillIn 0.25s ease;
}

.shop-filter-pill.is-removing {
	animation: luxoraPillOut 0.22s ease forwards;
}

/* Przycisk "Wyczyść filtry" — podmień wygląd na klasę Twoich innych
   przycisków (np. dodaj obok "shop-clear-filters" swoją klasę .button) */
.shop-clear-filters {
	margin-left: auto;
	border: 1px solid currentColor;
	background: transparent;
	padding: 6px 8px;
	border-radius: 999px;
	font-size:var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.shop-clear-filters:hover {
	background: currentColor;
	color: #fff;
}

@keyframes luxoraFadeIn {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes luxoraPillIn {
	from { opacity: 0; transform: scale(0.8); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes luxoraPillOut {
	to { opacity: 0; transform: scale(0.6); }
}

/* ============================================================
   "Sortuj według" – customowa, rozsuwana lista zamiast domyślnego
   <select> (usuwa natywny wygląd macOS/Windows).
   JS budujący ten komponent jest w assets/js/shop.js.
   ============================================================ */

.shop-ordering {
	position: relative;
}

.shop-select {
	position: relative;
	display: inline-block;
}

.shop-select-trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 999px;
	background: #fff;
	font-size:var(--fs-base);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	color: inherit;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.shop-select-trigger:hover {
	border-color: rgba(0, 0, 0, 0.35);
}

.shop-select.is-open .shop-select-trigger {
	border-color: currentColor;
}

.shop-select-trigger-icon {
	width: 10px;
	height: 10px;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.shop-select.is-open .shop-select-trigger-icon {
	transform: rotate(180deg);
}

.shop-select-list {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	padding: 6px;
	list-style: none;
	margin: 0;
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
	z-index: 40;
}

.shop-select.is-open .shop-select-list {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.shop-select-option {
	display: block;
	width: 100%;
	text-align: left;
	padding: 9px 12px;
	border: none;
	background: none;
	font-size:var(--fs-base);
	border-radius: 8px;
	cursor: pointer;
	color: inherit;
}

.shop-select-option:hover,
.shop-select-option.is-active {
	background: rgba(0, 0, 0, 0.06);
}

/* Ukrywa oryginalny <select> WooCommerce po tym, jak JS zbuduje
   customowy komponent (bez JS select zostaje normalnie widoczny –
   działający fallback). */
.shop-select select.is-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* =====================================================
   CUSTOM SORT SELECT
   ===================================================== */

.shop-ordering {
    position: relative;
    z-index: 30;
}

.shop-ordering .woocommerce-ordering {
    margin: 0;
    padding: 0;
}


/* Ukrywamy natywny select */
.shop-ordering .orderby {
    display: none;
}


/* Główny wrapper */
.shop-ordering .custom-select {
    position: relative;
    display: inline-block;
    min-width: 190px;
}


/* =====================================================
   PRZYCISK
   ===================================================== */

.shop-ordering .custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    width: 100%;

    padding: 8px 0;

    border: 0;
    background: transparent;

    color: #111;

    font-family: var(--font-body);
    font-size:var(--fs-title);
    font-weight: 400;
    line-height: 1.4;

    cursor: pointer;

    transition: opacity 0.2s ease;
}

.shop-ordering .custom-select-trigger:hover {
    opacity: 0.65;
}


/* =====================================================
   STRZAŁKA
   ===================================================== */

.shop-ordering .custom-select-caret {
    width: 7px;
    height: 7px;

    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;

    transform: rotate(45deg) translateY(-2px);

    transition: transform 0.25s ease;
}


/* Obrót po otwarciu */
.shop-ordering .custom-select.is-open .custom-select-caret {
    transform: rotate(225deg) translateY(-2px);
}


/* =====================================================
   ROZWIJANA LISTA
   ===================================================== */

.shop-ordering .custom-select-list {
    position: absolute;

    top: calc(100% + 8px);
    right: 0;

    width: 230px;

    margin: 0;
    padding: 6px 0;

    list-style: none;

    background: #fff;

    border: 1px solid rgba(17, 17, 17, 0.10);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);

    z-index: 9999;
}


/* =====================================================
   OPCJE
   ===================================================== */

.shop-ordering .custom-select-option {
    padding: 10px 14px;

    font-family: var(--font-body);
    font-size:var(--fs-sm);
    font-weight: 400;
    line-height: 1.4;

    color: #111;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.shop-ordering .custom-select-option:hover {
    background: #f5f5f5;
}


/* Aktualnie wybrana opcja */
.shop-ordering .custom-select-option.is-selected {
    font-weight: 500;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    .shop-ordering .custom-select {
        min-width: 170px;
    }

    .shop-ordering .custom-select-list {
        width: 210px;
    }

}

/* =========================================================
   LUXORA — PRZYCISK "DODAJ DO KOSZYKA" (pod ceną)
   Kwadrat bez ramki, wyśrodkowany, plus z dwóch linii.
   Jedyny stan interaktywny to :hover - kliknięcie (:active),
   fokus (:focus) i odwiedzony (:visited) są celowo wymuszone
   na dokładnie ten sam wygląd co stan spoczynkowy, więc
   NIC się wizualnie nie zmienia po naciśnięciu.
========================================================= */


:root {
    --luxora-veil-deep: oklch(0.11 0.012 60);
    --luxora-ink: oklch(0.97 0.012 80);
}


/* selektor + !important: w motywie .button/.add_to_cart_button
   ma zwykle własne, bardziej specyficzne style (ramka, tło,
   padding, zachowanie na :active/:focus) - nadpisujemy je
   wprost, żeby żaden inny stan nie "podbijał" wyglądu */

li.product .add_to_cart_button,
li.product a.add_to_cart_button,
li.product button.add_to_cart_button {
    position: relative;

    display: block !important;
    box-sizing: border-box;

    width: 34px;
    height: 34px;
    padding: 0 !important;
    margin: 0px auto 0 !important;

    /* na wypadek gdyby .product-media / li.product było flexem lub
       gridem (wtedy margin:auto samo w sobie może nie wystarczyć) */
    align-self: center !important;
    justify-self: center !important;

    background: transparent !important;
    border: none !important;
    outline: none !important;
    border-radius: 2px;
    box-shadow: none !important;

    -webkit-appearance: none;
    appearance: none;

    cursor: pointer;
    transition: background .25s ease;

    /* chowamy oryginalny tekst przycisku ("Dodaj do koszyka")
       wizualnie - zostaje dostępny dla czytników ekranu */
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    white-space: nowrap;
    text-indent: -9999px;
    overflow: hidden;
}

/* belka pozioma */
li.product .add_to_cart_button::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;

    width: 10px;
    height: 1px;

    background: var(--luxora-veil-deep) !important;
    transition: background .25s ease;
}

/* belka pionowa - razem z powyższą tworzą znak "+" */
li.product .add_to_cart_button::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;

    width: 1px;
    height: 10px;

    background: var(--luxora-veil-deep) !important;
    transition: background .25s ease;
}

/* jedyny stan reagujący na interakcję: najechanie myszką */
li.product .add_to_cart_button:hover {
    background: var(--luxora-veil-deep) !important;
}

li.product .add_to_cart_button:hover::before,
li.product .add_to_cart_button:hover::after {
    background: var(--luxora-ink) !important;
}

/* kliknięcie / fokus / odwiedzony link - wymuszone z powrotem
   na stan spoczynkowy, żeby nic się nie zmieniało po naciśnięciu */
li.product .add_to_cart_button:active,
li.product .add_to_cart_button:focus,
li.product .add_to_cart_button:focus-visible,
li.product .add_to_cart_button:visited {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

li.product .add_to_cart_button:active::before,
li.product .add_to_cart_button:active::after,
li.product .add_to_cart_button:focus::before,
li.product .add_to_cart_button:focus::after,
li.product .add_to_cart_button:visited::before,
li.product .add_to_cart_button:visited::after {
    background: var(--luxora-veil-deep) !important;
}

/* ...ale jeśli mysz nadal jest nad przyciskiem (kliknięcie =
   hover + active jednocześnie), hover ma pierwszeństwo */
li.product .add_to_cart_button:hover:active,
li.product .add_to_cart_button:hover:focus {
    background: var(--luxora-veil-deep) !important;
}

li.product .add_to_cart_button:hover:active::before,
li.product .add_to_cart_button:hover:active::after,
li.product .add_to_cart_button:hover:focus::before,
li.product .add_to_cart_button:hover:focus::after {
    background: var(--luxora-ink) !important;
}

/* =========================================================
   SHOP TOOLBAR — WERSJA MOBILNA

   Rząd 1 (zawsze, jeden rząd, max 42px):
   "Filtruj" (ikona suwaków + tekst) po lewej,
   "Sortuj według" (istniejąca ikona/select) po prawej.
   Bez licznika liczby produktów - usunięty na mobile.

   Rząd 2 (tylko z aktywnymi filtrami): pigułki filtrów +
   "Wyczyść" jako zwykły, podkreślony tekst (nie duży przycisk).
   Jeśli pigułki + "Wyczyść" nie mieszczą się w jednym rzędzie,
   rząd przewija się w bok (overflow-x).

   Dopasuj breakpoint (900px) do tego, przy jakiej szerokości
   .shop-filter-mobile-toggle jest u Ciebie pokazywany
   (display:flex) w reszcie arkusza.
========================================================= */

/* -----------------------------------------------
   DESKTOP — przycisk "Filtruj" ukryty, bo na desktopie
   filtrowanie odbywa się przez osobny, stały pasek/sidebar
   (.shop-sidebar), a nie przez ten toggle.
   !important na wypadek, gdyby gdzieś indziej w arkuszu istniała
   inna reguła pokazująca ten przycisk przy tej szerokości.
----------------------------------------------- */

@media (min-width: 901px) {

    .shop-filter-mobile-toggle {
        display: none !important;
    }
}


@media (max-width: 900px) {

    /* -----------------------------------------------
       CAŁY BLOK — cienka linia pod spodem
    ----------------------------------------------- */

    .shop-toolbar {
        color: var(--color-text-muted);
    }


    /* -----------------------------------------------
       RZĄD 1: "Filtruj" (lewo)  |  "Sortuj według" (prawo)
       !important na display/flex-wrap - to jest dokładnie ta
       para właściwości, która musi wygrać z jakąkolwiek inną
       regułą ustawiającą .shop-toolbar na block/column na mobile
       (stąd "Filtruj" i "Sortuj według" lądowały jedno pod
       drugim zamiast obok siebie).
    ----------------------------------------------- */

    .shop-toolbar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;

        height: 42px;
        padding: 0;

        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* "Filtruj" - ikona suwaków (cienkie linie) + tekst, bez
       ramki/tła przycisku. Sam <span> z tekstem "Filtruj i
       sortuj" trzeba skrócić w PHP do samego "Filtruj" - patrz
       uwaga pod plikiem. */
    .shop-filter-mobile-toggle {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 8px;

        padding: 0;
        border: 0;
        background: none;

        font-family: var(--font-body);
        font-size: var(--fs-title);
        font-weight: 400;
        color: var(--color-dark);
        line-height: 1.4;
        letter-spacing: normal;
    }

    .shop-filter-mobile-toggle svg {
        width: 17px;
        height: 17px;
        stroke-width: 1;
    }

    /* licznik produktów - usunięty na mobile */
    .shop-results-count {
        display: none !important;
    }

    /* "Sortuj według" - zostaje jako select, z tą samą ikoną,
       jaką już ma; tylko kompaktowy rozmiar i wyrównanie do
       prawej (naturalne, bo jest teraz jedynym drugim elementem
       obok .shop-filter-mobile-toggle w justify-content:space-between) */
    .shop-ordering {
        flex: 0 0 auto;
    }

    .shop-ordering select {
        min-width: 0;
        width: auto;

        height: auto;
        padding: 0 26px 0 0;

        font-size: 14px;
        font-weight: 500;
        color: var(--color-dark);

        border: 0;
        background-color: transparent;
    }


    /* -----------------------------------------------
       RZĄD 2: AKTYWNE FILTRY - pigułki + "Wyczyść"
       Przewijane w bok, jeśli nie mieszczą się w jednym rzędzie.
    ----------------------------------------------- */

    .shop-active-filters {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;

        height: 42px;
        margin: 0;
        padding: 0;

        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .shop-active-filters::-webkit-scrollbar {
        display: none;
    }

    .shop-active-filters-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .shop-filter-pill {
        flex: 0 0 auto;

        display: inline-flex;
        align-items: center;
        gap: 8px;

        padding: 5px 10px;

        font-size: 12px;
        font-weight: 400;
        line-height: 1.2;
        white-space: nowrap;
        color: var(--color-dark);

        background: var(--color-white);
        border: 1px solid var(--color-line);
        border-radius: 4px;
    }

    .shop-filter-pill-remove {
        display: inline-flex;
        color: var(--color-text-muted);
    }

    .shop-filter-pill-remove svg {
        width: 10px;
        height: 10px;
    }

    /*
     * "Wyczyść" zamiast dużego przycisku "Wyczyść filtry" -
     * zwykły, podkreślony tekst. Skracamy WIZUALNIE (::after)
     * zamiast edytować PHP - oryginalny tekst zostaje w DOM
     * (dłuższy, bardziej opisowy dla czytników ekranu), tylko
     * jest ukryty; ::after pokazuje krótkie "Wyczyść".
     * Jeśli wolisz to zrobić w PHP zamiast CSS-owym trikiem,
     * patrz uwaga pod plikiem.
     */
    .shop-clear-filters {
        flex: 0 0 auto;

        position: relative;

        padding: 0;
        border: 0;
        background: none;

        font-size: 0;
        line-height: 1;
        color: transparent;
        white-space: nowrap;
        text-decoration: none;
    }

    .shop-clear-filters::after {
        content: "Wyczyść";

        font-size: 13px;
        font-weight: 400;
        line-height: 1.2;
        text-decoration: underline;
        color: var(--color-text-muted);
    }
}

/* =========================================================
   LUXORA — ZDJĘCIA PRODUKTU W KARCIE (archiwum/sklep)

   DESKTOP (min-width: 768px): bez zmian względem tego, co już
   działało - hover pokazuje TYLKO drugie zdjęcie (.is-secondary),
   reszta galerii (.is-extra) w ogóle się nie pokazuje.

   MOBILE (max-width: 767px): .product-media-track zamienia się
   w natywnie przewijany, "zamknięty" (bez zapętlania - zwyczajny
   overflow ma naturalną granicę na pierwszym/ostatnim zdjęciu)
   pasek ze scroll-snap - wszystkie zdjęcia produktu, przewijane
   swipe'em. Kropki (.product-media-dots) pokazują pozycję,
   synchronizowane w JS (product-card-mobile-swipe.js).
========================================================= */


:root {
    --luxora-sand: oklch(0.82 0.045 70);
    --luxora-ink: oklch(0.97 0.012 80);
    --luxora-veil-deep: oklch(0.11 0.012 60);
    --luxora-ease: cubic-bezier(.16, 1, .3, 1);
}


.product-media {
    position: relative;
}

@media (max-width: 767px) {

    .product-media {
        width: 100%;
        overflow: hidden;
        background: #f5f5f5;
    }

    .product-media-track {
        display: flex;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .product-media-track::-webkit-scrollbar {
        display: none;
    }

    .product-media-img {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        object-fit: contain;
        background: #f5f5f5;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        display: block;
    }

}


/* ---------------------------------------------------------
   DESKTOP — hover na drugie zdjęcie (bez zmian)
--------------------------------------------------------- */

@media (min-width: 768px) {

    .product-media-track {
        position: relative;
    }

    .product-media-img {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;
        object-fit: cover;

        opacity: 0;
        transition: opacity .45s ease;
    }

    .product-media-img.is-primary {
        position: relative;
        opacity: 1;
    }

    .product-media-img.is-secondary {
        opacity: 0;
    }

    .product-media:hover .product-media-img.is-secondary {
        opacity: 1;
    }

    /* reszta galerii (3. zdjęcie i dalej) - niepotrzebna na
       desktopie, w ogóle się nie pokazuje */
    .product-media-img.is-extra {
        display: none;
    }

    .product-media-dots {
        display: none;
    }
}


/* ---------------------------------------------------------
   MOBILE — karuzela swipe (wszystkie zdjęcia)
--------------------------------------------------------- */

@media (max-width: 767px) {

    .product-media-track {
        display: flex;
        width: 100%;

        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;

        scrollbar-width: none;
    }

    .product-media-track::-webkit-scrollbar {
        display: none;
    }

    /* każde zdjęcie (primary/secondary/extra - bez wyjątków na
       mobile) to pełnoszerokościowy slajd karuzeli.
       !important: neutralizuje ewentualną wcześniejszą regułę
       (bez media query) ustawiającą position:absolute na tych
       obrazkach dla efektu hover na desktopie - inaczej oba
       zdjęcia nakładałyby się na siebie zamiast stać obok siebie
       w przewijanym rzędzie. */
    .product-media-img {
        position: static !important;
        inset: auto !important;

        flex: 0 0 100% !important;
        width: 100% !important;
        aspect-ratio: 4 / 5;

        object-fit: cover;

        scroll-snap-align: start;
        scroll-snap-stop: always;

        opacity: 1 !important;

        -webkit-user-drag: none;
        user-select: none;
    }

    /* kropki pozycji, na dole zdjęcia */
    .product-media-dots {
        position: absolute;
        left: 50%;
        bottom: 10px;
        z-index: 3;
        transform: translateX(-50%);

        display: flex;
        align-items: center;
        gap: 5px;

        padding: 5px 8px;
        border-radius: 999px;

        background: color-mix(in oklab, var(--luxora-veil-deep) 45%, transparent);
    }

    .product-media-dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;

        background: color-mix(in oklab, var(--luxora-ink) 55%, transparent);

        transition: background .25s ease, transform .25s var(--luxora-ease);
    }

    .product-media-dot.is-active {
        background: var(--luxora-ink);
        transform: scale(1.3);
    }
    .luxora-product-grid .product:hover a img {
    transform: none !important;
}
}


/* ---------------------------------------------------------
   REDUCED MOTION
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .product-media-img,
    .product-media-dot {
        transition: none;
    }

    .product-media-track {
        scroll-behavior: auto;
    }
}

/* =========================================================
   PANEL FILTRÓW — układ i funkcjonalność wg zrzutu
   referencyjnego, nałożone na TWOJĄ istniejącą strukturę
   (linki z klasą .is-active, nie natywne checkboxy - stan
   "zaznaczone" pokazujemy przez tę samą klasę, którą już masz).
========================================================= */


/* ---------------------------------------------------------
   1. NAGŁÓWEK PANELU
--------------------------------------------------------- */

.shop-filter-heading {
    position: relative;
    justify-content: center;

    font-size: var(--fs-sm);
    font-weight: 400;
}

.shop-filter-heading .shop-sidebar-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}


/* ---------------------------------------------------------
   2. NAGŁÓWKI GRUP — strzałka w górę gdy rozwinięte
--------------------------------------------------------- */

.shop-filter-toggle {
    font-size: var(--fs-sm);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-dark);

    padding: 18px 0;
}

.shop-filter-toggle-icon {
    width: 12px;
    height: 12px;
    transition: transform .2s ease;
}

.shop-filter-toggle-icon::before,
.shop-filter-toggle-icon::after {
    background: var(--color-dark);
}

/* domyślnie (zwinięte) strzałka w dół - Twój JS ustawia
   aria-expanded="true" po rozwinięciu, wtedy obracamy o 180°,
   żeby "patrzyła" w górę, jak na zrzucie */
.shop-filter-toggle[aria-expanded="true"] .shop-filter-toggle-icon {
    transform: rotate(180deg);
}


/* ---------------------------------------------------------
   3. KATEGORIE — checkbox-row przez ::before (bez zmian w PHP,
   stan "zaznaczone" czytamy z już istniejącej klasy .is-active)
--------------------------------------------------------- */

.shop-category-list {
    padding: 4px 0 16px;
}

.shop-category-list li {
    margin-bottom: 0;
}

.shop-category-list a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 9px 0;
    font-weight: 400;
}

.shop-category-list a::before {
    content: "";
    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    border: 1px solid var(--color-line);
    border-radius: 3px;
    background: var(--color-white);

    transition: background .15s ease, border-color .15s ease;
}

/* haczyk w kwadraciku, gdy kategoria jest aktywnym filtrem */
.shop-category-list a.is-active::before {
    background: var(--color-dark);
    border-color: var(--color-dark);

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 8l3.5 3.5L13 5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
}

.shop-category-list a span:first-of-type {
    flex: 1;
    font-size: 14px;
    color: var(--color-dark);
}

.shop-category-count {
    font-size: 13px;
    color: var(--color-text-muted);
}


/* ---------------------------------------------------------
   4. ATRYBUTY (np. Moc) — ta sama checkbox-row, ale przez
   Twój już istniejący .shop-attribute-checkbox <span> zamiast
   ::before (jest w markupie, więc go wykorzystujemy wprost)
--------------------------------------------------------- */

.shop-attribute-list {
    padding: 4px 0 16px;
}

.shop-attribute-option {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 9px 0;
}

.shop-attribute-checkbox {
    display: block;
    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    border: 1px solid var(--color-line);
    border-radius: 3px;
    background: var(--color-white);

    transition: background .15s ease, border-color .15s ease;
}

.shop-attribute-option.is-active .shop-attribute-checkbox {
    background: var(--color-dark);
    border-color: var(--color-dark);

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 8l3.5 3.5L13 5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
}

.shop-attribute-name {
    flex: 1;
    color: var(--color-dark);
}


/* ---------------------------------------------------------
   5. SIATKA KOLORÓW — nowy wariant dla grupy "Kolor"
   (markup: patrz PHP niżej w odpowiedzi - .shop-kolor-swatch-grid)
--------------------------------------------------------- */

.shop-kolor-swatch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 8px;

    padding: 6px 0 18px;
    list-style: none;
    margin: 0;

    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--fs-sm);
}

@media (max-width: 767px) {
    .shop-kolor-swatch-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px 6px;
    }
}

.shop-kolor-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    text-align: center;
    text-decoration: none;
}

.shop-kolor-swatch-color {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 0;

    border: 1px solid var(--color-line);
    box-shadow: inset 0 0 0 2px var(--color-white);

    transition: outline-color .15s ease;
}

.shop-kolor-swatch.is-active .shop-kolor-swatch-color {
    outline: 2px solid var(--color-dark);
    outline-offset: 2px;
}

.shop-kolor-swatch-label {
    font-size: 12px;
    color: var(--color-dark);
}


/* ---------------------------------------------------------
   6. ZAKRESY (Barwa światła / Cena) — dopasowane odstępy,
   bez zmian funkcjonalnych
--------------------------------------------------------- */

.shop-range-filter {
    padding: 6px 0 20px;
}

.shop-range-inputs {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.shop-range-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;

    font-size: 12px;
    color: var(--color-text-muted);
}

.shop-range-field input {
    padding: 10px 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--color-dark);
}

.shop-range-sep {
    padding-bottom: 10px;
    color: var(--color-text-muted);
}

.shop-range-apply {
    width: 100%;
    margin-top: 14px;
    padding: 12px 0;

    border: 1px solid var(--color-dark);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-dark);

    font-size: 13px;
    font-weight: 500;

    transition: background .15s ease, color .15s ease;
}

.shop-range-apply:hover {
    background: var(--color-dark);
    color: var(--color-white);
}


/* ---------------------------------------------------------
   7. LINIE MIĘDZY GRUPAMI
--------------------------------------------------------- */

.shop-filter-group {
    border-bottom: 1px solid var(--color-line);
}

.shop-filter-group:last-child {
    border-bottom: 0;
}

/* =========================================================
   STOPKA PANELU FILTRÓW — Resetuj / Pokaż
========================================================= */

.filters__footer {
    position: sticky;
    bottom: 0;
    z-index: 4;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;

    padding: 16px;
    margin: 0 -16px -16px;

    background: var(--color-white);
    border-top: 1px solid var(--color-line);
}

.filters__btn {
    width: 100%;
    padding: 16px;

    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.1;
    text-align: center;

    border: 1px solid var(--color-dark);
    border-radius: var(--radius);

    cursor: pointer;
    transition: background .15s ease, color .15s ease, opacity .15s ease;
}

/* "Pokaż" - wypełniony, główna akcja */
.filters__btn.js-filters-submit {
    background: var(--color-dark);
    color: var(--color-white);
}

.filters__btn.js-filters-submit:hover {
    opacity: .85;
}

/* "Resetuj" - obrys, akcja drugorzędna */
.filters__btn.filters__reset {
    background: var(--color-white);
    color: var(--color-dark);
}

.filters__btn.filters__reset:hover {
    background: var(--color-white-grey, #f5f5f3);
}

.js-filters-reset-count {
    font-weight: 400;
}

