/* HikaShop styles within André Grand template */

/* Shop content: ~5% side padding */
body.com_hikashop .ag-page > .ag-container.ag-page__grid {
	width: 90% !important;
	max-width: none !important;
}

/* Category with hero — full-bleed page (no 100vw breakout → no horizontal scroll) */
body.com_hikashop.view-category:has(.hikashop_category_description > img.hikashop_category_image) .ag-page > .ag-container.ag-page__grid {
	width: 100% !important;
	max-width: none !important;
	padding-inline: 0 !important;
}

body.com_hikashop.view-category:has(.hikashop_category_description > img.hikashop_category_image) {
	overflow-x: clip;
}

body.com_hikashop .ag-main {
	max-width: none;
}

body.com_hikashop .ag-main .item-page,
body.com_hikashop .ag-main .blog,
body.com_hikashop .ag-main .contact {
	max-width: none;
}

/* Category hero — native HikaShop image + description H1 over full-bleed media */
body.com_hikashop.view-category .hikashop_category_description:has(> img.hikashop_category_image) {
	--ag-cat-hero-h: min(72vh, 42rem);
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0 0 clamp(1.75rem, 3.5vw, 2.75rem);
	padding-top: var(--ag-cat-hero-h);
	box-sizing: border-box;
	overflow: hidden;
}

body.com_hikashop.view-category .hikashop_category_description > img.hikashop_category_image {
	display: block !important;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--ag-cat-hero-h, min(72vh, 42rem));
	margin: 0;
	border: 0;
	object-fit: cover;
	object-position: center 18%;
	z-index: 0;
	pointer-events: none;
}

body.com_hikashop.view-category .hikashop_category_description:has(> img.hikashop_category_image)::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--ag-cat-hero-h);
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(15, 16, 18, 0.5) 0%,
		rgba(15, 16, 18, 0.18) 42%,
		rgba(15, 16, 18, 0.38) 100%
	);
}

body.com_hikashop.view-category .hikashop_category_description_content {
	/* Framed H1 sits on the hero; no text block below the image */
	position: relative;
	z-index: 2;
	width: 100%;
	height: 0;
	margin: 0;
	padding: 0;
	overflow: visible;
	text-align: center;
}

/* Sole H1 from category description = caption in white frame at bottom of hero */
body.com_hikashop.view-category .hikashop_category_description_content > h1:first-child {
	position: absolute;
	left: 50%;
	bottom: clamp(1.15rem, 3vw, 2.35rem);
	transform: translateX(-50%);
	z-index: 2;
	box-sizing: border-box;
	width: min(92%, 46rem);
	margin: 0;
	padding: clamp(0.85rem, 1.8vw, 1.15rem) clamp(1.15rem, 3vw, 2rem);
	border: 1px solid rgba(255, 255, 255, 0.95);
	background: transparent;
	color: #fff;
	font-family: var(--ag-font-sans, "Poppins", "Helvetica Neue", Arial, sans-serif);
	font-weight: 600;
	font-size: clamp(0.78rem, 1.55vw, 0.98rem);
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-align: center;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* Hide any leftover paragraphs under the framed H1 */
body.com_hikashop.view-category .hikashop_category_description_content > h1:first-child ~ * {
	display: none;
}

/* Keep product / subcategory grids inset when page is full-bleed */
body.com_hikashop.view-category:has(.hikashop_category_description > img.hikashop_category_image) .hikashop_products_listing,
body.com_hikashop.view-category:has(.hikashop_category_description > img.hikashop_category_image) .hikashop_subcategories,
body.com_hikashop.view-category:has(.hikashop_category_description > img.hikashop_category_image) .hikashop_categories_listing {
	width: 90%;
	max-width: none;
	margin-inline: auto;
	box-sizing: border-box;
}

@media (max-width: 700px) {
	body.com_hikashop.view-category .hikashop_category_description:has(> img.hikashop_category_image) {
		--ag-cat-hero-h: min(68vh, 34rem);
	}

	body.com_hikashop.view-category .hikashop_category_description_content > h1:first-child {
		width: min(90%, 46rem);
		bottom: 1.75rem;
		padding: 1.4rem 1.35rem;
		font-size: clamp(1.12rem, 4.8vw, 1.28rem);
		letter-spacing: 0.035em;
		line-height: 1.4;
	}
}

/* Category grid — equal columns */
body.com_hikashop .hikashop_subcategories .hk-row-fluid,
body.com_hikashop .hikashop_categories_listing .hk-row-fluid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.75rem, 1.5vw, 1.35rem);
	margin: 0;
}

body.com_hikashop .hikashop_subcategories [class*="hkc-md-"],
body.com_hikashop .hikashop_categories_listing [class*="hkc-md-"] {
	width: auto !important;
	max-width: 100% !important;
	min-width: 0 !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden;
	grid-column: auto !important;
	grid-row: auto !important;
}

body.com_hikashop .hikashop_subcategories .hikashop_container,
body.com_hikashop .hikashop_subcategories .hikashop_subcontainer,
body.com_hikashop .hikashop_categories_listing .hikashop_container,
body.com_hikashop .hikashop_categories_listing .hikashop_subcontainer {
	height: auto !important;
	min-height: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.com_hikashop .hikashop_subcategories .hikashop_subcontainer,
body.com_hikashop .hikashop_categories_listing .hikashop_subcontainer {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
}

body.com_hikashop .hikashop_subcategories .hikashop_subcontainer > br,
body.com_hikashop .hikashop_categories_listing .hikashop_subcontainer > br {
	display: none !important;
}

/* Category card image — only DIV wrappers in listings, not description <img> */
body.com_hikashop .hikashop_subcategories div.hikashop_category_image,
body.com_hikashop .hikashop_categories_listing div.hikashop_category_image {
	position: relative;
	width: 100%;
	height: auto !important;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--ag-bg-soft);
	margin: 0 !important;
	clear: none !important;
	text-align: left !important;
}

body.com_hikashop .hikashop_subcategories div.hikashop_category_image a,
body.com_hikashop .hikashop_categories_listing div.hikashop_category_image a {
	display: block;
	width: 100%;
	height: 100%;
}

body.com_hikashop .hikashop_subcategories div.hikashop_category_image picture,
body.com_hikashop .hikashop_categories_listing div.hikashop_category_image picture {
	display: block;
	width: 100%;
	height: 100%;
}

body.com_hikashop .hikashop_subcategories div.hikashop_category_image img,
body.com_hikashop .hikashop_categories_listing div.hikashop_category_image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
}

body.com_hikashop .hikashop_category_name {
	display: block;
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.3;
}

body.com_hikashop .hikashop_category_name a {
	color: var(--ag-ink);
	text-decoration: none;
}

body.com_hikashop .hikashop_category_name a:hover {
	opacity: 0.7;
}

/* Product listing — portrait media, full product visible (no crop) */
.tpl-andregrand .hikashop_products_pagination,
.tpl-andregrand .hikashop_products {
	margin-top: 0.5rem;
}

body.com_hikashop .hikashop_products .hk-row-fluid,
body.com_hikashop .hikashop_products_listing .hk-row-fluid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: clamp(0.85rem, 1.6vw, 1.5rem);
	row-gap: clamp(1.75rem, 3vw, 2.75rem);
	margin: 0;
}

body.com_hikashop .hikashop_products [class*="hkc-md-"],
body.com_hikashop .hikashop_products_listing [class*="hkc-md-"] {
	width: auto !important;
	max-width: 100% !important;
	min-width: 0 !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden;
	grid-column: auto !important;
	grid-row: auto !important;
}

body.com_hikashop .hikashop_listing_img_title,
body.com_hikashop .hikashop_products .hikashop_subcontainer {
	height: auto !important;
	min-height: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	text-align: left !important;
}

body.com_hikashop .hikashop_listing_img_title > br,
body.com_hikashop .hikashop_product > br {
	display: none !important;
}

/* Quiet listing — no promo badges on grid cards */
body.com_hikashop .hikashop_products .hikashop_product_badge_image,
body.com_hikashop .hikashop_products_listing .hikashop_product_badge_image {
	display: none !important;
}

/* Portrait product media — edge-to-edge fill (no letterbox / gutter) */
body.com_hikashop .hikashop_product_image {
	position: relative;
	width: 100%;
	height: auto !important;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #f2f2f2;
	margin: 0 !important;
	padding: 0 !important;
}

body.com_hikashop .hikashop_product_image_subdiv {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.com_hikashop .hikashop_product_image a.hikashop_hover_parent,
body.com_hikashop .hikashop_product_image a {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

body.com_hikashop .hikashop_product_image .hika_hover_x_img,
body.com_hikashop .hikashop_product_image .hikashop_div_hidden_1,
body.com_hikashop .hikashop_product_image .hikashop_img_curr_final {
	position: relative !important;
	top: auto !important;
	width: 100% !important;
	height: 100% !important;
}

body.com_hikashop .hikashop_product_image picture,
body.com_hikashop .hikashop_product_image img.hikashop_product_listing_image {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover;
	object-position: center;
	opacity: 1 !important;
	visibility: visible !important;
}

body.com_hikashop .hikashop_product_image .hika_hover_x_btn {
	display: none;
}

body.com_hikashop .hikashop_product_image:hover .hika_hover_x_btn {
	display: none;
}

/* Name left + price right — small uppercase sans */
body.com_hikashop .hikashop_product_name,
body.com_hikashop .hikashop_product_price_full {
	margin: 0;
}

body.com_hikashop .hikashop_listing_img_title .hikashop_product_name,
body.com_hikashop .hikashop_products .hikashop_product_name,
body.com_hikashop .hikashop_products_listing .hikashop_product_name,
body.com_hikashop .hikashop_listing_img_title .hikashop_product_price_full,
body.com_hikashop .hikashop_products .hikashop_product_price_full,
body.com_hikashop .hikashop_products_listing .hikashop_product_price_full,
body.com_hikashop .hikashop_listing_img_title .hikashop_product_price,
body.com_hikashop .hikashop_products .hikashop_product_price,
body.com_hikashop .hikashop_products_listing .hikashop_product_price {
	font-family: var(--ag-font-sans);
	font-size: 0.62rem;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0.08em;
	line-height: 1.35;
	text-transform: uppercase;
	color: var(--ag-ink);
}

body.com_hikashop .hikashop_listing_img_title .hikashop_product_name a,
body.com_hikashop .hikashop_products .hikashop_product_name a,
body.com_hikashop .hikashop_products_listing .hikashop_product_name a {
	color: inherit;
	text-decoration: none;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
}

body.com_hikashop .hikashop_listing_img_title .hikashop_product_name a:hover,
body.com_hikashop .hikashop_products .hikashop_product_name a:hover {
	opacity: 0.65;
}

body.com_hikashop .hikashop_listing_img_title .hikashop_product_price_full,
body.com_hikashop .hikashop_products .hikashop_product_price_full,
body.com_hikashop .hikashop_products_listing .hikashop_product_price_full,
body.com_hikashop .hikashop_listing_img_title .hikashop_product_price_full span,
body.com_hikashop .hikashop_products .hikashop_product_price_full span,
body.com_hikashop .hikashop_products_listing .hikashop_product_price_full span,
body.com_hikashop .hikashop_listing_img_title .hikashop_product_price,
body.com_hikashop .hikashop_products .hikashop_product_price,
body.com_hikashop .hikashop_products_listing .hikashop_product_price {
	color: var(--ag-ink) !important;
	white-space: nowrap;
}

body.com_hikashop .hikashop_listing_img_title:has(.hikashop_product_name):has(.hikashop_product_price_full) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"image image"
		"name price";
	column-gap: 0.75rem;
	row-gap: 0.7rem;
	align-items: start;
}

body.com_hikashop .hikashop_listing_img_title:has(.hikashop_product_name):has(.hikashop_product_price_full) .hikashop_product_image {
	grid-area: image;
}

body.com_hikashop .hikashop_listing_img_title:has(.hikashop_product_name):has(.hikashop_product_price_full) .hikashop_product_name {
	grid-area: name;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.com_hikashop .hikashop_listing_img_title:has(.hikashop_product_name):has(.hikashop_product_price_full) .hikashop_product_price_full {
	grid-area: price;
	justify-self: end;
	text-align: right;
}

.tpl-andregrand .hikashop_product_name_main,
.ag-product .hikashop_product_name {
	font-family: var(--ag-font-serif);
	font-size: 1.2rem;
	font-weight: 500;
}

.tpl-andregrand .hikashop_product_price_main,
.ag-product .hikashop_product_price,
.ag-product .hikashop_product_price_full .hikashop_product_price {
	color: var(--ag-ink-muted);
	font-size: 0.95rem;
	font-style: normal;
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
}

/* Filters — compact bar above products (undo HikaShop float chaos) */
body.com_hikashop .hikashop_filter_main_div {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1rem 1.5rem;
	width: 100% !important;
	max-width: 100%;
	margin: 0 0 1.75rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--ag-line);
	float: none !important;
	clear: both !important;
	box-sizing: border-box;
}

body.com_hikashop .hikashop_filter_main_div .hikashop_filter_main {
	float: none !important;
	width: auto !important;
	min-width: 10rem;
	min-height: 0 !important;
	margin: 0 !important;
	flex: 0 1 auto;
}

body.com_hikashop .hikashop_filter_main_div .hikashop_filter_title {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.com_hikashop .hikashop_filter_main_div .hikashop_filter_checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.15rem 0.65rem 0.15rem 0;
	font-size: 0.85rem;
}

body.com_hikashop .hikashop_filter_button_outside {
	margin: 0.5rem 0 0;
}

body.com_hikashop .hikashop_filter_collapsable_title_mobile {
	margin-bottom: 0.75rem;
}

@media (max-width: 1100px) {
	body.com_hikashop .hikashop_subcategories .hk-row-fluid,
	body.com_hikashop .hikashop_categories_listing .hk-row-fluid,
	body.com_hikashop .hikashop_products .hk-row-fluid,
	body.com_hikashop .hikashop_products_listing .hk-row-fluid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	body.com_hikashop .ag-page > .ag-container.ag-page__grid {
		width: 92%;
	}

	body.com_hikashop .hikashop_subcategories .hk-row-fluid,
	body.com_hikashop .hikashop_categories_listing .hk-row-fluid,
	body.com_hikashop .hikashop_products .hk-row-fluid,
	body.com_hikashop .hikashop_products_listing .hk-row-fluid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: clamp(0.65rem, 3vw, 0.85rem);
		row-gap: clamp(1.25rem, 4vw, 1.75rem);
	}
}

.tpl-andregrand .hikashop_product_quantity_field,
.tpl-andregrand input.hikashop_product_quantity_field {
	border: 1px solid var(--ag-line);
	padding: 0.5rem 0.65rem;
	background: var(--ag-white);
}

.tpl-andregrand .hikashop_cart_input_button,
.tpl-andregrand .hikashop_cart_button,
.tpl-andregrand .btn,
.tpl-andregrand button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.7rem 1.25rem;
	border: 1px solid var(--ag-ink);
	background: var(--ag-ink);
	color: var(--ag-white);
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

.tpl-andregrand .hikashop_cart_input_button:hover,
.tpl-andregrand .hikashop_cart_button:hover {
	background: transparent;
	color: var(--ag-ink);
}

/* —— Product page (Magda Butrym–style) —— */
body.com_hikashop.view-product .ag-page {
	padding-top: 0;
	padding-bottom: 0;
}

body.com_hikashop.view-product .ag-page > .ag-container.ag-page__grid {
	width: 100% !important;
	max-width: none !important;
	padding-inline: 0 !important;
}

body.com_hikashop.view-product .ag-main {
	max-width: none;
}

body.com_hikashop.view-product #hikashop_product_top_part {
	display: none;
}

