/*
Theme Name: Dog Wear Poland
Theme URI: https://dogwearpoland.com
Author: Dog Wear Poland
Description: Motyw sklepu Dog Wear Poland — ręcznie szyte ubranka i akcesoria dla psów. Motyw blokowy dla WordPressa i WooCommerce: bordo, pudrowy róż, Playfair Display.
Version: 1.3.8
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
WC requires at least: 9.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dogwear
Tags: e-commerce, block-patterns, full-site-editing, woocommerce
*/

/* ==========================================================================
   Podstawy
   ========================================================================== */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

.dw-visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.dw-main { padding-bottom: var(--wp--preset--spacing--60); }
.dw-page { padding-top: var(--wp--preset--spacing--50); }
.dw-page__title { margin-bottom: var(--wp--preset--spacing--40); }
.dw-rounded img { border-radius: 10px; }
.dw-meta { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--x-small); }

.dw-icon { color: var(--wp--preset--color--primary); flex: none; }

/* Mały, rozstrzelony nagłówek sekcji ("POPULARNE KATEGORIE") */
.dw-kicker {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.8125rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-bottom: var(--wp--preset--spacing--40) !important;
}
.dw-kicker--small { font-size: 0.72rem !important; }
.dw-kicker a { color: var(--wp--preset--color--primary); }

.dw-section { padding-top: var(--wp--preset--spacing--60); }
.dw-section__head { margin-bottom: var(--wp--preset--spacing--40); }
.dw-section__head .dw-kicker { margin: 0 !important; }
.dw-more { margin: 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* Drugi przycisk (obramowany) — styl "Konspekt" w edytorze */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--contrast);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

/* ==========================================================================
   Nagłówek
   ========================================================================== */

.dw-topbar {
	padding-top: 0.45rem;
	padding-bottom: 0.45rem;
}
.dw-topbar p {
	margin: 0;
	font-size: 0.68rem !important;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.dw-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.admin-bar .dw-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dw-header { top: 0; } }

.dw-header__inner {
	min-height: 76px;
	gap: 1.5rem;
}

.dw-brand { gap: 0.6rem; flex: none; }
.dw-brand .wp-block-site-logo img { max-height: 52px; width: auto; }
.dw-brand:has(.wp-block-site-logo img) .dw-site-title { display: none; }

.dw-site-title,
.dw-footer__brand {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.35rem;
	font-weight: 500;
	letter-spacing: 0.01em;
}
.dw-site-title a,
.dw-footer__brand a { color: var(--wp--preset--color--contrast); text-decoration: none; }

.dw-nav { flex: 1 1 auto; }
.dw-nav .wp-block-navigation__container { gap: clamp(1rem, 2.2vw, 2rem); }
.dw-nav .wp-block-navigation-item__content { color: var(--wp--preset--color--contrast); padding: 0.4rem 0; position: relative; }
.dw-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--wp--preset--color--primary);
	transform: scaleX(0);
	transition: transform .2s ease;
}
.dw-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--primary); }
.dw-nav .wp-block-navigation-item__content:hover::after,
.dw-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }

.dw-header__icons { gap: 0.9rem; flex: none; color: var(--wp--preset--color--contrast); }
.dw-header__icons svg { width: 22px; height: 22px; }
.dw-header__icons .wc-block-mini-cart__button,
.dw-header__icons .wc-block-customer-account a { color: var(--wp--preset--color--contrast); padding: 4px; }
.dw-header__icons .wc-block-mini-cart__badge {
	background: var(--wp--preset--color--primary) !important;
	color: #fff !important;
	border-color: var(--wp--preset--color--primary) !important;
	font-size: 0.6rem;
	font-weight: 700;
}
.dw-header__icons .wc-block-mini-cart__amount { display: none; }

.dw-search .wp-block-search__button {
	background: transparent !important;
	border: 0 !important;
	color: var(--wp--preset--color--contrast) !important;
	padding: 4px !important;
	margin: 0;
	min-width: 0;
}
.dw-search .wp-block-search__button svg { width: 22px; height: 22px; fill: currentColor; }
.dw-search .wp-block-search__input {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 3px;
	font-size: 0.8rem;
	padding: 0.5rem 0.75rem;
}
.dw-search.wp-block-search__button-behavior-expand .wp-block-search__inside-wrapper { border: 0; padding: 0; }

/* Menu mobilne */
.wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem;
	background: var(--wp--preset--color--base) !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.1rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.4rem;
}

@media (min-width: 600px) and (max-width: 1100px) {
	.dw-nav .wp-block-navigation__container { gap: 0.9rem; }
	.dw-nav .wp-block-navigation-item__content { font-size: 0.75rem; }
	.dw-header__inner { gap: 0.75rem; }
}

@media (max-width: 599px) {
	.dw-header__inner { min-height: 64px; gap: 0.5rem; }
	.dw-nav { order: -1; flex: 0 0 auto; }
	.dw-brand { flex: 1 1 auto; justify-content: center; }
	.dw-brand .wp-block-site-logo img { max-height: 40px; }
	.dw-site-title { font-size: 1.1rem; }
	.dw-header__icons { gap: 0.35rem; }
	.dw-header__icons .dw-search { display: none; }
}

/* ==========================================================================
   Strona główna — hero
   ========================================================================== */

.dw-hero {
	position: relative;
	overflow: hidden;
	padding-top: 0 !important;
	padding-bottom: var(--wp--preset--spacing--40) !important;
}
.dw-hero__cols { position: relative; margin: 0 !important; }
.dw-hero__text {
	position: relative;
	z-index: 2;
	padding-top: clamp(3rem, 9vw, 7.5rem);
	padding-bottom: clamp(2rem, 6vw, 5rem);
}
.dw-hero__title {
	font-size: clamp(2.3rem, 4.6vw, 3.6rem) !important;
	font-weight: 400 !important;
	line-height: 1.12 !important;
	margin-bottom: 1.25rem;
}
.dw-hero__title { max-width: 14ch; }
.dw-hero__lead { font-size: 1rem; color: var(--wp--preset--color--muted); margin-bottom: 2rem; }
.dw-hero__img { margin: 0; }
.dw-hero__img img { display: block; width: 100%; object-fit: cover; border-radius: 12px; }

