/* Product-page refinements requested for pcat.com.ua.
   Kept separate from UniShop2 generated styles so theme settings remain authoritative. */

#product-product .product-page__wishlist-compare {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 2px;
}

#product-product button.product-page__wishlist-btn,
#product-product button.product-page__compare-btn,
#product-product button.product-page__share-btn {
	position: static;
	display: inline-flex;
	width: auto;
	align-items: center;
	margin: 0 10px 15px 0;
	padding: 0 10px;
	font-size: .9em;
	border-radius: var(--border-radius-1);
}

#product-product button.product-page__wishlist-btn i,
#product-product button.product-page__compare-btn i,
#product-product button.product-page__share-btn i {
	font-size: 1.4rem;
}

#product-product button.product-page__wishlist-btn span,
#product-product button.product-page__compare-btn span,
#product-product button.product-page__share-btn span {
	padding-left: 8px;
}

#product-product #tab-specification .product-specification-grid {
	columns: 2;
	column-gap: 20px;
}

#product-product #tab-specification .product-specification-group {
	display: inline-block;
	width: 100%;
	margin: 0 0 20px;
	overflow: hidden;
	vertical-align: top;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: var(--border-radius-1);
	break-inside: avoid;
	page-break-inside: avoid;
}

#product-product #tab-specification .product-specification-group .heading {
	margin: 0 !important;
	padding: 14px 16px;
	font-size: 1.05em;
	font-weight: 700;
	background: rgba(0, 0, 0, .035);
}

#product-product #tab-specification .product-specification-group .product-data {
	max-width: none;
	padding: 14px 16px 9px;
}

#product-product #tab-specification .product-specification-group .product-data__item-div:first-child {
	font-weight: 400;
}

#product-product #tab-specification .product-specification-group .product-data__item-div:last-child {
	font-weight: 700;
	white-space: pre-line;
}

/* Keep tags in source for existing URLs, but remove them from the visual layout. */
#product-product .pcat-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	white-space: nowrap !important;
	border: 0 !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
}

@media (max-width: 767px) {
	#product-product #tab-specification .product-specification-grid {
		columns: 1;
	}

	#product-product #tab-specification .product-specification-group {
		margin-bottom: 15px;
	}
}
/* Simple Checkout: native one-step 62/38 layout with a calm card treatment. */
#simplecheckout_form_0 .simple-content {
	margin: 0;
}

#simplecheckout_form_0 .simplecheckout-left-column,
#simplecheckout_form_0 .simplecheckout-right-column {
	min-width: 0;
	max-width: none;
}

#simplecheckout_form_0 .simplecheckout-left-column {
	padding-right: 18px;
}

#simplecheckout_form_0 .simplecheckout-block {
	margin-bottom: 18px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .09);
	border-radius: var(--border-radius-1);
	box-shadow: 0 6px 22px rgba(27, 43, 70, .055);
}

#simplecheckout_form_0 .simplecheckout-block .checkout-heading {
	padding: 13px 16px;
	font-size: 1.05em;
	font-weight: 700;
	background: rgba(0, 0, 0, .025);
	border-bottom: 1px solid rgba(0, 0, 0, .07);
	border-radius: var(--border-radius-1) var(--border-radius-1) 0 0;
}

#simplecheckout_form_0 .simplecheckout-block-content {
	padding: 16px;
}

#simplecheckout_form_0 #simplecheckout_cart .table-responsive {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

#simplecheckout_form_0 .simplecheckout-cart,
#simplecheckout_form_0 .simplecheckout-cart-total {
	border-color: rgba(0, 0, 0, .09);
}

#simplecheckout_form_0 .simplecheckout-cart th {
	background: rgba(0, 0, 0, .025);
	border-color: rgba(0, 0, 0, .09);
}

#simplecheckout_form_0 .simplecheckout-cart-total:last-child {
	padding-top: 12px;
	padding-bottom: 12px;
	font-size: 1.05em;
	font-weight: 700;
}

#simplecheckout_form_0 .simplecheckout-button-block {
	padding: 16px 0 0;
	background: transparent;
}

#simplecheckout_form_0 .simplecheckout-button-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	max-width: 520px;
	margin-left: auto;
}