.ag-product {
	--ag-product-info-w: clamp(18rem, 28vw, 26rem);
	--ag-product-stage-h: min(calc(100vw * 1.5), 82svh);
	background: var(--ag-bg);
}

.ag-product__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--ag-product-info-w);
	align-items: start;
	min-height: 0;
}

.ag-product__gallery {
	position: relative;
	min-width: 0;
	background: var(--ag-bg-soft, #f2f2f2);
}

.ag-product__gallery-track {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
}

.ag-product__slide {
	margin: 0;
	width: 100%;
}

.ag-product__slide-inner {
	position: relative;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 2 / 3;
	height: auto;
	overflow: hidden;
	background: var(--ag-bg-soft, #f2f2f2);
}

.ag-product__slide--empty .ag-product__slide-inner {
	min-height: 50vh;
}

.ag-product__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.ag-product__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #111;
}

.ag-product__gallery-progress {
	display: none;
}

.ag-product__gallery-arrow {
	display: none;
}

.ag-product__info {
	position: sticky;
	top: 0;
	align-self: start;
	max-height: 100vh;
	overflow: auto;
	padding: calc(var(--ag-header-h) + 2.75rem) clamp(1.25rem, 2.5vw, 2.25rem) 2.5rem;
	background: var(--ag-bg);
	border-left: 1px solid var(--ag-line);
	scrollbar-width: thin;
}

.ag-product__info-inner {
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
	max-width: 24rem;
	margin-inline: auto;
}

.ag-product__header {
	display: grid;
	gap: 0.55rem;
	order: 1;
}

.ag-product__title,
.ag-product .hikashop_product_name_main {
	margin: 0;
	font-family: var(--ag-font-serif);
	font-size: clamp(1.15rem, 1.6vw, 1.45rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.3;
	color: var(--ag-ink);
}

.ag-product__price,
.ag-product .hikashop_product_price_main {
	font-family: var(--ag-font-serif);
	font-size: 1rem;
	color: var(--ag-ink);
}

.ag-product__price .hikashop_product_price,
.ag-product__price .hikashop_product_price_full {
	color: inherit !important;
}

/* HikaShop Price History — placement + PL label via CSS (no plugin lang override) */
.ag-product__info-inner > .hikashop_price_history_lowest {
	order: 2;
	margin: -1.05rem 0 0;
	font-size: 0;
	line-height: 0;
}

.ag-product__info-inner > .hikashop_price_history_lowest[style*="display:none"] {
	display: none !important;
}

.ag-product__info-inner > #hikashop_price_history_lowest_main::before {
	content: "Najniższa cena z ostatnich 30 dni: ";
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.01em;
	color: color-mix(in srgb, var(--ag-ink-muted) 62%, #ffffff);
}

.ag-product__info-inner > #hikashop_price_history_lowest_main .hikashop_price_history_lowest_price {
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.45;
	color: color-mix(in srgb, var(--ag-ink-muted) 62%, #ffffff);
}

.ag-product-tabs {
	order: 3;
}

.ag-product__options,
.hikashop_product_options {
	order: 4;
}

.ag-product__cart,
.hikashop_product_quantity_main {
	order: 5;
}

.ag-product__contact,
.hikashop_product_contact_main {
	order: 6;
}

/* Horizontal text tabs */
.ag-product-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 1.15rem;
	border-bottom: 1px solid var(--ag-line);
	padding-bottom: 0.15rem;
}

.ag-product-tabs__tab {
	appearance: none;
	margin: 0;
	padding: 0.55rem 0;
	border: 0;
	border-bottom: 1px solid transparent;
	background: transparent;
	color: var(--ag-ink-muted);
	font-family: var(--ag-font-serif);
	font-size: 0.95rem;
	line-height: 1.2;
	cursor: pointer;
	margin-bottom: -1px;
}

.ag-product-tabs__tab:hover,
.ag-product-tabs__tab:focus-visible {
	color: var(--ag-ink);
	outline: none;
}

.ag-product-tabs__tab.is-active {
	color: var(--ag-ink);
	border-bottom-color: var(--ag-ink);
}

.ag-product-tabs__panel {
	padding-top: 1rem;
}

.ag-product-tabs__panel[hidden] {
	display: none !important;
}

.ag-product-tabs__content {
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	line-height: 1.55;
	color: var(--ag-ink);
}

.ag-product-tabs__content p {
	margin: 0 0 0.75rem;
}

.ag-product-tabs__content p:last-child {
	margin-bottom: 0;
}

/* Size picker (HikaShop characteristics in Sizing tab) */
.ag-product-sizing__info + .ag-product-sizing__picker {
	margin-top: 1.15rem;
}

.ag-product-sizing__picker .hikashop_product_characteristics {
	margin: 0;
}

.ag-product-sizing__picker .hikashop_product_characteristics_table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}

.ag-product-sizing__picker .hikashop_product_characteristics_table tr {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 1.35rem;
}

.ag-product-sizing__picker .hikashop_product_characteristics_table td {
	padding: 0;
	border: 0;
	vertical-align: baseline;
}

.ag-product-sizing__picker .hikashop_product_characteristics_table td:first-child {
	flex: 0 0 auto;
	color: var(--ag-ink-muted);
	font-size: 0.78rem;
	letter-spacing: 0.02em;
}

.ag-product-sizing__picker .hikashop_product_characteristics_table td:last-child {
	flex: 1 1 auto;
	min-width: 0;
}

.ag-product-sizing__picker .hikashop_product_characteristics_table fieldset,
.ag-product-sizing__picker .hikashop_product_characteristics_table .controls {
	margin: 0;
	padding: 0;
	border: 0;
}

.ag-product-sizing__picker .hikashop_product_characteristics_table .radio,
.ag-product-sizing__picker .hikashop_product_characteristics_table .form-check,
.ag-product-sizing__picker .hikashop_product_characteristics_table .form-check-inline {
	display: inline-flex;
	align-items: center;
	margin: 0 1.1rem 0 0;
	padding: 0;
	min-height: 0;
}

.ag-product-sizing__picker .hikashop_product_characteristics_table input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ag-product-sizing__picker .hikashop_product_characteristics_table label,
.ag-product-sizing__picker .hikashop_product_characteristics_table .form-check-label,
.ag-product-sizing__picker .hikashop_product_characteristic_span {
	display: inline-block;
	margin: 0;
	padding: 0 0 0.2rem;
	border-bottom: 1px solid transparent;
	color: var(--ag-ink);
	font-family: var(--ag-font-sans);
	font-size: 0.82rem;
	font-weight: 400;
	line-height: 1.2;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.ag-product-sizing__picker .hikashop_product_characteristics_table input[type="radio"]:checked + label,
.ag-product-sizing__picker .hikashop_product_characteristics_table input[type="radio"]:checked + .form-check-label,
.ag-product-sizing__picker .hikashop_product_characteristics_table input[type="radio"]:focus-visible + label,
.ag-product-sizing__picker .hikashop_product_characteristics_table input[type="radio"]:focus-visible + .form-check-label {
	border-bottom-color: var(--ag-ink);
}

.ag-product-sizing__picker .hikashop_product_variant_out_of_stock_span label,
.ag-product-sizing__picker .hikashop_product_variant_out_of_stock + label,
.ag-product-sizing__picker .hikashop_product_characteristics_table input[type="radio"]:disabled + label {
	color: var(--ag-ink-muted);
	opacity: 0.55;
	cursor: not-allowed;
}

/* Tabela rozmiarów — link + modal */
.ag-product-sizing__picker .ag-size-chart__link-wrap,
.ag-product-tabs__content .ag-size-chart__link-wrap {
	margin: 2rem 0 0 !important;
	padding-top: 0;
}

.ag-size-chart__trigger {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--ag-font-sans);
	font-size: 0.68rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.4;
	color: var(--ag-ink-muted);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	cursor: pointer;
}

.ag-size-chart__trigger:hover,
.ag-size-chart__trigger:focus-visible {
	color: var(--ag-ink);
	outline: none;
}

.ag-size-chart {
	position: fixed;
	inset: 0;
	z-index: 1102;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 4vw, 2rem);
	pointer-events: none;
	visibility: hidden;
}

.ag-size-chart[hidden] {
	display: none !important;
}

body.ag-size-chart-open .ag-size-chart {
	visibility: visible;
	pointer-events: auto;
}

.ag-size-chart__backdrop {
	position: fixed;
	inset: 0;
	background: rgb(26 28 30 / 0.42);
	backdrop-filter: blur(3px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s var(--ag-ease);
}

body.ag-size-chart-open .ag-size-chart__backdrop {
	opacity: 1;
	pointer-events: auto;
}

.ag-size-chart__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 34rem);
	max-height: min(88vh, 40rem);
	overflow: auto;
	background: var(--ag-white);
	border: 1px solid var(--ag-line);
	box-shadow: 0 1.75rem 4rem rgb(26 28 30 / 0.14);
	opacity: 0;
	transform: translateY(0.75rem);
	transition: opacity 0.28s var(--ag-ease), transform 0.28s var(--ag-ease);
	pointer-events: auto;
}

body.ag-size-chart-open .ag-size-chart__dialog {
	opacity: 1;
	transform: translateY(0);
}

.ag-size-chart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.25rem 0.85rem;
	border-bottom: 1px solid var(--ag-line);
}

.ag-size-chart__title {
	margin: 0;
	font-family: var(--ag-font-serif);
	font-size: clamp(1.15rem, 2.5vw, 1.35rem);
	font-weight: 400;
	line-height: 1.2;
	color: var(--ag-ink);
}

.ag-size-chart__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	margin: 0;
	padding: 0;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	background: transparent;
	color: var(--ag-ink);
	cursor: pointer;
}

.ag-size-chart__close svg {
	width: 1rem;
	height: 1rem;
}

.ag-size-chart__close:hover,
.ag-size-chart__close:focus-visible {
	border-color: var(--ag-ink);
	outline: none;
}

.ag-size-chart__body {
	padding: 1.15rem 1.25rem 1.35rem;
}

.ag-size-chart__body .ag-size-chart-table,
.ag-size-chart__body table {
	width: 100%;
	border-collapse: collapse;
}

.ag-size-chart__body .ag-size-chart-table th,
.ag-size-chart__body .ag-size-chart-table td,
.ag-size-chart__body table th,
.ag-size-chart__body table td {
	padding: 0.55rem 0.35rem;
	border: 0;
	font-family: var(--ag-font-sans);
	font-size: clamp(0.82rem, 1.6vw, 0.95rem);
	line-height: 1.35;
	text-align: center;
	color: var(--ag-ink-muted);
}

.ag-size-chart__body .ag-size-chart-table thead th,
.ag-size-chart__body table thead th {
	font-weight: 600;
	color: var(--ag-ink);
}

.ag-size-chart__body .ag-size-chart-table tbody th,
.ag-size-chart__body table tbody th {
	font-weight: 400;
	text-align: left;
	color: var(--ag-ink-muted);
}

.ag-size-chart__body .ag-size-chart-table tbody tr:first-child th,
.ag-size-chart__body .ag-size-chart-table tbody tr:first-child td,
.ag-size-chart__body table tbody tr:first-child th,
.ag-size-chart__body table tbody tr:first-child td {
	font-weight: 600;
	color: var(--ag-ink);
}

@media (max-width: 520px) {
	.ag-size-chart__body .ag-size-chart-table th,
	.ag-size-chart__body .ag-size-chart-table td,
	.ag-size-chart__body table th,
	.ag-size-chart__body table td {
		padding: 0.45rem 0.2rem;
		font-size: 0.72rem;
	}
}

.ag-product-tabs__content .informacjeodstawa,
.ag-product-tabs__content .informacjeodstawa span,
.ag-product-tabs__content .informacjeodstawa strong {
	display: block;
	font-weight: 400;
	font-size: inherit;
	line-height: 1.55;
	margin: 0 0 0.55rem;
}

.ag-product-tabs__content img {
	max-width: 100%;
	height: auto;
}

.ag-product-tabs__content .informacjaplatnosci {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.25rem;
	width: 100%;
	max-width: 100%;
	margin-top: 1.25rem;
}

.ag-product-tabs__content .informacjaplatnosci img {
	display: block;
	width: auto !important;
	height: 0.85rem !important;
	max-width: 2rem !important;
	object-fit: contain;
	object-position: center;
	filter: grayscale(1);
	opacity: 0.72;
}

.ag-product-tabs__content .informacjaplatnosci img[alt="Przelewy24"] {
	height: 1rem !important;
	max-width: 4rem !important;
}

.ag-product-tabs__content .informacjaplatnosci img[alt="Blik"] {
	height: 0.95rem !important;
	max-width: 2.2rem !important;
}

/* Cart CTA */
.ag-product__cart {
	margin-top: 0.25rem;
}

.ag-product__cart .hikashop_product_quantity_field,
.ag-product__cart .hikashop_product_stock,
.ag-product__cart .hikashop_product_stock_count,
.ag-product__cart .hikashop_product_quantity_change_div,
.ag-product__cart .hikashop_product_quantity_change,
.ag-product__cart .hikashop_product_quantity_input_div_default,
.ag-product__cart .hikashop_product_quantity_change_div_default,
.ag-product__cart .hikashop_product_quantity_change_div_plus_default,
.ag-product__cart .hikashop_product_quantity_change_div_minus_default,
.ag-product__cart a.hikashop_product_quantity_field_change {
	display: none !important;
}

.ag-product__cart .hikashop_quantity_form,
.ag-product__cart .hikashop_product_quantity_input_div_default_main {
	display: block !important;
	width: 100%;
}

.ag-product__cart .hikashop_product_quantity_add_to_cart_div,
.ag-product__cart .hikashop_product_quantity_div.hikashop_product_quantity_add_to_cart_div {
	display: block !important;
	width: 100% !important;
}

.ag-product__cart .hikashop_product_quantity_div,
.ag-product__cart form {
	width: 100%;
}

.ag-product .hikashop_cart_input_button,
.ag-product .hikashop_cart_button,
.ag-product .hikabtn,
.ag-product button.button {
	display: flex !important;
	width: 100%;
	min-height: 3rem;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ag-ink) !important;
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
	font-family: var(--ag-font-sans);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border-radius: 0;
	box-shadow: none;
}

.ag-product .hikashop_cart_input_button:hover,
.ag-product .hikashop_cart_button:hover,
.ag-product .hikabtn:hover {
	background: transparent !important;
	color: var(--ag-ink) !important;
}

.ag-product__contact:empty,
.ag-product .hikashop_product_vote_mini,
.ag-product #hikashop_product_vote_mini,
body.com_hikashop.view-product #hikashop_comment_form,
body.com_hikashop.view-product #hikashop_vote_listing,
body.com_hikashop.view-product #hikashop_vote_form {
	display: none !important;
}

.ag-product__sticky-cart {
	display: none;
}