@media (min-width: 782px) {
	.dw-hero { min-height: 600px; padding-bottom: 2rem !important; }
	.dw-hero__cols { position: static; min-height: 470px; }
	.dw-hero .dw-hero__media.wp-block-column {
		position: absolute !important;
		top: 0; bottom: 0; right: 0;
		width: 58% !important;
		max-width: 58% !important;
		margin: 0 !important;
		z-index: 0;
	}
	.dw-hero__img,
	.dw-hero__img img { height: 100%; }
	.dw-hero__img img {
		border-radius: 0;
		object-position: center 35%;
		-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 24%);
		mask-image: linear-gradient(to right, transparent 0%, #000 24%);
	}
	.dw-hero__text { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 2.5rem; }
	.dw-hero .dw-usp { margin-top: 0 !important; margin-bottom: 0 !important; max-width: 760px !important; margin-left: 0 !important; }
}
@media (min-width: 1320px) {
	.dw-hero .dw-usp { margin-left: calc((100% - 1240px) / 2) !important; }
}

/* Pasek zalet pod hero */
.dw-usp {
	position: relative;
	z-index: 3;
	gap: 0 !important;
	margin-top: 0 !important;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-radius: 10px;
	box-shadow: var(--wp--preset--shadow--card);
	padding: 1.1rem 0.5rem;
}
.dw-usp .dw-usp__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.15rem;
	padding: 0.25rem 0.5rem;
	font-size: 0.72rem;
	line-height: 1.35;
}
.dw-usp .dw-usp__item + .dw-usp__item { border-left: 1px solid var(--wp--preset--color--border); }
.dw-usp__item .dw-icon { margin-bottom: 0.35rem; width: 30px; height: 30px; }
.dw-usp__item strong { font-weight: 600; }
.dw-usp__item span { color: var(--wp--preset--color--muted); }

@media (max-width: 781px) {
	.dw-hero__cols { flex-direction: column-reverse; }
	.dw-hero__text { padding-top: 1.5rem; padding-bottom: 1.5rem; }
	.dw-hero__media { padding-top: 1rem; }
	.dw-hero__img img { aspect-ratio: 4 / 3; }
	.dw-usp { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 0.75rem !important; }
	.dw-usp .dw-usp__item:nth-child(3) { border-left: 0; }
}

/* ==========================================================================
   Kategorie (kółka)
   ========================================================================== */

.dw-cats__grid { gap: clamp(0.75rem, 2vw, 1.75rem) !important; }
.dw-cat { gap: 0.6rem !important; }
.dw-cat__img { margin: 0 !important; width: 100%; max-width: 138px; }
.dw-cat__img img,
.dw-cat__circle {
	display: flex;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50% !important;
	background: var(--wp--preset--color--cream);
	box-shadow: 0 0 0 4px #fff, 0 0 0 5px #ecd7d4;
	transition: transform .25s ease, box-shadow .25s ease;
}
.dw-cat__circle {
	max-width: 138px;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--blush);
	border: 1px solid #ecd7d4;
}
.dw-cat:hover img,
.dw-cat:hover .dw-cat__circle { transform: translateY(-3px); box-shadow: 0 0 0 4px #fff, 0 0 0 5px #d9b3b0, 0 12px 24px rgba(138, 21, 48, 0.14); }
.dw-cat__label { margin: 0; font-size: 0.78rem; line-height: 1.35; }
.dw-cat__label a { color: var(--wp--preset--color--contrast); }
.dw-cat__label strong { font-weight: 600; }
.dw-cat--promo .dw-cat__label a { color: var(--wp--preset--color--primary); }

@media (max-width: 781px) {
	.dw-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; row-gap: 1.5rem !important; }
}

/* ==========================================================================
   Karty produktów (bestsellery, kategoria, powiązane)
   ========================================================================== */

.dw-products { gap: clamp(0.75rem, 2vw, 1.5rem) !important; }
.dw-products > li.wc-block-product {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	padding: 0.6rem 0.6rem 1rem;
	text-align: left;
	transition: box-shadow .25s ease, transform .25s ease;
}
.dw-products > li.wc-block-product:hover { box-shadow: var(--wp--preset--shadow--card); transform: translateY(-2px); }
.dw-products .wc-block-components-product-image { margin-bottom: 0.85rem !important; border-radius: 7px; overflow: hidden; }
.dw-products .wc-block-components-product-image img { border-radius: 7px; transition: transform .4s ease; }
.dw-products > li:hover .wc-block-components-product-image img { transform: scale(1.03); }

.dw-card__title,
.dw-products .wp-block-post-title {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	margin: 0 0.3rem 0.3rem !important;
	text-align: left !important;
}
.dw-products .wp-block-post-title a { color: var(--wp--preset--color--contrast); }
.dw-products .wc-block-components-product-price,
.dw-products .wp-block-woocommerce-product-price {
	margin: 0 0.3rem 0.35rem !important;
	font-size: 0.9rem !important;
	font-weight: 600;
	text-align: left !important;
	justify-content: flex-start !important;
}
.dw-products .wc-block-components-product-rating,
.dw-products .wp-block-woocommerce-product-rating { margin: 0 0.3rem !important; text-align: left !important; }
.dw-products .wc-block-components-product-rating__container { justify-content: flex-start; }
.dw-products .wc-block-components-product-rating .wc-block-components-product-rating__stars,
.dw-products .wc-block-components-product-rating .star-rating { font-size: 0.72rem; }