#simplecheckout_form_0 #agreement_checkbox {
	width: 100%;
	text-align: left;
}

#simplecheckout_form_0 #simplecheckout_button_confirm {
	min-width: 220px;
	padding: 11px 22px;
	font-size: 1.05em;
}

@media (min-width: 1025px) {
	#simplecheckout_form_0 .simplecheckout-right-column {
		position: sticky;
		top: 90px;
		align-self: flex-start;
	}
}

@media (max-width: 1024px) {
	#simplecheckout_form_0 .simplecheckout-left-column,
	#simplecheckout_form_0 .simplecheckout-right-column {
		position: static;
		float: none;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		padding-right: 0;
	}
}

@media (max-width: 767px) {
	#simplecheckout_form_0 .simplecheckout-block {
		margin-bottom: 14px;
		box-shadow: none;
	}

	#simplecheckout_form_0 .simplecheckout-block .checkout-heading,
	#simplecheckout_form_0 .simplecheckout-block-content {
		padding-right: 12px;
		padding-left: 12px;
	}

	#simplecheckout_form_0 .simplecheckout-button-right,
	#simplecheckout_form_0 #simplecheckout_button_confirm {
		width: 100%;
		max-width: none;
	}

	#simplecheckout_form_0 .simplecheckout-button-right {
		float: none;
		align-items: stretch;
	}

	#simplecheckout_form_0 #simplecheckout_button_confirm {
		min-width: 0;
		text-align: center;
	}
}