@media (max-width: 960px) {
	.ag-product {
		--ag-product-info-w: 100%;
		--ag-product-stage-h: min(calc(100vw * 1.5), 82svh);
	}

	.ag-product__layout {
		grid-template-columns: 1fr;
	}

	.ag-product__gallery {
		min-height: 0;
		align-items: stretch;
	}

	.ag-product__gallery-track {
		flex-direction: row;
		align-items: stretch;
		overflow-x: auto;
		touch-action: pan-x pinch-zoom;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.ag-product__gallery-track::-webkit-scrollbar {
		display: none;
	}

	.ag-product__slide {
		flex: 0 0 100vw;
		min-width: 100vw;
		scroll-snap-align: start;
	}

	.ag-product__img {
		pointer-events: none;
		user-select: none;
		-webkit-user-drag: none;
	}

	.ag-product__slide-inner {
		width: 100%;
		max-width: 100%;
		max-height: var(--ag-product-stage-h);
		aspect-ratio: 2 / 3;
		min-height: 0;
		margin-inline: auto;
	}

	.ag-product__gallery-progress {
		display: block;
		height: 2px;
		margin: 0.65rem 5% 0;
		background: rgba(26, 28, 30, 0.15);
		overflow: hidden;
	}

	.ag-product__gallery-progress-bar {
		display: block;
		height: 100%;
		width: 0%;
		background: var(--ag-ink);
		transition: width 0.2s ease;
	}

	.ag-product__gallery-arrow {
		display: flex;
		position: absolute;
		top: 50%;
		z-index: 2;
		width: auto;
		height: auto;
		min-width: 2rem;
		min-height: 2.5rem;
		padding: 0.35rem;
		align-items: center;
		justify-content: center;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		color: #fff;
		font-family: Georgia, "Times New Roman", serif;
		font-size: 1.65rem;
		font-weight: 400;
		line-height: 1;
		transform: translateY(-50%);
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.ag-product__gallery-arrow span {
		display: block;
		line-height: 1;
	}

	.ag-product__gallery-arrow--prev {
		left: 0.5rem;
	}

	.ag-product__gallery-arrow--next {
		right: 0.5rem;
	}

	.ag-product__info {
		position: relative;
		top: auto;
		max-height: none;
		overflow: visible;
		border-left: 0;
		padding: 1.35rem 5% 2.5rem;
	}

	.ag-product__info-inner {
		max-width: none;
	}

	.ag-product-tabs__nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 1rem;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.ag-product-tabs__nav::-webkit-scrollbar {
		display: none;
	}

	.ag-product-tabs__tab {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.ag-product__sticky-cart:not([hidden]) {
		display: none !important;
	}

	.ag-product__sticky-cart-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
	}

	.ag-product__sticky-name {
		flex: 1;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-family: var(--ag-font-serif);
		font-size: 0.9rem;
	}

	.ag-product__sticky-btn {
		flex: 0 0 auto;
		min-height: 2.6rem;
		padding: 0.55rem 1rem;
		border: 1px solid var(--ag-ink);
		background: var(--ag-ink);
		color: var(--ag-white);
		font-family: var(--ag-font-sans);
		font-size: 0.62rem;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		cursor: pointer;
	}

}

@media (prefers-reduced-motion: reduce) {
	.ag-product__gallery-track {
		scroll-behavior: auto;
	}

	.ag-product__gallery-progress-bar {
		transition: none;
	}
}

/* Featured — native HikaShop Swiper carousel */
.ag-section--featured .hikashop_module {
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.ag-section--featured .hikashop_carousel_parent_div {
	width: 100%;
	max-width: 100%;
}

.ag-section--featured .hikashop_carousel {
	position: relative;
}

.ag-section--featured .hikashop_carousel .swiper {
	width: 100%;
	padding: 0;
}

.ag-section--featured .hikashop_carousel .swiper-slide {
	height: auto;
}

.ag-section--featured .hikashop_carousel_item {
	height: 100%;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.ag-section--featured .hikashop_carousel .swiper-button-prev,
.ag-section--featured .hikashop_carousel .swiper-button-next {
	width: 2.5rem;
	height: 2.5rem;
	margin-top: 0;
	border: 1px solid var(--ag-line);
	background: var(--ag-white);
	color: var(--ag-ink);
	top: 50%;
	transform: translateY(-50%);
}

.ag-section--featured .hikashop_carousel .swiper-button-prev::after,
.ag-section--featured .hikashop_carousel .swiper-button-next::after {
	font-size: 0.95rem;
	font-weight: 700;
}

.ag-section--featured .hikashop_carousel .swiper-button-prev {
	left: -0.25rem;
}

.ag-section--featured .hikashop_carousel .swiper-button-next {
	right: -0.25rem;
}

.ag-section--featured .hikashop_carousel .swiper-button-prev:hover,
.ag-section--featured .hikashop_carousel .swiper-button-next:hover {
	border-color: var(--ag-ink);
	background: var(--ag-ink);
	color: var(--ag-white);
}

/* Product cards inside HikaShop carousel — match shop listing */
.ag-section--featured .hikashop_listing_img_title,
.ag-section--featured .hikashop_carousel_item .hikashop_subcontainer {
	height: auto !important;
	min-height: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	text-align: left !important;
}

/* Override HikaShop inline module styles (margin + fixed 500×750px image box) */
.ag-section--featured [id*="hikashop_category_information_module_"] div.hikashop_container {
	margin: 0 !important;
}

.ag-section--featured [id^="hikashop_module_hikashop_category_information_module_"] {
	height: auto !important;
}

.ag-section--featured [id*="hikashop_category_information_module_"] .hikashop_product_image {
	height: auto !important;
	min-height: 0 !important;
}

.ag-section--featured [id*="hikashop_category_information_module_"] .hikashop_product_image_subdiv {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

.ag-section--featured .hikashop_product_image,
.ag-section--featured .hikashop_carousel_item .hikashop_product_image {
	position: relative;
	width: 100%;
	height: auto !important;
	aspect-ratio: auto;
	overflow: hidden;
	background: transparent;
	margin: 0 !important;
	padding: 0 !important;
}

.ag-section--featured .hikashop_product_image_subdiv,
.ag-section--featured .hikashop_carousel_item .hikashop_product_image_subdiv {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
}

.ag-section--featured .hikashop_product_image a,
.ag-section--featured .hikashop_carousel_item .hikashop_product_image a {
	display: block;
	width: 100%;
	height: auto;
	padding: 0;
}

.ag-section--featured .hikashop_product_image picture,
.ag-section--featured .hikashop_product_image img.hikashop_product_listing_image,
.ag-section--featured .hikashop_carousel_item .hikashop_product_image picture,
.ag-section--featured .hikashop_carousel_item .hikashop_product_image img.hikashop_product_listing_image {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	object-fit: unset;
	object-position: center;
	opacity: 1 !important;
	visibility: visible !important;
}

@media (max-width: 991px) {
	.ag-section--featured .hikashop_carousel_parent_div,
	.ag-section--featured .hikashop_module,
	.ag-section--featured .hikashop_carousel,
	.ag-section--featured .hikashop_carousel .swiper {
		overflow: hidden;
		max-width: 100%;
	}

	.ag-section--featured [id^="hikashop_module_hikashop_category_information_module_"] {
		height: auto !important;
		max-width: 100%;
	}

	.ag-section--featured .hikashop_listing_img_title,
	.ag-section--featured .hikashop_carousel_item .hikashop_subcontainer {
		align-items: center;
		text-align: center;
	}

	.ag-section--featured .hikashop_product_name,
	.ag-section--featured .hikashop_product_name a,
	.ag-section--featured .hikashop_product_price_full,
	.ag-section--featured .hikashop_product_price_full span {
		text-align: center;
	}
}

@media (max-width: 860px) {
	.ag-section--featured .hikashop_carousel .swiper-button-prev,
	.ag-section--featured .hikashop_carousel .swiper-button-next {
		display: none;
	}
}

.ag-header__tools .hikashop_cart_module,
.ag-header__tools .hikashop_cart {
	font-size: 0.85rem;
}

.ag-header__tools .hikashop_cart_module > .hikashop_cart > .hikashop_small_cart_checkout_link .hikashop_product_price,
.ag-header__tools .hikashop_cart_module .hikashop_small_cart_total_title .hikashop_product_price {
	display: none;
}

/* Header cart — icon trigger + native HikaShop order-summary dropdown */
.ag-header__tools .hikashop_cart_module {
	position: relative;
	min-width: 1.5rem;
	min-height: 1.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	overflow: visible;
	z-index: 5;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart {
	position: static;
	width: 1.5rem;
	height: 1.5rem;
	overflow: visible;
}

.ag-header__tools .hikashop_cart_module .hikashop_small_cart_checkout_link {
	display: block !important;
	position: absolute;
	inset: 0;
	z-index: 2;
	opacity: 0;
	text-decoration: none;
}

.ag-header__tools .hikashop_cart_module .hikashop_small_cart_total_title,
.ag-header__tools .hikashop_cart_module > .hikashop_cart > .hikashop_checkout_loading_spinner,
.ag-header__tools .hikashop_cart_module > .hikashop_cart > .hikashop_checkout_loading_elem {
	display: none !important;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_container {
	position: absolute;
	top: 100%;
	right: 0;
	left: auto;
	margin-top: 0.65rem;
	z-index: 1100;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content {
	position: relative;
	top: auto;
	right: auto;
	left: auto;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	min-width: min(24rem, calc(100vw - 2rem));
	max-width: 26rem;
	padding: 1.5rem;
	border: 0;
	background: var(--ag-white);
	color: var(--ag-ink);
	box-shadow: 0 16px 40px rgba(26, 28, 30, 0.14);
	overflow: hidden;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart {
	position: static;
	width: 100%;
	height: auto;
}

.ag-mini-cart__title {
	margin: 0 0 1.15rem;
	font-family: var(--ag-font-serif);
	font-size: clamp(1.35rem, 2.4vw, 1.65rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.15;
	color: var(--ag-ink);
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content form {
	display: block;
	width: 100%;
	margin: 0;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content table.hikashop_cart {
	display: block;
	width: 100%;
	border: 0;
	border-collapse: collapse;
	font-size: 0.84rem;
	line-height: 1.4;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content table.hikashop_cart thead {
	display: none;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content table.hikashop_cart tbody,
.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content table.hikashop_cart tfoot {
	display: block;
	width: 100%;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content table.hikashop_cart tbody tr,
.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content table.hikashop_cart tfoot tr {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.25rem;
	width: 100%;
	box-sizing: border-box;
	border: 0;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content table.hikashop_cart tbody tr {
	padding: 0.15rem 0 0.85rem;
	border-bottom: 1px solid color-mix(in srgb, var(--ag-line) 85%, transparent);
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content table.hikashop_cart td {
	display: block;
	padding: 0;
	border: 0;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_module_product_image,
.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_module_product_quantity_value,
.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_module_product_delete_value,
.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content td:empty {
	display: none !important;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_module_product_name_value,
.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_module_product_total_title {
	flex: 1 1 0%;
	min-width: 0;
	max-width: 100%;
	text-align: left;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_module_product_name_value {
	font-family: var(--ag-font-serif);
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ag-ink);
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .ag-mini-cart__qty {
	white-space: nowrap;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_module_product_price_value,
.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_module_product_total_value {
	flex: 0 0 auto;
	font-family: var(--ag-font-sans);
	font-size: 0.84rem;
	text-align: right;
	white-space: nowrap;
	color: var(--ag-ink);
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content a {
	display: block;
	width: auto;
	height: auto;
	min-width: 0;
	max-width: 100%;
	align-items: stretch;
	justify-content: flex-start;
	font-size: inherit;
	line-height: inherit;
	opacity: 1;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_module_product_name_value a {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100%;
	color: inherit;
	text-decoration: none;
	white-space: normal;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_module_product_name_value a:hover {
	opacity: 0.7;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_product_price,
.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_product_price_full {
	display: inline;
	font: inherit;
	color: inherit;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content table.hikashop_cart tfoot {
	margin: 0;
	padding: 0;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content table.hikashop_cart tfoot tr {
	padding-top: 0.9rem;
	border-top: 1px solid var(--ag-line);
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_module_product_total_title {
	font-family: var(--ag-font-sans);
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--ag-ink);
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_module_product_total_value {
	font-weight: 600;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content > .hikashop_cart_proceed_to_checkout,
.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_proceed_to_checkout,
.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikabtn.hikashop_cart_proceed_to_checkout {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	max-width: 100%;
	margin: 1.25rem 0 0 !important;
	padding: 0.95rem 1rem !important;
	border: 1px solid var(--ag-ink) !important;
	border-radius: 0;
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
	font-family: var(--ag-font-sans);
	font-size: 0.76rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	box-sizing: border-box;
	float: none !important;
	clear: both;
	transition: opacity 0.2s var(--ag-ease);
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_proceed_to_checkout:hover,
.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikabtn.hikashop_cart_proceed_to_checkout:hover {
	opacity: 0.88;
	color: var(--ag-white) !important;
}

.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content .hikashop_cart_proceed_to_checkout span {
	display: block;
	width: 100%;
	color: inherit;
}

.ag-header__tools .hikashop_cart_module .clear_both {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

@media (max-width: 860px) {
	.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_container {
		position: fixed;
		top: calc(var(--ag-header-h) + 2rem);
		right: 1rem !important;
		left: 1rem !important;
		margin-top: 0;
		width: auto;
	}

	.ag-header__tools .hikashop_cart_module .hikashop_cart_dropdown_content {
		position: relative !important;
		top: auto !important;
		right: auto !important;
		left: 0 !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		max-height: min(70vh, 36rem);
		overflow-x: hidden;
		overflow-y: auto;
	}
}

.ag-header__tools .hikashop_cart_module::before {
	content: "\f07a";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 1rem;
	line-height: 1;
	color: inherit;
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	pointer-events: none;
}

/* Never show “cart is empty” text in header cart icon */
.ag-header__tools .hikashop_cart_empty_message,
.tpl-andregrand .hikashop_cart_module .hikashop_cart_empty_message {
	display: none !important;
}

/* HikaShop cart notification (cartnotify / notify.js) */
.notifyjs-wrapper {
	z-index: 10050;
}

.notifyjs-container {
	min-width: 0 !important;
	max-width: min(22rem, calc(100vw - 2rem));
}

.notifyjs-hidable.hikashop-cartnotify-cart,
.notifyjs-hidable.hikashop-cartnotify-wishlist {
	box-shadow: 0 10px 36px rgba(26, 28, 30, 0.1);
}

.notifyjs-metro-info,
.notifyjs-metro-success,
.notifyjs-metro-warning,
.notifyjs-metro-error {
	background: var(--ag-white) !important;
	border: 1px solid var(--ag-line) !important;
	border-radius: 0 !important;
	color: var(--ag-ink) !important;
	padding: 0 !important;
}

.notifyjs-metro-base,
.notifyjs-metro-lite-base {
	min-height: 4.5rem;
	color: var(--ag-ink) !important;
}

.notifyjs-metro-base .image {
	left: 2.35rem;
	width: 3.25rem;
}

.notifyjs-metro-base .image img {
	display: block;
	width: 3.25rem;
	height: 3.25rem;
	object-fit: cover;
}

.notifyjs-metro-base .text-wrapper {
	margin: 0.85rem 1rem 0.85rem 4.75rem;
}

.notifyjs-metro-lite-base .text-wrapper {
	margin: 0.85rem 1rem;
}

.notifyjs-metro-base .title,
.notifyjs-metro-lite-base .title {
	font-family: var(--ag-font-serif);
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--ag-ink) !important;
}

.notifyjs-metro-base .text,
.notifyjs-metro-lite-base .text {
	margin-top: 0.2rem;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.02em;
	color: var(--ag-ink-muted) !important;
}

.notifyjs-metro-warning .text,
.notifyjs-metro-error .text {
	color: var(--ag-accent) !important;
}

@media (max-width: 480px) {
	.notifyjs-container {
		max-width: calc(100vw - 1.25rem);
	}

	.notifyjs-metro-base .text-wrapper {
		margin-left: 4.35rem;
	}
}

/* HikaShop registration — align with .ag-account */
body.com_hikashop.view-user.layout-form .ag-page--account .ag-main {
	max-width: 42rem !important;
	margin-inline: auto;
}

body.com_hikashop.view-user.layout-form .ag-page > .ag-container.ag-page__grid {
	width: 100% !important;
	max-width: 44rem !important;
	margin-inline: auto;
}

.ag-page--register .hikashop_user_registration_page {
	margin: 0;
}

.ag-page--register .hikashop_user_registration_page.hkform-horizontal .hkform-group,
.ag-page--register .hikashop_user_registration_page .hkform-group,
.ag-page--register .hikashop_user_registration_page .control-group {
	display: flex !important;
	flex-direction: column !important;
	grid-template-columns: none !important;
	gap: 0.4rem;
	margin: 0 0 1rem !important;
	margin-inline: 0 !important;
}

.ag-page--register .hikashop_user_registration_page .hkcontrol-label,
.ag-page--register .hikashop_user_registration_page .hkc-sm-4,
.ag-page--register .hikashop_user_registration_page .hkc-sm-8 {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
	grid-column: auto !important;
	--hk-span: 12;
}

.ag-page--register .hikashop_user_registration_page .hkcontrol-label,
.ag-page--register .hikashop_user_registration_page label.hkcontrol-label {
	text-align: left !important;
	padding-top: 0 !important;
	white-space: normal;
}

.ag-page--register .hikashop_user_registration_page input[type="text"],
.ag-page--register .hikashop_user_registration_page input[type="email"],
.ag-page--register .hikashop_user_registration_page input[type="password"],
.ag-page--register .hikashop_user_registration_page input[type="tel"],
.ag-page--register .hikashop_user_registration_page select,
.ag-page--register .hikashop_user_registration_page textarea,
.ag-page--register .hikashop_user_registration_page .form-control {
	width: 100%;
	min-height: 2.65rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	background: var(--ag-white);
	color: var(--ag-ink);
	font-family: var(--ag-font-sans);
	font-size: 0.85rem;
	line-height: 1.35;
	box-shadow: none;
}

.ag-page--register .hikashop_user_registration_page input:focus,
.ag-page--register .hikashop_user_registration_page select:focus,
.ag-page--register .hikashop_user_registration_page textarea:focus,
.ag-page--register .hikashop_user_registration_page .form-control:focus {
	border-color: var(--ag-ink);
	outline: none;
	box-shadow: none;
}

.ag-page--register .ag-account__section-head {
	margin: 1.5rem 0 1rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ag-line);
}

.ag-page--register .ag-account__section-head .ag-account__legend {
	margin: 0;
}

/* HikaShop system messages — override core blue/green alert boxes */
.tpl-andregrand div.hikashop_messages,
.ag-search div.hikashop_messages {
	margin: 0 0 1rem;
	padding: 0;
	border-radius: 0;
	border: 1px solid var(--ag-line) !important;
	background: var(--ag-bg-soft) !important;
	color: var(--ag-ink-muted) !important;
}

.tpl-andregrand div.hikashop_messages ul,
.ag-search div.hikashop_messages ul {
	margin: 0;
	padding: 0.85rem 0.95rem;
}

.tpl-andregrand div.hikashop_messages li,
.ag-search div.hikashop_messages li {
	list-style: none;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.55;
	color: var(--ag-ink-muted);
}

.tpl-andregrand div.hikashop_messages.hikashop_info,
.tpl-andregrand div.hikashop_messages.hikashop_notice,
.tpl-andregrand #hikashop_messages_info,
.ag-search div.hikashop_messages.hikashop_info {
	border-color: var(--ag-line) !important;
	background: var(--ag-bg-soft) !important;
	color: var(--ag-ink-muted) !important;
}

.tpl-andregrand div.hikashop_messages.hikashop_success {
	border-color: var(--ag-line) !important;
	background: var(--ag-bg-soft) !important;
	color: var(--ag-ink) !important;
}

.tpl-andregrand div.hikashop_messages.hikashop_warning {
	border-color: var(--ag-accent) !important;
	background: var(--ag-bg-soft) !important;
	color: var(--ag-ink-muted) !important;
}

.tpl-andregrand div.hikashop_messages.hikashop_error {
	border-color: var(--ag-accent) !important;
	background: var(--ag-bg-soft) !important;
	color: var(--ag-accent) !important;
}

.ag-page--register fieldset:has(#hikashop_messages_info),
.ag-page--register .hikashop_registration_privacy_line,
.ag-page--register fieldset.hikashop_registration_privacy {
	margin: 1.25rem 0 0;
	padding: 1.15rem 0 0;
	border: 0;
	border-top: 1px solid var(--ag-line);
}

.ag-page--register fieldset:has(#hikashop_messages_info) legend {
	display: block;
	width: 100%;
	margin: 0 0 0.85rem;
	padding: 0;
	border: 0;
	font-family: var(--ag-font-serif);
	font-size: 1.05rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--ag-ink);
}

.ag-page--register #hikashop_messages_info,
.ag-page--register .hikashop_registration_privacy_line .alert,
.ag-page--register .hikashop_registration_privacy_line .hikashop_info,
.ag-page--register .hikashop_registration_privacy_line .hikashop_messages,
.ag-page--register fieldset.hikashop_registration_privacy .alert,
.ag-page--register fieldset.hikashop_registration_privacy .hikashop_info,
.ag-page--register fieldset.hikashop_registration_privacy .hikashop_messages {
	margin: 0 0 1rem;
	padding: 0;
	border: 1px solid var(--ag-line) !important;
	border-radius: 0;
	background: var(--ag-bg-soft) !important;
	color: var(--ag-ink-muted) !important;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	line-height: 1.55;
}

.ag-page--register #hikashop_messages_info ul,
.ag-page--register .hikashop_registration_privacy_line .hikashop_messages ul,
.ag-page--register fieldset.hikashop_registration_privacy .hikashop_messages ul {
	margin: 0;
	padding: 0.85rem 0.95rem;
}

.ag-page--register #hikashop_messages_info li,
.ag-page--register .hikashop_registration_privacy_line .hikashop_messages li,
.ag-page--register fieldset.hikashop_registration_privacy .hikashop_messages li {
	font-weight: 400;
	color: var(--ag-ink-muted);
}

.ag-page--register .hikashop_registration_privacy_line {
	margin-bottom: 0;
}

.ag-page--register .hikashop_registration_privacy_line .hkc-sm-4 {
	display: none;
}

.ag-page--register .hikashop_registration_privacy_line .hkc-sm-8 {
	display: block;
}

.ag-page--register .hikashop_registration_privacy_line .hikaradios .btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.ag-page--register .hikashop_registration_privacy_line .hikaradio-label {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 2.65rem;
	padding: 0.65rem 1.15rem !important;
	border: 1px solid var(--ag-line) !important;
	border-radius: 0 !important;
	background: var(--ag-white) !important;
	color: var(--ag-ink) !important;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem !important;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: none !important;
}

.ag-page--register .hikashop_registration_privacy_line .hikaradio-label.active,
.ag-page--register .hikashop_registration_privacy_line .hikaradio-label:hover,
.ag-page--register .hikashop_registration_privacy_line .hikaradio-label:focus-visible {
	border-color: var(--ag-ink) !important;
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
}

.ag-page--register .hikashop_registration_privacy_line .hikaradio-label.btn-danger,
.ag-page--register .hikashop_registration_privacy_line .hikaradio-label.btn-success {
	background: var(--ag-white) !important;
	color: var(--ag-ink) !important;
}

.ag-page--register .hikashop_registration_privacy_line .hikaradio-label.btn-danger.active,
.ag-page--register .hikashop_registration_privacy_line .hikaradio-label.btn-success.active {
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
}

.ag-page--register .hikashop_registration_privacy_line .hikashop_field_required_label {
	color: var(--ag-accent);
}

.ag-page--register .hikashop_registration_required_info_line {
	margin: 0 0 1rem;
}

.ag-page--register .hikashop_field_error_msg {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	color: var(--ag-accent);
}

.ag-page--register .password-group .input-group {
	display: flex;
	align-items: stretch;
	width: 100%;
}

.ag-page--register .password-group .form-control,
.ag-page--register .password-group .input-group input[type="password"] {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	border-right: 0;
}

.ag-page--register .password-group .input-password-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 2.65rem;
	width: 2.65rem;
	min-height: 2.65rem;
	margin: 0;
	padding: 0;
	border: 1px solid var(--ag-line);
	border-left: 0;
	border-radius: 0;
	background: var(--ag-white);
	color: var(--ag-ink-muted);
	box-shadow: none;
	font-size: 0;
	line-height: 1;
}

.ag-page--register .password-group .input-password-toggle:hover,
.ag-page--register .password-group .input-password-toggle:focus-visible {
	background: var(--ag-bg-soft);
	color: var(--ag-ink);
	border-color: var(--ag-ink);
}

.ag-page--register .password-group .input-password-toggle .icon-eye,
.ag-page--register .password-group .input-password-toggle .icon-eye-slash {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1rem;
	height: 1rem;
	font-family: "Font Awesome 6 Free", sans-serif;
	font-size: 0.95rem;
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	color: currentColor;
}

.ag-page--register .password-group .input-password-toggle .icon-eye::before {
	content: "\f06e";
}

.ag-page--register .password-group .input-password-toggle .icon-eye-slash::before {
	content: "\f070";
}

.ag-page--register .password-group .input-password-toggle .visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.ag-page--register .form-text,
.ag-page--register .small,
.ag-page--register meter {
	width: 100%;
	margin-top: 0.35rem;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	line-height: 1.45;
	color: var(--ag-ink-muted);
}

.ag-page--register meter {
	height: 0.2rem;
	border: 0;
	background: var(--ag-bg-soft);
}

.ag-page--register .hikashop_registration_affiliate_line .checkbox label,
.ag-page--register [class*="hikashop_registration_"] .hikashop_checkbox_line label,
.ag-page--register [class*="hikashop_registration_"] input[type="checkbox"] + label,
.ag-page--register [class*="hikashop_registration_"] label:has(input[type="checkbox"]) {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.5;
	color: var(--ag-ink);
}

.ag-page--register [class*="hikashop_registration_"] input[type="checkbox"] {
	width: 0.95rem;
	height: 0.95rem;
	margin: 0.15rem 0 0;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	flex: 0 0 auto;
}

.ag-page--register .hkcheckbox,
.ag-page--account .hkcheckbox {
	margin: 0.35rem 0 0;
}

.ag-page--register .hkcheckbox label,
.ag-page--account .hkcheckbox label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.55;
	color: var(--ag-ink-muted);
	cursor: pointer;
}

.ag-page--register .hkcheckbox input[type="checkbox"],
.ag-page--account .hkcheckbox input[type="checkbox"] {
	width: 0.95rem;
	height: 0.95rem;
	margin: 0.2rem 0 0;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	flex: 0 0 auto;
	accent-color: var(--ag-ink);
}

.ag-page--register .hkcheckbox a,
.ag-page--account .hkcheckbox a {
	color: var(--ag-ink);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ag-page--register .hkcheckbox a:hover,
.ag-page--register .hkcheckbox a:focus-visible,
.ag-page--account .hkcheckbox a:hover,
.ag-page--account .hkcheckbox a:focus-visible {
	color: var(--ag-ink-muted);
}

.ag-page--register .hikabtn_checkout_login_register {
	width: 100%;
	min-height: 2.75rem;
	border: 1px solid var(--ag-ink);
	border-radius: 0;
	background: var(--ag-ink);
	color: var(--ag-white);
	font-family: var(--ag-font-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ag-page--register .hikabtn_checkout_login_register:disabled,
.ag-page--register .hikabtn_checkout_login_register.disabled {
	opacity: 1;
	background: var(--ag-bg-soft);
	border-color: var(--ag-line);
	color: var(--ag-ink-muted);
	cursor: not-allowed;
}

.ag-page--register .hikabtn_checkout_login_register:not(:disabled):hover {
	background: transparent;
	color: var(--ag-ink);
}

body.com_hikashop.view-user.layout-form .page-header,
body.com_hikashop.view-user.layout-form .item-page > h1,
body.com_hikashop.view-user.layout-form .item-page > h2 {
	display: none;
}

@media (min-width: 640px) {
	body.com_hikashop.view-user.layout-form .ag-page--account .ag-main {
		max-width: 44rem;
	}
}

/* Checkout — spójny z kontem i rejestracją (tylko CSS) */
body.com_hikashop.view-checkout .ag-page {
	padding: clamp(2rem, 5vw, 3.5rem) 0 4rem;
}

body.com_hikashop.view-checkout .ag-page > .ag-container.ag-page__grid {
	width: min(100% - 2rem, 68rem) !important;
	max-width: 68rem !important;
	margin-inline: auto;
}

body.com_hikashop.view-checkout .ag-main {
	width: 100%;
	max-width: none;
}

body.com_hikashop.view-checkout .item-page > .page-header {
	display: none;
}

body.com_hikashop.view-checkout #hikashop_checkout,
body.com_hikashop.view-checkout .hikashop_checkout_page {
	position: relative;
	margin: 0;
	padding: 0;
}

/* Pasek kroków */
body.com_hikashop.view-checkout .hikashop_wizardbar {
	margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
	padding: 0 0 1rem;
	border: 0 !important;
	border-bottom: 1px solid var(--ag-line) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.com_hikashop.view-checkout .hikashop_wizardbar::before,
body.com_hikashop.view-checkout .hikashop_wizardbar::after {
	display: none !important;
	content: none !important;
}

body.com_hikashop.view-checkout .hikashop_wizardbar ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.com_hikashop.view-checkout .hikashop_wizardbar ul li {
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	float: none !important;
	height: auto !important;
	min-height: 2.75rem;
	margin: 0 !important;
	padding: 0.6rem 0.5rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--ag-ink-muted);
	font-family: var(--ag-font-sans);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.25;
	text-align: center;
	cursor: default;
	z-index: auto !important;
}

body.com_hikashop.view-checkout .hikashop_wizardbar ul li:nth-child(1) {
	padding-left: 0.5rem !important;
	border-radius: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_wizardbar ul li .hikashop_checkout_step_name {
	display: inline-block;
	line-height: 1.25;
	white-space: nowrap;
}

body.com_hikashop.view-checkout .hikashop_wizardbar ul li .hikashop_chevron,
body.com_hikashop.view-checkout .hikashop_wizardbar ul li .hikashop_chevron::before {
	display: none !important;
	content: none !important;
}

body.com_hikashop.view-checkout .hikashop_wizardbar ul li .hkbadge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.55rem;
	height: 1.55rem;
	margin: 0 !important;
	padding: 0;
	border: 1px solid var(--ag-line);
	border-radius: 50%;
	background: var(--ag-white);
	color: var(--ag-ink-muted);
	font-family: var(--ag-font-sans);
	font-size: 0.68rem;
	font-weight: 500;
	line-height: 1;
}

body.com_hikashop.view-checkout .hikashop_wizardbar ul li.hikashop_cart_step_current {
	color: var(--ag-ink);
	background: transparent !important;
}

body.com_hikashop.view-checkout .hikashop_wizardbar ul li.hikashop_cart_step_current .hkbadge,
body.com_hikashop.view-checkout .hikashop_wizardbar ul li.hikashop_cart_step_current .hkbadge-current {
	background: var(--ag-ink);
	border-color: var(--ag-ink);
	color: var(--ag-white);
}

body.com_hikashop.view-checkout .hikashop_wizardbar ul li.hikashop_cart_step_finished {
	color: var(--ag-ink);
	background: transparent !important;
}

body.com_hikashop.view-checkout .hikashop_wizardbar ul li.hikashop_cart_step_finished .hkbadge,
body.com_hikashop.view-checkout .hikashop_wizardbar ul li.hikashop_cart_step_finished .hkbadge-past {
	background: var(--ag-bg-soft);
	border-color: var(--ag-ink);
	color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_wizardbar ul li a {
	color: inherit;
	text-decoration: none;
}

body.com_hikashop.view-checkout .hikashop_wizardbar ul li.hikashop_cart_step_finished:hover {
	background: transparent !important;
	cursor: pointer;
}

/* Nagłówki */
body.com_hikashop.view-checkout .hikashop_checkout_login > h1 {
	margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
	font-family: var(--ag-font-serif);
	font-size: clamp(1.45rem, 3vw, 1.85rem);
	font-weight: 400;
	line-height: 1.15;
	text-align: center;
	color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_checkout_login h2,
body.com_hikashop.view-checkout #hikashop_checkout_registration h2,
body.com_hikashop.view-checkout #hikashop_checkout_login_form h2 {
	margin: 0 0 1.15rem;
	font-family: var(--ag-font-serif);
	font-size: clamp(1.15rem, 2.5vw, 1.35rem);
	font-weight: 400;
	line-height: 1.2;
	color: var(--ag-ink);
}

/* Układ: metoda | formularz */
body.com_hikashop.view-checkout .hikashop_checkout_login > .hk-container-fluid {
	display: grid !important;
	grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr) !important;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
	margin: 0;
	padding: 0;
}

body.com_hikashop.view-checkout .hikashop_checkout_login > .hk-container-fluid > .hkc-lg-4,
body.com_hikashop.view-checkout .hikashop_checkout_login > .hk-container-fluid > .hkc-lg-8 {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
	grid-column: auto !important;
	--hk-span: auto !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_login > .hk-container-fluid > .hkc-lg-4 {
	grid-column: 1 !important;
	grid-row: 1;
}

body.com_hikashop.view-checkout .hikashop_checkout_login > .hk-container-fluid > .hkc-lg-8 {
	grid-column: 2 !important;
	grid-row: 1;
	min-width: 0;
}

body.com_hikashop.view-checkout .hikashop_hidden_checkout {
	display: none !important;
}

/* Przyciski wyboru metody */
body.com_hikashop.view-checkout .hikashop_checkout_login .hikaradios .btn-group {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	width: 100%;
}

body.com_hikashop.view-checkout .hikashop_checkout_login .hikaradio-label {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 2.75rem;
	margin: 0 !important;
	padding: 0.7rem 1rem !important;
	border: 1px solid var(--ag-line) !important;
	border-radius: 0 !important;
	background: var(--ag-white) !important;
	color: var(--ag-ink) !important;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem !important;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
	white-space: normal;
	box-shadow: none !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_login .hikaradio-label.active,
body.com_hikashop.view-checkout .hikashop_checkout_login .hikaradio-label:hover,
body.com_hikashop.view-checkout .hikashop_checkout_login .hikaradio-label:focus-visible {
	border-color: var(--ag-ink) !important;
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_login .hikaradio-label.btn-danger,
body.com_hikashop.view-checkout .hikashop_checkout_login .hikaradio-label.btn-success {
	background: var(--ag-white) !important;
	color: var(--ag-ink) !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_login .hikaradio-label.btn-danger.active,
body.com_hikashop.view-checkout .hikashop_checkout_login .hikaradio-label.btn-success.active {
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
}

/* Formularze checkout */
body.com_hikashop.view-checkout #hikashop_checkout_login_form,
body.com_hikashop.view-checkout #hikashop_checkout_registration {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body.com_hikashop.view-checkout #hikashop_checkout_login_form fieldset.hkform-horizontal,
body.com_hikashop.view-checkout #hikashop_checkout_registration fieldset.hkform-horizontal {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	min-width: 0;
}

body.com_hikashop.view-checkout .hikashop_checkout_login .hkform-horizontal .hkform-group,
body.com_hikashop.view-checkout .hikashop_checkout_login .hkform-group,
body.com_hikashop.view-checkout .hikashop_checkout_login .control-group,
body.com_hikashop.view-checkout #hikashop_checkout_registration .hkform-group,
body.com_hikashop.view-checkout #hikashop_checkout_registration .control-group {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.4rem;
	margin: 0 0 1rem !important;
	margin-inline: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_login .hkcontrol-label,
body.com_hikashop.view-checkout .hikashop_checkout_login .hkc-sm-4,
body.com_hikashop.view-checkout .hikashop_checkout_login .hkc-sm-8,
body.com_hikashop.view-checkout #hikashop_checkout_registration .hkcontrol-label,
body.com_hikashop.view-checkout #hikashop_checkout_registration .hkc-sm-4,
body.com_hikashop.view-checkout #hikashop_checkout_registration .hkc-sm-8 {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_login label.hkcontrol-label,
body.com_hikashop.view-checkout #hikashop_checkout_registration label.hkcontrol-label {
	font-family: var(--ag-font-sans);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ag-ink-muted);
	text-align: left !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_login input[type="text"],
body.com_hikashop.view-checkout .hikashop_checkout_login input[type="email"],
body.com_hikashop.view-checkout .hikashop_checkout_login input[type="password"],
body.com_hikashop.view-checkout .hikashop_checkout_login input[type="tel"],
body.com_hikashop.view-checkout .hikashop_checkout_login select,
body.com_hikashop.view-checkout .hikashop_checkout_login textarea,
body.com_hikashop.view-checkout .hikashop_checkout_login .form-control,
body.com_hikashop.view-checkout #hikashop_checkout_registration input[type="text"],
body.com_hikashop.view-checkout #hikashop_checkout_registration input[type="email"],
body.com_hikashop.view-checkout #hikashop_checkout_registration input[type="password"],
body.com_hikashop.view-checkout #hikashop_checkout_registration input[type="tel"],
body.com_hikashop.view-checkout #hikashop_checkout_registration select,
body.com_hikashop.view-checkout #hikashop_checkout_registration textarea,
body.com_hikashop.view-checkout #hikashop_checkout_registration .form-control {
	width: 100%;
	min-height: 2.65rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	background: var(--ag-white);
	color: var(--ag-ink);
	font-family: var(--ag-font-sans);
	font-size: 0.85rem;
	line-height: 1.35;
	box-shadow: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_login input:focus,
body.com_hikashop.view-checkout .hikashop_checkout_login select:focus,
body.com_hikashop.view-checkout .hikashop_checkout_login textarea:focus,
body.com_hikashop.view-checkout .hikashop_checkout_login .form-control:focus,
body.com_hikashop.view-checkout #hikashop_checkout_registration input:focus,
body.com_hikashop.view-checkout #hikashop_checkout_registration select:focus,
body.com_hikashop.view-checkout #hikashop_checkout_registration textarea:focus,
body.com_hikashop.view-checkout #hikashop_checkout_registration .form-control:focus {
	border-color: var(--ag-ink);
	outline: none;
	box-shadow: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_login .password-group .input-group,
body.com_hikashop.view-checkout #hikashop_checkout_registration .password-group .input-group {
	display: flex;
	align-items: stretch;
	width: 100%;
}

body.com_hikashop.view-checkout .hikashop_checkout_login .password-group .form-control,
body.com_hikashop.view-checkout .hikashop_checkout_login .password-group .input-group input[type="password"],
body.com_hikashop.view-checkout #hikashop_checkout_registration .password-group .form-control,
body.com_hikashop.view-checkout #hikashop_checkout_registration .password-group .input-group input[type="password"] {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	border-right: 0;
}

body.com_hikashop.view-checkout .hikashop_checkout_login .input-password-toggle,
body.com_hikashop.view-checkout #hikashop_checkout_registration .input-password-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 2.65rem;
	width: 2.65rem;
	min-height: 2.65rem;
	margin: 0;
	padding: 0;
	border: 1px solid var(--ag-line);
	border-left: 0;
	border-radius: 0;
	background: var(--ag-white);
	color: var(--ag-ink-muted);
	box-shadow: none;
	font-size: 0;
	line-height: 1;
}

body.com_hikashop.view-checkout .hikashop_checkout_login .input-password-toggle:hover,
body.com_hikashop.view-checkout .hikashop_checkout_login .input-password-toggle:focus-visible,
body.com_hikashop.view-checkout #hikashop_checkout_registration .input-password-toggle:hover,
body.com_hikashop.view-checkout #hikashop_checkout_registration .input-password-toggle:focus-visible {
	background: var(--ag-bg-soft);
	color: var(--ag-ink);
	border-color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_checkout_login .input-password-toggle .icon-eye,
body.com_hikashop.view-checkout .hikashop_checkout_login .input-password-toggle .icon-eye-slash,
body.com_hikashop.view-checkout #hikashop_checkout_registration .input-password-toggle .icon-eye,
body.com_hikashop.view-checkout #hikashop_checkout_registration .input-password-toggle .icon-eye-slash {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1rem;
	height: 1rem;
	font-family: "Font Awesome 6 Free", sans-serif;
	font-size: 0.95rem;
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	color: currentColor;
}

body.com_hikashop.view-checkout .hikashop_checkout_login .input-password-toggle .icon-eye::before,
body.com_hikashop.view-checkout #hikashop_checkout_registration .input-password-toggle .icon-eye::before {
	content: "\f06e";
}

body.com_hikashop.view-checkout .hikashop_checkout_login .input-password-toggle .icon-eye-slash::before,
body.com_hikashop.view-checkout #hikashop_checkout_registration .input-password-toggle .icon-eye-slash::before {
	content: "\f070";
}

body.com_hikashop.view-checkout .hikashop_checkout_login .hkcheckbox label,
body.com_hikashop.view-checkout #hikashop_checkout_registration .hkcheckbox label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.5;
	color: var(--ag-ink-muted);
}

body.com_hikashop.view-checkout .hikashop_checkout_login .hkcheckbox input[type="checkbox"],
body.com_hikashop.view-checkout #hikashop_checkout_registration .hkcheckbox input[type="checkbox"] {
	width: 0.95rem;
	height: 0.95rem;
	margin: 0.15rem 0 0;
	accent-color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_login_forgot_password_line a,
body.com_hikashop.view-checkout .hikashop_login_forgot_username_line a {
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	color: var(--ag-ink);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

body.com_hikashop.view-checkout .hikashop_login_forgot_password_line a:hover,
body.com_hikashop.view-checkout .hikashop_login_forgot_username_line a:hover,
body.com_hikashop.view-checkout .hikashop_login_forgot_password_line a:focus-visible,
body.com_hikashop.view-checkout .hikashop_login_forgot_username_line a:focus-visible {
	color: var(--ag-ink-muted);
}

/* RODO / komunikaty w checkout */
body.com_hikashop.view-checkout fieldset:has(#hikashop_messages_info),
body.com_hikashop.view-checkout #hikashop_registration_privacy_area {
	margin: 1.25rem 0 0;
	padding: 1.15rem 0 0;
	border: 0;
	border-top: 1px solid var(--ag-line);
}

body.com_hikashop.view-checkout .hikashop_registration_privacy_line .hikaradios .btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

body.com_hikashop.view-checkout .hikashop_registration_privacy_line .hikaradio-label {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 2.65rem;
	padding: 0.65rem 1.15rem !important;
	border: 1px solid var(--ag-line) !important;
	border-radius: 0 !important;
	background: var(--ag-white) !important;
	color: var(--ag-ink) !important;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem !important;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: none !important;
}

body.com_hikashop.view-checkout .hikashop_registration_privacy_line .hikaradio-label.active,
body.com_hikashop.view-checkout .hikashop_registration_privacy_line .hikaradio-label:hover,
body.com_hikashop.view-checkout .hikashop_registration_privacy_line .hikaradio-label:focus-visible {
	border-color: var(--ag-ink) !important;
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
}

/* Checkout krok 2 — formularz adresu */
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_field,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field {
	margin: 0;
	padding: 0;
	border: 0 !important;
	min-width: 0;
	background: transparent;
	box-shadow: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_field > legend,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field > legend {
	margin: 0 0 0.85rem;
	padding: 0 0 0.65rem;
	border: 0;
	border-bottom: 1px solid var(--ag-line);
	width: 100%;
	font-family: var(--ag-font-serif);
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--ag-ink);
	text-transform: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 fieldset.hkform-horizontal,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field fieldset.hkform-horizontal {
	margin: 0;
	padding: 0;
	border: 0 !important;
	background: transparent;
	min-width: 0;
	box-shadow: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hkform-horizontal .hkform-group,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hkform-group,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .control-group,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field .hkform-group,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field .control-group {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.4rem;
	margin: 0 0 1rem !important;
	margin-inline: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hkcontrol-label,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hkc-sm-4,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hkc-sm-8,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field .hkcontrol-label,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field .hkc-sm-4,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field .hkc-sm-8 {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 label.hkcontrol-label,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field label.hkcontrol-label {
	font-family: var(--ag-font-sans);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ag-ink-muted);
	text-align: left !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 input[type="text"],
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 input[type="email"],
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 input[type="password"],
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 input[type="tel"],
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 select,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 textarea,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .form-control,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field input[type="text"],
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field input[type="email"],
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field input[type="password"],
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field input[type="tel"],
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field select,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field textarea,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field .form-control,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field .hkform-control {
	width: 100%;
	min-height: 2.65rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	background: var(--ag-white);
	color: var(--ag-ink);
	font-family: var(--ag-font-sans);
	font-size: 0.85rem;
	line-height: 1.35;
	box-shadow: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 input:focus,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 select:focus,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 textarea:focus,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .form-control:focus,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field input:focus,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field select:focus,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field textarea:focus,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field .form-control:focus,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field .hkform-control:focus {
	border-color: var(--ag-ink);
	outline: none;
	box-shadow: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hikashop_address_row,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field .hikashop_address_row {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hikashop_address_row > [class*="hkc-"],
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field .hikashop_address_row > [class*="hkc-"] {
	width: 100% !important;
	max-width: none !important;
	flex: 0 0 auto;
	padding: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_address_default label,
body.com_hikashop.view-checkout .hikashop_checkout_address_same label,
body.com_hikashop.view-checkout #hikashop_checkout label[for="same_address"] {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_checkout_address_default input[type="checkbox"],
body.com_hikashop.view-checkout .hikashop_checkout_address_same input[type="checkbox"],
body.com_hikashop.view-checkout #hikashop_checkout .hikashop_checkout_shipping_same_address {
	flex: 0 0 1rem;
	width: 1rem;
	height: 1rem;
	margin-top: 0.15rem;
	accent-color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_address_required_info_line,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hikashop_address_required_info_line {
	margin: 0.25rem 0 1rem;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	line-height: 1.45;
	color: var(--ag-ink-muted);
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_element,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_element {
	margin: 0 0 0.75rem;
	padding: 0;
	border: 1px solid var(--ag-line);
	background: var(--ag-white);
	transition: border-color 0.2s var(--ag-ease), background 0.2s var(--ag-ease);
	overflow: hidden;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_element:has(input[type="radio"]:checked),
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_element:has(input[type="radio"]:checked) {
	border-color: var(--ag-ink);
	background: var(--ag-bg-soft);
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_element .hika_edit,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_element .hika_edit {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.6rem 0.85rem;
	border-bottom: 1px solid var(--ag-line);
	background: color-mix(in srgb, var(--ag-bg-soft) 70%, var(--ag-white));
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_element:has(input[type="radio"]:checked) .hika_edit,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_element:has(input[type="radio"]:checked) .hika_edit {
	background: var(--ag-white);
	border-bottom-color: color-mix(in srgb, var(--ag-line) 80%, transparent);
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_element .hika_edit input[type="radio"],
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_element .hika_edit input[type="radio"] {
	flex: 0 0 1rem;
	width: 1rem;
	height: 1rem;
	margin: 0;
	accent-color: var(--ag-ink);
	cursor: pointer;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_element .hika_edit a,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_element .hika_edit a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin: 0;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	color: var(--ag-ink-muted);
	font-size: 0.8rem;
	text-decoration: none;
	transition: color 0.2s var(--ag-ease), border-color 0.2s var(--ag-ease), background 0.2s var(--ag-ease);
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_element .hika_edit a:first-of-type,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_element .hika_edit a:first-of-type {
	margin-left: auto;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_element .hika_edit a:hover,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_element .hika_edit a:focus-visible,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_element .hika_edit a:hover,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_element .hika_edit a:focus-visible {
	border-color: var(--ag-line);
	background: var(--ag-white);
	color: var(--ag-ink);
	outline: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_element .hika_edit a span,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_element .hika_edit a span {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_element .hika_address_display,
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_element .hika_address_display {
	padding: 0.85rem 1rem 1rem;
	font-family: var(--ag-font-sans);
	font-size: 0.84rem;
	font-weight: 400;
	line-height: 1.55;
	color: var(--ag-ink);
	white-space: normal;
	word-break: break-word;
}

body.com_hikashop.view-checkout .hikashop_checkout_address_ok_button,
body.com_hikashop.view-checkout .hikashop_checkout_address_cancel_button,
body.com_hikashop.view-checkout .hikashop_checkout_address_new_button {
	float: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	width: 100%;
	min-height: 2.65rem;
	margin: 0.25rem 0 0;
	padding: 0.65rem 1rem;
	border: 1px solid var(--ag-line) !important;
	border-radius: 0 !important;
	background: var(--ag-white) !important;
	color: var(--ag-ink) !important;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: none !important;
	cursor: pointer;
}

body.com_hikashop.view-checkout .hikashop_checkout_address_new_button.hikabtn-success {
	border-color: var(--ag-ink) !important;
	background: transparent !important;
	color: var(--ag-ink) !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_address_ok_button:hover,
body.com_hikashop.view-checkout .hikashop_checkout_address_ok_button:focus-visible,
body.com_hikashop.view-checkout .hikashop_checkout_address_new_button:hover,
body.com_hikashop.view-checkout .hikashop_checkout_address_new_button:focus-visible {
	border-color: var(--ag-ink) !important;
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_address_cancel_button:hover,
body.com_hikashop.view-checkout .hikashop_checkout_address_cancel_button:focus-visible {
	border-color: var(--ag-ink) !important;
	background: transparent !important;
	color: var(--ag-ink) !important;
}

/* Checkout krok 2 — układ sekcji adresów */
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hikashop_checkout_address,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step2 .hikashop_checkout_address {
	margin: 0;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hikashop_checkout_address > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hikashop_checkout_address > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step2 .hikashop_checkout_address > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step2 .hikashop_checkout_address > .hikashop_checkout_loading_spinner {
	display: none !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hk-container-fluid,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step2 .hk-container-fluid {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hk-container-fluid > .hkc-sm-6,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step2 .hk-container-fluid > .hkc-sm-6 {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hikashop_checkout_billing_address_block,
body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hikashop_checkout_shipping_address_block,
body.com_hikashop.view-checkout #hikashop_checkout .hikashop_checkout_billing_address_block,
body.com_hikashop.view-checkout #hikashop_checkout .hikashop_checkout_shipping_address_block {
	margin: 0;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step2 div[style*="float:right"],
body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field div[style*="float:right"] {
	float: none !important;
	display: flex;
	justify-content: flex-end;
	margin-top: 0.75rem;
}

body.com_hikashop.view-checkout #hikashop_checkout_address,
body.com_hikashop.view-checkout #hikashop_checkout_address_billing_only {
	display: block;
}

body.com_hikashop.view-checkout #hikashop_checkout_address_left_part,
body.com_hikashop.view-checkout #hikashop_checkout_address_right_part,
body.com_hikashop.view-checkout #hikashop_checkout_billing_address {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	padding: 0;
}

/* Checkout krok 3 — wysyłka, płatność, podsumowanie */
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_shipping,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_payment,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_cart,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_shipping,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_payment,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_cart {
	margin: 0 0 2rem;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_shipping > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_shipping > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_payment > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_payment > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_cart > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_cart > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_shipping > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_shipping > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_payment > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_payment > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_cart > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_cart > .hikashop_checkout_loading_spinner {
	display: none !important;
}

body.com_hikashop.view-checkout .hikashop_shipping_group > legend,
body.com_hikashop.view-checkout .hikashop_checkout_payment > legend {
	display: block;
	width: 100%;
	margin: 0 0 0.85rem;
	padding: 0 0 0.65rem;
	border: 0;
	border-bottom: 1px solid var(--ag-line);
	font-family: var(--ag-font-serif);
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--ag-ink);
	text-transform: none;
}

body.com_hikashop.view-checkout .hikashop_shipping_group {
	margin: 0 0 1.5rem;
}

body.com_hikashop.view-checkout .hikashop_shipping_group_name {
	margin: 0 0 0.75rem;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	color: var(--ag-ink-muted);
}

/* Metody wysyłki i płatności — karty zamiast tabeli */
body.com_hikashop.view-checkout .hikashop_shipping_methods_table,
body.com_hikashop.view-checkout .hikashop_payment_methods_table {
	display: block;
	width: 100%;
	margin: 0;
	border: 0 !important;
	border-collapse: separate;
	background: transparent;
}

body.com_hikashop.view-checkout .hikashop_shipping_methods_table tbody,
body.com_hikashop.view-checkout .hikashop_payment_methods_table tbody {
	display: block;
}

body.com_hikashop.view-checkout .hikashop_shipping_methods_table tr,
body.com_hikashop.view-checkout .hikashop_payment_methods_table tr {
	display: block;
	margin: 0 0 0.75rem;
	border: 1px solid var(--ag-line);
	background: var(--ag-white);
	transition: border-color 0.2s var(--ag-ease), background 0.2s var(--ag-ease);
}

body.com_hikashop.view-checkout .hikashop_shipping_methods_table tr:has(input[type="radio"]:checked),
body.com_hikashop.view-checkout .hikashop_payment_methods_table tr:has(input[type="radio"]:checked) {
	border-color: var(--ag-ink);
	background: var(--ag-bg-soft);
}

body.com_hikashop.view-checkout .hikashop_shipping_methods_table td,
body.com_hikashop.view-checkout .hikashop_payment_methods_table td {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-rows: auto auto auto;
	gap: 0.35rem 0.55rem;
	align-items: start;
	padding: 0.85rem 1rem;
	border: 0 !important;
	background: transparent !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_shipping_radio,
body.com_hikashop.view-checkout .hikashop_checkout_payment_radio {
	grid-column: 1;
	grid-row: 1;
	width: 1rem;
	height: 1rem;
	margin: 0.15rem 0 0;
	accent-color: var(--ag-ink);
	cursor: pointer;
}

body.com_hikashop.view-checkout .hikashop_shipping_methods_table label,
body.com_hikashop.view-checkout .hikashop_payment_methods_table label {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	cursor: pointer;
}

body.com_hikashop.view-checkout .hikashop_checkout_shipping_name,
body.com_hikashop.view-checkout .hikashop_checkout_payment_name {
	font-family: var(--ag-font-sans);
	font-size: 0.84rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_checkout_shipping_cost,
body.com_hikashop.view-checkout .hikashop_checkout_payment_cost {
	grid-column: 3;
	grid-row: 1;
	white-space: nowrap;
	font-family: var(--ag-font-sans);
	font-size: 0.84rem;
	font-weight: 500;
	color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_checkout_shipping_images,
body.com_hikashop.view-checkout .hikashop_checkout_payment_images {
	grid-column: 2 / -1;
	grid-row: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

body.com_hikashop.view-checkout .hikashop_checkout_shipping_images img,
body.com_hikashop.view-checkout .hikashop_checkout_payment_images img {
	display: block;
	max-width: min(8rem, 100%);
	max-height: 2rem;
	width: auto;
	height: auto;
	object-fit: contain;
}

body.com_hikashop.view-checkout .hikashop_checkout_shipping_description,
body.com_hikashop.view-checkout .hikashop_checkout_payment_description {
	grid-column: 2 / -1;
	margin: 0;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--ag-ink-muted);
}

body.com_hikashop.view-checkout .hikashop_checkout_shipping_custom,
body.com_hikashop.view-checkout .hikashop_checkout_payment_custom,
body.com_hikashop.view-checkout .hikashop_checkout_payment_card {
	grid-column: 1 / -1;
	margin: 0.5rem 0 0;
	padding: 0.85rem 0 0;
	border-top: 1px solid color-mix(in srgb, var(--ag-line) 80%, transparent);
}

body.com_hikashop.view-checkout .hikashop_checkout_shipping_submit,
body.com_hikashop.view-checkout .hikashop_checkout_payment_submit {
	margin-top: 0.75rem;
}

body.com_hikashop.view-checkout .hikashop_checkout_shipping_submit .hikabtn,
body.com_hikashop.view-checkout .hikashop_checkout_payment_submit .hikabtn,
body.com_hikashop.view-checkout .hikabtn_checkout_shipping_submit,
body.com_hikashop.view-checkout .hikabtn_checkout_payment_submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.65rem;
	padding: 0.65rem 1rem;
	border: 1px solid var(--ag-ink) !important;
	border-radius: 0 !important;
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: none !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_shipping_submit .hikabtn:hover,
body.com_hikashop.view-checkout .hikashop_checkout_payment_submit .hikabtn:hover,
body.com_hikashop.view-checkout .hikabtn_checkout_shipping_submit:hover,
body.com_hikashop.view-checkout .hikabtn_checkout_payment_submit:hover {
	background: transparent !important;
	color: var(--ag-ink) !important;
}

/* InPost — dopasowanie do szablonu (nadpisanie pluginu) */
body.com_hikashop.view-checkout #mojpackzomatprzycisk2 {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	max-width: none !important;
	margin: 0.75rem 0 0 !important;
	padding: 0.65rem 1rem !important;
	border: 1px solid var(--ag-ink) !important;
	border-radius: 0 !important;
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
	font-family: var(--ag-font-sans) !important;
	font-size: 0.72rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
}

body.com_hikashop.view-checkout #mojpackzomatprzycisk2:hover {
	background: transparent !important;
	color: var(--ag-ink) !important;
}

body.com_hikashop.view-checkout .paczkomaty-wybrane-zbiornik {
	margin: 0.5rem 0 0;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--ag-ink-muted);
}

body.com_hikashop.view-checkout #wybranypackzoamtpole {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--ag-font-sans);
	font-size: 0.75rem !important;
	font-weight: 400;
	line-height: 1.4;
	color: var(--ag-accent) !important;
}

body.com_hikashop.view-checkout #paczkomatbp {
	width: 100%;
	margin: 0.35rem 0 0;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	background: var(--ag-bg-soft);
	color: var(--ag-ink);
	font-family: var(--ag-font-sans);
	font-size: 0.82rem;
	line-height: 1.4;
}

body.com_hikashop.view-checkout #paczkomatbp::placeholder {
	color: var(--ag-ink-muted);
	font-size: 0.82rem;
}

/* Podsumowanie koszyka w checkout */
body.com_hikashop.view-checkout .hikashop_checkout_cart > table {
	width: 100%;
	margin: 0;
	border: 0 !important;
	border-collapse: separate;
	background: transparent;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart > table thead {
	display: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart > table tbody {
	display: block;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart > table tbody tr[id^="hikashop_cart_product_row"] {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"image name"
		"price price"
		"qty qty"
		"total total";
	gap: 0.65rem 0.65rem;
	align-items: start;
	margin: 0 0 1rem;
	padding: 0.85rem 0.9rem;
	border: 1px solid var(--ag-line);
	background: var(--ag-white);
}

body.com_hikashop.view-checkout .hikashop_checkout_cart > table tbody tr[id^="hikashop_cart_product_row"] td {
	display: block;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	position: static;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_image_value {
	grid-area: image;
	width: 5rem;
	max-width: 5rem;
	margin-bottom: 0;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_name_value {
	grid-area: name;
	align-self: start;
	min-width: 0;
	padding-left: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_price_value {
	grid-area: price;
	padding-top: 0.65rem;
	border-top: 1px solid color-mix(in srgb, var(--ag-line) 70%, transparent);
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_quantity_value {
	grid-area: qty;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_total_value {
	grid-area: total;
	padding-top: 0.15rem;
	border-top: 1px solid color-mix(in srgb, var(--ag-line) 70%, transparent);
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_image_value::before,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_name_value::before {
	display: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_image_thumb {
	display: block;
	width: 5rem;
	max-width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border: 1px solid var(--ag-line);
	background: var(--ag-bg-soft);
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_image_thumb picture {
	display: block;
	width: 100%;
	height: 100%;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_image_value img {
	display: block;
	width: 100%;
	max-width: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_image_thumb img,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_product_checkout_cart_image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_name {
	margin: 0;
	font-family: var(--ag-font-serif);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_name a.hikashop_no_print {
	display: inline;
	color: inherit;
	text-decoration: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_product_variant_subname {
	display: block;
	margin-top: 0.25rem;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.01em;
	color: var(--ag-ink-muted);
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .edit_cart_product {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.65rem;
	height: 1.65rem;
	margin-left: 0.15rem;
	vertical-align: middle;
	color: var(--ag-ink-muted);
	text-decoration: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .edit_cart_product:hover,
body.com_hikashop.view-checkout .hikashop_checkout_cart .edit_cart_product:focus-visible {
	color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_price_value,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_quantity_value,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_total_value {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	padding: 0.35rem 0;
	font-family: var(--ag-font-sans);
	font-size: 0.82rem;
	color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_price_value::before,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_quantity_value::before,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_total_value::before {
	content: attr(data-title);
	position: static;
	left: auto;
	flex: 0 0 auto;
	max-width: 55%;
	padding-right: 0;
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ag-ink-muted);
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_quantity_value input[type="text"],
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_quantity_value input[type="number"] {
	width: 3rem;
	min-height: 2.15rem;
	padding: 0.35rem 0.45rem;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	text-align: center;
	font-family: var(--ag-font-sans);
	font-size: 0.82rem;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_quantity_value .hikashop_product_quantity_field,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_quantity_value .hikashop_product_quantity_change_div {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_quantity_value a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.75rem;
	min-height: 1.75rem;
	color: var(--ag-ink);
	text-decoration: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_quantity_value .visible-phone {
	display: none !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_quantity_delete {
	margin-top: 0.35rem;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_product_quantity_delete a {
	color: var(--ag-ink-muted);
	text-decoration: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart tr.margin,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_empty_footer {
	display: none !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_subtotal_row,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_coupon_row,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_shipping_row,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_additional_row,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_tax_row,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_payment_row,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_total_row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin: 0;
	padding: 0.45rem 0;
	border: 0;
	border-top: 1px solid color-mix(in srgb, var(--ag-line) 70%, transparent);
	background: transparent;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_subtotal_row td,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_coupon_row td,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_shipping_row td,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_additional_row td,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_tax_row td,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_payment_row td,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_total_row td {
	display: block;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	position: static;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_subtotal_row td::before,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_coupon_row td::before,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_shipping_row td::before,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_additional_row td::before,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_tax_row td::before,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_payment_row td::before,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_total_row td::before {
	display: none !important;
	content: none !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_checkout_cart_subtotal,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_checkout_cart_shipping,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_checkout_cart_final_total,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_checkout_cart_coupon,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_checkout_cart_additional,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_checkout_cart_taxes,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_checkout_cart_payment {
	padding-left: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_title {
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ag-ink-muted);
	text-align: left;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_title,
body.com_hikashop.view-checkout .hikashop_checkout_cart #hikashop_checkout_cart_total2_title,
body.com_hikashop.view-checkout .hikashop_checkout_cart #hikashop_checkout_cart_shipping_title,
body.com_hikashop.view-checkout .hikashop_checkout_cart #hikashop_checkout_cart_final_total_title,
body.com_hikashop.view-checkout .hikashop_checkout_cart #hikashop_checkout_cart_coupon_title,
body.com_hikashop.view-checkout .hikashop_checkout_cart #hikashop_checkout_cart_tax_title,
body.com_hikashop.view-checkout .hikashop_checkout_cart #hikashop_checkout_cart_payment_title,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_additional_title {
	display: block !important;
	flex: 1 1 auto;
	min-width: 0;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_subtotal_value,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_coupon_value,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_shipping_value,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_additional_value,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_tax_value,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_payment_value,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_total_value {
	font-family: var(--ag-font-sans);
	font-size: 0.84rem;
	color: var(--ag-ink);
	text-align: right;
	white-space: nowrap;
	flex: 0 0 auto;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_total_row {
	margin-top: 0.35rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--ag-line);
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_total_row .hikashop_cart_title,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_total_row .hikashop_cart_total_value {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ag-ink);
}

/* Checkout krok 3 — adresy, status, kupon, dodatkowe informacje */
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_address,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_status,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_coupon,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_fields,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_address,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_status,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_coupon,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_fields {
	margin: 0 0 1.5rem;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_address > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_address > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_status > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_status > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_coupon > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_coupon > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_fields > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_fields > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_address > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_address > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_status > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_status > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_coupon > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_coupon > .hikashop_checkout_loading_spinner,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_fields > .hikashop_checkout_loading_elem,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_fields > .hikashop_checkout_loading_spinner {
	display: none !important;
}

/* Adresy — podgląd (krok 3) */
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_address > .hk-container-fluid,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_address > .hk-container-fluid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_address .hkc-sm-6,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_address .hkc-sm-6 {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hika_address_field.hikashop_checkout_billing_address_block,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hika_address_field.hikashop_checkout_shipping_address_block,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hika_address_field.hikashop_checkout_billing_address_block,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hika_address_field.hikashop_checkout_shipping_address_block {
	margin: 0;
	padding: 0.85rem 0.9rem;
	border: 1px solid var(--ag-line) !important;
	background: var(--ag-white);
	min-width: 0;
	box-shadow: none;
	font-family: var(--ag-font-sans);
	font-size: 0.84rem;
	font-weight: 400;
	line-height: 1.55;
	color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hika_address_field.hikashop_checkout_billing_address_block > legend,
body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hika_address_field.hikashop_checkout_shipping_address_block > legend,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hika_address_field.hikashop_checkout_billing_address_block > legend,
body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hika_address_field.hikashop_checkout_shipping_address_block > legend {
	margin: 0 0 0.65rem;
	padding: 0 0 0.55rem;
	border: 0;
	border-bottom: 1px solid var(--ag-line);
	width: 100%;
	font-family: var(--ag-font-serif);
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--ag-ink);
	text-transform: none;
}

/* Status wyboru wysyłki / płatności */
body.com_hikashop.view-checkout .hikashop_checkout_status {
	padding: 0.85rem 0.9rem;
	border: 1px solid var(--ag-line);
	background: var(--ag-bg-soft);
	font-family: var(--ag-font-sans);
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--ag-ink-muted);
}

body.com_hikashop.view-checkout .hikashop_checkout_status .label {
	display: inline;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	font-family: var(--ag-font-sans);
	font-size: inherit;
	font-weight: 500;
	line-height: inherit;
	color: var(--ag-ink) !important;
	text-shadow: none;
	white-space: normal;
}

/* Kupon rabatowy */
body.com_hikashop.view-checkout .hikashop_checkout_coupon .input-group {
	display: flex;
	align-items: stretch;
	width: 100%;
	gap: 0;
}

body.com_hikashop.view-checkout .hikashop_checkout_coupon .hikashop_checkout_coupon_field {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	min-height: 2.65rem;
	padding: 0.65rem 0.75rem !important;
	border: 1px solid var(--ag-line) !important;
	border-radius: 0 !important;
	background: var(--ag-white) !important;
	color: var(--ag-ink);
	font-family: var(--ag-font-sans);
	font-size: 0.85rem;
	line-height: 1.35;
	box-shadow: none !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_coupon .hikashop_checkout_coupon_field:focus {
	border-color: var(--ag-ink) !important;
	outline: none;
	box-shadow: none !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_coupon .hikashop_checkout_coupon_field::placeholder {
	color: var(--ag-ink-muted);
	font-size: 0.82rem;
}

body.com_hikashop.view-checkout .hikabtn_checkout_coupon_add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 2.65rem;
	margin: 0 !important;
	padding: 0.65rem 1.15rem !important;
	border: 1px solid var(--ag-ink) !important;
	border-radius: 0 !important;
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: none !important;
}

body.com_hikashop.view-checkout .hikabtn_checkout_coupon_add:hover,
body.com_hikashop.view-checkout .hikabtn_checkout_coupon_add:focus-visible {
	background: transparent !important;
	color: var(--ag-ink) !important;
}

/* Dodatkowe informacje — formularz zamówienia */
body.com_hikashop.view-checkout .hikashop_checkout_fields fieldset.hkform-horizontal {
	margin: 0;
	padding: 0.85rem 0.9rem;
	border: 1px solid var(--ag-line) !important;
	background: var(--ag-white);
	min-width: 0;
	box-shadow: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_fields fieldset.hkform-horizontal > legend {
	margin: 0 0 0.85rem;
	padding: 0 0 0.65rem;
	border: 0;
	border-bottom: 1px solid var(--ag-line);
	width: 100%;
	font-family: var(--ag-font-serif);
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--ag-ink);
	text-transform: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_fields .hkform-group,
body.com_hikashop.view-checkout .hikashop_checkout_fields .control-group {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.4rem;
	margin: 0 0 1rem !important;
	margin-inline: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_fields .hkform-group:last-child,
body.com_hikashop.view-checkout .hikashop_checkout_fields .control-group:last-child {
	margin-bottom: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_fields .hkcontrol-label,
body.com_hikashop.view-checkout .hikashop_checkout_fields .hkc-sm-4,
body.com_hikashop.view-checkout .hikashop_checkout_fields .hkc-sm-8 {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_fields label.hkcontrol-label {
	font-family: var(--ag-font-sans);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ag-ink-muted);
	text-align: left !important;
}

body.com_hikashop.view-checkout .hikashop_checkout_fields .hikashop_field_required_label {
	color: var(--ag-accent);
}

body.com_hikashop.view-checkout .hikashop_checkout_fields textarea,
body.com_hikashop.view-checkout .hikashop_checkout_fields input[type="text"],
body.com_hikashop.view-checkout .hikashop_checkout_fields .form-control {
	width: 100%;
	min-height: 2.65rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	background: var(--ag-white);
	color: var(--ag-ink);
	font-family: var(--ag-font-sans);
	font-size: 0.85rem;
	line-height: 1.35;
	box-shadow: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_fields textarea {
	min-height: 5.5rem;
	resize: vertical;
}

body.com_hikashop.view-checkout .hikashop_checkout_fields textarea:focus,
body.com_hikashop.view-checkout .hikashop_checkout_fields input[type="text"]:focus,
body.com_hikashop.view-checkout .hikashop_checkout_fields .form-control:focus {
	border-color: var(--ag-ink);
	outline: none;
	box-shadow: none;
}

body.com_hikashop.view-checkout .hikashop_checkout_fields .hkcheckbox label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.5;
	color: var(--ag-ink-muted);
	cursor: pointer;
}

body.com_hikashop.view-checkout .hikashop_checkout_fields .hkcheckbox input[type="checkbox"] {
	width: 0.95rem;
	height: 0.95rem;
	margin: 0.15rem 0 0;
	accent-color: var(--ag-ink);
	flex: 0 0 auto;
}

body.com_hikashop.view-checkout .hikashop_checkout_fields .hkcheckbox a {
	color: var(--ag-ink);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

body.com_hikashop.view-checkout .hikashop_checkout_fields .hkcheckbox a:hover,
body.com_hikashop.view-checkout .hikashop_checkout_fields .hkcheckbox a:focus-visible {
	color: var(--ag-ink-muted);
}

/* Podsumowanie koszyka — wiersze sum */
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_subtotal_row,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_coupon_row,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_shipping_row,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_additional_row,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_tax_row,
body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_payment_row {
	padding-inline: 0.15rem;
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_subtotal_row {
	margin-top: 0.35rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--ag-line);
}

body.com_hikashop.view-checkout .hikashop_checkout_cart .hikashop_cart_total_row {
	padding-inline: 0.15rem;
}

@media (min-width: 640px) {
	body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_address > .hk-container-fluid,
	body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_address > .hk-container-fluid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Przyciski akcji */
body.com_hikashop.view-checkout .hikabtn_checkout_login_form,
body.com_hikashop.view-checkout .hikabtn_checkout_login_register {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.7rem 1.35rem;
	border: 1px solid var(--ag-ink);
	border-radius: 0;
	background: var(--ag-ink);
	color: var(--ag-white);
	font-family: var(--ag-font-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	box-shadow: none;
}

body.com_hikashop.view-checkout .hikabtn_checkout_login_form:hover,
body.com_hikashop.view-checkout .hikabtn_checkout_login_register:hover,
body.com_hikashop.view-checkout .hikabtn_checkout_login_form:focus-visible,
body.com_hikashop.view-checkout .hikabtn_checkout_login_register:focus-visible {
	background: transparent;
	color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_checkout_buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: clamp(1.75rem, 4vw, 2.5rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--ag-line);
}

body.com_hikashop.view-checkout .hikashop_checkout_buttons .buttons_left,
body.com_hikashop.view-checkout .hikashop_checkout_buttons .buttons_right {
	float: none !important;
	width: auto;
}

body.com_hikashop.view-checkout .hikashop_checkout_buttons .buttons_right {
	margin-left: auto;
}

body.com_hikashop.view-checkout .hikabtn_checkout_next,
body.com_hikashop.view-checkout .hikabtn-success.hikabtn_checkout_next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 10rem;
	min-height: 2.75rem;
	padding: 0.7rem 1.5rem;
	border: 1px solid var(--ag-ink) !important;
	border-radius: 0;
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
	font-family: var(--ag-font-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	box-shadow: none !important;
}

body.com_hikashop.view-checkout .hikabtn_checkout_next:hover,
body.com_hikashop.view-checkout .hikabtn-success.hikabtn_checkout_next:hover,
body.com_hikashop.view-checkout .hikabtn_checkout_next:focus-visible,
body.com_hikashop.view-checkout .hikabtn-success.hikabtn_checkout_next:focus-visible {
	background: transparent !important;
	color: var(--ag-ink) !important;
}

body.com_hikashop.view-checkout .hikabtn_checkout_continue {
	border: 1px solid var(--ag-line);
	border-radius: 0;
	background: transparent;
	color: var(--ag-ink);
	font-family: var(--ag-font-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

body.com_hikashop.view-checkout .hikabtn_checkout_continue:hover,
body.com_hikashop.view-checkout .hikabtn_checkout_continue:focus-visible {
	border-color: var(--ag-ink);
	color: var(--ag-ink);
}

body.com_hikashop.view-checkout .hikashop_registration_required_info_line {
	margin: 0 0 1rem;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	color: var(--ag-ink-muted);
}

body.com_hikashop.view-checkout .hika_registration_address legend,
body.com_hikashop.view-checkout #hikashop_registration_privacy_area legend {
	margin: 0 0 0.85rem;
	padding: 0;
	border: 0;
	font-family: var(--ag-font-serif);
	font-size: 1.05rem;
	font-weight: 400;
	color: var(--ag-ink);
}

@media (max-width: 860px) {
	body.com_hikashop.view-checkout .hikashop_checkout_login > .hk-container-fluid {
		grid-template-columns: 1fr !important;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_login > .hk-container-fluid > .hkc-lg-4,
	body.com_hikashop.view-checkout .hikashop_checkout_login > .hk-container-fluid > .hkc-lg-8 {
		grid-column: 1 !important;
		grid-row: auto;
	}

	body.com_hikashop.view-checkout .hikashop_wizardbar {
		margin-bottom: 1.15rem;
		padding-bottom: 0.75rem;
	}

	body.com_hikashop.view-checkout .hikashop_wizardbar ul {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0;
		align-items: start;
	}

	body.com_hikashop.view-checkout .hikashop_wizardbar ul li {
		position: relative;
		flex-direction: column;
		gap: 0.35rem;
		min-height: 0;
		padding: 0.2rem 0.15rem !important;
		font-size: 0.58rem;
		letter-spacing: 0.05em;
	}

	body.com_hikashop.view-checkout .hikashop_wizardbar ul li:nth-child(1) {
		padding-left: 0.15rem !important;
	}

	body.com_hikashop.view-checkout .hikashop_wizardbar ul li:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 0.68rem;
		left: calc(50% + 0.82rem);
		right: calc(-50% + 0.82rem);
		height: 1px;
		background: var(--ag-line);
		pointer-events: none;
		z-index: 0;
	}

	body.com_hikashop.view-checkout .hikashop_wizardbar ul li.hikashop_cart_step_finished:not(:last-child)::after {
		background: var(--ag-ink);
	}

	body.com_hikashop.view-checkout .hikashop_wizardbar ul li .hkbadge {
		position: relative;
		z-index: 1;
		width: 1.35rem;
		height: 1.35rem;
		font-size: 0.6rem;
	}

	body.com_hikashop.view-checkout .hikashop_wizardbar ul li .hikashop_checkout_step_name {
		display: block;
		width: 100%;
		max-width: 100%;
		white-space: normal;
		word-break: break-word;
		hyphens: auto;
		line-height: 1.15;
		font-size: 0.58rem;
	}

	body.com_hikashop.view-checkout .hikashop_wizardbar ul li.hikashop_cart_step_current .hikashop_checkout_step_name {
		font-weight: 600;
		color: var(--ag-ink);
	}

	/* Przyszłe kroki — sama odznaka, bez etykiety (mniej szumu) */
	body.com_hikashop.view-checkout .hikashop_wizardbar ul li:not(.hikashop_cart_step_current):not(.hikashop_cart_step_finished) .hikashop_checkout_step_name {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	body.com_hikashop.view-checkout .hikashop_wizardbar ul li:not(.hikashop_cart_step_current):not(.hikashop_cart_step_finished) {
		gap: 0;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_buttons {
		flex-direction: column;
		align-items: stretch;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_buttons .buttons_right {
		margin-left: 0;
	}

	body.com_hikashop.view-checkout .hikabtn_checkout_next,
	body.com_hikashop.view-checkout .hikabtn-success.hikabtn_checkout_next {
		width: 100%;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_field > legend,
	body.com_hikashop.view-checkout #hikashop_checkout .hika_address_field > legend {
		font-size: 1rem;
		margin-bottom: 0.75rem;
		padding-bottom: 0.55rem;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hk-container-fluid,
	body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step2 .hk-container-fluid {
		gap: 1.75rem;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_page_step2 .hika_address_element .hika_address_display,
	body.com_hikashop.view-checkout #hikashop_checkout .hika_address_element .hika_address_display {
		padding: 0.75rem 0.85rem 0.9rem;
		font-size: 0.82rem;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_address_ok_button,
	body.com_hikashop.view-checkout .hikashop_checkout_address_cancel_button {
		width: 100%;
	}

	body.com_hikashop.view-checkout .hikashop_shipping_group > legend,
	body.com_hikashop.view-checkout .hikashop_checkout_payment > legend {
		font-size: 1rem;
		margin-bottom: 0.75rem;
		padding-bottom: 0.55rem;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_shipping,
	body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_payment,
	body.com_hikashop.view-checkout .hikashop_checkout_page_step3 .hikashop_checkout_cart,
	body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_shipping,
	body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_payment,
	body.com_hikashop.view-checkout #hikashop_checkout.hikashop_checkout_page_step3 .hikashop_checkout_cart {
		margin-bottom: 1.75rem;
	}

	body.com_hikashop.view-checkout .hikashop_shipping_methods_table td,
	body.com_hikashop.view-checkout .hikashop_payment_methods_table td {
		padding: 0.75rem 0.85rem;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_shipping_cost,
	body.com_hikashop.view-checkout .hikashop_checkout_payment_cost {
		font-size: 0.8rem;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_cart > table tbody tr[id^="hikashop_cart_product_row"] {
		padding: 0.75rem 0.85rem;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_buttons {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_buttons .buttons_right {
		margin-left: 0;
		width: 100%;
	}

	body.com_hikashop.view-checkout .hikabtn_checkout_next,
	body.com_hikashop.view-checkout .hikabtn-success.hikabtn_checkout_next {
		width: 100%;
		min-width: 0;
	}

	body.com_hikashop.view-checkout .hikashop_checkout_coupon .input-group {
		flex-direction: column;
	}

	body.com_hikashop.view-checkout .hikabtn_checkout_coupon_add {
		width: 100%;
	}
}

/* Customer panel — cpanel, addresses, orders, carts, wishlists (CSS only) */
body.com_hikashop.view-address .ag-page,
body.com_hikashop.view-order .ag-page,
body.com_hikashop.view-cart .ag-page {
	padding: clamp(2rem, 5vw, 3.5rem) 0 4rem;
}

body.com_hikashop .hikashop_cpanel_main_interface {
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	min-width: 0;
}

body.com_hikashop .hika_cpanel_main_data {
	min-width: 0;
}

body.com_hikashop .hikashop_cpanel_main_interface .header.hikashop_header_title {
	margin-bottom: 1.25rem;
	text-align: center;
}

body.com_hikashop .hikashop_cpanel_main_interface .header.hikashop_header_title h1 {
	margin: 0;
	font-family: var(--ag-font-serif);
	font-size: clamp(1.45rem, 4vw, 1.85rem);
	font-weight: 500;
	line-height: 1.15;
	color: var(--ag-ink);
}

body.com_hikashop #hikashop_dashboard {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

body.com_hikashop #hikashop_dashboard::before,
body.com_hikashop #hikashop_dashboard::after {
	display: none;
}

body.com_hikashop .hika_cpanel_side_bar,
body.com_hikashop .hika_cpanel_main_data {
	float: none;
	width: 100%;
	max-width: 100%;
	padding: 0;
}

body.com_hikashop .hika_cpanel_icons {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	background: var(--ag-white);
	overflow: hidden;
}

body.com_hikashop .hika_cpanel_icon,
body.com_hikashop .hika_cpanel_icons > a {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 0.85rem;
	margin: 0 !important;
	padding: 0.85rem 1rem !important;
	border: 0 !important;
	border-top: 1px solid var(--ag-line) !important;
	border-radius: 0 !important;
	background: var(--ag-white) !important;
	color: var(--ag-ink) !important;
	text-decoration: none !important;
	transition: background-color 0.2s var(--ag-ease), color 0.2s var(--ag-ease);
}

body.com_hikashop .hika_cpanel_icon:first-child,
body.com_hikashop .hika_cpanel_icons > a:first-child {
	border-top: 0 !important;
	border-radius: 0 !important;
}

body.com_hikashop .hika_cpanel_icon:last-child,
body.com_hikashop .hika_cpanel_icons > a:last-child {
	border-radius: 0 !important;
}

body.com_hikashop .hika_cpanel_icon:hover,
body.com_hikashop .hika_cpanel_icon:focus-visible,
body.com_hikashop .hika_cpanel_icons > a:hover,
body.com_hikashop .hika_cpanel_icons > a:focus-visible {
	background: var(--ag-bg-soft) !important;
	color: var(--ag-ink) !important;
	text-decoration: none !important;
}

body.com_hikashop .hika_cpanel_icon_active,
body.com_hikashop .hika_cpanel_icon_active:hover,
body.com_hikashop .hika_cpanel_icons > a.hika_cpanel_icon_active {
	background: var(--ag-bg-soft) !important;
	border-left: 3px solid var(--ag-ink) !important;
	padding-left: calc(1rem - 3px) !important;
	color: var(--ag-ink) !important;
}

body.com_hikashop .hika_cpanel_icon .hk-icon,
body.com_hikashop .hika_cpanel_icons .hk-icon {
	flex: 0 0 1.35rem !important;
	min-width: 1.35rem !important;
	width: 1.35rem !important;
	height: 1.35rem !important;
	font-size: 0.7rem !important;
	line-height: 1.35rem !important;
	color: var(--ag-ink-muted) !important;
}

body.com_hikashop .hika_cpanel_icon .hk-icon .hk-icon-light,
body.com_hikashop .hika_cpanel_icon .hk-icon .hk-icon-dark,
body.com_hikashop .hika_cpanel_icons .hk-icon .hk-icon-light,
body.com_hikashop .hika_cpanel_icons .hk-icon .hk-icon-dark {
	color: var(--ag-ink-muted) !important;
}

body.com_hikashop .hika_cpanel_icon .hk-icon.fa-stack,
body.com_hikashop .hika_cpanel_icons .hk-icon.fa-stack {
	width: 1.35rem !important;
	height: 1.35rem !important;
	line-height: 1.35rem !important;
}

body.com_hikashop .hika_cpanel_icon .fa-stack-2x,
body.com_hikashop .hika_cpanel_icons .fa-stack-2x {
	font-size: 1.35rem !important;
}

body.com_hikashop .hika_cpanel_icon .fa-stack-1x,
body.com_hikashop .hika_cpanel_icons .fa-stack-1x {
	font-size: 0.7rem !important;
}

body.com_hikashop .hika_cpanel_icon .hkicon-48 {
	flex: 0 0 1.35rem;
	width: 1.35rem;
	height: 1.35rem;
	background-size: contain;
}

body.com_hikashop .hikashop_cpanel_button_text {
	flex-grow: 0 !important;
	text-align: left !important;
	font-family: var(--ag-font-sans);
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--ag-ink);
}

body.com_hikashop .hika_cpanel_main_data_title,
body.com_hikashop .hika_cpanel_main_data h3 {
	margin: 0 0 1rem;
	font-family: var(--ag-font-serif);
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.25;
	color: var(--ag-ink);
}

body.com_hikashop .hk-well {
	margin: 0 0 1.25rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	background: var(--ag-white);
	box-shadow: none;
	font-family: var(--ag-font-sans);
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--ag-ink-muted);
}

body.com_hikashop .hk-well p:last-child {
	margin-bottom: 0;
}

body.com_hikashop .hikashop_user_points_cpanel.hk-well {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	background: var(--ag-bg-soft);
}

body.com_hikashop .hikashop_user_points_cpanel .fa-coins {
	color: var(--ag-ink-muted);
}

body.com_hikashop .hika_no_orders {
	font-style: normal;
	text-align: center;
}

body.com_hikashop .hika_toolbar {
	margin: 0 0 1.25rem;
}

body.com_hikashop .hika_toolbar_btn {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

body.com_hikashop .hika_toolbar .hikabtn,
body.com_hikashop .hika_toolbar_btn .hikabtn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	width: 100%;
	min-height: 2.5rem;
	padding: 0.6rem 0.9rem !important;
	border: 1px solid var(--ag-ink) !important;
	border-radius: 0 !important;
	background: var(--ag-ink) !important;
	color: var(--ag-white) !important;
	font-family: var(--ag-font-sans);
	font-size: 0.68rem !important;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-decoration: none !important;
	text-transform: uppercase;
	box-shadow: none !important;
}

body.com_hikashop .hika_toolbar .hikabtn:hover,
body.com_hikashop .hika_toolbar .hikabtn:focus-visible,
body.com_hikashop .hika_toolbar_btn .hikabtn:hover,
body.com_hikashop .hika_toolbar_btn .hikabtn:focus-visible {
	background: transparent !important;
	color: var(--ag-ink) !important;
}

body.com_hikashop .hika_toolbar .btnIcon,
body.com_hikashop .hika_toolbar_btn .btnIcon {
	font-size: 0.85rem !important;
	line-height: 1;
}

body.com_hikashop .hikashop_address_listing_div .hikabtn,
body.com_hikashop #hikashop_user_addresses_show .hikabtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.65rem;
	padding: 0.65rem 1rem;
	border: 1px solid var(--ag-ink);
	border-radius: 0;
	background: var(--ag-ink);
	color: var(--ag-white);
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: none;
}

body.com_hikashop .hika_cpanel_main_data .hikabtn:hover,
body.com_hikashop .hika_cpanel_main_data .hikabtn:focus-visible,
body.com_hikashop .hikashop_address_listing_div .hikabtn:hover,
body.com_hikashop .hikashop_address_listing_div .hikabtn:focus-visible {
	background: transparent;
	color: var(--ag-ink);
}

body.com_hikashop .hikashop_address_listing_div h3 {
	margin: 0 0 0.75rem;
	font-family: var(--ag-font-serif);
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--ag-ink);
}

body.com_hikashop dl.hika_options {
	margin: 0 0 1.25rem;
}

body.com_hikashop dl.hika_options dt {
	margin: 0 0 0.4rem;
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ag-ink-muted);
}

body.com_hikashop dl.hika_options dd {
	margin: 0 0 1rem;
}

body.com_hikashop dl.hika_options dd:last-child {
	margin-bottom: 0;
}

body.com_hikashop .hikashop_default_address_dropdown,
body.com_hikashop .hika_cpanel_main_data select,
body.com_hikashop .hika_cpanel_main_data .form-control,
body.com_hikashop .hika_cpanel_main_data input[type="text"] {
	width: 100%;
	min-height: 2.65rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	background: var(--ag-white);
	color: var(--ag-ink);
	font-family: var(--ag-font-sans);
	font-size: 0.85rem;
	box-shadow: none;
}

body.com_hikashop .hikashop_default_address_dropdown:focus,
body.com_hikashop .hika_cpanel_main_data select:focus,
body.com_hikashop .hika_cpanel_main_data .form-control:focus,
body.com_hikashop .hika_cpanel_main_data input[type="text"]:focus {
	border-color: var(--ag-ink);
	outline: none;
	box-shadow: none;
}

body.com_hikashop #hikashop_user_addresses_show .hk-row-fluid {
	display: grid;
	gap: 1.5rem;
}

body.com_hikashop .hikashop_search_block.input-group {
	display: flex;
	width: 100%;
	margin-bottom: 1rem;
}

body.com_hikashop .hikashop_search_block .form-control {
	flex: 1 1 auto;
	min-width: 0;
	border-right: 0;
}

body.com_hikashop .hikashop_search_block .btn-primary {
	flex: 0 0 auto;
	min-height: 2.65rem;
	padding: 0.65rem 1rem;
	border: 1px solid var(--ag-ink);
	border-radius: 0;
	background: var(--ag-ink);
	color: var(--ag-white);
	font-family: var(--ag-font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.com_hikashop .hikashop_order_sort {
	margin-bottom: 1rem;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
	color: var(--ag-ink-muted);
}

body.com_hikashop .hikashop_order_sort select {
	display: block;
	width: 100%;
	margin-top: 0.35rem;
}

body.com_hikashop #hikashop_order_listing .hk-row-fluid {
	display: grid;
	gap: 1rem;
	margin-bottom: 1rem;
}

body.com_hikashop .hikashop_carts.adminlist,
body.com_hikashop .hikashop_orders_listing table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--ag-font-sans);
	font-size: 0.78rem;
}

body.com_hikashop .hikashop_carts.adminlist thead th,
body.com_hikashop .hikashop_orders_listing table thead th {
	padding: 0.65rem 0.5rem;
	border-bottom: 1px solid var(--ag-line);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ag-ink-muted);
	text-align: left;
}

body.com_hikashop .hikashop_carts.adminlist tbody td,
body.com_hikashop .hikashop_orders_listing table tbody td {
	padding: 0.75rem 0.5rem;
	border-bottom: 1px solid var(--ag-line);
	color: var(--ag-ink);
	vertical-align: middle;
}

body.com_hikashop .hk-card.hk-card-order {
	margin-bottom: 1rem;
	border: 1px solid var(--ag-line);
	border-radius: 0;
	background: var(--ag-white);
	box-shadow: none;
	overflow: hidden;
}

body.com_hikashop .hk-card-order .hk-card-header {
	padding: 0;
	border-bottom: 1px solid var(--ag-line);
	background: var(--ag-bg-soft);
}

body.com_hikashop .hk-card-order .hk-card-header a {
	display: block;
	padding: 0.85rem 1rem;
	color: var(--ag-ink);
	text-decoration: none;
}

body.com_hikashop .hk-card-order .hk-card-header a:hover,
body.com_hikashop .hk-card-order .hk-card-header a:focus-visible {
	background: var(--ag-white);
}

body.com_hikashop .hk-card-order .hk-card-body {
	padding: 1rem;
	font-size: 0.78rem;
	line-height: 1.5;
}

body.com_hikashop .hika_cpanel_title {
	color: var(--ag-ink-muted);
}

body.com_hikashop .hika_cpanel_value {
	color: var(--ag-ink);
	font-weight: 500;
}

@media (min-width: 900px) {
	body.com_hikashop #hikashop_dashboard {
		flex-direction: row;
		align-items: flex-start;
		gap: 2rem;
	}

	body.com_hikashop .hika_cpanel_side_bar {
		flex: 0 0 15rem;
		width: 15rem;
	}

	body.com_hikashop .hika_cpanel_main_data {
		flex: 1 1 auto;
		min-width: 0;
	}

	body.com_hikashop #hikashop_user_addresses_show .hk-row-fluid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.com_hikashop #hikashop_order_listing .hk-row-fluid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: end;
	}
}

@media (max-width: 899px) {
	body.com_hikashop #hikashop_carts_listing,
	body.com_hikashop #hikashop_carts_listing table {
		width: 100%;
		max-width: 100%;
	}

	body.com_hikashop .hikashop_carts.adminlist {
		display: block;
		width: 100%;
		border-collapse: separate;
		border-spacing: 0;
	}

	body.com_hikashop .hikashop_carts.adminlist thead,
	body.com_hikashop .hikashop_carts.adminlist tfoot tr:first-child td {
		display: none;
	}

	body.com_hikashop .hikashop_carts.adminlist tfoot td {
		display: block;
		padding: 0.85rem 0 0;
		border: 0;
	}

	body.com_hikashop .hikashop_carts.adminlist .list-footer {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	body.com_hikashop .hikashop_carts.adminlist .hikashop_results_counter {
		font-family: var(--ag-font-sans);
		font-size: 0.72rem;
		color: var(--ag-ink-muted);
	}

	body.com_hikashop .hikashop_carts.adminlist tbody tr {
		display: block;
		margin: 0 0 1rem;
		padding: 0.85rem 1rem;
		border: 1px solid var(--ag-line);
		background: var(--ag-white);
	}

	body.com_hikashop .hikashop_carts.adminlist tbody td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 0.75rem;
		padding: 0.4rem 0;
		border: 0;
		min-width: 0;
		font-family: var(--ag-font-sans);
		font-size: 0.78rem;
		color: var(--ag-ink);
	}

	body.com_hikashop .hikashop_carts.adminlist tbody td::before {
		content: attr(data-title);
		flex: 0 0 auto;
		max-width: 45%;
		font-size: 0.68rem;
		font-weight: 500;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--ag-ink-muted);
	}

	body.com_hikashop .hikashop_carts.adminlist tbody td > a,
	body.com_hikashop .hikashop_carts.adminlist tbody td > em {
		min-width: 0;
		text-align: right;
		word-break: break-word;
	}
}