/* Gwiazdki w kolorze marki */
.wc-block-components-product-rating__stars span::before,
.star-rating span::before,
.wc-block-components-review-list-item__rating__stars span::before { color: var(--wp--preset--color--primary); }
.star-rating::before,
.wc-block-components-product-rating__stars::before { color: #e2cfcc; }

/* Plakietki promocji / bestseller */
.wc-block-components-product-sale-badge,
.woocommerce span.onsale,
span.onsale {
	background: var(--wp--preset--color--primary) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 3px !important;
	font-size: 0.62rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.28rem 0.5rem !important;
	min-height: 0 !important;
	min-width: 0 !important;
	line-height: 1.2 !important;
	box-shadow: none;
}
.wc-block-components-product-image .wc-block-components-product-sale-badge { top: 8px; left: 8px; right: auto; }

@media (max-width: 781px) {
	.dw-products.is-flex-container { gap: 0.75rem !important; }
	.dw-products.is-flex-container > li { width: calc(50% - 0.375rem) !important; }
	.dw-products.wc-block-product-template__responsive { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ==========================================================================
   Dlaczego my
   ========================================================================== */

.dw-why {
	margin-top: var(--wp--preset--spacing--60) !important;
	padding-top: var(--wp--preset--spacing--60) !important;
	padding-bottom: var(--wp--preset--spacing--60) !important;
}
.dw-why__grid { gap: clamp(1rem, 3vw, 2.5rem) !important; }
.dw-why__item { text-align: center; padding: 0 0.5rem; }
.dw-why__item .dw-icon { margin-bottom: 0.6rem; }
.dw-why__item h3 {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.82rem;
	font-weight: 600;
	margin: 0 0 0.35rem;
}
.dw-why__item p { margin: 0 auto; max-width: 22ch; color: var(--wp--preset--color--muted); font-size: 0.76rem; line-height: 1.5; }

@media (max-width: 781px) {
	.dw-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 2rem !important; }
}

/* ==========================================================================
   Opinie klientów (blok "Wszystkie opinie" WooCommerce)
   ========================================================================== */

.dw-reviews .wc-block-review-list,
.dw-reviews .wc-block-components-review-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
.dw-reviews .wc-block-review-list-item__item,
.dw-reviews .wc-block-components-review-list-item__item {
	display: flex !important;
	flex-direction: column-reverse;
	align-items: center;
	gap: 0.6rem;
	margin: 0 !important;
	padding: 1.6rem 1.4rem;
	background: var(--wp--preset--color--cream);
	border-radius: 10px;
	text-align: center;
	font-size: 0.8rem;
}
.dw-reviews [class*="review-list-item__text"] { font-style: italic; color: var(--wp--preset--color--contrast); }
.dw-reviews [class*="review-list-item__text"] p::before { content: "„"; }
.dw-reviews [class*="review-list-item__text"] p::after { content: "”"; }
.dw-reviews [class*="review-list-item__info"] { display: flex; flex-direction: column-reverse; align-items: center; gap: 0.3rem; }
.dw-reviews [class*="review-list-item__image"] { display: none; }
.dw-reviews [class*="review-list-item__author"] { font-weight: 600; font-size: 0.78rem; }
.dw-reviews [class*="review-list-item__rating"] { margin: 0; }

@media (max-width: 781px) {
	.dw-reviews .wc-block-review-list,
	.dw-reviews .wc-block-components-review-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Instagram
   ========================================================================== */

.dw-insta__grid { gap: 0.5rem !important; }
.dw-insta__grid .wp-block-image { margin: 0; }
.dw-insta__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; transition: opacity .2s ease; }
.dw-insta__grid a:hover img { opacity: 0.85; }
@media (max-width: 781px) {
	.dw-insta__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* ==========================================================================
   Strona kategorii / sklep
   ========================================================================== */

.dw-shop-hero {
	padding-top: var(--wp--preset--spacing--50) !important;
	padding-bottom: var(--wp--preset--spacing--50) !important;
	margin-bottom: var(--wp--preset--spacing--50) !important;
	background-image: radial-gradient(circle at 85% 40%, rgba(233, 184, 192, 0.35), transparent 45%);
}
.dw-shop-hero__title {
	font-size: clamp(2rem, 4vw, 3rem) !important;
	font-weight: 400 !important;
	margin: 0.5rem 0 0.5rem !important;
}
.dw-shop-hero__desc { max-width: 52ch; color: var(--wp--preset--color--muted); }
.dw-shop-hero__desc p { margin: 0; }

.wc-block-breadcrumbs,
.woocommerce-breadcrumb {
	font-size: 0.72rem !important;
	color: var(--wp--preset--color--muted);
	margin-bottom: 0.75rem;
}
.wc-block-breadcrumbs a,
.woocommerce-breadcrumb a { color: var(--wp--preset--color--muted); }

.dw-shop__cols { gap: clamp(1.5rem, 4vw, 3rem) !important; }
.dw-filter-title,
.dw-filter-label {
	font-family: var(--wp--preset--font-family--body) !important;
	font-weight: 600 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.dw-filter-title { font-size: 0.78rem !important; margin-bottom: 1.25rem !important; }
.dw-filter-label {
	font-size: 0.68rem !important;
	margin: 1.5rem 0 0.6rem !important;
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--border);
}
.dw-shop__sidebar .dw-filter-title + .dw-filter-label { border-top: 0; padding-top: 0; margin-top: 0 !important; }
.dw-shop__sidebar h3:not(.dw-filter-title),
.dw-shop__sidebar h4:not(.dw-filter-label) { font-family: var(--wp--preset--font-family--body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

.dw-cat-list ul,
.dw-cat-list .wc-block-product-categories-list { list-style: none; margin: 0; padding: 0; font-size: 0.8rem; }
.dw-cat-list li { margin: 0 0 0.4rem; }
.dw-cat-list ul ul { padding-left: 0.9rem; margin-top: 0.4rem; }
.dw-cat-list a { color: var(--wp--preset--color--contrast); }
.dw-cat-list a:hover { color: var(--wp--preset--color--primary); }
.dw-cat-list .wc-block-product-categories-list-item-count { color: var(--wp--preset--color--muted); }

.dw-shop__bar { margin-bottom: 1.25rem; font-size: 0.78rem; color: var(--wp--preset--color--muted); }
.dw-shop__bar p,
.dw-shop__bar .woocommerce-result-count { margin: 0 !important; }
.woocommerce-ordering select,
.wc-block-catalog-sorting select,
.dw-shop__bar select {
	font-family: inherit;
	font-size: 0.78rem;
	padding: 0.55rem 2rem 0.55rem 0.8rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 3px;
	background-color: #fff;
	color: var(--wp--preset--color--contrast);
}

.wp-block-query-pagination { margin-top: var(--wp--preset--spacing--50) !important; gap: 0.35rem; font-size: 0.8rem; }
.wp-block-query-pagination-numbers .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px; height: 34px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 3px;
	color: var(--wp--preset--color--contrast);
	margin: 0 0.15rem;
}
.wp-block-query-pagination-numbers .page-numbers.current {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: #fff;
}

@media (max-width: 781px) {
	.dw-shop__cols { flex-direction: column-reverse; }
	.dw-shop__sidebar {
		border: 1px solid var(--wp--preset--color--border);
		border-radius: 8px;
		padding: 1rem 1.1rem;
	}
}

/* ==========================================================================
   Karta produktu
   ========================================================================== */

.dw-product { padding-top: var(--wp--preset--spacing--40); }
.dw-product__top { gap: clamp(1.5rem, 5vw, 4rem) !important; margin-bottom: var(--wp--preset--spacing--50) !important; }

.dw-product__gallery .woocommerce-product-gallery { margin: 0; }
.dw-product__gallery .woocommerce-product-gallery__image img,
.dw-product__gallery .flex-viewport { border-radius: 10px; }
.dw-product__gallery .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.6rem;
	margin: 0.8rem 0 0 !important;
	padding: 0 !important;
	list-style: none;
}
.dw-product__gallery .flex-control-thumbs li { width: auto !important; margin: 0 !important; float: none !important; }
.dw-product__gallery .flex-control-thumbs img {
	border-radius: 6px;
	border: 1px solid var(--wp--preset--color--border);
	opacity: 0.75;
	transition: opacity .2s ease, border-color .2s ease;
	aspect-ratio: 1;
	object-fit: cover;
}
.dw-product__gallery .flex-control-thumbs img.flex-active,
.dw-product__gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--wp--preset--color--primary); }
.dw-product__gallery .woocommerce-product-gallery__trigger { background: #fff; border-radius: 50%; }

.dw-product__title {
	font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
	font-weight: 400 !important;
	margin: 0 0 0.5rem !important;
}
.dw-product__summary .wc-block-components-product-rating { margin-bottom: 0.9rem; font-size: 0.75rem; }
.dw-product__summary .wc-block-components-product-rating__container { justify-content: flex-start; }
.dw-product__price,
.dw-product__summary .wc-block-components-product-price {
	font-size: 1.5rem !important;
	font-weight: 600 !important;
	margin-bottom: 1rem !important;
	text-align: left !important;
}
.dw-product__summary del { color: var(--wp--preset--color--muted); font-weight: 400; font-size: 0.8em; }
.dw-product__summary ins { text-decoration: none; color: var(--wp--preset--color--primary); }
.dw-product__excerpt { color: var(--wp--preset--color--muted); font-size: 0.85rem; margin-bottom: 1.5rem !important; }
.dw-product__excerpt .wp-block-post-excerpt__more-text { display: none; }

/* Formularz wariantów */
.dw-product__summary form.cart { margin: 0; }
.dw-product__summary table.variations,
.dw-product__summary table.variations tbody,
.dw-product__summary table.variations tr,
.dw-product__summary table.variations th,
.dw-product__summary table.variations td { display: block; border: 0; padding: 0; background: none; text-align: left; }
.dw-product__summary table.variations { margin-bottom: 1.25rem; }
.dw-product__summary table.variations tr { margin-bottom: 1.1rem; }
.dw-product__summary table.variations th.label,
.dw-product__summary table.variations .label label {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 0.55rem;
	line-height: 1.4;
}
.dw-product__summary table.variations select {
	min-width: 60%;
	font-family: inherit;
	font-size: 0.85rem;
	padding: 0.6rem 0.8rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 3px;
}
.dw-product__summary .reset_variations {
	display: inline-block;
	margin-top: 0.6rem;
	font-size: 0.72rem;
	color: var(--wp--preset--color--muted);
}

/* Przyciski rozmiarów i kółka kolorów */
.dw-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dw-pill {
	min-width: 46px;
	height: 38px;
	padding: 0 0.85rem;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
	background: #fff;
	border: 1px solid #ddd3d1;
	border-radius: 3px;
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.dw-pill:hover { border-color: var(--wp--preset--color--contrast); }
.dw-pill.is-active {
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--primary);
}
.dw-pill.is-disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.dw-pill:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }

.dw-pill--swatch {
	width: 30px;
	min-width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 50%;
	background: var(--dw-swatch);
	border: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: 0 0 0 3px #fff, 0 0 0 4px transparent;
}
.dw-pill--swatch:hover { border-color: rgba(0, 0, 0, 0.25); }
.dw-pill--swatch.is-active { box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--wp--preset--color--primary); }
.dw-pill--swatch.is-disabled { text-decoration: none; }

