/*!
Theme Name: Diables TCG
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: diables_tcg
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Diables TCG is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color:#111827;
	font-family: "Gemunu Libre", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

/* Elements
--------------------------------------------- */
body {
	background: #FAF8F5;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: inherit;text-decoration:none;
}

*:hover,
*:focus,
*:active {
	outline:0;
}

textarea {
	width: 100%;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 1200px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}


/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}


/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

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

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

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

.wrap {width:1200px;margin:auto;}

.heading--128 {font-size: 128px;font-weight: 600;line-height: normal;margin-top:0;}
.heading--48 {font-size: 48px;font-weight: 800;line-height: 110%;margin-top:0;}
.heading--40 {font-size: 40px;font-weight: 800;line-height: normal;margin-top:0;}
.heading--32 {font-size: 32px;font-weight: 800;line-height: 110%;margin-top:0;}
.heading--24 {font-size: 24px;font-weight: 600;line-height: normal;margin-top:0;}
.heading--20 {font-size: 20px;font-weight: 700;line-height: normal;margin-top:0;}

.text--nav {font-size: 18px;font-weight: 600;line-height: normal;}
.text--18 {font-size: 18px;font-weight: 500;line-height: 20px;}
.text--14 {font-size: 14px;font-weight: 400;line-height: 150%;font-family: "Inter", sans-serif;}

.inter {font-family: "Inter", sans-serif;}

