/* YA Perfumy 2026 – WooCommerce */

/* Komunikaty */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 24px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--ya-line-2); background: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { border-color: #E8B4C1; background: #FBEFF2; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }

/* Okruszki i nagłówek sklepu */
.ya-breadcrumb { font-size: 13px; color: var(--ya-faint); margin-bottom: 16px; }
.ya-breadcrumb a { color: var(--ya-faint); }
.ya-breadcrumb .sep { margin: 0 8px; }
.ya-shop-head { padding-top: 40px; padding-bottom: 24px; }
.ya-shop-head .term-description, .ya-shop-head .page-description { color: var(--ya-ink-2); max-width: 640px; }
.ya-shop { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-bottom: 88px; }
.ya-filters { flex: 1 1 240px; max-width: 280px; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 100px; }
.ya-filters__group { display: flex; flex-direction: column; gap: 8px; }
.ya-filters__group .ya-eyebrow { font-size: 13px; margin-bottom: 4px; }
.ya-filter { min-height: 44px; display: flex; align-items: center; padding: 0 16px; border-radius: 12px; background: var(--ya-lilac); color: var(--ya-ink); font-size: 15px; }
.ya-filter.is-active { background: var(--ya-btn); color: #fff; font-weight: 600; }
.ya-filters .ya-pill { min-height: 40px; padding: 0 14px; }
.ya-shop__results { flex: 999 1 560px; min-width: 0; }
.ya-shop__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.ya-shop__bar .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce-result-count { margin: 0; font-size: 14px; color: var(--ya-muted); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-height: 44px; border-radius: 22px; padding: 0 40px 0 16px; font-size: 14px; }
.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; border: 0 !important; }
.woocommerce-pagination li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 22px; border: 1.5px solid var(--ya-line); background: #fff; }
.woocommerce-pagination .current { background: var(--ya-btn); color: #fff; border-color: var(--ya-btn); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products.ya-grid { margin: 0; }
.woocommerce ul.products li.ya-grid__item { width: auto; float: none; margin: 0; padding: 0; }

/* Karta produktu */
.single-product div.product { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; position: relative; }
.single-product div.product > .onsale { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--ya-raspberry); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; min-height: 0; min-width: 0; line-height: 1.4; }
.single-product .woocommerce-product-gallery { position: relative; margin: 0; }
.single-product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product .woocommerce-product-gallery__image img { border-radius: 28px; width: 100%; }
.single-product .woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; }
.single-product .woocommerce-product-gallery .flex-control-thumbs li { width: auto !important; float: none !important; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 16px; opacity: .7; cursor: pointer; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active, .single-product .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; text-indent: -9999px; overflow: hidden; }
.woocommerce-product-gallery__trigger::after { content: ""; width: 16px; height: 16px; border: 2px solid var(--ya-ink); border-radius: 50%; text-indent: 0; }
.single-product .summary { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.single-product .summary > * { margin: 0; }
.single-product .product_title { font-family: var(--ya-serif); font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1.08; }
.single-product .summary .price { font-size: 36px; font-weight: 700; padding-top: 16px; border-top: 1px solid var(--ya-line); }
.single-product .summary .price del { font-size: 18px; font-weight: 400; color: var(--ya-faint); margin-right: 8px; }
.single-product .summary .price ins { text-decoration: none; }
.single-product .summary .ya-omnibus { font-size: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--ya-line); margin-top: -10px; }
.single-product .woocommerce-product-details__short-description { font-size: 17px; color: var(--ya-ink-2); }
.single-product .woocommerce-product-rating { font-size: 14px; }
.single-product .stock { font-size: 14px; font-weight: 600; }
.single-product .stock.out-of-stock { color: var(--ya-raspberry); }
.single-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.single-product form.cart .quantity { display: flex; }
.single-product form.cart .quantity .qty { width: 88px; height: 56px; text-align: center; border-radius: 28px; border: 1.5px solid var(--ya-btn); font-weight: 700; font-size: 17px; }
.single-product form.cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 56px; font-size: 16px; }
.single-product form.cart.variations_form { flex-direction: column; }
.single-product .variations { width: 100%; border: 0; }
.single-product .variations th, .single-product .variations td { display: block; text-align: left; padding: 0 0 8px; border: 0; }
.single-product .reset_variations { font-size: 13px; }
.single-product .product_meta { font-size: 13px; color: var(--ya-faint); display: flex; flex-direction: column; gap: 4px; }
.single-product .product_meta a { color: var(--ya-ink-2); }
.ya-chips { display: flex; gap: 8px; flex-wrap: wrap; order: -1; }
.ya-chip { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; color: var(--ya-ink); }
.ya-chip--outline { background: #fff; border: 1px solid var(--ya-line); }
.ya-info-box { background: #fff; border: 1px solid var(--ya-line-2); border-radius: 20px; padding: 16px 20px; font-size: 14px; color: var(--ya-ink-2); display: flex; flex-direction: column; gap: 6px; }
.ya-info-box p { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ya-info-box strong { color: var(--ya-ink); }
.ya-combine { background: var(--ya-lilac); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ya-combine__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 16px; min-height: 48px; font-size: 14px; }
.ya-combine__row--dark { background: var(--ya-btn); color: #fff; }
.ya-combine__row--dark:hover { color: #fff; background: var(--ya-btn-hover); }
.ya-combine__row del { opacity: .7; margin-right: 6px; font-weight: 400; }
.ya-combine__row ins { text-decoration: none; }

.ya-pyramid { grid-column: 1 / -1; margin-top: 32px; padding-top: 56px; border-top: 1px solid var(--ya-line-2); }
.ya-pyramid__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.ya-pyramid__item { border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; background: color-mix(in srgb, var(--ya-tile) 35%, #fff); }
.ya-pyramid__item--1 { background: color-mix(in srgb, var(--ya-tile) 65%, #fff); }
.ya-pyramid__item--2 { background: var(--ya-tile); }
.ya-pyramid__item .ya-eyebrow { color: var(--ya-ink-2); }
.ya-pyramid__notes { font-family: var(--ya-serif); font-size: 24px; line-height: 1.25; }

.woocommerce-tabs { grid-column: 1 / -1; margin-top: 32px; }
.woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; border: 0; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; }
.woocommerce-tabs ul.tabs li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1.5px solid var(--ya-btn); font-weight: 600; font-size: 14px; }
.woocommerce-tabs ul.tabs li.active a { background: var(--ya-btn); color: #fff; }
.woocommerce-tabs .panel { max-width: 820px; }
.woocommerce-tabs .panel > h2:first-child { font-family: var(--ya-serif); font-weight: 400; font-size: 36px; margin: 0 0 12px; }
.ya-details { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px 24px; margin: 0; }
.ya-details dt { font-weight: 700; }
.ya-details dd { margin: 0; color: var(--ya-ink-2); }
#reviews .commentlist { padding: 0; }
#reviews .comment_container { background: #fff; border-radius: 16px; padding: 16px; }
#review_form_wrapper { background: #fff; border: 1px solid var(--ya-line-2); border-radius: 24px; padding: 28px; margin-top: 24px; }
.woocommerce-noreviews { font-size: 15px; color: var(--ya-ink-2); }

.related.products, .upsells.products { grid-column: 1 / -1; margin-top: 56px; }
.related.products > h2, .upsells.products > h2 { font-family: var(--ya-serif); font-weight: 400; font-size: clamp(32px, 4vw, 48px); margin: 0 0 24px; }

/* Koszyk (klasyczny) */
.woocommerce-cart .ya-content, .woocommerce-checkout .ya-content { max-width: none; }
.woocommerce-cart-form { background: #fff; border: 1px solid var(--ya-line-2); border-radius: 24px; padding: 8px 24px; }
.shop_table { width: 100%; border-collapse: collapse; border: 0; }
.shop_table th { text-align: left; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ya-faint); padding: 16px 8px; border-bottom: 1px solid var(--ya-line); }
.shop_table td { padding: 16px 8px; border-bottom: 1px solid var(--ya-line); vertical-align: middle; }
.shop_table tr:last-child td { border-bottom: 0; }
.shop_table .product-thumbnail img { width: 88px; border-radius: 14px; }
.shop_table .product-name a { font-family: var(--ya-serif); font-size: 20px; }
.shop_table a.remove { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ya-lilac); color: var(--ya-ink) !important; font-size: 20px; }
.shop_table a.remove:hover { background: var(--ya-btn); color: #fff !important; }
.shop_table .quantity .qty { width: 72px; text-align: center; border-radius: 24px; }
.shop_table .actions { text-align: right; }
.shop_table .coupon { display: flex; gap: 8px; flex-wrap: wrap; float: left; }
.shop_table .coupon .input-text { width: 200px; border-radius: 24px; }
.cart-collaterals { margin-top: 32px; display: flex; justify-content: flex-end; }
.cart_totals { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--ya-line-2); border-radius: 24px; padding: 28px; }
.cart_totals h2 { font-family: var(--ya-serif); font-weight: 400; font-size: 34px; margin: 0 0 12px; }
.cart_totals .shop_table th { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ya-ink); }
.cart_totals .order-total .amount { font-size: 26px; }
.wc-proceed-to-checkout { margin-top: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 16px; }
#shipping_method { margin: 0; padding: 0; list-style: none; }
#shipping_method li { margin-bottom: 6px; }
.ya-freebar { background: #fff; border: 1px solid var(--ya-line-2); border-radius: 18px; padding: 16px 20px; margin-bottom: 20px; }
.ya-freebar p { margin: 0 0 10px; font-size: 14px; }
.ya-freebar__track { height: 8px; background: var(--ya-lilac); border-radius: 4px; overflow: hidden; }
.ya-freebar__track span { display: block; height: 100%; background: var(--ya-plum); border-radius: 4px; }
.cart-empty.woocommerce-info { justify-content: center; font-size: 17px; }
.return-to-shop { text-align: center; }

/* Zamówienie (klasyczne) */
form.checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
#customer_details { display: flex; flex-direction: column; gap: 24px; }
#customer_details .col-1, #customer_details .col-2 { width: 100%; float: none; background: #fff; border: 1px solid var(--ya-line-2); border-radius: 22px; padding: 24px; }
#customer_details h3, #order_review_heading { font-family: var(--ya-sans); font-size: 18px; font-weight: 700; margin: 0 0 16px; }
#order_review_heading { grid-column: 2; grid-row: 1; margin: 0; align-self: end; display: none; }
#order_review { background: #fff; border: 1px solid var(--ya-line-2); border-radius: 24px; padding: 28px; position: sticky; top: 100px; }
.woocommerce-checkout .form-row { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.woocommerce-checkout .form-row label { font-size: 14px; font-weight: 500; }
.woocommerce-checkout .form-row .input-text, .woocommerce-checkout .form-row select { width: 100%; }
.woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { width: calc(50% - 6px); display: inline-flex; }
.woocommerce-checkout .form-row-first { margin-right: 8px; }
.woocommerce-checkout .required { color: var(--ya-raspberry); text-decoration: none; }
.woocommerce-checkout-payment { background: transparent !important; border-radius: 0; }
.wc_payment_methods { margin: 16px 0; padding: 0 !important; list-style: none; display: flex; flex-direction: column; gap: 10px; border: 0 !important; }
.wc_payment_method { border: 1.5px solid var(--ya-line); border-radius: 16px; padding: 14px 16px; }
.wc_payment_method:has(input:checked) { border-color: var(--ya-btn); background: var(--ya-bg); }
.wc_payment_method label { font-weight: 600; cursor: pointer; }
.wc_payment_method .payment_box { font-size: 13px; color: var(--ya-ink-2); background: transparent !important; padding: 8px 0 0 !important; margin: 0 !important; }
.wc_payment_method .payment_box::before { display: none; }
#place_order { width: 100%; min-height: 58px; font-size: 17px; font-weight: 700; background: var(--ya-raspberry); border-color: var(--ya-raspberry); }
#place_order:hover { background: var(--ya-btn-hover); border-color: var(--ya-btn-hover); }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--ya-ink-2); }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { font-size: 14px; }
.checkout_coupon, .woocommerce-form-login { background: #fff; border: 1px solid var(--ya-line-2); border-radius: 20px; padding: 20px; margin-bottom: 24px; }

/* Bloki WooCommerce (koszyk i zamówienie w wersji blokowej) */
.wc-block-cart, .wc-block-checkout { font-family: var(--ya-sans); }
.wc-block-components-sidebar, .wc-block-checkout__sidebar { background: #fff; border: 1px solid var(--ya-line-2); border-radius: 24px; padding: 24px !important; }
.wc-block-components-button:not(.is-link) { border-radius: 999px !important; min-height: 52px; background: var(--ya-btn) !important; color: #fff !important; font-weight: 600; }
.wc-block-components-checkout-place-order-button { background: var(--ya-raspberry) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select { border-radius: 14px !important; }
.wc-block-components-radio-control__option { border-radius: 16px; }
.wc-block-components-product-name { font-family: var(--ya-serif); font-size: 19px; }

/* Moje konto */
.woocommerce-account .ya-page--wc .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 6px; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--ya-lilac); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ya-btn); color: #fff; }
.woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--ya-line-2); border-radius: 24px; padding: 28px; }
.woocommerce-account:not(.logged-in) .ya-page--wc .woocommerce { display: block; }
.u-columns.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.u-columns .u-column1, .u-columns .u-column2 { width: auto; float: none; background: #fff; border: 1px solid var(--ya-line-2); border-radius: 24px; padding: 28px; }
.woocommerce-form-login .form-row, .woocommerce-form-register .form-row { display: flex; flex-direction: column; gap: 6px; }

/* Mini-koszyk (widżet) */
.woocommerce-mini-cart__buttons { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 960px) {
	.single-product div.product { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	form.checkout { grid-template-columns: minmax(0, 1fr); }
	#order_review { position: static; }
	.woocommerce-account .ya-page--wc .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.ya-filters { position: static; max-width: none; flex-basis: 100%; flex-direction: row; flex-wrap: wrap; gap: 16px; }
	.ya-filters__group:first-child { flex-basis: 100%; flex-direction: row; flex-wrap: wrap; }
	.ya-filters__group:first-child .ya-eyebrow { flex-basis: 100%; }
}
@media (max-width: 700px) {
	.u-columns.col2-set { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-cart-form { padding: 8px 12px; }
	.shop_table_responsive thead { display: none; }
	.shop_table_responsive tr { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--ya-line); position: relative; }
	.shop_table_responsive td { border: 0; padding: 0; }
	.shop_table_responsive td.product-thumbnail { grid-row: span 4; }
	.shop_table_responsive td.product-remove { position: absolute; right: 0; top: 12px; }
	.shop_table_responsive td::before { content: attr(data-title) ": "; font-size: 12px; color: var(--ya-faint); }
	.shop_table_responsive td.product-name::before, .shop_table_responsive td.product-remove::before, .shop_table_responsive td.product-thumbnail::before, .shop_table_responsive td.actions::before { display: none; }
	.shop_table_responsive td.actions { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
	.shop_table .coupon { float: none; }
	.shop_table .coupon .input-text { flex: 1; width: auto; }
	.woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { width: 100%; margin-right: 0; }
	.ya-details { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.ya-details dd { margin-bottom: 12px; }
}

/* ---------------------------------------------------------------------
 * 1.1.3 – nadpisania domyślnych stylów WooCommerce (woocommerce-general)
 * ------------------------------------------------------------------ */
body.woocommerce-page a.button, body.woocommerce-page button.button, body.woocommerce-page input.button,
body .woocommerce a.button, body .woocommerce button.button, body .woocommerce input.button,
body .woocommerce #respond input#submit, body.woocommerce a.button, body.woocommerce button.button,
body .woocommerce a.button.alt, body .woocommerce button.button.alt, body .woocommerce input.button.alt,
body.woocommerce-page a.button.alt, body.woocommerce-page button.button.alt, .ya-card a.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--ya-btn);
	background: var(--ya-btn); color: #fff; font-family: var(--ya-sans); font-size: 15px; font-weight: 600; line-height: 1.2; text-shadow: none;
}
body.woocommerce-page a.button:hover, body.woocommerce-page button.button:hover, body .woocommerce a.button:hover, body .woocommerce button.button:hover,
body .woocommerce a.button.alt:hover, body .woocommerce button.button.alt:hover, body.woocommerce-page button.button.alt:hover, .ya-card a.button:hover {
	background: var(--ya-plum); border-color: var(--ya-plum); color: #fff;
}
body .woocommerce button.button:disabled, body .woocommerce button.button.disabled, body .woocommerce button.button.alt.disabled { opacity: .5; background: var(--ya-btn); color: #fff; }
.ya-card a.button { width: 100%; }
.ya-card a.button.loading { opacity: .6; }
.ya-card a.button.added::after { content: " ✓"; margin-left: 4px; }
body .woocommerce a.ya-btn--ghost, .ya-card a.ya-btn--ghost { background: transparent; color: var(--ya-ink); }

body.single-product .woocommerce div.product p.price, body.single-product .woocommerce div.product span.price,
body.single-product div.product .summary p.price { color: var(--ya-ink); font-size: 36px; font-weight: 700; }
body.single-product div.product .summary p.price del { color: var(--ya-faint); font-size: 18px; font-weight: 400; opacity: 1; }
body .woocommerce ul.products li.product .price, .ya-card__price { color: var(--ya-ink); }
body .woocommerce span.onsale { min-height: 0; min-width: 0; line-height: 1.4; padding: 6px 12px; border-radius: 999px; background: var(--ya-raspberry); color: #fff; font-weight: 700; font-size: 13px; }

body .woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; overflow: visible; }
body .woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0; }
body .woocommerce div.product .woocommerce-tabs ul.tabs li::before, body .woocommerce div.product .woocommerce-tabs ul.tabs li::after, body .woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; border: 0; box-shadow: none; }
body .woocommerce div.product .woocommerce-tabs ul.tabs li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1.5px solid var(--ya-btn); background: transparent; color: var(--ya-ink); font-weight: 600; font-size: 14px; }
body .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { background: var(--ya-btn); color: #fff; }
body .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--ya-btn-hover); border-color: var(--ya-btn-hover); }
body .woocommerce div.product .woocommerce-tabs ul.tabs li.active a:hover { color: #fff; background: var(--ya-btn-hover); }
body .woocommerce div.product .woocommerce-tabs .panel { margin: 0; }

body .woocommerce div.product form.cart div.quantity { margin: 0; float: none; }
body .woocommerce div.product form.cart .button { float: none; vertical-align: top; }
body .woocommerce .quantity .qty { width: 88px; }
body .woocommerce div.product .stock { color: var(--ya-ink-2); }
body .woocommerce div.product .out-of-stock { color: var(--ya-raspberry); }
body .woocommerce div.product div.images, body .woocommerce div.product div.summary { width: auto; float: none; margin: 0; }

body .woocommerce-message, body .woocommerce-info, body .woocommerce-error { border-top: 1px solid var(--ya-line-2); color: var(--ya-ink); }
body .woocommerce-message { border-color: #CFE3C3; background: #F3F9EF; }
body .woocommerce form .form-row .input-text, body .woocommerce form .form-row select, body .woocommerce-page form .form-row .input-text { border-radius: 14px; border: 1.5px solid var(--ya-line); padding: 10px 16px; min-height: 50px; line-height: 1.4; }
body .woocommerce #payment #place_order, body.woocommerce-page #payment #place_order { width: 100%; min-height: 58px; font-size: 17px; font-weight: 700; background: var(--ya-raspberry); border-color: var(--ya-raspberry); color: #fff; float: none; }
body .woocommerce #payment #place_order:hover { background: var(--ya-btn-hover); border-color: var(--ya-btn-hover); }
body .woocommerce-checkout #payment { background: transparent; border-radius: 0; }
body .woocommerce-checkout #payment ul.payment_methods { border-bottom: 0; padding: 0; }
body .woocommerce-checkout #payment div.form-row { padding: 0; }
body .woocommerce a.remove { color: var(--ya-ink) !important; }
body .woocommerce a.remove:hover { background: var(--ya-btn); color: #fff !important; }
body .woocommerce .star-rating span::before, body .woocommerce p.stars a { color: var(--ya-raspberry); }
body .woocommerce nav.woocommerce-pagination ul li a:focus, body .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--ya-lilac); color: var(--ya-ink); }
body .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ya-btn); color: #fff; }

/* 1.1.4 – zakładki produktu: body ma klasę .woocommerce */
body.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0; }
body.woocommerce div.product .woocommerce-tabs ul.tabs li::before, body.woocommerce div.product .woocommerce-tabs ul.tabs li::after, body.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; border: 0; box-shadow: none; }
body.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1.5px solid var(--ya-btn); background: transparent; color: var(--ya-ink); font-weight: 600; font-size: 14px; }
body.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { background: var(--ya-btn); color: #fff; }
body.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--ya-btn-hover); border-color: var(--ya-btn-hover); }
body.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:hover { color: #fff; background: var(--ya-btn-hover); border-color: var(--ya-btn-hover); }
body.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; overflow: visible; }

/* 1.1.7 – logotypy przewoźników na karcie produktu */
.ya-carriers { list-style: none; margin: 2px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ya-carriers__item { height: 30px; padding: 0 10px; display: inline-flex; align-items: center; border: 1px solid var(--ya-line-2); border-radius: 8px; background: #fff; font-size: 12px; font-weight: 600; color: var(--ya-ink-2); }
.ya-carriers__item img { display: block; height: 14px; width: auto; max-width: 56px; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.ya-carriers__item--ups img { height: 18px; }
.ya-carriers__item--inpost img { height: 20px; filter: grayscale(1) brightness(.45) contrast(1.6); opacity: .8; }
.ya-info-box:hover .ya-carriers__item img { filter: none; opacity: 1; }
.ya-info-box .ya-ship-title { margin: 0; }

/* ---------------------------------------------------------------------
 * 1.2.1 – personalizacja flakonu (wtyczka woocommerce-product-personalization)
 * ------------------------------------------------------------------ */
/* Karta na stronie produktu */
.single-product form.cart .wcpp-product-controls { flex: 1 1 100%; order: -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; padding: 18px 20px; margin: 0 0 6px; border-radius: 20px; background: var(--ya-lilac); border: 1px solid #E3D6C7; }
.ya-wcpp-head { flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 14px; }
.ya-wcpp-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ya-plum); display: flex; align-items: center; justify-content: center; }
.ya-wcpp-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.ya-wcpp-text strong { font-size: 16px; color: var(--ya-ink); }
.ya-wcpp-text span { font-size: 13px; color: var(--ya-ink-2); }
body .woocommerce button.button.wcpp-open-product-configurator, body.woocommerce-page button.button.wcpp-open-product-configurator, .wcpp-open-product-configurator { flex: 0 0 auto; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ya-plum); border: 1.5px solid var(--ya-plum); color: #fff; font-family: var(--ya-sans); font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; }
body .woocommerce button.button.wcpp-open-product-configurator:hover, .wcpp-open-product-configurator:hover { background: var(--ya-btn); border-color: var(--ya-btn); color: #fff; }
.wcpp-selection-summary { flex: 1 1 100%; font-size: 14px; color: var(--ya-ink); }
.wcpp-selection-summary:empty { display: none; }
.wcpp-selection-summary:not(:empty) { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px dashed var(--ya-plum); }
.wcpp-selection-summary:not(:empty)::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ya-plum); color: #fff; font-size: 12px; font-weight: 700; flex: 0 0 22px; }

/* Okno konfiguratora */
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) { font-family: var(--ya-sans); color: var(--ya-ink); }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-backdrop { background: rgba(94, 73, 57, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-dialog { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(94, 73, 57, .25); }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-preview { position: relative; background: radial-gradient(circle at 50% 42%, #fff 0%, #F7F1EA 72%); }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ya-bg); color: var(--ya-ink); font-size: 22px; line-height: 1; z-index: 3; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-close:hover { background: var(--ya-btn); color: #fff; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-form h2 { font-family: var(--ya-serif); font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 6px; color: var(--ya-ink); }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-description { color: var(--ya-ink-2); font-size: 15px; margin: 0 0 14px; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-price-card { background: var(--ya-bg); border-radius: 16px; padding: 14px 16px; margin: 0 0 18px; border: 0; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-price-label, :is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) :is(#wcpp-product-modal, [id^="wcpp-cart-modal-"])-text-label, :is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-symbol-picker-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ya-muted); }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-price-line { display: flex; align-items: baseline; gap: 10px; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-price-current { font-size: 26px; font-weight: 700; color: var(--ya-ink); text-decoration: none; background: none; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-price-regular { font-size: 15px; color: var(--ya-faint); }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-text-input { min-height: 56px; padding: 14px 16px; border: 1.5px solid var(--ya-line); border-radius: 14px; background: #fff; font-size: 18px; color: var(--ya-ink); box-shadow: none; outline: 0; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-text-input:focus, :is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-text-input:focus-within { border-color: var(--ya-plum); box-shadow: 0 0 0 3px rgba(123, 96, 75, .18); }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-symbol-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-symbol-picker-label { flex: 1 1 100%; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-symbol-picker button { width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 1.5px solid var(--ya-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: none; transition: border-color .15s, background .15s; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-symbol-picker button:hover, :is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-symbol-picker button:focus-visible { border-color: var(--ya-btn-hover); background: var(--ya-lilac); }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-symbol-picker img { width: 18px; height: 18px; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-character-count { font-size: 13px; color: var(--ya-faint); text-align: right; margin: 8px 0 0; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-error { color: var(--ya-raspberry); font-size: 14px; font-weight: 600; margin: 6px 0 0; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-error:empty { display: none; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-actions { display: flex; gap: 12px; margin-top: 18px; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-actions .button { min-height: 52px; padding: 0 22px; border-radius: 999px; font-family: var(--ya-sans); font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; opacity: 1; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-actions .wcpp-secondary { background: transparent; border: 1.5px solid var(--ya-btn); color: var(--ya-ink); }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-actions .wcpp-secondary:hover { background: var(--ya-btn); color: #fff; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-actions .wcpp-confirm { flex: 1 1 auto; background: var(--ya-raspberry); border: 1.5px solid var(--ya-raspberry); color: #fff; }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-actions .wcpp-confirm:hover { background: var(--ya-btn-hover); border-color: var(--ya-btn-hover); }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-actions .wcpp-confirm:disabled { opacity: .45; cursor: not-allowed; }

/* Lupa: powiększony podgląd grawerunku */
.ya-wcpp-zoom { position: absolute; left: 20px; top: 20px; width: 260px; background: #fff; border-radius: 18px; box-shadow: 0 14px 40px rgba(94, 73, 57, .16); padding: 10px; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; z-index: 2; }
.ya-wcpp-zoom.is-on { opacity: 1; transform: none; }
.ya-wcpp-zoom__label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ya-muted); margin: 2px 4px 8px; }
.ya-wcpp-zoom__view { position: relative; height: 110px; border-radius: 12px; overflow: hidden; background: #5E4939; }
.ya-wcpp-zoom__view img { opacity: .18; }
.ya-wcpp-zoom__view > * { position: absolute; transform-origin: 0 0; pointer-events: none; max-width: none !important; max-height: none !important; margin: 0 !important; }

/* Koszyk / zamówienie – dane personalizacji pod nazwą */
.woocommerce-cart-form dl.variation, .woocommerce-checkout-review-order-table dl.variation, .wc-item-meta { margin: 6px 0 0; font-size: 13px; color: var(--ya-ink-2); display: flex; flex-wrap: wrap; gap: 2px 6px; }
.woocommerce-cart-form dl.variation dt, .woocommerce-checkout-review-order-table dl.variation dt { font-weight: 600; margin: 0; }
.woocommerce-cart-form dl.variation dd, .woocommerce-checkout-review-order-table dl.variation dd { margin: 0; }
.woocommerce-cart-form dl.variation dd p, .woocommerce-checkout-review-order-table dl.variation dd p { margin: 0; }

@media (max-width: 760px) {
	.single-product form.cart .wcpp-product-controls { padding: 16px; }
	.wcpp-open-product-configurator { flex: 1 1 100%; }
	:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border-radius: 0; overflow-y: auto; transform: none; display: flex; flex-direction: column; }
	:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-preview { flex: 0 0 auto; height: 38vh; min-height: 260px; }
	:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-form { padding: 20px 18px 0; }
	:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-actions { position: sticky; bottom: 0; background: #fff; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin-top: 12px; border-top: 1px solid var(--ya-line-2); }
	.ya-wcpp-zoom { left: 12px; top: 12px; width: 200px; }
	.ya-wcpp-zoom__view { height: 84px; }
}

/* 1.3.0 – paleta beż / biel */
.single-product .stock.out-of-stock, body .woocommerce div.product .out-of-stock { color: var(--ya-error); }
:is(#wcpp-product-modal, [id^="wcpp-cart-modal-"]) .wcpp-modal-error { color: var(--ya-error); }
.woocommerce-error { border-color: #E2B9AE; background: #FBF1EE; }

/* 1.4.0 – zgodność z wtyczką Custom Checkout Layouts (3 kolumny) */
form.checkout:has(> .cclw_opc_main) { display: block; }
form.checkout > .cclw_opc_main { grid-column: 1 / -1; width: 100%; }
.cclw_opc_main img[src=""], .cclw_opc_main img:not([src]) { display: none; }
.cclw_opc_main .more_details .quantity { display: none; }
/* 1.4.0 – puste logotypy metod wysyłki (kod z amely-child) */
.woocommerce-checkout img[src=""], .woocommerce-cart img[src=""], #shipping_method img:not([src]) { display: none; }
#shipping_method li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
#shipping_method li label { flex: 1 1 0; min-width: 0; }
/* 1.4.2 – pole „Kraj” (select2) jak pozostałe pola */
body .select2-container--default .select2-selection--single { height: 48px; border: 1px solid var(--ya-line); border-radius: 12px; background: #fff; display: flex; align-items: center; padding: 0 12px; }
body .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ya-ink); line-height: 46px; padding: 0; }
body .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 10px; }
/* 1.4.3 – galeria z wtyczki Advanced Product Gallery Slider (miniatury z lewej) */
.product .images:has(> .wpgis-slider-for) { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 14px; float: none; width: auto; }
.product .images > .wpgis-slider-for { flex: 1 1 0; min-width: 0; float: none; width: auto !important; border-radius: var(--ya-radius); overflow: hidden; }
.product .images > .wpgis-slider-nav { flex: 0 0 96px; width: 96px !important; float: none; }
.product .images > .wpgis-slider-nav img { border-radius: 10px; border: 1px solid var(--ya-line); }
.product .images > .wpgis-slider-nav .slick-current img { border-color: var(--ya-btn); }
.wpgis-slider-for .btn-prev, .wpgis-slider-for .btn-next { z-index: 2; color: var(--ya-ink); }
@media (max-width: 760px) {
	.product .images:has(> .wpgis-slider-for) { flex-direction: column; }
	.product .images > .wpgis-slider-for { width: 100% !important; }
	.product .images > .wpgis-slider-nav { width: 100% !important; flex-basis: auto; }
}
.wpgis-slider-for .slick-slide > img.size-full { display: none !important; }
.product .images ul, .product .images li { list-style: none; margin: 0; padding: 0; }
body.single-product .product:has(.wpgis-slider-for) span.onsale { left: 124px; }
@media (max-width: 760px) { body.single-product .product:has(.wpgis-slider-for) span.onsale { left: 14px; } }
.product .images > .wpgis-slider-for, .product .images > .wpgis-slider-nav { display: flow-root; }
/* 1.4.6 – mobile: wiersz wysyłki w podsumowaniu zamówienia na całą szerokość */
@media (max-width: 760px) {
	.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th { display: none; }
	.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { display: block; width: 100%; padding-left: 12px; padding-right: 12px; }
	.woocommerce-checkout-review-order-table td.product-name { word-break: normal; }
}
.product .images > .wpgis-slider-for { height: auto !important; }
@media (max-width: 760px) { .product .images > .wpgis-slider-for, .product .images > .wpgis-slider-nav { flex: none; } }
@media (max-width: 760px) { .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { display: block; } .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { width: auto; } #shipping_method li img { position: static; } }
@media (max-width: 760px) {
	.woocommerce-checkout-review-order-table, .woocommerce-checkout-review-order-table thead, .woocommerce-checkout-review-order-table tbody, .woocommerce-checkout-review-order-table tfoot { display: block; width: 100%; }
	.woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; width: 100%; border-bottom: 1px solid var(--ya-line); }
	.woocommerce-checkout-review-order-table tr > th, .woocommerce-checkout-review-order-table tr > td { display: block; border: 0; }
	.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { display: block; }
	.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { width: 100%; }
}

/* 1.5.1 – bez stanu magazynowego w składnikach zestawu */
.woosb-products .woosb-availability, .woosb-products .stock.in-stock, .single-product .summary .stock.in-stock { display: none !important; }

/* 1.5.2 – logotypy przewoźników domyślnie kolorowe, po najechaniu czarno-białe */
.ya-carriers__item img, .ya-carriers__item--inpost img { filter: none; opacity: 1; }
.ya-info-box:hover .ya-carriers__item img { filter: grayscale(1); opacity: .72; }
.ya-info-box:hover .ya-carriers__item--inpost img { filter: grayscale(1) brightness(.45) contrast(1.6); opacity: .8; }

/* 1.5.6 – „Spersonalizuj flakon” pod przyciskiem „Dodaj do koszyka” */
.single-product form.cart .wcpp-product-controls { order: 10; margin: 6px 0 0; }

/* 1.5.7 – rozpisanie ceny pozycji + bez zdublowanej ceny przy metodach InPost */
.ya-line { display: flex; flex-direction: column; gap: 4px; min-width: 150px; font-size: 14px; }
.ya-line__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: var(--ya-ink-2); }
.ya-line__row--sum { color: var(--ya-ink); font-weight: 700; border-top: 1px solid var(--ya-line); padding-top: 4px; margin-top: 2px; }
.ya-line del, .product-total del, .product-subtotal del { opacity: .6; font-weight: 400; margin-right: 4px; }
#shipping_method small.cost, .woocommerce-shipping-methods small.cost { display: none; }

/* 1.5.8 – cena przy nazwie i przy tekście personalizacji */
.ya-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ya-item-head__name { min-width: 0; }
.ya-item-price, .ya-item-fee__price { white-space: nowrap; text-align: right; color: var(--ya-ink-2); font-size: 14px; }
.ya-item-price del { opacity: .6; margin-right: 4px; }
.ya-item-fee { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.woocommerce-checkout-review-order-table dl.variation dd p { margin: 0; }
.woocommerce-checkout-review-order-table tr.cart_item td.product-name { flex: 1 1 auto; min-width: 0; }
.ya-item-head__name { flex: 1 1 auto; }
@media (max-width: 760px) {
	.woocommerce-checkout-review-order-table tr.cart_item:has(.ya-item-head) { display: block; }
	.woocommerce-checkout-review-order-table tr.cart_item:has(.ya-item-head) td.product-name { display: block; width: 100%; }
	.woocommerce-checkout-review-order-table tr.cart_item:has(.ya-item-head) td.product-total { display: flex; justify-content: space-between; width: 100%; font-weight: 700; padding-top: 0; }
	.woocommerce-checkout-review-order-table tr.cart_item:has(.ya-item-head) td.product-total::before { content: "Razem"; font-weight: 700; }
}
.woocommerce-checkout-review-order-table dl.variation:has(.ya-item-fee) { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 0; } .woocommerce-checkout-review-order-table dl.variation:has(.ya-item-fee) dt, .woocommerce-checkout-review-order-table dl.variation:has(.ya-item-fee) dd { margin: 0; float: none; } .woocommerce-checkout-review-order-table dl.variation dd:has(.ya-item-fee) { flex: 1 1 auto; }

/* 1.6.1 – podsumowanie zamówienia jako karta (desktop i telefon): bez podwójnych ramek,
   wysyłka na całą szerokość, pozycja z grawerem rozpisana */
body .woocommerce-checkout-review-order-table { display: block; width: 100%; margin: 0; border: 1px solid var(--ya-line); border-radius: 14px; border-collapse: separate; overflow: hidden; background: #fff; }
body .woocommerce-checkout-review-order-table thead,
body .woocommerce-checkout-review-order-table tbody,
body .woocommerce-checkout-review-order-table tfoot { display: block; width: 100%; }
body .woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; width: 100%; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--ya-line); background: none; }
body .woocommerce-checkout-review-order-table tfoot tr:last-child { border-bottom: 0; }
body .woocommerce-checkout-review-order-table tr > th,
body .woocommerce-checkout-review-order-table tr > td { display: block; border: 0 !important; padding: 0 !important; background: none !important; width: auto; }
body .woocommerce-checkout-review-order-table thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ya-ink-2); }
body .woocommerce-checkout-review-order-table td.product-name { flex: 1 1 auto; min-width: 0; }
body .woocommerce-checkout-review-order-table td.product-total { text-align: right; white-space: nowrap; }
body .woocommerce-checkout-review-order-table tr.cart_item:has(.ya-item-head) { display: block; }
body .woocommerce-checkout-review-order-table tr.cart_item:has(.ya-item-head) td.product-name { width: 100%; }
body .woocommerce-checkout-review-order-table tr.cart_item:has(.ya-item-head) td.product-total { display: flex; justify-content: space-between; width: 100%; margin-top: 10px; padding-top: 8px !important; border-top: 1px dashed var(--ya-line) !important; font-weight: 700; }
body .woocommerce-checkout-review-order-table tr.cart_item:has(.ya-item-head) td.product-total::before { content: "Razem"; }
body .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { display: block; }
body .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ya-ink-2); }
body .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td { width: 100%; }
body .woocommerce-checkout-review-order-table tr > th:empty { display: none; }
body .woocommerce-checkout-review-order-table tr:has(> th:empty) > td { flex: 1 1 auto; text-align: center; }
body .woocommerce-checkout-review-order-table #shipping_method { margin: 0; padding: 0; }
body .woocommerce-checkout-review-order-table #shipping_method li { margin: 0 0 8px; padding: 0; border: 0; }
body .woocommerce-checkout-review-order-table #shipping_method li:last-child { margin-bottom: 0; }
body .woocommerce-checkout-review-order-table tr.order-total th, body .woocommerce-checkout-review-order-table tr.order-total td { font-size: 17px; font-weight: 700; color: var(--ya-ink); }
@media (max-width: 760px) { body .woocommerce-checkout-review-order-table td.product-total { white-space: normal; max-width: 45%; } body .woocommerce-checkout-review-order-table td.product-total del { display: block; } body .woocommerce-checkout-review-order-table tr.cart_item:has(.ya-item-head) td.product-total { max-width: none; } }

/* 1.6.6 – CTA personalizacji w zamówieniu */
.ya-checkout-pers { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin: 0 0 24px; padding: 18px 20px; border-radius: 20px; background: var(--ya-lilac); border: 1px solid #E3D6C7; }
.ya-checkout-pers__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ya-ink); }
.ya-checkout-pers__text { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--ya-ink-2); }
.ya-checkout-pers__text strong { font-size: 16px; color: var(--ya-ink); }
.ya-checkout-pers .ya-btn { flex: none; }
@media (max-width: 600px) { .ya-checkout-pers .ya-btn { width: 100%; } }

/* 1.7.6 – opis produktu z WPBakery: pełna szerokość, równe kolumny, film z blokadą cookies */
.woocommerce-tabs .panel:has(.wpb-content-wrapper) { max-width: none; }
.woocommerce-tabs .panel .wpb-content-wrapper > .vc_row { margin: 0 0 56px; }
.woocommerce-tabs .panel .wpb-content-wrapper > .vc_row:not(:has(.wpb_text_column, .wpb_single_image, .wpb_video_widget)) { display: none; }
.woocommerce-tabs .panel .vc_separator { display: none; }
.woocommerce-tabs .panel .wpb_text_column { margin-top: 0 !important; margin-bottom: 0; }
.woocommerce-tabs .panel .ya-desc-row { display: flex; flex-wrap: wrap; align-items: center; }
.woocommerce-tabs .panel .ya-desc-row > .vc_column_container > .vc_column-inner { padding-left: 20px; padding-right: 20px; }
.woocommerce-tabs .panel .wpb_text_column h3 { font-family: var(--ya-serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; margin: 0 0 16px; color: var(--ya-ink); }
.woocommerce-tabs .panel .wpb_text_column p { font-size: 16px; line-height: 1.75; color: var(--ya-ink-2); margin: 0 0 14px; }
.woocommerce-tabs .panel .ya-desc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px !important; }
.woocommerce-tabs .panel .ya-desc-meta span { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--ya-cream, #F7F1EA); border: 1px solid var(--ya-line); font-size: 13px; color: var(--ya-ink); }
.woocommerce-tabs .panel .wpb_single_image { margin-bottom: 0; }
.woocommerce-tabs .panel .wpb_single_image img { border-radius: 20px; background: #F7F1EA; }
.woocommerce-tabs .panel .ya-desc-video { text-align: center; }
.woocommerce-tabs .panel .ya-desc-video h3 { text-align: center; }
.woocommerce-tabs .panel .wpb_video_widget .wpb_video_wrapper { position: relative; border-radius: 20px; overflow: hidden; background: #2b211a; }
.ya-video-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: #fff; background: radial-gradient(circle at 50% 40%, #6b5444, #2b211a); }
.ya-video-consent__play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; }
.ya-video-consent__play::before { content: ""; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
.ya-video-consent p { margin: 0; max-width: 420px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.ya-video-consent .ya-btn { background: #fff; color: var(--ya-ink); border-color: #fff; }
@media (max-width: 767px) {
	.woocommerce-tabs .panel .wpb-content-wrapper > .vc_row { margin-bottom: 36px; }
	.woocommerce-tabs .panel .ya-desc-row--rev { flex-direction: column-reverse; }
	.woocommerce-tabs .panel .ya-desc-row .wpb_single_image { margin-top: 20px; }
}
.wpb_video_widget .wpb_video_wrapper > .ya-video-consent { position: absolute; padding: 24px !important; }

/* 1.8.3 – nagłówek „Piramida zapachowa” wyśrodkowany */
.ya-pyramid > .ya-h2 { text-align: center; }

/* 1.8.4 – film na telefonie na całą szerokość */
@media (max-width: 767px) {
	.woocommerce-tabs .panel .wpb_video_widget .wpb_wrapper { width: 100% !important; }
	.woocommerce-tabs .panel .ya-desc-video > .vc_column_container > .vc_column-inner { padding-left: 0; padding-right: 0; }
	.woocommerce-tabs .panel .wpb_video_widget .wpb_video_wrapper { border-radius: 14px; }
	.wpb_video_widget .wpb_video_wrapper > .ya-video-consent { padding: 14px !important; gap: 10px; }
	.ya-video-consent p { font-size: 13px; }
	.ya-video-consent__play { width: 48px; height: 48px; }
}

/* 1.9.0 – zamówienie: miniaturka przy produkcie, podgląd/edycja graweru */
.ya-item-thumb { display: inline-flex; flex: none; width: 48px; height: 48px; margin: 0 10px 0 8px; border-radius: 10px; overflow: hidden; background: #F7F1EA; border: 1px solid var(--ya-line); vertical-align: middle; }
.ya-item-thumb img.ya-item-thumb__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ya-item-head__name { display: inline-flex; align-items: center; flex-wrap: wrap; }
.woocommerce-checkout-review-order-table td.product-name { vertical-align: middle; }
.ya-item-edit { display: block; margin: 6px 0 0; padding: 0; border: 0; background: none; color: var(--ya-ink); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ya-item-edit:hover { color: var(--ya-btn); }
.ya-item-fee__text { display: inline-block; }
@media (max-width: 520px) {
	.ya-item-thumb { width: 40px; height: 40px; margin: 0 8px 0 6px; }
}

/* 1.9.3 – galeria produktu: pionowe przewijanie strony palcem po zdjęciu */
.wpgis-slider-for .slick-list, .wpgis-slider-for .slick-track { touch-action: pan-y; }