/* Ilość + dodaj do koszyka */
.dw-product__summary .single_variation_wrap .woocommerce-variation-price { margin-bottom: 0.75rem; font-weight: 600; }
.dw-product__summary .woocommerce-variation-add-to-cart,
.dw-product__summary form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
}
.dw-product__summary .quantity { display: flex; margin: 0 !important; }
.dw-product__summary .quantity input.qty {
	width: 72px;
	height: 50px;
	text-align: center;
	font-family: inherit;
	font-size: 0.9rem;
	border: 1px solid #ddd3d1;
	border-radius: 3px;
}
.dw-product__summary .single_add_to_cart_button {
	flex: 1 1 200px;
	min-height: 50px;
	margin: 0 !important;
	background: var(--wp--preset--color--primary) !important;
	color: #fff !important;
	border-radius: 3px !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase;
}
.dw-product__summary .single_add_to_cart_button:hover { background: var(--wp--preset--color--primary-dark) !important; }
.dw-product__summary .single_add_to_cart_button.disabled { opacity: 0.5; }
.dw-product__summary .stock { font-size: 0.78rem; color: var(--wp--preset--color--muted); }

/* Pasek zaufania */
.dw-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	padding: 1.1rem 1.25rem;
	background: var(--wp--preset--color--cream);
	border-radius: 10px;
	margin: 0 0 var(--wp--preset--spacing--50);
}
.dw-trust__item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.72rem; line-height: 1.35; }
.dw-trust__item strong { display: block; font-weight: 600; font-size: 0.75rem; }
.dw-trust__item span { color: var(--wp--preset--color--muted); }
.dw-trust__item strong { color: var(--wp--preset--color--contrast); }
@media (max-width: 781px) {
	.dw-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
}

/* Zakładki: opis, tabela rozmiarów… */
.dw-tabs,
.woocommerce-tabs { margin-bottom: var(--wp--preset--spacing--60); }
.woocommerce-tabs ul.tabs,
.wc-tabs {
	display: flex !important;
	flex-wrap: nowrap;
	gap: clamp(1rem, 3vw, 2.25rem);
	margin: 0 0 1.75rem !important;
	padding: 0 !important;
	border-bottom: 1px solid var(--wp--preset--color--border) !important;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}
.woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after { display: none !important; }
.woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	flex: none;
}
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 0.85rem 0 !important;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted) !important;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	white-space: nowrap;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
	color: var(--wp--preset--color--primary) !important;
	border-bottom-color: var(--wp--preset--color--primary);
}
.woocommerce-tabs .panel { font-size: 0.88rem; max-width: 900px; }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce-tabs table.shop_attributes,
.woocommerce-tabs .panel table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.82rem;
}
.woocommerce-tabs .panel table th,
.woocommerce-tabs .panel table td {
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--wp--preset--color--border);
	text-align: left;
}
.woocommerce-tabs .panel table th,
.woocommerce-tabs .panel table thead td { background: var(--wp--preset--color--cream); font-weight: 600; }

/* Opinie na karcie produktu */
#reviews .commentlist { list-style: none; padding: 0; }
#reviews .comment_container { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--wp--preset--color--border); }
#reviews .avatar { border-radius: 50%; width: 44px; height: 44px; }
#reviews .comment-form input[type="text"],
#reviews .comment-form input[type="email"],
#reviews .comment-form textarea {
	width: 100%;
	font-family: inherit;
	padding: 0.7rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 3px;
}
#reviews .comment-form .submit {
	background: var(--wp--preset--color--primary);
	color: #fff;
	border: 0;
	border-radius: 3px;
	padding: 0.9rem 2rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: 0.72rem;
	cursor: pointer;
}
.stars a { color: var(--wp--preset--color--primary); }

/* ==========================================================================
   Koszyk i zamówienie (bloki WooCommerce)
   ========================================================================== */

.dw-cart,
.dw-checkout { padding-top: var(--wp--preset--spacing--50); }
.dw-cart .dw-page__title,
.dw-checkout .dw-page__title { font-weight: 400 !important; font-size: clamp(1.8rem, 3vw, 2.4rem) !important; }

.wc-block-cart-items th,
.wc-block-cart-items__header {
	font-size: 0.66rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.wc-block-cart-items td { border-color: var(--wp--preset--color--border) !important; }
.wc-block-cart-item__image img { border-radius: 8px; }
.wc-block-components-product-name { font-weight: 600; color: var(--wp--preset--color--contrast) !important; font-size: 0.88rem; }
.wc-block-components-product-metadata { font-size: 0.75rem; color: var(--wp--preset--color--muted); }
.wc-block-components-quantity-selector {
	border-radius: 3px !important;
	border-color: #ddd3d1 !important;
}
.wc-block-components-quantity-selector::after { border-color: #ddd3d1 !important; border-radius: 3px !important; }

.wp-block-woocommerce-cart-totals-block,
.wc-block-cart__sidebar .wc-block-components-sidebar,
.wc-block-checkout__sidebar {
	background: var(--wp--preset--color--cream);
	border-radius: 10px;
	padding: 1.5rem !important;
}
.wc-block-cart .wc-block-cart__totals-title,
.wc-block-components-checkout-order-summary__title-text,
.wc-block-components-checkout-order-summary__title {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-weight: 700; font-size: 1rem; }

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--wp--preset--color--primary) !important;
	color: #fff !important;
	border-radius: 3px !important;
	min-height: 52px;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase;
}
.wc-block-components-button:not(.is-link):hover { background: var(--wp--preset--color--primary-dark) !important; }

.wc-block-components-checkout-step__title,
.wc-block-components-title {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.wc-block-components-checkout-step__heading { margin-bottom: 1rem; }
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea {
	border-radius: 3px !important;
	border-color: #ddd3d1 !important;
}
.wc-block-components-text-input.is-active input:focus,
.wc-block-components-text-input input:focus { border-color: var(--wp--preset--color--primary) !important; box-shadow: 0 0 0 1px var(--wp--preset--color--primary) !important; }
.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--primary) !important; }
.wc-block-components-radio-control__input:checked { border-color: var(--wp--preset--color--primary) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--wp--preset--color--primary) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.wc-block-components-totals-discount .wc-block-components-totals-item__value,
.wc-block-components-totals-shipping .wc-block-components-totals-item__value strong { color: var(--wp--preset--color--primary); }

/* Stary (klasyczny) koszyk — gdyby strona używała shortcode */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--wp--preset--color--primary);
	color: #fff;
	border-radius: 3px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.72rem;
}

/* Komunikaty */
.wc-block-components-notice-banner { border-radius: 6px; font-size: 0.85rem; }
.wc-block-components-notice-banner.is-success { border-color: #5e7f52; background: #f3f7f1; }

/* Mini-koszyk (szuflada) */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.wc-block-mini-cart__drawer h2 {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 400;
	font-size: 1.4rem;
}
.wc-block-mini-cart__footer { background: var(--wp--preset--color--cream); }
.wc-block-mini-cart__footer-actions .wc-block-components-button.outlined {
	background: transparent !important;
	color: var(--wp--preset--color--contrast) !important;
	border: 1px solid var(--wp--preset--color--contrast) !important;
}

/* Moje konto */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--wp--preset--color--border); border-radius: 8px; overflow: hidden; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 0.75rem 1rem; color: var(--wp--preset--color--contrast); border-bottom: 1px solid var(--wp--preset--color--border); font-size: 0.85rem; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--wp--preset--color--blush); color: var(--wp--preset--color--primary); font-weight: 600; }

/* ==========================================================================
   Stopka
   ========================================================================== */

.dw-footer {
	margin-top: 0 !important;
	padding-top: var(--wp--preset--spacing--60) !important;
	padding-bottom: var(--wp--preset--spacing--40) !important;
	font-size: 0.8rem;
}
.dw-footer__cols { gap: clamp(1.5rem, 4vw, 3rem) !important; }
.dw-footer__brand { margin-bottom: 0.75rem !important; }
.dw-footer__title {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.7rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-bottom: 1rem !important;
}
.dw-footer-links { list-style: none; padding: 0; margin: 0 0 1rem; }
.dw-footer-links li { margin-bottom: 0.5rem; }
.dw-footer-links a { color: var(--wp--preset--color--contrast); }
.dw-footer-links a:hover { color: var(--wp--preset--color--primary); }
.dw-footer .wp-block-separator { margin: var(--wp--preset--spacing--50) auto var(--wp--preset--spacing--30) !important; }
.dw-footer .wp-block-social-links { gap: 0.75rem; }