.button {padding:12px 16px;font-size: 16px;display:inline-flex;align-items:center;column-gap:8px;}
.button--large {padding:12px 16px;font-size: 20px;}
.button--white {display:inline-block;color: #000;font-weight: 700;line-height: normal;border-radius: 8px;border: 1px solid #E5E7EB;background: #FFF;}
.button--red {color: #FFF;font-weight: 600;line-height: normal;border-radius: 8px;border: 1px solid #E5E7EB;background: #8B1E1E;transition:all 0.15s ease-in;}
.button--red:hover {background:#DC2626;border-color:#DC2626;}

.mb64 {margin-bottom:64px;}
.mb48 {margin-bottom:48px;}
.mb40 {margin-bottom:40px;}
.mb32 {margin-bottom:32px;}
.mb24 {margin-bottom:24px;}
.mb20 {margin-bottom:20px;}
.mb16 {margin-bottom:16px;}

.pp80 {padding:80px 0;}
.pp64 {padding:64px 0;}
.pp48 {padding:48px 0;}

.center {text-align:center;}

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

.header__topbar {background: #151515;padding:12px;color:#fff;}
.header__topbar p {margin:0;}
.topbar__grid {display:grid;grid-template-columns:auto auto;justify-content: space-between;align-items: center;}
.topbar__left span {display:inline-block;padding:4px 8px;margin:0 4px;border-radius: 4px;border: 0.5px solid rgba(255, 255, 255, 0.10);background: rgba(255, 255, 255, 0.05);} 

.header__mid {border-bottom: 1px solid #EAEAEA;background:#fff;}
.header__grid {padding:24px 0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;}
.header__search {justify-self:start;}
.dgwt-wcas-search-input {padding-left:16px;color: #6B7280;font-family: "Inter", sans-serif;font-size: 14px;font-style: normal;font-weight: 400;border-radius: 8px !important;border: 1px solid #E5E7EB !important;height:48px !important;width: 320px !important;}
.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {height: 32px; top: 8px; right: 8px;min-width:32px;min-height:32px;border-radius: 4px;background: linear-gradient(136deg, #FF7F2A 1.56%, #FFB52A 99.27%);}
.dgwt-wcas-ico-magnifier, .dgwt-wcas-ico-magnifier-handler {max-width: 16px !important;}
.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit::before {display:none;}
.site-branding {justify-self:center;}
.site-branding img {width:200px;}

.header__shop {justify-self:end;display:flex;column-gap:32px;align-items: center;}
.header__shop a {display:flex;column-gap:8px;align-items: center;}
.header__shop a svg {display:block;}
.header__cart-icon-wrap {position:relative;}
.header__cart-count {width:19px;height:19px;line-height: 19px;top:-9px;right:-9px;display:inline-block;font-family: "Inter", sans-serif;font-size: 11px;font-weight: 700;text-align:center;;color:#fff;position:absolute;border-radius: 50%;background: linear-gradient(136deg, #FF7F2A 1.56%, #FFB52A 99.27%);}

.header__menu {padding:16px 0;background:#fff;}

.main-navigation ul {justify-content: space-between;}
.main-navigation ul li {padding:0 4px;}
.main-navigation ul li a {font-size: 18px;font-weight: 600;line-height: normal;}

/* MEGA MENU
--------------------------------------------- */

.main-navigation {position: relative;}
.main-navigation .has-mega {position: static;}
.main-navigation .has-mega > a {display: inline-flex;align-items: center;gap: 8px;}
.main-navigation .has-mega > a::after {content: "";width: 7px;height: 7px;border-right: 2px solid currentColor;border-bottom: 2px solid currentColor;transform: rotate(45deg) translateY(-2px);transition: transform 0.15s ease-in;}
.main-navigation .has-mega.is-open > a::after {transform: rotate(-135deg) translateY(2px);}

.main-navigation .mega {display: none;position: absolute;left: 0;right: 0;top: calc(100% + 16px);float: none;margin: 0;padding: 24px;justify-content: flex-start;border-radius: 0 0 12px 12px;border: 1px solid #E5E7EB;border-top: none;background: #FFF;box-shadow: 0 16px 32px -16px rgba(17, 24, 39, 0.2);z-index: 999;}
.main-navigation .mega li {padding: 0;}
.main-navigation .mega a {width: auto;}

.main-navigation .has-mega.is-open > .mega--tiles {display: grid;left: 0;right: 0;grid-template-columns: repeat(5, 1fr);gap: 16px;}
.mega__tile a {display: flex;flex-direction: column;align-items: center;gap: 12px;padding: 16px;border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;text-align: center;transition: border-color 0.15s ease-in;}
.mega__tile a:hover {border-color: #FF7F2A;}
.mega__tile img {display: block;width: 100%;height: 96px;object-fit: contain;}
.mega__tile-placeholder {display: block;width: 100%;height: 96px;border-radius: 8px;background: #F3F4F6;}
.main-navigation .mega .mega__tile-label {color: #111827;font-size: 16px;font-weight: 600;line-height: normal;}

.main-navigation .has-mega.is-open > .mega--list {display: flex;left: 0;right: 0;flex-wrap: wrap;align-items: flex-start;gap: 20px 48px;}
.mega__all {flex: 1 1 100%;padding-bottom: 16px;border-bottom: 1px solid #E5E7EB;}
.main-navigation .mega__all a {display: inline-block;color: #111827;font-size: 16px;font-weight: 700;}
.main-navigation .mega__all a:hover {color: #FF7F2A;}
.main-navigation .mega--list > li > a {display: inline-block;color: #111827;font-size: 16px;font-weight: 700;line-height: normal;margin-bottom: 10px;}
.main-navigation .mega--list > li > a:hover {color: #FF7F2A;}
.main-navigation .mega__sublist {display: block;position: static;float: none;box-shadow: none;margin: 0;padding: 0;list-style: none;}
.main-navigation .mega__sublist a {display: block;padding: 5px 0;color: #374151;font-size: 15px;font-weight: 500;line-height: normal;}
.main-navigation .mega__sublist a:hover {color: #FF7F2A;}

.menu-item--live::after {content: "";display: none;width: 8px;height: 8px;margin-left: 7px;border-radius: 50%;background: #DC2626;box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55);vertical-align: middle;}
.menu-item--live.is-live::after {position: absolute; right: -8px; top: -4px;display: inline-block;animation: diables-live-pulse 1.6s ease-out infinite;}

@keyframes diables-live-pulse {
	70% {box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);}
	100% {box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);}
}

@media (prefers-reduced-motion: reduce) {
	.menu-item--live.is-live::after {animation: none;}
}


/* HOME
--------------------------------------------- */

.home__slider {position: relative;width: 100%;}

.home__swiper {width: 100%;}
/*.home__swiper .swiper-slide {height: 460px;}*/
.slide--full-image {width: 100%;height: 100%;display: flex;}
.slide--full-image .wrap {width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;}
.slide--full-image .slider__image-wrap {height: 100%;min-width: 0;max-width: 100%;display: flex;justify-content: center;align-items: center;}
.slide--full-image .slider__image-link,
.slide--full-image .slider__image-wrap picture {height: 100%;min-width: 0;max-width: 100%;display: flex;justify-content: center;align-items: center;}
.slide--full-image .slider__image-wrap img {height: 100%;width: auto;max-width: 100%;object-fit: contain;display: block;margin: 0 auto;}

.slide--text-image {display: flex;align-items: stretch;}
.slide--text-image .wrap {height: 100%;display: flex;align-items: stretch;}
.slide__grid {color: #1B1B1B;display: grid;grid-template-columns: 1fr 1fr;gap: 40px;align-items: center;height: 100%;}

.slide__image {display: flex;justify-content: flex-end;align-self: stretch;}
.slide__image img {width: 100%;height: 100%;object-fit: cover;display: block;}

/* Pasek paginacji rozciąga się na całą szerokość slajdu, więc bez pointer-events:none
   przechwytywałby kliknięcia w baner/przycisk pod spodem. Klikalne zostają same bulletki. */
.home__swiper-pagination {position: absolute;bottom: 16px !important;left: 0;right: 0;text-align: center;z-index: 10;pointer-events: none;}
.home__swiper-pagination .swiper-pagination-bullet {background: #fff;opacity: 0.5;width: 10px;height: 10px;margin: 0 5px;pointer-events: auto;}
.home__swiper-pagination .swiper-pagination-bullet-active {opacity: 1;}

.cats__swiper-wrap {position: relative;overflow: hidden;padding:48px 0;}
.cats__swiper {overflow: hidden;}
.cats__slide {height: 160px;}
.cats__slide a {display: block;height: 100%;}
.cats__slide img {width: 100%;height: 100%;object-fit: cover;display: block;border-radius: 8px;}
.cats__fade {position: absolute;top: 0;bottom: 0;width: 20vw;pointer-events: none;z-index: 10;}
.cats__fade--left {left: 0;background: linear-gradient(90deg, #FAF8F5 50%, rgba(250, 248, 245, 0.00) 100%);}
.cats__fade--right {right: 0;background: linear-gradient(-90deg, #FAF8F5 50%, rgba(250, 248, 245, 0.00) 100%);}

.home__featured {padding-bottom:48px;}
.section__header {display:grid;grid-template-columns:auto auto;justify-content: space-between;align-items: center;}
.section__header .heading--40 {margin-bottom:0;}
.section__header a {color: #6B7280;font-size: 20px;line-height: 150%; text-decoration:underline;}

.products__grid {display:grid;grid-template-columns:repeat(4, 23.5%);justify-content: space-between;grid-row-gap:24px;position:relative;z-index:10;}
.product-card {background:#fff;position:relative;border-radius: 12px;transition:transform 0.2s ease, box-shadow 0.2s ease;}
.product-card:hover {box-shadow:0 8px 24px rgba(0,0,0,0.1);}
.product-card__link {display:block;}
.product-card__sale-badge {position: absolute;top: 16px;right: 16px;border-radius: 4px; background: linear-gradient(136deg, #FF7F2A 1.56%, #FFB52A 99.27%), #111827; padding: 2px 8px; color: #fff; display: block; font-weight: 600; font-size: 14px; letter-spacing: 1.2px;}
.product-card__image img {display: block; object-fit: contain; aspect-ratio: 1 / 1;width:100%;}
/* Badge kategorii (ACF „badge" na termie product_cat) — bliźniak .preorder-badge
   poniżej; różni się tylko tłem, które wstawia inline pole „kolor_badge".
   Jak przy preorderze: sam wygląd, pozycjonowanie zależy od kontekstu. */
.cat-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: #8B1E1E;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 0 2px 10px rgba(17, 24, 39, 0.28);
}

.single-product div.product .woocommerce-product-gallery {position:relative;}
/* W galerii na stronie produktu zostaje u góry — na dole byłby na miniaturkach. */
.single-product div.product .woocommerce-product-gallery .cat-badge {position:absolute;top:16px;left:16px;z-index:3;}

.preorder-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 181, 42, 0.55);
	background: linear-gradient(136deg, #1F2937 1.56%, #111827 99.27%);
	color: #FFB52A;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 0 2px 10px rgba(17, 24, 39, 0.28);
}

.preorder-badge__icon {flex-shrink: 0;}

.product-card__image {position: relative;}
/* Badge kategorii i preorder dzielą to samo miejsce — nie występują razem. */
.product-card__image .preorder-badge,
.product-card__image .cat-badge {position: absolute;left: 16px;bottom: 16px;z-index: 3;}

/* Na stronie produktu: w kolumnie z podsumowaniem, nad tytułem. */
.preorder-badge--summary {margin-bottom: 16px;padding: 9px 14px;font-size: 14px;}
.product-card__meta {padding: 20px 20px 64px 20px;}
.product-card__category {display:grid;grid-template-columns:auto auto;justify-content: space-between;align-items: center;}
.product-card__cat-logo {display:block;height:30px;}
.product-card__type {color: #6B7280;font-size: 14px;font-weight: 600;line-height: normal;text-transform: uppercase;}
.product-card__footer {position:absolute;bottom:20px;left:20px;right:20px;display: grid;grid-template-columns: auto auto;justify-content: space-between;align-items: center;}
.product-card__price {display:flex;flex-wrap: wrap;column-gap:8px;min-height:40px;display:flex;align-items: center;color: #111827;font-size: 24px;font-weight: 800;line-height: normal;}
.product-card__price ins {background:none;color:#FF7F2A;}
.product-card__price del {font-weight:400;color:#9CA3AF;font-size:20px;}
.product-card__add-to-cart {cursor:pointer;border:none;border-radius: 8px;background: linear-gradient(136deg, #FF7F2A 1.56%, #FFB52A 99.27%), #111827;padding:10px;display:block;transition:filter 0.2s ease, transform 0.2s ease;}
.product-card__add-to-cart:hover {filter:brightness(1.12);transform:scale(1.08);}
.product-card__add-to-cart svg {display:block;}
.product-card__add-to-cart.loading {pointer-events:none;}
.product-card__add-to-cart.loading svg {opacity:0;}
/* Produkt niedostępny — wyłączony, wyszarzony przycisk zamiast koszyka */
.product-card__out-of-stock {border:none;border-radius:8px;background:#E5E7EB;color:#6B7280;font-weight:700;font-size:14px;line-height:normal;padding:10px 12px;cursor:not-allowed;white-space:nowrap;}
.product-card__add-to-cart.loading::after {content:'';position:absolute;top:50%;left:50%;width:16px;height:16px;margin:-8px 0 0 -8px;border:2px solid rgba(255,255,255,0.35);border-top-color:#fff;border-radius:50%;animation:btn-spin 0.6s linear infinite;}
@keyframes btn-spin {to{transform:rotate(360deg);}}
.added_to_cart.wc-forward {display:none;}

.home__preorder {background: linear-gradient(136deg, #A70000 1.56%, #910000 99.27%), #762C8D;}
.preorder__wrap {position:relative;padding:48px 0;}
.preorder__header {color:#fff;position:relative;z-index:2;max-width:660px;}
.preorder__bg {position:absolute;right:-10%;top:0;display: block; height: 100%;}

.home__recommended {background: linear-gradient(136deg, #3366AF 1.56%, #123970 99.27%), #FFF;}
.home__recommended .heading--48 {color: #FFF;text-transform: uppercase;}
.recommended__tabs {display:flex;justify-content: center;gap:16px;}
.recommended__tab-btn {transition: all 0.15s ease;cursor:pointer;display:inline-block;border: 0.5px solid transparent;padding:12px 16px;color: #FFF;font-size: 16px;font-weight: 600;line-height: normal;border-radius: 24px;background: rgba(255, 255, 255, 0.15);}
.recommended__tab-btn.is-active, .recommended__tab-btn:hover, .recommended__tab-btn:focus {transition: all 0.15s ease;color:#2D5EA4;border: 0.5px solid rgba(40, 40, 40, 0.10);background: linear-gradient(136deg, #FFCB05 1.56%, #F9DE77 99.27%);}
.recommended__panels-wrap {position:relative;}
.recommended__panel {visibility:hidden;position:absolute;top:0;left:0;width:100%;pointer-events:none;}
.recommended__panel.is-active {visibility:visible;position:static;pointer-events:auto;}
.recommended__header {display:grid;grid-template-columns:48% 48%;justify-content: space-between;align-items: center;}
.recommended__info {color:#fff;}
.recommended__image img {display:block;}
.home__recommended .heading--24 {color: #FFCB05;text-transform: uppercase;}

/* ARCHIVE
--------------------------------------------- */

.shop__archive .woocommerce-breadcrumb {margin-bottom:24px;}
.archive__grid {display: grid;grid-template-columns: 320px 1fr;gap: 24px;align-items: start;}
.shop__archive__header {display:grid;grid-template-columns:auto auto;justify-content: space-between;align-items: center;padding:16px 24px;background:#fff;border:1px solid #E5E7EB;border-radius:12px;}
.shop__archive__header .woocommerce-notices-wrapper {grid-column:1 / -1;margin-bottom:0;}
.woocommerce-result-count {margin:0;font-size: 20px;font-weight: 600;}
.archive__products .products {display: grid;grid-template-columns: repeat(3, 1fr);gap: 24px;}

.archive__filters {background: #fff;border: 1px solid #E5E7EB;border-radius: 12px;padding: 24px;position: sticky;top: 24px;}
.filters-toggle {display: none;}

.woocommerce-pagination {margin-top: 32px;}
.woocommerce-pagination ul.page-numbers {list-style: none;display: flex;flex-wrap: wrap;justify-content: center;gap: 8px;margin: 0;padding: 0;}
.woocommerce-pagination ul.page-numbers li {margin: 0;}
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers {display: flex;align-items: center;justify-content: center;min-width: 40px;height: 40px;padding: 0 12px;border-radius: 8px;border: 1px solid #E5E7EB;background: #fff;color: #111827;font-size: 15px;font-weight: 600;text-decoration: none;transition: all 0.15s ease-in;}
.woocommerce-pagination a.page-numbers:hover {border-color: #FF7F2A;color: #FF7F2A;}
.woocommerce-pagination span.page-numbers.current {border-color: transparent;background: linear-gradient(136deg, #FF7F2A 1.56%, #FFB52A 99.5%), #111827;color: #fff;}

.filters__title {margin: 0 0 20px;}
.filters__heading {margin: 24px 0 16px;font-size: 16px;font-weight: 700;text-transform: uppercase;}
.filters__group {padding: 16px 0;border-top: 1px solid #E5E7EB;}
.filters__group-title {margin: 0 0 12px;font-size: 16px;font-weight: 700;}

.filters__subcats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.filters__subcats a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	color: #374151;
	text-decoration: none;
	font-size: 15px;
	transition: color 0.15s ease;
}

.filters__subcats a:hover {
	color: #FF7F2A;
}

.filters__categories li.is-active > a {
	color: #FF7F2A;
	font-weight: 700;
}

.filters__cat-all {
	padding-bottom: 10px;
	border-bottom: 1px solid #E5E7EB;
}

.filters__cat-current {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #FDE4B9;
	color: #EF8D1A;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
}

.filters__cat-current .filters__count {
	color: #EF8D1A;
	opacity: 0.8;
}

.filters__cat-children {
	margin: 8px 0 0 4px;
	padding-left: 12px;
	border-left: 2px solid #FDE4B9;
}

.filters__count {
	color: #9CA3AF;
	font-size: 13px;
	font-weight: 600;
}

.filters__price {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.filters__price-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	color: #6B7280;
}

.filters__price-field input {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	font-size: 15px;
	color: #111827;
}

.filters__price-field input:focus {
	outline: none;
	border-color: #FF7F2A;
}

.filters__group--collapsible .filters__group-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0;
	margin-bottom: 12px;
	background: none;
	border: none;
	cursor: pointer;
}

.filters__group--collapsible .filters__group-toggle .filters__group-title {
	margin: 0;
}

.filters__collapse {
	font-size: 13px;
	font-weight: 600;
	color: #FF7F2A;
}

.filters__group--collapsible:not(.is-open) [data-collapse-body] {
	display: none;
}

.filters__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 20px;
	border-top: 1px solid #E5E7EB;
}

.filters__submit {
	flex: 1;
	cursor: pointer;
	border: none;
	border-radius: 8px;
	background: linear-gradient(136deg, #FF7F2A 1.56%, #FFB52A 99.27%), #111827;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	padding: 12px 16px;
	transition: filter 0.2s ease;
}

.filters__submit:hover {
	filter: brightness(1.08);
}

.filters__reset {
	color: #6B7280;
	font-size: 14px;
	text-decoration: none;
}

.filters__reset:hover {
	color: #111827;
}

/* Price range slider */
.filters__price-slider {
	position: relative;
	height: 32px;
	margin-top: 18px;
}

.filters__slider-track {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 4px;
	transform: translateY(-50%);
	background: #E5E7EB;
	border-radius: 2px;
}

.filters__slider-range {
	position: absolute;
	top: 0;
	bottom: 0;
	background: #FF7F2A;
	border-radius: 2px;
}

.filters__slider-input {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 18px;
	margin: 0;
	transform: translateY(-50%);
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.filters__slider-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #FF7F2A;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	cursor: pointer;
}

.filters__slider-input::-moz-range-thumb {
	pointer-events: auto;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #FF7F2A;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	cursor: pointer;
}

.filters__slider-input::-webkit-slider-runnable-track {
	-webkit-appearance: none;
	appearance: none;
	height: 4px;
	background: transparent;
	border: none;
}

.filters__slider-input::-moz-range-track {height: 4px;background: transparent;border: none;}
.woocommerce-ordering {position: relative;margin: 0;}
.woocommerce-ordering.orderby--js select.orderby {display: none;}
.orderby-dropdown {position: relative;min-width: 230px;}
.orderby-dropdown__toggle {display: flex;align-items: center;justify-content: space-between;	gap: 12px;	width: 100%;	padding: 11px 14px;	background: #fff;	border: 1px solid #E5E7EB;	border-radius: 8px;color: #111827;font-size: 15px;font-weight: 500;line-height: 1.2;cursor: pointer;transition: border-color 0.15s ease, box-shadow 0.15s ease;}

.orderby-dropdown__toggle:hover, .orderby-dropdown.is-open .orderby-dropdown__toggle {border-color: #FF7F2A;}

.orderby-dropdown.is-open .orderby-dropdown__toggle {
	box-shadow: 0 0 0 3px rgba(255, 127, 42, 0.15);
}

.orderby-dropdown__toggle::after {
	content: "";
	width: 9px;
	height: 9px;
	margin-top: -4px;
	border-right: 2px solid #9CA3AF;
	border-bottom: 2px solid #9CA3AF;
	transform: rotate(45deg);
	transition: transform 0.2s ease, margin-top 0.2s ease;
	flex-shrink: 0;
}

.orderby-dropdown.is-open .orderby-dropdown__toggle::after {
	margin-top: 2px;
	transform: rotate(-135deg);
}

.orderby-dropdown__list {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 20;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.orderby-dropdown.is-open .orderby-dropdown__list {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.orderby-dropdown__option {
	padding: 9px 12px;
	border-radius: 6px;
	font-size: 15px;
	color: #374151;
	cursor: pointer;
	transition: background 0.12s ease, color 0.12s ease;
}

.orderby-dropdown__option:hover {
	background: #FFF3E9;
	color: #FF7F2A;
}

.orderby-dropdown__option.is-selected {background: #FDE4B9;color: #EF8D1A;font-weight: 600;}

.archive-title__parent {color: #9CA3AF;text-decoration: none;}

.archive-title__parent:hover {color: #FF7F2A;}

.archive-title__sep {color: #D1D5DB;}


/* SINGLE PRODUCT
--------------------------------------------- */

.woocommerce-breadcrumb {display:flex;column-gap:8px;color: #374151;font-size: 14px;font-weight: 400;line-height: 20px;}
.woocommerce-breadcrumb a {color: #9CA3AF;}

.woocommerce-notices-wrapper {margin-bottom:24px;}

.product__top {display: grid; grid-template-columns: 48% 48%; justify-content: space-between;position:relative;}
.product__top .onsale {position:absolute;z-index:99;text-transform:uppercase;left:0;top:25px;padding:8px 16px;color: #FFF;font-size: 16px;font-weight: 700;line-height: 16px;border-radius: 0 8px 8px 0;background: linear-gradient(136deg, #A70000 1.56%, #910000 99.27%), rgba(22, 163, 74, 0.90);}

.summary__top {display:grid;grid-template-columns:auto auto;justify-content: space-between;align-items: center;}
.summary__tags {display:flex;column-gap:12px;}
.summary__tag {display:inline-block;border-radius: 999px;padding:4px 10px;font-size: 14px;font-weight: 500;line-height: 16px;}
.summary__tag--cat {background: #FDE4B9;color:#EF8D1A;}
.summary__tag--type {background:#F3F4F6;color: #6B7280;}
.summary__tag--series {background: #F3E8FF;color: #9333EA;}

.woocommerce-product-rating {display:flex;}

.product__meta {display:flex;column-gap:16px;font-size: 16px;line-height: 20px;}
.stock {display:flex;column-gap:8px;align-items: center;color: #111827;}
.stock__circle {border-radius: 50%;width:12px;height:12px;display:inline-block;}
.in-stock .stock__circle {background: linear-gradient(136deg, #3CFF2A 1.56%, #5FC12A 99.27%);}
.low-stock .stock__circle {background:#fdd835;}
.last-item .stock__circle {background:#fb8c00;}
.out-of-stock .stock__circle {background:#e53935;}
.sku__divider {color: #D1D5DB;font-size: 14px;}
.product__sku {color: #9CA3AF;}

.price__box {border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);padding:20px;}
.price__box .price {color: #111827;font-size: 36px;font-weight: 700;line-height: 40px;display:flex;align-items: center;column-gap:16px;flex-wrap:wrap;}
.price__box .price ins {background:none;}
.price__box .price del {color: #9CA3AF;font-size: 18px;font-weight: 400;line-height: 28px;}
.iworks-omnibus {padding-top:8px;width:100%;color: #374151;font-size: 14px;font-style: normal;font-weight: 700;line-height: 16px;border-top: 1px solid #E5E7EB;margin-top:12px;margin-bottom:0;}
.iworks-omnibus span {color: #F59C20;}
.tax__info {color: #9CA3AF;display: block;font-size: 14px;line-height: 16px; margin-top:12px;}

.woocommerce-product-details__short-description p {margin-top:0;}

.summary .cart {display:flex;column-gap:16px;}
.quantity {overflow:hidden;display: grid;grid-template-columns: 36px 1fr 36px;width:120px;border-radius: 8px;border: 1px solid #E5E7EB;background: #FFF;box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);}
.quantity input {border:none;background:none;color: #111827;font-size: 16px;font-weight: 500;line-height: 24px;width:100%;text-align:center;}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {-webkit-appearance: none;margin: 0;}
input[type=number] {-moz-appearance: textfield;}
.qty__minus, .qty__plus {cursor:pointer;display:flex;align-items:center;justify-content: center;color: #9CA3AF;font-size: 18px;font-weight: 700;line-height: 28px; /* 155.556% */transition: all 0.15s ease-in;}
.qty__minus:hover, .qty__plus:hover, .qty__minus:focus, .qty__plus:focus {color:#fff;background: linear-gradient(136deg, #FF7F2A 1.56%, #FFB52A 99.5%), #111827;transition: all 0.15s ease-in;}

.summary .cart .button {flex-grow: 1;cursor:pointer;text-align: center;font-size: 18px;font-weight: 700;line-height: 28px;border-radius: 8px;background: linear-gradient(136deg, #FF7F2A 1.56%, #FFB52A 99.5%), #111827;border:none;height:52px;display:flex;align-items: center;justify-content: center;column-gap:12px;color:#fff;position:relative;}
.summary .cart .button.loading {pointer-events:none;}
.summary .cart .button.loading svg,.summary .cart .button.loading span {opacity:0;}
.summary .cart .button.loading::after {content:'';position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border:2px solid rgba(255,255,255,0.35);border-top-color:#fff;border-radius:50%;animation:btn-spin 0.6s linear infinite;}

.product__info {display:grid;grid-template-columns:48% 48%;justify-content: space-between;grid-row-gap:12px;}
.pi__box {padding:12px;border-radius: 8px;border: 1px solid #E5E7EB;background: rgba(255, 255, 255, 0.80);box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);}
.pi__box .text--18 {color: #111827;margin-bottom:8px;}
.pi__box .text--14 {color:#6B7280;}

.product__description__grid {display:grid;grid-template-columns:64% 34%;justify-content: space-between;}
.woocommerce-tabs {display:grid;grid-row-gap:16px;}
.wc-accordion-item {border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);	padding: 20px;}
.wc-accordion-item .text--14 {color: #4B5563;margin-top:24px;}
.wc-accordion-item .text--14 ul {margin-left:0;}
.wc-tabs-accordion .wc-accordion-header {display: flex;justify-content: space-between;	align-items: center;cursor: pointer;color: #111827;font-size: 24px;font-weight: 700;line-height: 24px;color: #111827;user-select: none;}
.wc-tabs-accordion .wc-accordion-header:hover {color: #FF7F2A;}
.wc-accordion-icon {display: inline-block;width: 16px;height: 16px;flex-shrink: 0;	position: relative;}
.wc-accordion-icon::before, .wc-accordion-icon::after {content: '';position: absolute;background: currentColor;border-radius: 2px;transition: transform 0.2s ease, opacity 0.2s ease;}
.wc-accordion-icon::before {width: 16px;height: 2px;top: 7px;left: 0;}
.wc-accordion-icon::after {width: 2px;height: 16px;top: 0;left: 7px;}
.wc-accordion-item.is-open .wc-accordion-icon::after {transform: scaleY(0);opacity: 0;}
.wc-tabs-accordion .wc-accordion-content {display: none;}
.wc-accordion-item.is-open .wc-accordion-content {display: block;}

.woocommerce-Reviews {margin-top:24px;color:#111827;}
.woocommerce-Reviews-title {margin:0 0 24px;color:#111827;font-size:20px;font-weight:700;line-height:normal;}

.commentlist {margin:0;padding:0;list-style:none;display:flex;flex-direction:column;row-gap:16px;}
.commentlist .review {margin:0;}
.commentlist .comment_container {display:flex;column-gap:16px;padding:20px;border-radius:12px;background:#F9FAFB;}
.commentlist .comment_container img.avatar {width:48px;height:48px;border-radius:50%;flex-shrink:0;margin:0;}
.commentlist .comment-text {flex:1 1 auto;min-width:0;}
.woocommerce-Reviews .star-rating {margin:0 0 8px;font-size:14px;}
.commentlist .comment-text p.meta {margin:0 0 8px;display:flex;flex-wrap:wrap;align-items:center;column-gap:6px;color:#6B7280;font-size:14px;line-height:20px;}
.commentlist .comment-text .woocommerce-review__author {color:#111827;font-weight:700;}
.commentlist .comment-text .woocommerce-review__dash {color:#9CA3AF;}
.commentlist .comment-text .description {color:#374151;font-size:16px;line-height:26px;}
.commentlist .comment-text .description p {margin:0;}
.commentlist .comment-text .description p + p {margin-top:12px;}

#review_form_wrapper {margin-top:32px;padding-top:32px;border-top:1px solid #E5E7EB;}
#review_form .comment-reply-title {display:block;margin-bottom:20px;color:#111827;font-size:20px;font-weight:700;line-height:normal;}
#review_form .comment-reply-title small {margin-left:8px;font-size:14px;font-weight:400;}
#review_form .comment-form {display:flex;flex-direction:column;row-gap:20px;}
#review_form .comment-form-rating,
#review_form .comment-form-comment,
#review_form .comment-form-author,
#review_form .comment-form-email {margin:0;}
#review_form .comment-form label {display:block;margin-bottom:8px;color:#111827;font-size:14px;font-weight:600;line-height:normal;}
#review_form .comment-form .required {color:#DC2626;}
#review_form .comment-form input[type="text"],
#review_form .comment-form input[type="email"],
#review_form .comment-form textarea {width:100%;box-sizing:border-box;padding:12px 16px;border-radius:8px;border:1px solid #E5E7EB;background:#FFF;color:#111827;font-size:14px;line-height:normal;font-family:inherit;transition:border-color 0.15s ease-in, box-shadow 0.15s ease-in;}
#review_form .comment-form textarea {min-height:120px;line-height:24px;resize:vertical;}
#review_form .comment-form input[type="text"]:focus,
#review_form .comment-form input[type="email"]:focus,
#review_form .comment-form textarea:focus {outline:none;border-color:#FF7F2A;box-shadow:0 0 0 3px rgba(255,127,42,0.15);}

.woocommerce-Reviews p.stars {display:inline-flex;column-gap:2px;margin:0;}
.woocommerce-Reviews p.stars a {font-size:22px;width:1.1em;height:1.1em;margin:0;}
.woocommerce-Reviews p.stars a::before {color:#D1D5DB;opacity:1;}
.woocommerce-Reviews p.stars a:hover ~ a::before {color:#D1D5DB;opacity:1;}
.woocommerce-Reviews p.stars:hover a::before {color:#F9A825;opacity:1;}
.woocommerce-Reviews p.stars.selected a:not(.active)::before {color:#F9A825;opacity:1;}
.woocommerce-Reviews p.stars.selected a.active::before {color:#F9A825;opacity:1;}
.woocommerce-Reviews p.stars.selected a.active ~ a::before {color:#D1D5DB;opacity:1;}

#review_form .form-submit {margin:0;}
#review_form #submit {cursor:pointer;display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 32px;border:none;border-radius:8px;background:linear-gradient(136deg,#FF7F2A 1.56%,#FFB52A 99.5%),#111827;color:#fff;font-size:18px;font-weight:700;line-height:normal;transition:opacity 0.15s ease-in;}
#review_form #submit:hover {opacity:0.9;}

.woocommerce-Reviews .woocommerce-noreviews,
.woocommerce-Reviews .woocommerce-verification-required,
#review_form .must-log-in {margin:0;padding:0;background:none;color:#6B7280;font-size:14px;line-height:22px;}
.woocommerce-Reviews .woocommerce-verification-required a,
#review_form .must-log-in a {color:#FF7F2A;text-decoration:underline;}

.product__description__right {border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);padding:16px 20px;}
.ptcg-card-item {padding:16px 0;border-bottom: 1px solid #E5E7EB;display:grid;grid-template-columns:120px 1fr auto;grid-column-gap:16px;align-items: center;}
.ptcg-card-item:first-of-type {padding-top:0;}
.ptcg-card-item:last-of-type {border-bottom:none;}
.ptcg-card-img {padding:8px;border: 0.684px solid rgba(0, 0, 0, 0.10);background: #F9F9F9;}
.ptcg-card-id {color: #9CA3AF;font-size: 14px;line-height: 20px;font-family: "Inter", sans-serif;display:block;margin-bottom:8px;}
.ptcg-card-info .heading--24 {margin-bottom:0;}
.ptcg-card-price {font-size: 16px;font-weight: 700;line-height: 22.75px;}

/* FOOTER
--------------------------------------------- */

.site-footer {padding-top:60px;padding-bottom:40px;border-top: 1px solid #E5E7EB;background: #FFF;}
.footer__grid {display:grid;grid-template-columns:30% 65%;justify-content: space-between;}
.footer__left img {display:block;}

.footer__right {display: flex;column-gap: 64px; justify-content: space-between;}
.fr__column ul {list-style: none;margin:0;padding:0;display: flex;flex-direction: column; row-gap: 12px;}
.fr__column ul li a {color: #374151;font-size: 18px;line-height: 180%;}

.footer__copyright {display:grid;grid-template-columns:auto auto;justify-content: space-between;align-items: center;}
.fc__left {display:flex;column-gap:24px;}
.fc__left p {margin:0;}
.fc__left p a {text-decoration:underline;}
.fc__right {display:flex;column-gap: 24px;}
.fc__right div {border-radius: 4px;border: 1px solid #EBEBEB;background: #FFF;height:42px;padding:0 16px;display:flex;align-items: center;}
.fc__right img {display:block;margin:auto;}

/* MINI CART
--------------------------------------------- */

.mini-cart {position: fixed;inset: 0;z-index: 9999;pointer-events: none;visibility: hidden;transition: visibility 0.3s;}

body.mini-cart-open .mini-cart {
	pointer-events: auto;
	visibility: visible;
}

.mini-cart__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.3s ease;
}

body.mini-cart-open .mini-cart__overlay {opacity: 1;}

.mini-cart__drawer {position: absolute;	top: 0;	right: 0;bottom: 0;	width: 420px;
	max-width: 100%;
	background: #fff;
	display: flex;	flex-direction: column;
	transform: translateX(100%);	transition: transform 0.3s ease;
	overflow: hidden;}

body.mini-cart-open .mini-cart__drawer {transform: translateX(0);}

.mini-cart__notice {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 5;
	padding: 12px 16px;
	border-radius: 8px;
	background: #111827;
	color: #fff;
	font-size: 13px;
	line-height: 1.4;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* Header */
.mini-cart__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid #EAEAEA;
	flex-shrink: 0;
}

.mini-cart__header .heading--32 {
	margin: 0;
	color: #111827;
}

.mini-cart__close {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 13px;
	color: #6B7280;
	padding: 0;
	transition: color 0.2s;
}

.mini-cart__clear:hover {
	color: #111827;
}

/* Body / items */
.mini-cart__body {
	flex: 1;
	overflow-y: auto;
	padding: 16px 24px;
}

.mini-cart__empty {
	color: #6B7280;
	font-size: 24px;
	text-align: center;
	padding: 24px 0;
}

.mini-cart__items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.mini-cart__item {
	display: flex;
	gap: 14px;
	padding-bottom: 20px;
	border-bottom: 1px solid #F3F4F6;
}

.mini-cart__item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.mini-cart__item-img {flex-shrink: 0;width: 72px;height: 72px;display: block;border-radius: 6px;overflow: hidden;border: 1px solid #EAEAEA;}

.mini-cart__item-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mini-cart__item-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mini-cart__item-name {
	font-size: 14px;
	font-weight: 500;
	color: #111827;
	text-decoration: none;
	line-height: 1.4;
	display: block;
}

.mini-cart__item-name:hover {
	color: #FF7F2A;
}

/* Qty + remove row */
.mini-cart__item-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mini-cart__qty {
	display: flex;
	align-items: center;
	border: 1px solid #D1D5DB;
	border-radius: 6px;
	overflow: hidden;
	height: 32px;
}

.mini-cart__qty-static {font-size: 13px;color: #374151;}

.mini-cart__qty-btn {width: 30px;height: 100%;background: none;border: none;cursor: pointer;font-size: 16px;color: #374151;display: flex;align-items: center;justify-content: center;transition: background 0.15s;}

.mini-cart__qty-btn:hover {
	background: #F9FAFB;
}

.mini-cart__qty-input {
	width: 36px;
	height: 100%;
	border: none;
	border-left: 1px solid #D1D5DB;
	border-right: 1px solid #D1D5DB;
	text-align: center;
	font-size: 13px;
	-moz-appearance: textfield;
	appearance: textfield;
	padding: 0;
}

.mini-cart__qty-input::-webkit-inner-spin-button,
.mini-cart__qty-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

.mini-cart__item-remove {
	font-size: 14px;
	color: #9CA3AF;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.mini-cart__item-remove:hover {
	color: #EF4444;
}

/* Price */
.mini-cart__item-price {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mini-cart__price {
	font-size: 13px;
	color: #374151;
	line-height: 1.5;
}

.mini-cart__price--total {
	font-weight: 600;
	color: #111827;
	font-size: 14px;
}

.mini-cart__price--total small {
	font-weight: 400;
	font-size: 11px;
	color: #6B7280;
}

.mini-cart__price--unit,
.mini-cart__price--calc {
	font-size: 14px;
	color: #6B7280;
}

/* Footer */
.mini-cart__footer {
	padding: 20px 24px;
	border-top: 1px solid #EAEAEA;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mini-cart__subtotal {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
	font-weight: 600;
	color: #111827;
}

.mini-cart__shipping-note {
	font-size: 14px;
	color: #6B7280;
	margin: 0;
}

.mini-cart__btn {display: block;width: 100%;padding: 12px 20px;border-radius: 8px;text-align: center;font-size: 16px;font-weight: 500;text-decoration: none;transition: background 0.2s, color 0.2s;box-sizing: border-box;}

.mini-cart__btn--primary {background: linear-gradient(136deg, #FF7F2A 1.56%, #FFB52A 99.27%);color: #fff;}
.mini-cart__btn--primary:hover {opacity: 0.9;color: #fff;}
.mini-cart__btn--secondary {background: #F3F4F6;color: #374151;border: 1px solid #E5E7EB;}
.mini-cart__btn--secondary:hover {background: #E5E7EB;color: #111827;}
.mini-cart__free-shipping-text {text-align:center;text-transform:uppercase;font-size:16px;margin-top: 0; margin-bottom: 8px; font-weight: 600; letter-spacing: 1.2px;}
.mini-cart__free-shipping-bar {background: #F3F4F6;}
.mini-cart__free-shipping-fill {height:6px;border-radius:4px;background: linear-gradient(136deg, #FF7F2A 1.56%, #FFB22A 99.27%), #762C8D;}

/* CART PAGE
--------------------------------------------- */

/* Notices (cart + checkout + moje konto + strona produktu) */
.woocommerce-cart .woocommerce-notices-wrapper {margin-bottom:0;}
.woocommerce-cart .woocommerce-message, .woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error, .woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info, .woocommerce-checkout .woocommerce-error,
.woocommerce-account .woocommerce-message, .woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error, .single-product .woocommerce-message, .single-product .woocommerce-info, .single-product .woocommerce-error {margin:16px 0 0;padding:14px 20px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;border-radius:8px;border:1px solid #E5E7EB;background:#FFF;color:#111827;font-size:16px;font-weight:500;line-height:24px;list-style:none;}
.woocommerce-cart .woocommerce-message, .woocommerce-checkout .woocommerce-message,
.woocommerce-account .woocommerce-message, .single-product .woocommerce-message {border-color:#A7F3D0;background:#F0FDF4;color:#0f834d;}
.woocommerce-cart .woocommerce-error, .woocommerce-checkout .woocommerce-error, .woocommerce-account .woocommerce-error,
.single-product .woocommerce-error {border-color:#FECACA;background:#Fff;color:#DC2626;}
.woocommerce-error li {flex:1 1 auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0;padding:0;}
.woocommerce-cart .woocommerce-message .button, .woocommerce-cart .woocommerce-info .button, .woocommerce-cart .woocommerce-error .button,
.woocommerce-checkout .woocommerce-message .button, .woocommerce-checkout .woocommerce-info .button, .woocommerce-checkout .woocommerce-error .button,
.single-product .woocommerce-message .button, .single-product .woocommerce-info .button,
.single-product .woocommerce-error .button {order:2;margin-left:auto;border-radius:8px;border:none;background:linear-gradient(136deg,#FF7F2A 1.56%,#FFB52A 99.5%),#111827;color:#fff;transition:opacity 0.15s ease-in;}
.woocommerce-cart .woocommerce-message .button:hover, .woocommerce-cart .woocommerce-info .button:hover, .woocommerce-cart .woocommerce-error .button:hover,
.woocommerce-checkout .woocommerce-message .button:hover, .woocommerce-checkout .woocommerce-info .button:hover, .woocommerce-checkout .woocommerce-error .button:hover, .single-product .woocommerce-message .button:hover,
.single-product .woocommerce-info .button:hover, .single-product .woocommerce-error .button:hover {opacity:0.9;}

/* Notices na stronie logowania/rejestracji — większe i bardziej widoczne
   (scope :has(.login__wrapper) omija zalogowane ekrany konta) */
.woocommerce-account:has(.login__wrapper) .woocommerce-error,
.woocommerce-account:has(.login__wrapper) .woocommerce-message,
.woocommerce-account:has(.login__wrapper) .woocommerce-info {display:block;max-width:480px;margin:16px auto;padding:16px;border-radius:12px;font-size:17px;font-weight:500;line-height:26px;box-shadow:0 8px 24px rgba(17,24,39,0.06);}
.woocommerce-account:has(.login__wrapper) .woocommerce-error {position:relative;padding:20px 22px 20px 58px;border:1px solid #FCA5A5;background:#FEF2F2;color:#B91C1C;font-weight:600;box-shadow:0 8px 24px rgba(220,38,38,0.10);}
.woocommerce-account:has(.login__wrapper) .woocommerce-error::before {content:"";position:absolute;top:20px;left:22px;width:24px;height:24px;background:#DC2626;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E") no-repeat center / contain;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E") no-repeat center / contain;}
.woocommerce-account:has(.login__wrapper) .woocommerce-error li {display:block;flex:none;margin:0;padding:0;}
.woocommerce-account:has(.login__wrapper) .woocommerce-error li + li {margin-top:6px;}
.woocommerce-account:has(.login__wrapper) .woocommerce-error a {color:#B91C1C;text-decoration:underline;text-underline-offset:2px;}

/* Monit o potwierdzenie adresu e-mail na liście zamówień — wyróżniony wariant
   notice'a (klasę nadaje woocommerce/notices/notice.php) */
.woocommerce-account .woocommerce-info--verify-email {position:relative;margin:0 0 20px;padding:12px 16px 12px 44px;border-color:#FDE68A;background:#FFFBEB;color:#92400E;font-size:14px;font-weight:500;line-height:20px;}
.woocommerce-account .woocommerce-info--verify-email::before {content:"";position:absolute;top:13px;left:16px;width:18px;height:18px;background:#D97706;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") no-repeat center / contain;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") no-repeat center / contain;}
.woocommerce-account .woocommerce-info--verify-email .button {order:2;margin-left:auto;padding:8px 14px;border:none;border-radius:8px;background:linear-gradient(136deg,#FF7F2A 1.56%,#FFB52A 99.5%),#111827;color:#FFF;font-size:14px;font-weight:700;line-height:normal;text-decoration:none;white-space:nowrap;transition:opacity 0.15s ease-in;}
.woocommerce-account .woocommerce-info--verify-email .button:hover {opacity:0.9;}

/* Notice "brak produktów" w sklepie i kategoriach — bez tła/ramki, trochę większy */
.woocommerce-shop .woocommerce-info,
.tax-product_cat .woocommerce-info {background:none;border:none;padding:20px 0;font-size:18px;}

.cart__title {color:#111827;}

.cart__layout {display:flex;align-items:flex-start;gap:20px;}
.cart__main {width:65%;}
.cart__aside {width:33.333%;min-width:37%;}

.cart__products, .cart__account, .cart__summary {border-radius:12px;border:1px solid #E5E7EB;background:#FFF;padding:24px;}

.cart__item {position:relative;display:grid;grid-template-columns:96px 1fr minmax(120px,auto);column-gap:16px;align-items:center;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #E5E7EB;}
.cart__item:last-child {padding-bottom:0;margin-bottom:0;border-bottom:none;}

.cart__item-thumb img {display:block;width:96px;height:auto;border-radius:8px;}
.cart__item-thumb a {display:block;}

.cart__item-details {display:flex;flex-direction:column;justify-content:center;gap:12px;}
.cart__item-name {margin:0;color:#111827;}
.cart__item-name a {color:inherit;text-decoration:none;transition:color 0.15s ease-in;}
.cart__item-name a:hover {color:#FF7F2A;}
.cart__item-qty .quantity {height:48px;}
.cart__item-meta {color:#6B7280;font-size:14px;line-height:20px;}
.cart__item-meta p {margin:0;}

.cart__item-aside {display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;align-self:stretch;}
.cart__remove {color:#DC2626;font-size:13px;font-weight:400;line-height:16px;text-decoration:underline;transition:color 0.15s ease-in;}
.cart__remove:hover {color:#B91C1C;}
.cart__item-price {color:#111827;font-size:36px;font-weight:700;line-height:120%;text-align:right;}
.cart__item-price del {color:#9CA3AF;font-size:14px;font-weight:400;}
.cart__item-price ins {background:none;text-decoration:none;}

.cart__account-text {color:#111827;font-size:18px;font-weight:600;line-height:26px;margin-bottom:16px;}
.cart__account-buttons {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;margin-bottom:16px;}
.cart__account-or {color:#9CA3AF;font-size:14px;font-weight:500;}
.cart__account-buttons .button {display:inline-flex;align-items:center;justify-content:center;column-gap:8px;cursor:pointer;}
.cart__account-buttons .button svg {width:20px;height:20px;flex-shrink:0;}
.cart__account-info {color:#9CA3AF;font-size:14px;font-weight:400;line-height:20px;}

.cart__aside .cart__summary {position:sticky;top:24px;}
.cart__coupon {margin-bottom:24px;}
.cart__coupon-row {display:flex;gap:8px;}
.cart__coupon-input {flex:1 1 auto;min-width:0;height:48px;padding:0 16px;border-radius:8px;border:1px solid #E5E7EB;background:#FFF;color:#757575;font-size:14px;font-weight:400;line-height:normal;}
.cart__coupon-input::placeholder {color:#9CA3AF;}
.cart__coupon-btn {flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;}

.cart__totals {border-top:1px solid #E5E7EB;padding-top:8px;margin-bottom:24px;}
.cart__totals-row {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;}
.cart__totals-row > span:first-child {color:#111827;font-size:20px;font-weight:600;line-height:normal;}
.cart__totals-row > span:last-child {color:#111827;font-size:22px;font-weight:800;line-height:normal;text-align:right;white-space:nowrap;}
.cart__totals-row--discount > span:last-child {color:#0f834d;}
.cart__totals-row--total {border-top:1px solid #E5E7EB;margin-top:8px;padding-top:16px;}
.cart__totals-row--total > span:first-child {font-size:16px;font-weight:600;}
.cart__totals-vat {display:block;color:#6B7280;font-size:12px;font-weight:400;line-height:normal;margin-top:2px;}

.cart__checkout-btn {display:flex;align-items:center;justify-content:center;width:100%;}
.cart__update-hidden {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;}

/* CHECKOUT PAGE
--------------------------------------------- */

.checkout__wrapper .cart__main {display:flex;flex-direction:column;gap:20px;}
.checkout__box {border-radius:12px;border:1px solid #E5E7EB;background:#FFF;padding:24px;}
.checkout #checkout-billing {margin-bottom:24px;}

.checkout .woocommerce-billing-fields > h3,
.checkout .woocommerce-shipping-fields > h3:not(#ship-to-different-address),
.checkout .woocommerce-additional-fields > h3 {margin:0 0 24px;font-size: 20px;font-weight: 700;line-height: normal;}

.checkout #ship-to-different-address {margin:0;}
.checkout #ship-to-different-address label {display:flex;align-items:center;gap:10px;margin:0;color:#111827;font-size:24px;font-weight:600;line-height:normal;cursor:pointer;}
.checkout #ship-to-different-address input {width:auto;margin:0;accent-color:#FF7F2A;}
.checkout .shipping_address {margin-top:24px;}

.checkout .woocommerce-billing-fields__field-wrapper,
.checkout .woocommerce-shipping-fields__field-wrapper {display:grid;grid-template-columns:1fr 1fr;gap:0 16px;}
.checkout .woocommerce-additional-fields__field-wrapper {display:block;}
.checkout .form-row {display:flex;flex-direction:column;margin:0 0 16px;padding:0;}
.checkout .woocommerce-billing-fields__field-wrapper > .form-row,
.checkout .woocommerce-shipping-fields__field-wrapper > .form-row {grid-column:auto / span 1;}
.checkout .form-row label, .order-pay .form-row label {margin-bottom:12px;font-size: 16px;font-weight: 500;line-height: normal;}
.checkout .form-row .required, .order-pay .form-row .required {color:#DC2626;border:0;text-decoration:none;}
.checkout .form-row .optional {color:#9CA3AF;font-weight:400;}
.checkout .input-text,
.checkout textarea,
.checkout select {width:100%;box-sizing:border-box;padding:12px 16px;border-radius:8px;border:1px solid #E5E7EB;background:#FFF;color:#111827;font-size:16px;line-height:normal;font-family:inherit;transition:border-color 0.15s ease-in, box-shadow 0.15s ease-in;}
.checkout textarea {min-height:100px;line-height:24px;resize:vertical;}
.checkout .input-text:focus,
.checkout textarea:focus,
.checkout select:focus {outline:none;border-color:#FF7F2A;box-shadow:0 0 0 3px rgba(255,127,42,0.15);}

.checkout label.woocommerce-form__label-for-checkbox, .order-pay label.woocommerce-form__label-for-checkbox {flex-direction:row;align-items:center;gap:8px;font-weight:400;cursor:pointer;}
.checkout .woocommerce-form__input-checkbox, .order-pay .woocommerce-form__input-checkbox {width:auto;margin:0;accent-color:#FF7F2A;}

.checkout .select2-container {width:100% !important;}
.checkout .select2-container--default .select2-selection--single {height:auto;padding:11px 16px;border-radius:8px;border:1px solid #E5E7EB;}
.checkout .select2-container--default .select2-selection--single .select2-selection__rendered {padding:0;line-height:normal;color:#111827;font-size:14px;}
.checkout .select2-container--default .select2-selection--single .select2-selection__arrow {top:0;right:10px;height:100%;}

.checkout__shipping-list {list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;}
.checkout__shipping-item {margin:0;}
.checkout__shipping-item input.shipping_method {position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none;}
.checkout__ship-card {display:grid;grid-template-columns:20px 1fr auto;align-items:center;column-gap:12px;padding:16px;border-radius:12px;border:1px solid #E5E7EB;background:#FFF;cursor:pointer;transition:border-color 0.15s ease-in, background 0.15s ease-in;}
.checkout__ship-radio {position:relative;width:20px;height:20px;border-radius:50%;border:2px solid #E5E7EB;box-sizing:border-box;transition:border-color 0.15s ease-in;}
.checkout__ship-radio::after {content:"";position:absolute;left:50%;top:50%;width:5px;height:9px;border:solid #8B1E1E;border-width:0 2px 2px 0;transform:translate(-50%,-60%) rotate(45deg);opacity:0;transition:opacity 0.15s ease-in;}
.checkout__ship-info {display:flex;flex-direction:column;gap:2px;min-width:0;}
.checkout__ship-name {color:#111827;font-size:14px;font-weight:600;line-height:normal;}
.checkout__ship-desc {color:#6B7280;font-size:12px;font-weight:400;line-height:normal;}
.checkout__ship-price {text-align:right;color:#111827;font-size:14px;font-weight:700;line-height:normal;white-space:nowrap;}
.checkout__shipping-item input.shipping_method:checked + .checkout__ship-card {padding:15px;border:2px solid #8B1E1E;background:#FEF2F2;}
.checkout__shipping-item input.shipping_method:checked + .checkout__ship-card .checkout__ship-radio {border-color:#8B1E1E;}
.checkout__shipping-item input.shipping_method:checked + .checkout__ship-card .checkout__ship-radio::after {opacity:1;}
.checkout__shipping-item input.shipping_method:focus-visible + .checkout__ship-card {outline:2px solid #8B1E1E;outline-offset:2px;}
.checkout__lb-combine {display:none;margin:8px 0 0;}
.checkout__shipping-item input.shipping_method:checked ~ .checkout__lb-combine {display:block;}
.checkout__lb-combine label {display:block;margin:0 0 6px;color:#374151;font-size:14px;font-weight:500;}
.checkout__lb-combine .required {color:#DC2626;text-decoration:none;border:0;}
.checkout__shipping-empty {margin:0;color:#6B7280;font-size:14px;line-height:22px;}

/* Dodatkowe UI wtyczek wysyłkowych (np. przycisk wyboru punktu odbioru z Alsendo
   Connect), wstrzykiwane przez woocommerce_review_order_after_shipping. */
.checkout__shipping-extra:empty {display:none;}
.checkout__shipping-extra {margin-top:16px;}
.checkout__shipping-extra input[type="button"], .checkout__shipping-extra button {cursor:pointer;border:1px solid #8B1E1E;border-radius:8px;background:#FFF;color:#8B1E1E;font-size:14px;font-weight:700;line-height:normal;padding:11px 18px;transition:background 0.15s ease-in, color 0.15s ease-in;}
.checkout__shipping-extra input[type="button"]:hover, .checkout__shipping-extra button:hover {background:#8B1E1E;color:#FFF;}
#alsendo-selected-parcel-machine {margin-top:12px;padding:12px 14px;border-radius:8px;background:#F3F4F6;color:#374151;font-size:14px;line-height:22px;}
#alsendo-selected-parcel-machine .font-height-600 {color:#111827;font-weight:600;}

.checkout__summary {position:static;}
.checkout__summary .checkout__coupon,
.checkout__summary .checkout__payment {margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #E5E7EB;}
.checkout__summary #order_review {margin:0;}
.checkout__summary .checkout__totals {border-top:0;padding-top:0;margin-bottom:0;}

.checkout .wc_payment_methods, .order-pay .wc_payment_methods {list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;}
.checkout .wc_payment_methods li, .order-pay .wc_payment_methods li {position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0;padding:16px;border-radius:12px;border:1px solid #E5E7EB;background:#FFF;transition:border-color 0.15s ease-in, background 0.15s ease-in;}
.checkout .wc_payment_methods input[type="radio"], .order-pay .wc_payment_methods > li > input[type="radio"] {position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none;}
.checkout .wc_payment_methods > li > label, .order-pay .wc_payment_methods > li > label {position:relative;flex:1 1 auto;display:inline-flex;align-items:center;gap:12px;margin:0;color:#111827;font-size:16px;font-weight:600;line-height:normal;cursor:pointer;}
.checkout .wc_payment_methods > li > label::before, .order-pay .wc_payment_methods > li > label::before {content:"";flex:0 0 auto;width:20px;height:20px;border-radius:50%;border:2px solid #E5E7EB;box-sizing:border-box;transition:border-color 0.15s ease-in;}
.checkout .wc_payment_methods label img, .order-pay .wc_payment_methods > li > label img {max-height:24px;width:auto;margin-left:auto;}
.checkout .wc_payment_methods li:has(input:checked), .order-pay .wc_payment_methods > li:has(> input:checked) {padding:15px;border:2px solid #8B1E1E;background:#FEF2F2;}
.checkout .wc_payment_methods li:has(input:checked) > label::before, .order-pay .wc_payment_methods > li:has(> input:checked) > label::before {border-color:#8B1E1E;}
.checkout .wc_payment_methods li:has(input:checked) > label::after, .order-pay .wc_payment_methods > li:has(> input:checked) > label::after {content:"";position:absolute;left:6px;top:50%;width:5px;height:9px;border:solid #8B1E1E;border-width:0 2px 2px 0;transform:translateY(-65%) rotate(45deg);}
.checkout .wc_payment_methods .payment_box, .order-pay .wc_payment_methods .payment_box {flex:1 1 100%;margin:8px 0 0;padding:12px 16px;border-radius:8px;border:1px solid #E5E7EB;background:#FFF;color:#4B5563;font-size:16px;line-height:20px;}
.checkout .wc_payment_methods .payment_box p, .order-pay .wc_payment_methods .payment_box p {margin:0;}

.checkout__review-items {list-style:none;margin:0 0 16px;padding:0 0 16px;border-bottom:1px solid #E5E7EB;display:flex;flex-direction:column;gap:12px;}
.checkout__review-item {display:flex;justify-content:space-between;gap:12px;align-items:center;color:#374151;font-size:14px;line-height:20px;}
.checkout__review-item-thumb {flex:0 0 auto;width:48px;}
.checkout__review-item-thumb img {display:block;width:48px;height:48px;object-fit:cover;border-radius:8px;border:1px solid #E5E7EB;}
.checkout__review-item-name {flex:1 1 auto;color:#111827;}
.checkout__review-item-qty {color:#6B7280;}
.checkout__review-item-total {font-weight:600;color:#111827;white-space:nowrap;}
.checkout__totals .woocommerce-remove-coupon {margin-left:8px;font-size:12px;font-weight:400;color:#DC2626;text-decoration:underline;white-space:nowrap;}

.checkout__place {margin-top:24px;padding-top:24px;border-top:1px solid #E5E7EB;}
.checkout__place .place-order {display:flex;flex-direction:column;gap:16px;margin:0;padding:0;}
.checkout .woocommerce-terms-and-conditions-wrapper, .order-pay .woocommerce-terms-and-conditions-wrapper {width:100%;color:#4B5563;font-size:14px;line-height:22px;}
.checkout .woocommerce-terms-and-conditions-wrapper .form-row, .order-pay .woocommerce-terms-and-conditions-wrapper .form-row {margin:0;}
.checkout .woocommerce-terms-and-conditions-wrapper label.checkbox, .order-pay .woocommerce-terms-and-conditions-wrapper label.checkbox {align-items:flex-start;color:#4B5563;}
.checkout #place_order, .order-pay #place_order {cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:100%;height:56px;padding:0 32px;border:1px solid #EF4444;border-radius:8px;background:#EF4444;color:#fff;font-size:18px;font-weight:700;line-height:normal;transition:all 0.15s ease-in;}
.checkout #place_order:hover, .order-pay #place_order:hover {background:#DC2626;border-color:#DC2626;}

.woocommerce-checkout .woocommerce-form-login {margin:0 0 24px;border-radius:12px;border:1px solid #E5E7EB;background:#FFF;padding:24px;}
.woocommerce-checkout .woocommerce-form-login .input-text {width:100%;box-sizing:border-box;padding:12px 16px;border-radius:8px;border:1px solid #E5E7EB;font-size:14px;font-family:inherit;}


/* ORDER PAY (checkout/order-pay — ponowna płatność po nieudanej transakcji
   oraz opłacenie zamówienia przez gościa)
--------------------------------------------- */

/* Wąska, wycentrowana kolumna jak na stronie podziękowania. Notice WooCommerce
   renderują się poza formularzem, więc muszą dostać tę szerokość osobno. */
.order-pay__inner {max-width: 780px;margin: 0 auto;}
.woocommerce-order-pay .woocommerce-notices-wrapper,
.woocommerce-order-pay .woocommerce-error,
.woocommerce-order-pay .woocommerce-info,
.woocommerce-order-pay .woocommerce-message {max-width: 780px;margin-left: auto;margin-right: auto;}

.order-pay__box {margin-bottom: 20px;padding: 24px;border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;}
.order-pay__box:last-child {margin-bottom: 0;}

/* Podsumowanie pozycji zamówienia */
.order-pay__table {width: 100%;margin: 0;border-collapse: collapse;}
.order-pay__table th,
.order-pay__table td {padding: 12px 0;border-bottom: 1px solid #F3F4F6;text-align: left;vertical-align: top;color: #374151;font-size: 15px;font-weight: 400;line-height: 22px;}
.order-pay__table thead th {padding-top: 0;color: #6B7280;font-size: 13px;font-weight: 600;text-transform: uppercase;letter-spacing: 0.4px;}
.order-pay__table .product-quantity {width: 88px;text-align: center;white-space: nowrap;}
.order-pay__table .product-subtotal,
.order-pay__table .product-total {text-align: right;}
.order-pay__table .woocommerce-Price-amount {white-space: nowrap;}
.order-pay__table tbody .product-quantity {color: #6B7280;font-weight: 500;}
.order-pay__table tbody .product-name {color: #111827;font-weight: 600;}
.order-pay__table tbody .product-subtotal {color: #111827;font-weight: 600;}
.order-pay__table .wc-item-meta {list-style: none;margin: 4px 0 0;padding: 0;color: #9CA3AF;font-size: 13px;line-height: 18px;}
.order-pay__table tfoot th {color: #6B7280;font-size: 14px;font-weight: 500;}
.order-pay__table tfoot td {color: #374151;font-size: 14px;}
.order-pay__table tfoot td .woocommerce-Price-amount {color: #111827;font-size: 15px;font-weight: 700;}
.order-pay__table tfoot tr:last-child th,
.order-pay__table tfoot tr:last-child td {border-bottom: none;}
.order-pay__table .order-pay__total--order_total th {color: #111827;font-size: 16px;font-weight: 700;}
.order-pay__table .order-pay__total--order_total td .woocommerce-Price-amount {font-size: 18px;}

/* Metoda wysyłki i wybrany punkt odbioru (Alsendo Connect) w wierszu „Wysyłka” */
.order-pay__table .shipped_via {display: block;margin-top: 2px;color: #6B7280;font-size: 13px;font-weight: 400;}
.order-pay__table .alsendo-shipments-chosen-locker-point {display: block;color: #6B7280;font-size: 13px;font-weight: 400;line-height: 18px;}
.order-pay__table .alsendo-shipments-chosen-locker-point.point {margin-top: 6px;color: #111827;font-weight: 600;}

/* Sekcja płatności: regulamin + przycisk */
.order-pay #payment > .form-row {display: flex;flex-direction: column;gap: 16px;margin: 24px 0 0;padding: 0;}
.order-pay .woocommerce-privacy-policy-text p {margin: 0 0 12px;}
.order-pay .woocommerce-terms-and-conditions {margin: 0 0 12px;padding: 12px 16px;border: 1px solid #E5E7EB;border-radius: 8px;background: #F9FAFB;}

/* Bramka Paynow — wtyczka renderuje własny markup w klasach Bootstrapa,
   którego motyw nie ładuje. */
.order-pay .wc_payment_methods .payment_box > p {margin: 0 0 8px;}
.order-pay .paynow-blik-white-label .row {display: flex;flex-wrap: wrap;align-items: center;gap: 8px 16px;}
.order-pay .paynow-blik-white-label .form-control-label {margin: 0;color: #111827;font-size: 14px;font-weight: 600;line-height: normal;}
.order-pay .paynow-blik-white-label .form-control {box-sizing: border-box;width: 160px;max-width: 100%;padding: 12px 16px;border-radius: 8px;border: 1px solid #E5E7EB;background: #FFF;color: #111827;font-family: inherit;font-size: 18px;font-weight: 600;letter-spacing: 4px;text-align: center;transition: border-color 0.15s ease-in, box-shadow 0.15s ease-in;}
.order-pay .paynow-blik-white-label .form-control:focus {outline: none;border-color: #FF7F2A;box-shadow: 0 0 0 3px rgba(255, 127, 42, 0.15);}

.order-pay .paynow-payment-option-pbls {display: grid;grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));gap: 8px;margin-top: 12px;}
.order-pay .paynow-payment-option-pbl input[type="radio"] {position: absolute;opacity: 0;width: 1px;height: 1px;margin: 0;pointer-events: none;}
.order-pay .paynow-payment-option-pbl label {display: flex;align-items: center;justify-content: center;height: 56px;margin: 0;padding: 8px;border-radius: 8px;border: 1px solid #E5E7EB;background: #FFF;cursor: pointer;transition: border-color 0.15s ease-in, background 0.15s ease-in;}
.order-pay .paynow-payment-option-pbl label img {max-width: 100%;max-height: 100%;width: auto;height: auto;object-fit: contain;}
.order-pay .paynow-payment-option-pbl label:hover {border-color: #8B1E1E;}
.order-pay .paynow-payment-option-pbl input:checked + label {padding: 7px;border: 2px solid #8B1E1E;background: #FEF2F2;}
.order-pay .paynow-payment-option-pbl.disabled {opacity: 0.4;}
.order-pay .paynow-payment-option-pbl.disabled label {background: #F9FAFB;cursor: not-allowed;}
.order-pay .paynow-payment-option-pbl.disabled label:hover {border-color: #E5E7EB;}

.paynow-payment-option-pbl {width:100% !important;}

.order-pay .paynow-data-processing-info {margin-top: 12px;padding-top: 12px;border-top: 1px solid #F3F4F6;color: #9CA3AF;font-size: 12px;line-height: 18px;}
.order-pay .paynow-data-processing-info a {color: #8B1E1E;text-decoration: underline;word-break: break-word;}
.order-pay .paynow-data-processing-info .expand {color: #8B1E1E;font-weight: 600;text-decoration: underline;cursor: pointer;white-space: nowrap;}
.order-pay .paynow-data-processing-info .data-processing-list {margin: 6px 0;padding-left: 20px;}
.order-pay .paynow-data-processing-info-more {margin-top: 8px;}

/* Wtyczka rozwija klauzulę RODO collapse'em Bootstrapa. Bez jego CSS-a cała
   klauzula byłaby widoczna od razu; obsługujemy oba warianty klasy (BS3/BS4+). */
.order-pay .paynow-data-processing-info-more.collapse {display: none;}
.order-pay .paynow-data-processing-info-more.collapse.show,
.order-pay .paynow-data-processing-info-more.collapse.in {display: block;}

/* THANK YOU
--------------------------------------------- */

.woocommerce-order {max-width: 780px;margin: 0 auto;padding: 48px 0;}

.woocommerce-order .paynow-confirm-blik {display: flex;align-items: center;gap: 16px;margin: 0 0 24px;border-radius: 12px;}
.woocommerce-order .paynow-confirm-blik h2 {order: 2;margin: 0;font-size: 20px;font-weight: 700;line-height: 28px;}
.woocommerce-order .paynow-confirm-blik img {order: 1;flex: 0 0 auto;width: 64px;height: auto;margin:0 !important}

.woocommerce-order .woocommerce-thankyou-order-received {margin: 0 0 24px;padding: 20px 24px;border-radius: 12px;border: 1px solid #A7F3D0;background: #F0FDF4;color: #0f834d;font-size: 20px;font-weight: 700;line-height: 28px;text-align: center;}
.woocommerce-order .woocommerce-thankyou-order-failed {margin: 0 0 16px;padding: 20px 24px;border-radius: 12px;border: 1px solid #FECACA;background: #FEF2F2;color: #DC2626;font-size: 16px;font-weight: 600;line-height: 24px;}
.woocommerce-order .woocommerce-thankyou-order-failed-actions {display: flex;flex-wrap: wrap;gap: 12px;margin: 0 0 24px;padding: 0;border: none;background: none;}
.woocommerce-order .woocommerce-thankyou-order-failed-actions .button {display: inline-flex;align-items: center;justify-content: center;padding: 12px 24px;border-radius: 8px;border: 1px solid #EF4444;background: #EF4444;color: #fff;font-size: 16px;font-weight: 700;line-height: normal;text-decoration: none;transition: all 0.15s ease-in;}
.woocommerce-order .woocommerce-thankyou-order-failed-actions .button:hover {background: #DC2626;border-color: #DC2626;}
.woocommerce-order .woocommerce-order-overview {list-style: none;display: flex;flex-wrap: wrap;gap: 12px;margin: 0 0 32px;padding: 0;}
.woocommerce-order .woocommerce-order-overview li {flex: 1 1 auto;margin: 0;padding: 14px 16px;border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;color: #6B7280;font-size: 13px;font-weight: 500;line-height: normal;}
.woocommerce-order .woocommerce-order-overview li strong {display: block;margin-top: 6px;color: #111827;font-size: 16px;font-weight: 700;line-height: normal;}
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-order-downloads,
.woocommerce-order .woocommerce-customer-details {margin: 0 0 20px;padding: 24px;border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;}
.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-order-downloads__title,
.woocommerce-order .woocommerce-customer-details > h2 {margin: 0 0 16px;color: #111827;font-size: 24px;font-weight: 600;line-height: normal;}
.woocommerce-order .woocommerce-table {width: 100%;border-collapse: collapse;}
.woocommerce-order .woocommerce-table th,
.woocommerce-order .woocommerce-table td {padding: 12px 0;border-bottom: 1px solid #F3F4F6;text-align: left;color: #374151;font-size: 15px;line-height: 22px;}
.woocommerce-order .woocommerce-table thead th {color: #6B7280;font-size: 13px;font-weight: 600;text-transform: uppercase;letter-spacing: 0.4px;}
.woocommerce-order .woocommerce-table th:last-child,
.woocommerce-order .woocommerce-table td:last-child {text-align: right;}
.woocommerce-order .woocommerce-table--order-details .product-name a {color: #111827;font-weight: 600;text-decoration: none;}
.woocommerce-order .woocommerce-table--order-details .product-name a:hover {color: #FF7F2A;}
.woocommerce-order .woocommerce-table--order-details .product-quantity {color: #6B7280;font-weight: 500;}
.woocommerce-order .wc-item-meta {list-style: none;margin: 4px 0 0;padding: 0;color: #9CA3AF;font-size: 13px;line-height: 18px;}
.woocommerce-order .woocommerce-table tfoot th {color: #6B7280;font-weight: 500;}
.woocommerce-order .woocommerce-table tfoot td {color: #111827;font-weight: 700;}
.woocommerce-order .woocommerce-table tfoot tr:last-child th,
.woocommerce-order .woocommerce-table tfoot tr:last-child td {border-bottom: none;padding-top: 16px;font-size: 18px;}
.woocommerce-order .woocommerce-columns--addresses {display: grid;grid-template-columns: 1fr 1fr;gap: 16px;}
.woocommerce-order .woocommerce-column__title {margin: 0 0 8px;color: #111827;font-size: 16px;font-weight: 700;line-height: normal;}
.woocommerce-order address {font-style: normal;color: #374151;font-size: 15px;line-height: 24px;}
.woocommerce-order .woocommerce-customer-details--phone,
.woocommerce-order .woocommerce-customer-details--email {margin: 8px 0 0;color: #6B7280;font-size: 14px;line-height: 20px;}
.woocommerce-order .order-twitch-nick {margin: 0 0 20px;padding: 14px 16px;border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;color: #374151;font-size: 15px;line-height: normal;}

/* MY ACCOUNT (Moje konto)
---------------------------------------------
*/

.account__layout {display: grid; grid-template-columns: 250px 1fr; grid-column-gap: 32px;}
.account__sidebar {border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;padding:24px;}
.account__nav-toggle {display: none;}
.account__user {padding-bottom:16px;border-bottom: 1px solid #E5E7EB;}
.account__greeting {color: #111827;font-size: 16px;font-weight: 700;line-height: normal;margin-bottom:2px;}
.account__email {color: #9CA3AF;font-size: 13px;font-weight: 400;line-height: normal;}
.account__nav {padding:10px 0;border-bottom: 1px solid #E5E7EB;}
.account__nav ul {margin:0;padding:0;list-style:none;display:grid;grid-row-gap:4px;}
.account__nav ul li a {display:block;border: 1px solid #fff;padding:10px 15px 10px 45px;border-radius: 8px;font-size: 14px;font-style: normal;font-weight: 500;line-height: normal;}
.account__nav ul li.is-active a {border: 1px solid #8B1E1E;background: #FEF2F2;transition: all 0.15s ease-in;}
.account__nav ul li a:hover {border: 1px solid #8B1E1E;transition: all 0.15s ease-in;}

.woocommerce-MyAccount-navigation-link--dashboard a {background:#fff url(img/user.svg) 15px center no-repeat;transition: all 0.15s ease-in;}
.woocommerce-MyAccount-navigation-link--dashboard.is-active a, .woocommerce-MyAccount-navigation-link--dashboard a:hover {background:#FEF2F2 url(img/user.svg) 15px center no-repeat !important;transition: all 0.15s ease-in;}

.woocommerce-MyAccount-navigation-link--orders a {background:#fff url(img/orders.svg) 15px center no-repeat;transition: all 0.15s ease-in;}
.woocommerce-MyAccount-navigation-link--orders.is-active a, .woocommerce-MyAccount-navigation-link--orders a:hover {background:#FEF2F2 url(img/orders.svg) 15px center no-repeat !important;transition: all 0.15s ease-in;}

.woocommerce-MyAccount-navigation-link--edit-address a {background:#fff url(img/address.svg) 15px center no-repeat;transition: all 0.15s ease-in;}
.woocommerce-MyAccount-navigation-link--edit-address.is-active a, .woocommerce-MyAccount-navigation-link--edit-address a:hover {background:#FEF2F2 url(img/address.svg) 15px center no-repeat !important;transition: all 0.15s ease-in;}

.woocommerce-MyAccount-navigation-link--edit-account a {background:#fff url(img/password.svg) 15px center no-repeat;transition: all 0.15s ease-in;}
.woocommerce-MyAccount-navigation-link--edit-account.is-active a, .woocommerce-MyAccount-navigation-link--edit-account a:hover {background:#FEF2F2 url(img/password.svg) 15px center no-repeat !important;transition: all 0.15s ease-in;}

.account__logout {padding-top:10px;}
.account__logout a {display:block;background:#Fff url(img/logout.svg) 15px center no-repeat !important;border: 1px solid #fff;padding:10px 15px 10px 45px;border-radius: 8px;font-size: 14px;font-style: normal;font-weight: 500;line-height: normal;transition: all 0.15s ease-in;}
.account__logout a:hover {background:#FEF2F2 url(img/logout.svg) 15px center no-repeat !important;border: 1px solid #8B1E1E;transition: all 0.15s ease-in;}

.woocommerce-MyAccount-content {border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;padding:24px;}
.woocommerce-MyAccount-content .woocommerce-message {margin-bottom: 24px;}

/* Lista zamówień (woocommerce-orders-table) */
.woocommerce-orders-table {width: 100%;border-collapse: collapse;}
.woocommerce-orders-table thead th {padding: 0 12px 12px;border-bottom: 1px solid #E5E7EB;color: #6B7280;font-size: 13px;font-weight: 600;line-height: normal;text-transform: uppercase;letter-spacing: 0.4px;text-align: left;}
.woocommerce-orders-table tbody th,
.woocommerce-orders-table tbody td {padding: 16px 12px;border-bottom: 1px solid #F3F4F6;vertical-align: middle;color: #374151;font-size: 15px;font-weight: 500;line-height: normal;text-align: left;}
.woocommerce-orders-table tbody tr:last-child th,
.woocommerce-orders-table tbody tr:last-child td {border-bottom: none;}
.woocommerce-orders-table__cell-order-number a {color: #111827;font-weight: 700;text-decoration: none;}
.woocommerce-orders-table__cell-order-number a:hover {color: #FF7F2A;}
.woocommerce-orders-table__cell-order-status {font-weight: 600;color: #6B7280;}
.woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status,
.woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status {color: #D97706;}
.woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status {color: #059669;}
.woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status,
.woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status {color: #DC2626;}
.woocommerce-orders-table__cell-order-actions {text-align: right;}
.woocommerce-orders-table .woocommerce-button,
.woocommerce-orders-table .button {display: inline-flex;align-items: center;justify-content: center;margin: 0 0 6px 6px;padding: 8px 14px;border-radius: 8px;border: 1px solid #E5E7EB;background: #FFF;color: #111827;font-size: 14px;font-weight: 600;line-height: normal;text-decoration: none;transition: all 0.15s ease-in;}
.woocommerce-orders-table .woocommerce-button:hover,
.woocommerce-orders-table .button:hover {border-color: #FF7F2A;color: #FF7F2A;}
.woocommerce-orders-table .woocommerce-button.pay,
.woocommerce-orders-table .button.pay {border-color: #8B1E1E;background: #8B1E1E;color: #FFF;}
.woocommerce-orders-table .woocommerce-button.pay:hover,
.woocommerce-orders-table .button.pay:hover {background: #DC2626;border-color: #DC2626;color: #FFF;}

/* Szczegóły zamówienia (view-order w Moim koncie) */
.woocommerce-MyAccount-content .order-number,
.woocommerce-MyAccount-content .order-date,
.woocommerce-MyAccount-content .order-status {background: none;color: #111827;font-weight: 700;}
.woocommerce-MyAccount-content .woocommerce-order-details,
.woocommerce-MyAccount-content .woocommerce-customer-details {margin-top: 32px;}
.woocommerce-MyAccount-content .woocommerce-order-details__title,
.woocommerce-MyAccount-content .woocommerce-customer-details > h2 {margin: 0 0 16px;color: #111827;font-size: 20px;font-weight: 700;line-height: normal;}
.woocommerce-MyAccount-content .woocommerce-table--order-details {width: 100%;border-collapse: collapse;}
.woocommerce-MyAccount-content .woocommerce-table--order-details th,
.woocommerce-MyAccount-content .woocommerce-table--order-details td {padding: 12px 0;border-bottom: 1px solid #F3F4F6;text-align: left;color: #374151;font-size: 15px;line-height: 22px;}
.woocommerce-MyAccount-content .woocommerce-table--order-details thead th {color: #6B7280;font-size: 13px;font-weight: 600;text-transform: uppercase;letter-spacing: 0.4px;}
.woocommerce-MyAccount-content .woocommerce-table--order-details th:last-child,
.woocommerce-MyAccount-content .woocommerce-table--order-details td:last-child {text-align: right;}
.woocommerce-MyAccount-content .woocommerce-table--order-details .product-name a {color: #111827;font-weight: 600;text-decoration: none;}
.woocommerce-MyAccount-content .woocommerce-table--order-details .product-name a:hover {color: #FF7F2A;}
.woocommerce-MyAccount-content .woocommerce-table--order-details .product-quantity {color: #6B7280;font-weight: 500;}
.woocommerce-MyAccount-content .woocommerce-table--order-details .wc-item-meta {list-style: none;margin: 4px 0 0;padding: 0;color: #9CA3AF;font-size: 13px;line-height: 18px;}
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot th {color: #6B7280;font-weight: 500;}
.woocommerce-MyAccount-content .woocommerce-table--order-details .shipped_via {color: #9CA3AF;font-size: 13px;font-weight: 500;}
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot td {color: #111827;font-weight: 700;}
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot tr:last-child td {border-bottom: none;padding-top: 16px;font-size: 18px;}
.woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns--addresses {display: grid;grid-template-columns: 1fr 1fr;gap: 16px;}
.woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column__title {margin: 0 0 8px;color: #111827;font-size: 16px;font-weight: 700;line-height: normal;}
.woocommerce-MyAccount-content .woocommerce-customer-details address {font-style: normal;color: #374151;font-size: 15px;line-height: 24px;}

/* Adresy (endpoint edit-address — lista) */
.woocommerce-MyAccount-content > p:has(+ .woocommerce-Addresses) {margin: 0 0 20px;color: #6B7280;font-size: 15px;line-height: 22px;}
.woocommerce-MyAccount-content .woocommerce-Addresses {display: grid;grid-template-columns: 1fr 1fr;gap: 16px;}
.woocommerce-Address {display: flex;flex-direction: column;padding: 20px;border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;}
.woocommerce-Address-title {margin: 0 0 16px;padding: 0 0 16px;border-bottom: 1px solid #F3F4F6;}
.woocommerce-Address-title h2 {margin-bottom:12px;;color: #111827;font-size: 16px;font-weight: 700;line-height: normal;}
.woocommerce-Address-title .edit {display: inline-flex;align-items: center;gap: 6px;padding: 8px 14px;border-radius: 8px;border: 1px solid #E5E7EB;background: #FFF;color: #111827;font-size: 14px;font-weight: 600;line-height: normal;text-decoration: none;transition: all 0.15s ease-in;}
.woocommerce-Address-title .edit::before {content: "";flex-shrink: 0;width: 15px;height: 15px;background: currentColor;-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E") no-repeat center / contain;mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E") no-repeat center / contain;}
.woocommerce-Address-title .edit:hover {border-color: #FF7F2A;color: #FF7F2A;}
.woocommerce-Address address {margin: 0;font-style: normal;color: #374151;font-size: 15px;line-height: 24px;}

/* Formularz edycji adresu */
.woocommerce-MyAccount-content .woocommerce-address-fields {display: block;}
.woocommerce-MyAccount-content form > h2 {margin: 0 0 20px;color: #111827;font-size: 22px;font-weight: 700;line-height: normal;}
.woocommerce-address-fields__field-wrapper {display: grid;grid-template-columns: 1fr 1fr;gap: 0 16px;}
.woocommerce-address-fields__field-wrapper .form-row {display: flex;flex-direction: column;margin: 0 0 16px;padding: 0;}
.woocommerce-address-fields__field-wrapper .form-row-wide {grid-column: 1 / -1;}
.woocommerce-address-fields__field-wrapper .form-row label {margin-bottom: 6px;color: #111827;font-size: 14px;font-weight: 500;line-height: normal;}
.woocommerce-address-fields__field-wrapper .form-row .required {color: #DC2626;border: 0;text-decoration: none;}
.woocommerce-address-fields__field-wrapper .form-row .optional {color: #9CA3AF;font-weight: 400;}
.woocommerce-address-fields__field-wrapper .input-text,
.woocommerce-address-fields__field-wrapper select {width: 100%;box-sizing: border-box;padding: 12px 16px;border-radius: 8px;border: 1px solid #E5E7EB;background: #FFF;color: #111827;font-size: 14px;line-height: normal;font-family: inherit;transition: border-color 0.15s ease-in, box-shadow 0.15s ease-in;}
.woocommerce-address-fields__field-wrapper .input-text::placeholder {color: #9CA3AF;}
.woocommerce-address-fields__field-wrapper .input-text:focus,
.woocommerce-address-fields__field-wrapper select:focus {outline: none;border-color: #FF7F2A;box-shadow: 0 0 0 3px rgba(255,127,42,0.15);}
.woocommerce-address-fields__field-wrapper .select2-container {width: 100% !important;}
.woocommerce-address-fields__field-wrapper .select2-container--default .select2-selection--single {height: auto;padding: 11px 16px;border-radius: 8px;border: 1px solid #E5E7EB;}
.woocommerce-address-fields__field-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {padding: 0;line-height: normal;color: #111827;font-size: 14px;}
.woocommerce-address-fields__field-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {top: 0;right: 10px;height: 100%;}
.woocommerce-address-fields > p {margin: 8px 0 0;}
.woocommerce-address-fields .button {border-radius: 8px;background: #8B1E1E;border: 1px solid #8B1E1E;color: #FFF;font-size: 16px;font-weight: 600;line-height: normal;padding: 14px 24px;cursor: pointer;transition: all 0.15s ease-in;}
.woocommerce-address-fields .button:hover,
.woocommerce-address-fields .button:focus {background: #FFF;color: #8B1E1E;transition: all 0.15s ease-in;}

/* Śledzenie przesyłki Alsendo (view-order) */
.woocommerce-MyAccount-content .order-tracking {margin: 0 0 24px;padding: 16px 20px;border-radius: 12px;border: 1px solid #E5E7EB;background: #F9FAFB;}
.woocommerce-MyAccount-content .order-tracking__title {margin: 0 0 8px;color: #111827;font-size: 16px;font-weight: 700;line-height: normal;}
.woocommerce-MyAccount-content .order-tracking__number {margin: 0;color: #374151;font-size: 15px;line-height: 22px;}
.woocommerce-MyAccount-content .order-tracking__number strong {color: #111827;}
.woocommerce-MyAccount-content .order-tracking__link {display: inline-flex;align-items: center;gap: 6px;margin-top: 12px;padding: 10px 16px;border-radius: 8px;background: linear-gradient(136deg,#FF7F2A 1.56%,#FFB52A 99.5%),#111827;color: #FFF;font-size: 14px;font-weight: 700;line-height: normal;text-decoration: none;transition: opacity 0.15s ease-in;}
.woocommerce-MyAccount-content .order-tracking__link::before {content: "";flex-shrink: 0;width: 16px;height: 16px;background: currentColor;-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 8h-3V4H3a2 2 0 0 0-2 2v11h2a3 3 0 0 0 6 0h6a3 3 0 0 0 6 0h2v-5l-3-4zM6 18.5A1.5 1.5 0 1 1 7.5 17 1.5 1.5 0 0 1 6 18.5zm12 0A1.5 1.5 0 1 1 19.5 17 1.5 1.5 0 0 1 18 18.5zM17 12V9.5h2.5L21.46 12H17z'/%3E%3C/svg%3E") no-repeat center / contain;mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 8h-3V4H3a2 2 0 0 0-2 2v11h2a3 3 0 0 0 6 0h6a3 3 0 0 0 6 0h2v-5l-3-4zM6 18.5A1.5 1.5 0 1 1 7.5 17 1.5 1.5 0 0 1 6 18.5zm12 0A1.5 1.5 0 1 1 19.5 17 1.5 1.5 0 0 1 18 18.5zM17 12V9.5h2.5L21.46 12H17z'/%3E%3C/svg%3E") no-repeat center / contain;}
.woocommerce-MyAccount-content .order-tracking__link:hover {opacity: 0.9;}
.woocommerce-orders-table .woocommerce-button.track,
.woocommerce-orders-table .button.track {border-color: #FF7F2A;color: #FF7F2A;}
.woocommerce-orders-table .woocommerce-button.track:hover,
.woocommerce-orders-table .button.track:hover {background: #FF7F2A;color: #FFF;}

/* Fakturownia — dokumenty sprzedaży (view-order) */
.woocommerce-MyAccount-content .fakturownia-document {margin-top: 16px;}
.woocommerce-MyAccount-content .fakturownia-document__link {display: inline-flex;align-items: center;gap: 8px;padding: 10px 16px;border-radius: 8px;border: 1px solid #E5E7EB;background: #FFF;color: #111827;font-size: 14px;font-weight: 600;line-height: normal;text-decoration: none;transition: all 0.15s ease-in;}
.woocommerce-MyAccount-content .fakturownia-document__link::before {content: "";flex-shrink: 0;width: 16px;height: 16px;background: currentColor;-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E") no-repeat center / contain;mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E") no-repeat center / contain;}
.woocommerce-MyAccount-content .fakturownia-document__link:hover {border-color: #FF7F2A;color: #FF7F2A;}

@media screen and (max-width: 780px) {
	.woocommerce-orders-table tbody td {padding: 8px 0;font-size: 14px;}
	.woocommerce-orders-table .woocommerce-button,
	.woocommerce-orders-table .button {margin: 6px 0 0 6px;}
	.woocommerce-MyAccount-content .woocommerce-table--order-details th,
	.woocommerce-MyAccount-content .woocommerce-table--order-details td {font-size: 14px;padding: 10px 0;}
	.woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns--addresses {grid-template-columns: 1fr;}
	.woocommerce-MyAccount-content .woocommerce-Addresses {grid-template-columns: 1fr;}
	.woocommerce-Address {padding: 16px;}
	.woocommerce-address-fields__field-wrapper {grid-template-columns: 1fr;}
	/* iOS: pola poniżej 16px wywołują auto-zoom przy fokusie */
	.woocommerce-address-fields__field-wrapper .input-text,
	.woocommerce-address-fields__field-wrapper select {font-size: 16px;}
	.woocommerce-address-fields .button {width: 100%;}
}

.woocommerce-EditAccountForm {display:grid;grid-template-columns:48% 48%;justify-content: space-between;grid-row-gap:16px;}
.woocommerce-EditAccountForm p {margin:0;}
.woocommerce-EditAccountForm .woocommerce-form-row label {display:block;font-size: 14px;font-weight: 500;line-height: normal;margin-bottom:6px;}
.woocommerce-EditAccountForm .woocommerce-form-row input {font-family: "Inter", sans-serif;width:100%;border-radius: 8px;border: 1px solid #E5E7EB;background: #FFF;padding:10px 14px;color: #000;font-size: 14px;line-height: normal;}
.woocommerce-EditAccountForm .clear {display:none;}
#account_display_name_description em {font-size: 14px;font-weight: 500;line-height: normal;display:block;margin-top:6px;}

.woocommerce-EditAccountForm fieldset {grid-column-start:1;grid-column-end:3;border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;padding:16px;display: grid; grid-row-gap: 16px;}

.woocommerce-EditAccountForm .woocommerce-Button {border-radius: 8px;background: #8B1E1E;border:1px solid #8B1E1E;color: #FFF;font-size: 16px;font-weight: 600;line-height: normal;padding:14px 24px;cursor:pointer;transition: all 0.15s ease-in;}
.woocommerce-EditAccountForm .woocommerce-Button:hover, .woocommerce-EditAccountForm .woocommerce-Button:focus {background:#fff;color:#8B1E1E;transition: all 0.15s ease-in;}

/* LOGIN / REJESTRACJA (Moje konto — niezalogowani)
--------------------------------------------- */

.login__wrapper {max-width: 480px;margin: 0 auto;padding: 48px 0;}

.login__box {border-radius: 12px;border: 1px solid #E5E7EB;background: #FFF;padding: 32px;}
.login__box .form-row {display: block;margin: 0 0 16px;padding: 0;}
.login__field label {display: block;color: #111827;font-size: 14px;font-weight: 500;line-height: normal;margin-bottom: 6px;}
.login__field .required {color: #DC2626;text-decoration: none;border: 0;}
.login__box .input-text {width: 100%;box-sizing: border-box;padding: 12px 16px;border-radius: 8px;border: 1px solid #E5E7EB;background: #FFF;color: #111827;font-size: 14px;line-height: normal;font-family: inherit;transition: border-color 0.15s ease-in, box-shadow 0.15s ease-in;}
.login__box .input-text::placeholder {color: #9CA3AF;}
.login__box .input-text:focus {outline: none;border-color: #FF7F2A;box-shadow: 0 0 0 3px rgba(255, 127, 42, 0.15);}

.login__remember {display: flex;align-items: center;gap: 8px;margin: 0 0 16px;color: #111827;font-size: 14px;font-weight: 400;line-height: normal;cursor: pointer;}
.login__remember input {width: auto;margin: 0;accent-color: #8B1E1E;}

.password-input {position: relative;display: block;width: 100%;}
.password-input .input-text {padding-right: 44px;}
.show-password-input {position: absolute;top: 50%;right: 12px;transform: translateY(-50%);width: 22px;height: 22px;padding: 0;border: none;cursor: pointer;background-color: #9CA3AF;transition: background-color 0.15s ease-in;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center / contain;}
.show-password-input:hover {background-color: #111827;}
.show-password-input.display-password {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}

.login__box .login__submit {display: flex;width: 100%;align-items: center;justify-content: center;cursor: pointer;}

.login__lost {display: block;margin-top: 16px;color: #8B1E1E;text-align: center;font-size: 14px;font-weight: 400;line-height: normal;}
.login__lost:hover {text-decoration: underline;}

.login__generated-info {margin: 0 0 16px;color: #6B7280;font-size: 14px;line-height: 20px;}
.login__box .woocommerce-privacy-policy-text p {margin: 0 0 16px;color: #9CA3AF;font-size: 12px;line-height: 16px;}

.login__check {display: flex;align-items: flex-start;gap: 8px;margin: 0 0 16px;color: #111827;font-size: 14px;font-weight: 400;line-height: 20px;cursor: pointer;}
.login__check input {flex-shrink: 0;width: auto;margin: 2px 0 0;accent-color: #8B1E1E;}
.login__check a {color: #8B1E1E;text-decoration: underline;}
.login__check .required {color: #DC2626;text-decoration: none;border: 0;}

.login__cta {margin-top: 32px;text-align: center;}
.login__cta-text {margin-top: 0;color: #6B7280;font-size: 15px;font-weight: 400;line-height: normal;}
.login__cta .button {display: flex;width: 100%;align-items: center;justify-content: center;cursor: pointer;box-sizing: border-box;}

.login__perks {margin-top: 48px;display: grid;grid-template-columns: repeat(3, 1fr);gap: 16px;}
.login__perk {display: flex;flex-direction: column;align-items: center;gap: 8px;color: #6B7280;text-align: center;font-size: 13px;font-weight: 400;line-height: normal;}
.login__perk svg {display: block;}

.login__notice {max-width: 480px;margin: 0 auto 24px;padding: 12px 16px;border-radius: 8px;border: 1px solid #FDE68A;background: #FFFBEB;color: #92400E;font-size: 14px;line-height: 20px;text-align: center;}
.login__notice-link {display: inline-block;margin-top: 8px;color: #92400E;font-weight: 700;text-decoration: underline;text-underline-offset: 3px;}
.login__notice-link:hover {color: #7C2D12;}

.login__box--confirm {text-align: center;}
.login__confirm-icon {display: flex;justify-content: center;margin-bottom: 16px;}
.login__confirm-icon svg {display: block;}
.login__confirm-title {margin: 0 0 12px;color: #0f834d;font-size: 18px;font-weight: 700;line-height: 26px;}
.login__confirm-text {margin: 0 0 20px;color: #6B7280;font-size: 14px;line-height: 22px;}
.login__box--confirm .login__lost {margin-top: 0;}

.login__view--register {display: none;}
.login__wrapper.show-register .login__view--register {display: block;}
.login__wrapper.show-register .login__view--login {display: none;}


/* 404
--------------------------------------------- */

.error-404 {padding: 80px 0 96px;}
.error-404__inner {max-width: 640px;margin: 0 auto;text-align: center;}

.error-404__eyebrow {display: inline-block;margin-bottom: 16px;padding: 6px 14px;border-radius: 999px;border: 1px solid #E5E7EB;background: #FFF;color: #8B1E1E;font-size: 13px;font-weight: 700;line-height: normal;letter-spacing: 0.12em;text-transform: uppercase;}

/* Cyfry 404 gradientem marki — cofnięte za nagłówek, dlatego ujemny margines */
.error-404__code {margin: 0 0 -16px;background: linear-gradient(136deg, #FF7F2A 1.56%, #FFB52A 99.5%);-webkit-background-clip: text;background-clip: text;color: transparent;line-height: 1;letter-spacing: -0.04em;}

.error-404__title {margin-bottom: 16px;}
.error-404__text {margin: 0 0 32px;color: #6B7280;font-family: "Inter", sans-serif;font-size: 16px;line-height: 26px;}

.error-404__search {display: flex;gap: 8px;margin-bottom: 24px;}
.error-404__search-input {flex: 1;min-width: 0;box-sizing: border-box;padding: 12px 16px;border-radius: 8px;border: 1px solid #E5E7EB;background: #FFF;color: #111827;font-family: "Inter", sans-serif;font-size: 14px;line-height: normal;transition: border-color 0.15s ease-in, box-shadow 0.15s ease-in;}
.error-404__search-input::placeholder {color: #9CA3AF;}
.error-404__search-input:focus {outline: none;border-color: #FF7F2A;box-shadow: 0 0 0 3px rgba(255, 127, 42, 0.15);}
.error-404__search-button {flex-shrink: 0;padding: 12px 24px;border-radius: 8px;border: 1px solid #E5E7EB;background: #FFF;color: #111827;font-size: 16px;font-weight: 700;line-height: normal;cursor: pointer;transition: all 0.15s ease-in;}
.error-404__search-button:hover {border-color: #FF7F2A;color: #FF7F2A;}

.error-404__actions {display: flex;justify-content: center;gap: 12px;}
.error-404__actions .button {justify-content: center;text-decoration: none;}
.error-404__button-shop {border-radius: 8px;border: 1px solid transparent;background: linear-gradient(136deg, #FF7F2A 1.56%, #FFB52A 99.5%), #111827;color: #FFF;font-weight: 700;line-height: normal;transition: opacity 0.15s ease-in;}
.error-404__button-shop:hover {opacity: 0.9;}


/* RWD
--------------------------------------------- */


@media screen and (max-width: 1200px) {
	.wrap {width:100%;padding:0 16px;}
	/* Baner obrazkowy na RWD zawsze na całą szerokość ekranu — bez paddingu .wrap */
	.slide--full-image .wrap {padding: 0;}
	.menu-toggle {padding: 8px;background: none;border: none;cursor: pointer;}
	.menu-toggle svg {width: 24px;height: 24px;display: block;}

	.menu-toggle {color: #111827;}
	.menu-toggle .menu-toggle__close {display: none;}
	.main-navigation.toggled .menu-toggle__open {display: none;}
	.main-navigation.toggled .menu-toggle__close {display: block;}

	.header__menu {position: relative;}
	.main-navigation {position: static;}
	.main-navigation.toggled #primary-menu {position: absolute;	top: 100%;left: 0;right: 0;z-index: 998;background: #fff;	border-top: 1px solid #E5E7EB;	border-bottom: 1px solid #E5E7EB;	box-shadow: 0 16px 32px -16px rgba(17, 24, 39, 0.2);	padding: 4px 16px 16px;	max-height: 70vh;	overflow-y: auto;-webkit-overflow-scrolling: touch;}

	.main-navigation.toggled #primary-menu > li {padding: 0;border-bottom: 1px solid #F3F4F6;}
	.main-navigation.toggled #primary-menu > li:last-child {border-bottom: none;}
	.main-navigation.toggled #primary-menu > li > a {display: flex;align-items: center;justify-content: space-between;gap: 12px;padding: 14px 0;font-size: 16px;}

	.main-navigation.toggled .mega {display: none;position: static;border: none;border-radius: 0;box-shadow: none;margin: 0;padding: 0 0 16px 12px;}
	.main-navigation.toggled .has-mega.is-open > .mega--list {display: block;}
	.main-navigation.toggled .has-mega.is-open > .mega--tiles {display: grid;grid-template-columns: repeat(2, 1fr);gap: 10px;}

	.main-navigation.toggled .mega__all {padding: 2px 0 10px;margin-bottom: 12px;border-bottom: 1px solid #E5E7EB;}
	.main-navigation.toggled .mega__all a {font-size: 15px;}
	.main-navigation.toggled .mega--list > li {margin-bottom: 12px;}
	.main-navigation.toggled .mega--list > li:last-child {margin-bottom: 0;}
	.main-navigation.toggled .mega--list > li > a {font-size: 15px;margin-bottom: 4px;}
	.main-navigation.toggled .mega__sublist {padding-left: 12px;}
	.main-navigation.toggled .mega__sublist a {font-size: 14px;padding: 6px 0;}

	.main-navigation.toggled .mega__tile a {padding: 10px;gap: 8px;}
	.main-navigation.toggled .mega__tile img,
	.main-navigation.toggled .mega__tile-placeholder {height: 56px;}
	.main-navigation.toggled .mega .mega__tile-label {font-size: 13px;}

	.product-card__meta {padding: 16px 16px 64px 16px;}
	.product-card__price {font-size: 20px;}
}

@media screen and (max-width: 1024px) {
	/* Header: ciaśniejszy układ na tablecie */
	.header__grid {padding: 16px 0;}
	.site-branding img {width: 160px;}
	.dgwt-wcas-search-input {width: 260px !important;}
	.header__shop {column-gap: 20px;}
	.header__cart-total {display: none;}

	.archive__grid {grid-template-columns: 1fr;gap: 16px;}
	.archive__filters {position: static;padding: 0;}
	.filters-toggle {display: flex;width: 100%;align-items: center;justify-content: space-between;gap: 12px;padding: 14px 16px;background: none;border: none;cursor: pointer;color: #111827;font-size: 16px;font-weight: 700;line-height: normal;text-align: left;}
	.filters-toggle::after {content: "";flex-shrink: 0;width: 7px;height: 7px;border-right: 2px solid currentColor;border-bottom: 2px solid currentColor;transform: rotate(45deg);transition: transform 0.15s ease-in;}
	.archive__filters.is-open .filters-toggle::after {transform: rotate(-135deg);}
	.archive__filters > :not(.filters-toggle) {display: none;}
	.archive__filters.is-open > :not(.filters-toggle) {display: block;margin-left: 16px;margin-right: 16px;}
	.archive__filters.is-open {padding-bottom: 16px;}
	.archive__filters.is-open > .filters__title {display: none;}

	.archive__products .products {grid-template-columns: repeat(2, 1fr);}

	.cart__layout {flex-direction: column;}
	.cart__main, .cart__aside {width: 100%;}
	.cart__aside .cart__summary {position: static;}
	.footer__grid {grid-template-columns:1fr;row-gap:40px;}
	.footer__right {flex-wrap:wrap;gap:32px 40px;justify-content:flex-start;}
}

@media screen and (max-width: 780px) {
	.mb20 {margin-bottom: 16px;}

	.text--nav {font-size: 16px;}
	.topbar__grid {grid-template-columns: 1fr;text-align: center;gap: 4px;}
	.header__topbar {padding: 8px 12px;font-size: 14px;}

	/* Układ nagłówka jak na desktopie (wyszukiwarka | logo | konto+koszyk) —
	   na mobile FiboSearch zwija się do lupki, więc nie schodzi do osobnego wiersza. */
	.header__grid {padding: 12px 0;column-gap: 8px;}
	.header__shop {column-gap: 20px;}
	.header__search .dgwt-wcas-sf-wrapp {width: 100%;}
	.dgwt-wcas-search-input {width: 100% !important;height: 44px !important;}
	.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {height: 30px;top: 7px;}
	.site-branding img {width: 140px;}
	.header__menu { padding: 4px 0; }

	.header__account-label,
	.header__cart-label {display: none;}
	.header__shop a {column-gap: 0;}

	.shop__archive__header {grid-template-columns: 1fr;gap: 12px;padding: 16px;}
	.woocommerce-result-count {font-size: 16px;}
	.woocommerce-ordering {width: 100%;}
	.orderby-dropdown {min-width: 0;width: 100%;}
	.archive__products .products {gap: 16px 12px;}
	.woocommerce-pagination {margin-top: 24px;}

	.product-card__meta {padding: 16px;}
	.cart__account-buttons {flex-direction: column;}
	.site-footer .site-branding img {margin:auto;}
	.fr__column ul {row-gap: 8px;}
	.fc__right {flex-wrap:wrap;gap:8px;}

	.site-footer {padding-top:40px;}
	.footer__copyright {grid-template-columns:1fr;row-gap:20px;justify-items:start;}
	.fc__right div {height: 38px; padding: 0 12px;}

	.woocommerce-order {padding: 32px 0;}
	.woocommerce-order .woocommerce-thankyou-order-received {font-size: 16px;line-height: 24px;padding: 16px;}
	.woocommerce-order .woocommerce-order-overview li {flex: 1 1 calc(50% - 6px);}
	.woocommerce-order .woocommerce-order-details,
	.woocommerce-order .woocommerce-order-downloads,
	.woocommerce-order .woocommerce-customer-details {padding: 16px;}
	.woocommerce-order .woocommerce-order-details__title,
	.woocommerce-order .woocommerce-order-downloads__title,
	.woocommerce-order .woocommerce-customer-details > h2 {font-size: 20px;}
	.woocommerce-order .woocommerce-table th,
	.woocommerce-order .woocommerce-table td {font-size: 14px;padding: 10px 0;}
}

@media screen and (max-width: 560px) {
	.archive__products .products {grid-template-columns: 1fr;}
	.archive__products .product-card__image img {aspect-ratio: 2 / 1;}

	.cart__item {margin-bottom:16px;padding-bottom:16px;grid-template-columns: 64px 1fr;column-gap: 12px;grid-template-areas: "thumb details" "thumb aside";}
	.cart__item-thumb {grid-area: thumb;}
	.cart__item-thumb img {width:64px;}
	.cart__item-details {grid-area: details;}
	.cart__item-aside {grid-area: aside;flex-direction: row;align-items: center;justify-content: space-between;margin-top: 12px;}
.cart__item-qty .quantity {height: 40px;}
	.checkout .woocommerce-billing-fields__field-wrapper,
	.checkout .woocommerce-shipping-fields__field-wrapper {grid-template-columns: 1fr;}
	.checkout .woocommerce-billing-fields__field-wrapper > .form-row,
	.checkout .woocommerce-shipping-fields__field-wrapper > .form-row {grid-column: 1 / -1;}
	.footer__right {gap:28px 24px;}
	.fr__column {flex:0 1 calc(50% - 12px);}
}


@media screen and (max-width: 480px) {
	.site-branding img {width: 120px;}
	.footer__right {flex-direction:column;gap:24px;}
	.fr__column {flex:1 1 auto;width:100%;}
	.fc__left {flex-direction:column;column-gap:0;row-gap:4px;}
}

@media screen and (max-width: 1024px) {
	/* Typografia — proporcjonalnie do desktopu */
	.heading--128 {font-size: 80px;}
	.heading--48 {font-size: 40px;}
	.heading--40 {font-size: 32px;}
	.pp80 {padding: 56px 0;}
	.pp64 {padding: 48px 0;}

	/* Slider */
	.home__swiper .swiper-slide {height: 400px;}

	/* Siatki produktów: 3 kolumny */
	.products__grid {grid-template-columns: repeat(3, 1fr);gap: 24px 16px;}

	/* Polecane: tekst nad obrazkiem, obrazek wycentrowany */
	.recommended__header {grid-template-columns: 1fr;gap: 32px;}
	.recommended__image img {margin: 0 auto;}

	/* 404 */
	.error-404 {padding: 56px 0 72px;}
}

/* Poniżej 920px slider nie ma sztywnej wysokości — wysokość wynika z obrazka
   (na banerach: z wariantu "obrazek - mobile" podanego w <picture>). */
@media screen and (max-width: 919px) {
	.home__swiper .swiper-slide {height: auto;}

	.slide--full-image {height: auto;}
	.slide--full-image .slider__image-wrap,
	.slide--full-image .slider__image-link,
	.slide--full-image .slider__image-wrap picture {height: auto;width: 100%;}
	.slide--full-image .slider__image-wrap img {height: auto;width: 100%;}
}

@media screen and (max-width: 780px) {

	.heading--128 {font-size: 56px;}
	.heading--48 {font-size: 32px;}
	.heading--40 {font-size: 28px;}
	.heading--32 {font-size: 26px;}
	.heading--24 {font-size: 20px;}
	.pp80 {padding: 40px 0;}
	.pp64 {padding: 32px 0;}
	.pp48 {padding: 24px 0;}
	.mb64 {margin-bottom: 40px;}
	.mb48 {margin-bottom: 32px;}
	.mb40 {margin-bottom: 24px;}
	.mb32 {margin-bottom: 20px;}
	.mb24 {margin-bottom: 16px;}
	.text--18 {font-size: 16px;}

	.cart__products, .cart__account, .cart__summary {padding: 16px;}
	.home__swiper .wrap {padding: 0;}
	.slide__grid {grid-template-columns: 1fr;gap: 0;padding: 0 16px;}
	.slide__image {display: none;}
	.slide__text {text-align: center;}
	.home__swiper-pagination {bottom: 10px !important;}

	.cats__swiper-wrap {padding: 24px 0;}
	.cats__slide {height: 110px;}
	.cats__fade {width: 12vw;}

	.section__header {grid-template-columns: 1fr;justify-items: start;gap: 4px;}
	.section__header a {font-size: 16px;}
	.home__featured {padding-bottom: 32px;}

	.products__grid {grid-template-columns: repeat(2, 1fr);gap: 16px 12px;}
	.product-card__meta {padding: 16px 16px 60px;}
	.product-card__footer {bottom: 16px;left: 16px;right: 16px;}
	.product-card__price {font-size: 20px;min-height: 36px;}
	.product-card__price del {font-size: 16px;}
	.product-card__cat-logo {height: 24px;}

	.preorder__wrap {padding: 32px 0;}
	.preorder__bg {display: none;}

	.recommended__tabs {flex-wrap: wrap;gap: 8px;}
	.recommended__tab-btn {padding: 10px 14px;font-size: 14px;}
	.fr__column ul li a {font-size: 14px;}

	.cart__item-price {font-size: 24px;}

	/* 404: wyszukiwarka i przyciski na pełną szerokość */
	.error-404 {padding: 40px 0 56px;}
	.error-404__code {margin-bottom: -8px;}
	.error-404__text {margin-bottom: 24px;font-size: 15px;line-height: 24px;}
	.error-404__search {flex-direction: column;}
	.error-404__search-button {width: 100%;}
	.error-404__actions {flex-direction: column;}
	.error-404__actions .button {width: 100%;box-sizing: border-box;}
}

@media screen and (max-width: 560px) {
	.woocommerce-order .woocommerce-columns--addresses {grid-template-columns: 1fr;}
	.woocommerce-order .woocommerce-order-overview li {flex: 1 1 100%;}
}

@media screen and (max-width: 400px) {
	.products__grid {grid-template-columns: 1fr;}
	/* Jeden produkt w wierszu — obrazek w proporcji 2:1 */
	.products__grid .product-card__image img {aspect-ratio: 2 / 1;}
}


/* RWD — STRONA PRODUKTU
--------------------------------------------- */

@media screen and (max-width: 1024px) {
	/* Opis: akordeony nad boxem z najdroższymi kartami */
	.product__description__grid {grid-template-columns: 1fr;gap: 24px;}
}

@media screen and (max-width: 780px) {
	/* Galeria nad podsumowaniem */
	.product__top {grid-template-columns: 1fr;gap: 24px;}
	.product__top .onsale {top: 12px;}

	.woocommerce-breadcrumb {flex-wrap: wrap;row-gap: 4px;}

	/* Tagi i ocena jedno pod drugim */
	.summary__top {grid-template-columns: 1fr;gap: 10px;justify-items: start;}
	.summary__tags {flex-wrap: wrap;gap: 8px;}

	/* Cena */
	.price__box {padding: 16px;}
	.price__box .price {font-size: 28px;line-height: 32px;}
	.price__box .price del {font-size: 16px;}

	.summary .cart .button {font-size: 16px;}
	.product__meta {flex-wrap: wrap;gap: 8px 16px;font-size: 14px;}

	/* Akordeony opisu */
	.wc-accordion-item {padding: 16px;}
	.wc-tabs-accordion .wc-accordion-header {font-size: 18px;line-height: 22px;}
	.wc-accordion-item .text--14 {margin-top: 16px;}

	/* Box "najdroższe karty" */
	.product__description__right {padding: 12px 16px;}
	.ptcg-card-item {grid-template-columns: 88px 1fr auto;grid-column-gap: 12px;padding: 12px 0;}
	.ptcg-card-info .heading--24 {font-size: 16px;}
	.ptcg-card-id {font-size: 12px;margin-bottom: 4px;}
	.ptcg-card-price {font-size: 14px;}
}

@media screen and (max-width: 560px) {
	/* Boxy informacyjne produktu jeden pod drugim */
	.product__info {grid-template-columns: 1fr;}
}

@media screen and (max-width: 480px) {
	/* Opinie: ciaśniejsze dymki, mniejszy avatar */
	.commentlist .comment_container {padding: 16px;column-gap: 12px;}
	.commentlist .comment_container img.avatar {width: 40px;height: 40px;}
	#review_form_wrapper {margin-top: 24px;padding-top: 24px;}

	/* Przycisk "Dodaj do koszyka" może zejść pod ilość na wąskich ekranach */
	.summary .cart {flex-wrap: wrap;row-gap: 12px;}
}


/* RWD — MOJE KONTO / LOGOWANIE / CHECKOUT
--------------------------------------------- */

@media screen and (max-width: 1024px) {
	.account__layout {grid-template-columns: 1fr;grid-row-gap: 16px;}
	.account__sidebar {padding: 0;}
	.account__nav-toggle {display: flex;width: 100%;align-items: center;justify-content: space-between;gap: 12px;padding: 14px 16px;background: none;border: none;cursor: pointer;color: #111827;font-size: 16px;font-weight: 700;line-height: normal;text-align: left;}
	.account__nav-toggle::after {content: "";flex-shrink: 0;width: 7px;height: 7px;border-right: 2px solid currentColor;border-bottom: 2px solid currentColor;transform: rotate(45deg);transition: transform 0.15s ease-in;}
	.account__sidebar.is-open .account__nav-toggle::after {transform: rotate(-135deg);}
	.account__sidebar-body {display: none;}
	.account__sidebar.is-open .account__sidebar-body {display: block;padding: 16px;}
	.account__sidebar.is-open .account__nav-toggle {border-bottom: 1px solid #E5E7EB;}
}

@media screen and (max-width: 780px) {
	.woocommerce-MyAccount-content {padding: 16px;}

	/* Wygodniejsze cele dotykowe (~44px) w nawigacji konta */
	.account__nav ul li a,
	.account__logout a {padding-top: 12px;padding-bottom: 12px;}

	/* Nagłówki treści konta (adresy, edycja adresu itp.) */
	.woocommerce-MyAccount-content h2 {font-size: 22px;}

	/* Checkout — ciaśniejsze boxy jak w koszyku */
	.checkout__box,
	.order-pay__box,
	.woocommerce-checkout .woocommerce-form-login {padding: 16px;}

	/* Order pay */
	.order-pay__table th,
	.order-pay__table td {font-size: 14px;}
	.order-pay__table .product-quantity {width: auto;}
	.order-pay .paynow-payment-option-pbls {grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));}
	.order-pay .paynow-blik-white-label .row {flex-direction: column;align-items: stretch;}
	.order-pay .paynow-blik-white-label .form-control {width: 100%;}

	/* Logowanie / rejestracja */
	.login__wrapper {padding: 32px 0;}
	.login__box {padding: 24px 20px;}

	/* iOS: pola formularzy poniżej 16px wywołują auto-zoom przy fokusie */
	.dgwt-wcas-search-input,
	.cart__coupon-input,
	.login__box .input-text,
	.woocommerce-EditAccountForm .woocommerce-form-row input,
	#review_form .comment-form input[type="text"],
	#review_form .comment-form input[type="email"],
	#review_form .comment-form textarea {font-size: 16px;}
}

/* 767px = próg stackowania tabel z woocommerce.css (48em) — lista zamówień jako karty.
   Selektory z prefiksem table.…shop_table_responsive celowo przebijają specyficznością
   reguły z woocommerce.css (m.in. tbody th {display:none}, przez którą znikał nr zamówienia). */
@media screen and (max-width: 767px) {
	table.woocommerce-orders-table.shop_table_responsive tbody tr {display: block;margin-bottom: 12px;padding: 4px 16px;border: 1px solid #E5E7EB;border-radius: 12px;background: #FFF;}
	table.woocommerce-orders-table.shop_table_responsive tbody tr:last-child {margin-bottom: 0;}
	table.woocommerce-orders-table.shop_table_responsive tbody th,
	table.woocommerce-orders-table.shop_table_responsive tbody td {display: block;padding: 10px 0;border-bottom: 1px solid #F3F4F6;text-align: right;font-size: 14px;}
	table.woocommerce-orders-table.shop_table_responsive tbody th::before,
	table.woocommerce-orders-table.shop_table_responsive tbody td::before {content: attr(data-title);float: left;color: #6B7280;font-size: 13px;font-weight: 600;}
	table.woocommerce-orders-table.shop_table_responsive tbody th:last-child,
	table.woocommerce-orders-table.shop_table_responsive tbody td:last-child {border-bottom: none;}
	table.woocommerce-orders-table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions {display: flex;flex-wrap: wrap;justify-content: flex-end;gap: 8px;}
	table.woocommerce-orders-table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions::before {display: none;}
	table.woocommerce-orders-table.shop_table_responsive .woocommerce-button,
	table.woocommerce-orders-table.shop_table_responsive .button {margin: 0;}
}

@media screen and (max-width: 560px) {
	/* Formularz "Szczegóły konta" w jednej kolumnie */
	.woocommerce-EditAccountForm {grid-template-columns: 1fr;}
	.woocommerce-EditAccountForm fieldset {grid-column: 1 / -1;}
	.woocommerce-EditAccountForm .woocommerce-Button {width: 100%;}
}