/* PCAT mobile checkout product cards */
@media (max-width: 575px) {
	#simplecheckout_form_0 #simplecheckout_cart .table-responsive {
		overflow-x: visible;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody {
		display: block;
		width: 100% !important;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart colgroup,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart thead {
		display: none;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		width: 100%;
		padding: 12px 0;
		border-bottom: 1px solid rgba(0, 0, 0, .09);
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		padding: 0;
		border: 0;
		white-space: normal;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.image,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.model,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.remove {
		display: none !important;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.name {
		text-align: left;
		overflow-wrap: anywhere;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.quantity,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.price,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.total {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 12px;
		text-align: right;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.quantity::before,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.price::before,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.total::before {
		content: attr(data-label);
		font-weight: 600;
		text-align: left;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.quantity .input-group {
		width: 118px;
		max-width: 118px !important;
		margin-right: 0 !important;
		margin-left: auto !important;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.price,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td.total {
		white-space: nowrap;
	}
}

/* PCAT desktop checkout grid and product cards */
@media (min-width: 1025px) {
	#simplecheckout_form_0 .simplecheckout-step {
		display: grid;
		grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
		align-items: start;
	}

	#simplecheckout_form_0 .simplecheckout-left-column,
	#simplecheckout_form_0 .simplecheckout-right-column {
		float: none !important;
		width: auto !important;
		min-width: 0;
		max-width: none;
		margin: 0 !important;
	}

	#simplecheckout_form_0 .simplecheckout-left-column {
		grid-column: 1;
		grid-row: 1;
		padding-right: 18px;
	}

	#simplecheckout_form_0 .simplecheckout-right-column {
		grid-column: 2;
		grid-row: 1;
		position: sticky;
		top: 90px;
		align-self: start;
	}

	#simplecheckout_form_0 #simplecheckout_cart .table-responsive {
		overflow: visible;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody {
		display: block;
		width: 100% !important;
		border: 0;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart colgroup,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart thead {
		display: none;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody tr {
		display: grid;
		grid-template-columns: 70px minmax(0, 1fr) auto;
		grid-template-areas:
			'image name name'
			'image quantity price'
			'image quantity total';
		gap: 8px 12px;
		width: 100%;
		margin-bottom: 10px;
		padding: 12px;
		border: 1px solid rgba(0, 0, 0, .09);
		border-radius: var(--border-radius-1);
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart tbody td {
		display: block !important;
		width: auto !important;
		min-width: 0 !important;
		padding: 0;
		border: 0;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.image {
		grid-area: image;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.image img {
		max-width: 70px;
		height: auto;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.name {
		grid-area: name;
		text-align: left;
		overflow-wrap: anywhere;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.model,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.remove {
		display: none !important;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.quantity {
		grid-area: quantity;
		align-self: center;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.quantity .input-group {
		width: 110px;
		max-width: 110px !important;
		margin: 0 !important;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.price,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.total {
		display: flex !important;
		justify-content: flex-end;
		gap: 6px;
		white-space: nowrap;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.price {
		grid-area: price;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.total {
		grid-area: total;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.price::before,
	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.total::before {
		content: attr(data-label) ':';
		font-weight: 600;
	}

	#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart td.simplecheckout-recurring-product {
		grid-column: 1 / -1;
	}
}

/* PCAT checkout sticky containment */
@media (min-width: 1025px) {
	.account-forgotten.uni-form:has(#simplecheckout_form_0) {
		overflow: visible;
	}
}

/* PCAT account order filters, product previews and native disclosure */
.account-dashboard__order-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: -4px 0 20px;
}

.account-dashboard__order-filter {
	min-height: 34px;
	padding: 6px 14px;
	color: var(--body-c);
	background: rgba(0, 0, 0, .035);
	border: 1px solid rgba(0, 0, 0, .07);
	border-radius: 999px;
}

.account-dashboard__order-filter:hover,
.account-dashboard__order-filter:focus,
.account-dashboard__order-filter.active {
	color: var(--btn-primary-c);
	background: var(--btn-primary-bg);
	outline: none;
}

.account-dashboard__order-products,
.account-dashboard__order-expand {
	grid-column: 1 / -1;
}

.account-dashboard__order-products {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 2px;
}

.account-dashboard__order-products img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: var(--border-radius-1);
}

.account-dashboard__order-expand {
	padding: 10px 12px;
	background: rgba(0, 0, 0, .025);
	border-radius: var(--border-radius-1);
}

.account-dashboard__order-expand summary {
	font-weight: 600;
	color: var(--a-c);
	cursor: pointer;
}

.account-dashboard__order-expand ul {
	display: grid;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.account-dashboard__order-expand li {
	display: flex;
	justify-content: space-between;
	gap: 15px;
}

.account-dashboard__filter-empty {
	padding: 30px 18px;
	text-align: center;
	color: rgba(0, 0, 0, .62);
	background: rgba(0, 0, 0, .025);
	border-radius: var(--border-radius-1);
}

.account-dashboard__filter-empty[hidden],
.account-dashboard__order[hidden] {
	display: none !important;
}

@media (max-width: 575px) {
	.account-dashboard__order-filters {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.account-dashboard__order-filter {
		padding-right: 7px;
		padding-left: 7px;
		font-size: .83em;
	}
}

/* Reuse UniShop main-menu icons in the permanent home category module. */
#category-module .menu-module__a {
	align-items: center;
	gap: 9px;
}

#category-module .menu-module__icon {
	display: inline-flex;
	flex: 0 0 22px;
	align-items: center;
	justify-content: center;
	width: 22px;
	font-size: 1.1em;
	color: var(--a-c);
}

#category-module .menu-module__name {
	flex: 1 1 auto;
	min-width: 0;
}

#category-module .menu-module__chevron {
	flex: 0 0 24px;
}
/* PCAT home category and slideshow equal height. */
@media (min-width: 992px) {
	.home-page > .row:first-child {
		display: flex;
		align-items: stretch;
		margin-bottom: 20px;
	}

	.home-page > .row:first-child > #column-left,
	.home-page > .row:first-child > #content {
		float: none;
	}

	.home-page > .row:first-child > #column-left > .heading {
		display: none;
	}

	.home-page > .row:first-child > #column-left #category-module .menu-module__ul,
	.home-page > .row:first-child > #content .uni-slideshow_v2 {
		margin-bottom: 0;
	}

	.home-page > .row:first-child > #content > .content-top,
	.home-page > .row:first-child > #content .uni-slideshow_v2,
	.home-page > .row:first-child > #content .owl-stage-outer,
	.home-page > .row:first-child > #content .owl-stage,
	.home-page > .row:first-child > #content .owl-item,
	.home-page > .row:first-child > #content .uni-slideshow_v2__item {
		height: 100% !important;
	}
}