@media (max-width: 781px) {
	.dw-footer__cols { display: grid !important; grid-template-columns: 1fr 1fr; }
	.dw-footer__cols > .wp-block-column:first-child { grid-column: 1 / -1; }
}

/* Poprawki po testach na serwerze */
body { overflow-x: clip; }
.dw-product__gallery { min-width: 0; overflow: hidden; }
.dw-visually-hidden { left: 0; top: 0; }
.dw-cat-list .wc-block-product-categories-list--depth-1 { padding-left: 0.9rem; margin-top: 0.4rem; }
.dw-cat-list .wc-block-product-categories-list--depth-1 li { font-size: 0.78rem; }

/* Formularz doboru rozmiaru */
.dw-form {
	background: var(--wp--preset--color--cream);
	border-radius: 12px;
	padding: clamp(1.25rem, 3vw, 2rem);
	margin: 1.5rem 0;
	scroll-margin-top: 110px;
}
.dw-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 1rem; }
.dw-form__field { margin: 0 0 0.75rem; }
.dw-form__field--wide { grid-column: 1 / -1; }
.dw-form label { display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.35rem; }
.dw-form label span { color: var(--wp--preset--color--primary); }
.dw-form input[type="text"],
.dw-form input[type="email"],
.dw-form input[type="tel"],
.dw-form input[type="number"],
.dw-form textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-size: 0.9rem;
	padding: 0.7rem 0.8rem;
	background: #fff;
	border: 1px solid #ddd3d1;
	border-radius: 4px;
}
.dw-form input:focus,
.dw-form textarea:focus { outline: none; border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 1px var(--wp--preset--color--primary); }
.dw-form__hint { font-size: 0.8rem; color: var(--wp--preset--color--muted); margin: 0.25rem 0 0.75rem; }
.dw-form__consent label { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 400; font-size: 0.78rem; line-height: 1.5; }
.dw-form__consent input { margin-top: 0.2rem; accent-color: var(--wp--preset--color--primary); }
.dw-form__submit { cursor: pointer; }
.dw-form__hp { position: absolute !important; left: -9999px !important; }
.dw-form__msg { padding: 0.9rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: 0.88rem; }
.dw-form__msg--ok { background: #f1f7ee; border: 1px solid #b9d4ac; }
.dw-form__msg--err { background: #fbeeee; border: 1px solid #e3b3b3; }
@media (max-width: 600px) { .dw-form__grid { grid-template-columns: 1fr; } }

.dw-form select,
.dw-form input[type="date"] {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 0.9rem;
	padding: 0.65rem 0.8rem; background: #fff; border: 1px solid #ddd3d1; border-radius: 4px; color: inherit;
}
.dw-form select:focus, .dw-form input[type="date"]:focus { outline: none; border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 1px var(--wp--preset--color--primary); }
.dw-form input[type="file"] { font-size: 0.82rem; width: 100%; padding: 0.6rem; background: #fff; border: 1px dashed #d3c6c3; border-radius: 4px; box-sizing: border-box; }
.dw-form__intro { font-size: 0.88rem; margin: 0 0 1rem; line-height: 1.6; }

/* Konto: zwroty i reklamacje */
.dw-items { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.25rem; background: #fff; border-radius: 6px; overflow: hidden; font-size: 0.88rem; }
.dw-items th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--wp--preset--color--muted); padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--wp--preset--color--border); }
.dw-items td { padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--wp--preset--color--border); vertical-align: middle; }
.dw-items tr:last-child td { border-bottom: 0; }
.dw-items td:last-child, .dw-items th:last-child { width: 90px; }
.dw-form .dw-items__name { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; font-weight: 500; margin: 0; cursor: pointer; }
.dw-items__name input { margin-top: 0.2rem; accent-color: var(--wp--preset--color--primary); }
.dw-items__name small { display: block; color: var(--wp--preset--color--muted); font-weight: 400; font-size: 0.78rem; }
.dw-items select { padding: 0.4rem 0.5rem; }
.dw-return-orders { list-style: none; padding: 0; margin: 1rem 0; }
.dw-return-orders li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 0.9rem 1rem; border: 1px solid var(--wp--preset--color--border); border-radius: 8px; margin-bottom: 0.6rem; font-size: 0.9rem; }
.dw-order-return { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--wp--preset--color--cream); border-radius: 10px; }
.dw-order-return__done { font-size: 0.85rem; margin: 0 0 0.75rem; }
.woocommerce-orders-table .button.dw_zwrot { margin-left: 0.3rem; }

/* Spójna typografia treści stron, wpisów i zakładek produktu */
.wp-block-post-content:not(.dw-home-content) img, .woocommerce-Tabs-panel img { max-width: 100%; height: auto; }
.wp-block-post-content:not(.dw-home-content) :is(h2, h3, h4, h5, h6),
.woocommerce-Tabs-panel :is(h2, h3, h4, h5, h6) {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	line-height: 1.3;
	color: var(--wp--preset--color--contrast);
	margin: 1.8em 0 0.6em;
}
.wp-block-post-content:not(.dw-home-content) h2, .woocommerce-Tabs-panel h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.wp-block-post-content:not(.dw-home-content) h3, .woocommerce-Tabs-panel h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
.wp-block-post-content:not(.dw-home-content) :is(h4, h5, h6), .woocommerce-Tabs-panel :is(h4, h5, h6) { font-size: 1.1rem; }
.wp-block-post-content:not(.dw-home-content) :is(h2, h3, h4, h5, h6) :is(strong, b),
.woocommerce-Tabs-panel :is(h2, h3, h4, h5, h6) :is(strong, b) { font-weight: inherit; }
.wp-block-post-content:not(.dw-home-content) > :is(h2, h3, h4, h5, h6):first-child { margin-top: 0; }
.wp-block-post-content:not(.dw-home-content) :is(h2, h3, h4, h5, h6):empty { display: none; }

/* Strona „Tabela rozmiarów” */
.dw-size-intro { font-size: 0.95rem; max-width: 640px; }
.dw-size-measure { gap: 2rem !important; align-items: center !important; margin: 1rem 0 1.5rem; }
.dw-size-measure figure { margin: 0; }
.dw-size-measure img { border-radius: 12px; display: block; }
.dw-size-steps { list-style: none; padding: 0; margin: 0; }
.dw-size-steps li { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 1rem; font-size: 0.9rem; line-height: 1.55; }
.dw-size-steps b { flex: 0 0 2rem; height: 2rem; border-radius: 50%; background: var(--wp--preset--color--primary); color: #fff; display: grid; place-items: center; font-family: var(--wp--preset--font-family--heading); font-size: 1rem; }
.dw-size-steps strong { display: block; }
.dw-size-note { background: var(--wp--preset--color--blush); border-left: 4px solid var(--wp--preset--color--primary); padding: 0.85rem 1.1rem; border-radius: 6px; font-size: 0.9rem; margin: 1rem 0; }
.dw-size-table { width: 100%; max-width: 720px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--wp--preset--color--border); border-radius: 12px; overflow: hidden; font-size: 0.92rem; margin: 0.5rem 0 0.75rem; }
.dw-size-table th { background: var(--wp--preset--color--primary); color: #fff; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.8rem 0.9rem; text-align: left; }
.dw-size-table td { padding: 0.75rem 0.9rem; border-top: 1px solid var(--wp--preset--color--border); }
.dw-size-table tbody tr:nth-child(even) td { background: var(--wp--preset--color--cream); }
.dw-size-table td:first-child { font-family: var(--wp--preset--font-family--heading); font-size: 1.1rem; font-weight: 600; color: var(--wp--preset--color--primary); width: 18%; }
.dw-size-small { font-size: 0.8rem; color: var(--wp--preset--color--muted); }
@media (max-width: 600px) {
	.dw-size-table { font-size: 0.8rem; }
	.dw-size-table th, .dw-size-table td { padding: 0.6rem 0.5rem; }
	.dw-size-table th { font-size: 0.65rem; letter-spacing: 0.02em; }
}

/* Strona „Dostawa i płatności” */
.dw-ship-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.9rem; margin: 1rem 0 1.5rem; }
.dw-ship-card { background: var(--wp--preset--color--cream); border: 1px solid var(--wp--preset--color--border); border-radius: 12px; padding: 1.1rem 1.2rem; }
.dw-ship-card h3 { font-family: var(--wp--preset--font-family--body) !important; font-size: 0.95rem !important; font-weight: 600 !important; margin: 0 0 0.6rem !important; }
.dw-ship-card p { margin: 0.15rem 0; font-size: 0.85rem; color: var(--wp--preset--color--muted); display: flex; justify-content: space-between; gap: 0.5rem; }
.dw-ship-card strong { color: var(--wp--preset--color--primary); font-size: 0.95rem; font-weight: 700; white-space: nowrap; }
.dw-ship-grid--single { grid-template-columns: minmax(0, 420px); }
.dw-ship-sub { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--wp--preset--color--muted); font-weight: 600; margin: 1.5rem 0 0.4rem; }
.dw-countries { list-style: none; padding: 0; margin: 0.5rem 0 1rem; columns: 2; column-gap: 2rem; max-width: 640px; }
.dw-countries li { display: flex; justify-content: space-between; padding: 0.5rem 0.2rem; border-bottom: 1px solid var(--wp--preset--color--border); font-size: 0.88rem; break-inside: avoid; }
.dw-countries li span:last-child { font-weight: 600; }
.dw-countries li.is-off span:last-child { color: var(--wp--preset--color--muted); font-weight: 400; }
.dw-contact-box { background: var(--wp--preset--color--blush); border-radius: 12px; padding: 1.1rem 1.4rem; margin-top: 2rem; font-size: 0.9rem; }
.dw-contact-box p { margin: 0.25rem 0; }
@media (max-width: 520px) { .dw-countries { columns: 1; } }

/* Strony prawne: regulamin, polityka prywatności, nota prawna */
.dw-legal { max-width: 760px; font-size: 0.92rem; line-height: 1.75; }
.dw-legal p, .dw-legal li { font-size: inherit; }
.dw-legal h2 { padding-top: 1.4rem; border-top: 1px solid var(--wp--preset--color--border); margin-top: 2rem !important; scroll-margin-top: 110px; }
.dw-legal h3 { font-size: 1.1rem !important; margin-top: 1.4rem !important; }
.dw-legal ol, .dw-legal ul { padding-left: 1.3rem; margin: 0.5rem 0 1rem; }
.dw-legal li { margin-bottom: 0.45rem; }
.dw-legal li > ol, .dw-legal li > ul { margin-top: 0.4rem; }
.dw-legal li::marker { color: var(--wp--preset--color--primary); font-weight: 600; }
.dw-legal blockquote { margin: 1rem 0; padding: 1rem 1.25rem; background: var(--wp--preset--color--cream); border-left: 4px solid var(--wp--preset--color--primary); border-radius: 6px; font-style: normal; }
.dw-legal blockquote p { margin: 0.2rem 0; }
.dw-legal code { font-family: inherit; background: var(--wp--preset--color--blush); padding: 0 0.3em; border-radius: 3px; }
.dw-legal__meta { display: inline-block; font-size: 0.8rem !important; color: var(--wp--preset--color--muted); background: var(--wp--preset--color--cream); padding: 0.5rem 0.85rem; border-radius: 8px; margin: 0 0 1rem; }
.dw-legal__meta b, .dw-legal__meta strong { font-weight: 600; }
.dw-toc { background: var(--wp--preset--color--cream); border: 1px solid var(--wp--preset--color--border); border-radius: 12px; padding: 1.1rem 1.4rem; margin: 1rem 0 1.5rem; }
.dw-toc p { font-weight: 600; margin: 0 0 0.5rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.dw-toc ol { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.dw-toc li { margin: 0 0 0.35rem; font-size: 0.85rem; break-inside: avoid; }
.dw-toc a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.dw-toc a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }
@media (max-width: 600px) { .dw-toc ol { columns: 1; } }

/* Strona „O nas” */
.dw-about { max-width: 100%; }
.dw-about > h2:first-child { margin-top: 0; }
.dw-about__lead { font-size: 1.05rem; line-height: 1.75; max-width: 720px; }
.dw-about__row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center; margin: 2.5rem 0; }
.dw-about__row--rev > :first-child { order: 2; }
.dw-about__row p { font-size: 0.95rem; line-height: 1.75; }
.dw-about__eyebrow { display: inline-block; font-size: 0.72rem !important; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--primary); margin: 0 0 0.4rem !important; }
.dw-about__pics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.8rem; }
.dw-about__pics img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; display: block; }
.dw-about__pics--one img { aspect-ratio: 4 / 3; }
.dw-about__box { background: var(--wp--preset--color--cream); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2.25rem); margin: 2.5rem 0 1.5rem; }
.dw-about__box p { font-size: 0.95rem; line-height: 1.75; }
.dw-about__quote { font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.25rem, 2.4vw, 1.6rem) !important; line-height: 1.4 !important; color: var(--wp--preset--color--primary); margin: 1rem 0 !important; }
.dw-about__sign { font-family: var(--wp--preset--font-family--heading); font-size: 1.15rem !important; }
@media (max-width: 720px) {
	.dw-about__row { grid-template-columns: 1fr; gap: 1.25rem; margin: 1.75rem 0; }
	.dw-about__row--rev > :first-child { order: 0; }
}

/* Strona „Kontakt” */
.dw-contact-intro { font-size: 0.98rem; max-width: 640px; }
.dw-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.9rem; margin: 1.25rem 0 1rem; }
.dw-contact-card { display: block; background: var(--wp--preset--color--cream); border: 1px solid var(--wp--preset--color--border); border-radius: 14px; padding: 1.1rem 1.1rem 1rem; text-decoration: none !important; color: var(--wp--preset--color--contrast) !important; transition: border-color .2s, transform .2s; }
a.dw-contact-card:hover { border-color: var(--wp--preset--color--primary); transform: translateY(-2px); }
.dw-contact-card__icon { width: 38px; height: 38px; border-radius: 50%; background: var(--wp--preset--color--primary); color: #fff; display: grid; place-items: center; margin-bottom: 0.7rem; }
.dw-contact-card__icon svg { width: 18px; height: 18px; }
.dw-contact-card__label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin-bottom: 0.2rem; }
.dw-contact-card__value { display: block; font-size: 0.88rem; font-weight: 600; line-height: 1.45; word-break: break-word; }
.dw-contact-company { font-size: 0.8rem; color: var(--wp--preset--color--muted); margin: 0 0 2rem; }
.dw-contact-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 2rem; padding: 0; list-style: none; }
.dw-contact-links a { display: inline-block; padding: 0.45rem 0.9rem; border: 1px solid var(--wp--preset--color--border); border-radius: 999px; font-size: 0.82rem; text-decoration: none; color: var(--wp--preset--color--contrast); }
.dw-contact-links a:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); }

.dw-contact-social { display: flex; gap: 0.45rem; margin-top: 0.35rem; }
.dw-contact-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--wp--preset--color--border); background: #fff; display: grid; place-items: center; color: var(--wp--preset--color--primary); }
.dw-contact-social a:hover { background: var(--wp--preset--color--primary); color: #fff; border-color: var(--wp--preset--color--primary); }
.dw-contact-social svg { width: 16px; height: 16px; }
.dw-contact-card__value { font-size: 0.84rem; overflow-wrap: anywhere; word-break: normal; }

/* Instagram feed (Smash Balloon) */
.dw-insta__feed #sb_instagram { padding: 0 !important; }
.dw-insta__feed #sb_instagram #sbi_images { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.5rem !important; padding: 0 !important; }
.dw-insta__feed #sb_instagram .sbi_item { width: auto !important; padding: 0 !important; margin: 0 !important; }
.dw-insta__feed #sb_instagram .sbi_photo_wrap, .dw-insta__feed #sb_instagram .sbi_photo { border-radius: 8px; overflow: hidden; }
.dw-insta__feed #sb_instagram .sbi_photo { aspect-ratio: 1 / 1; height: auto !important; }
.dw-insta__feed #sb_instagram .sbi_photo img { width: 100%; height: 100%; object-fit: cover; }
.dw-insta__feed #sb_instagram .sbi_photo:hover { opacity: 0.88; }
.dw-insta__cta { text-align: center; margin: 1.25rem 0 0; }
.dw-insta__admin { text-align: center; font-size: 0.85rem; background: var(--wp--preset--color--blush); border-radius: 8px; padding: 0.8rem 1rem; }
@media (max-width: 781px) {
	.dw-insta__feed #sb_instagram #sbi_images { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.dw-insta__feed #sb_instagram .sbi_item:nth-child(n+7), .dw-insta__feed #sb_instagram .sb_instagram_header, .dw-insta__feed #sb_instagram #sbi_load, .dw-insta__feed #sb_instagram .sbi_follow_btn { display: none !important; }

/* Siatka produktów: dokładna liczba kolumn na komputerze (4 w rzędzie) */
@media (min-width: 782px) {
	.dw-products.wc-block-product-template__responsive.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.dw-products.wc-block-product-template__responsive.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 782px) and (max-width: 1023px) {
	.dw-products.wc-block-product-template__responsive.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* Hero: zdjęcie zawsze na pełną wysokość banera (komputer) */
@media (min-width: 782px) {
	.dw-hero .dw-hero__media.wp-block-column { top: 0 !important; bottom: 0 !important; height: auto !important; align-self: auto !important; }
	.dw-hero .dw-hero__media .dw-hero__img, .dw-hero .dw-hero__media .dw-hero__img img { height: 100% !important; width: 100% !important; }
}

/* Przycisk mapy punktów (Apaczka) w kolorach sklepu */
#apaczka_mp_geowidget_show_map.geowidget_show_map { background: var(--wp--preset--color--primary) !important; color: #fff !important; border: 0 !important; border-radius: 4px !important; box-shadow: none !important; font-family: var(--wp--preset--font-family--body) !important; font-size: 0.8rem !important; font-weight: 600 !important; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.85rem 1.4rem !important; width: auto !important; display: inline-block !important; margin: 0.75rem 0 0 !important; cursor: pointer; }
#apaczka_mp_geowidget_show_map.geowidget_show_map:hover { background: var(--wp--preset--color--primary-dark) !important; }

/* Podsumowanie zamówienia (koszyk/kasa): czytelne nazwy produktów, bez długich opisów */
.wc-block-components-order-summary-item .wc-block-components-product-name { font-family: var(--wp--preset--font-family--body) !important; font-size: 0.85rem !important; font-weight: 600 !important; line-height: 1.35 !important; }
.wc-block-components-order-summary-item .wc-block-components-product-metadata__description { display: none; }
