/* WordPress and WooCommerce bridge for the approved Raizon static frontend. */
:root {
	--moweb-color-accent: #ffcf00;
	--moweb-color-border: #ddd;
	--moweb-color-surface: #fff;
	--moweb-color-text: #1f1f1f;
	--moweb-radius: 3px;
}

html {
	margin-top: 0;
}

body.admin-bar .site-header {
	top: auto;
}

/* WordPress already offsets the document for its admin bar. Moving the
 * relatively positioned storefront header again creates a blank strip above
 * it and consumes the intended gap before the homepage carousel. */
.home-page .site-header {
	margin-bottom: 30px;
}

/* Bootstrap 3 applies a WebKit focus ring to every clicked link. Keep pointer
 * clicks visually identical to Microless while retaining a branded keyboard
 * focus indicator. */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible) {
	outline: 0 !important;
	box-shadow: none;
}

.product-card__link:focus {
	outline: 0 !important;
}

.product-card__link:focus-visible {
	outline: 2px solid rgba(255, 212, 0, .72) !important;
	outline-offset: -2px;
}

.skip-link {
	position: absolute;
	z-index: 10000;
	top: -100px;
	inset-inline-start: 15px;
}

.skip-link:focus {
	top: 10px;
}

.site-main--woocommerce {
	min-height: 60vh;
}

.woocommerce .woocommerce-breadcrumb {
	margin: 0;
}

.woocommerce-notices-wrapper {
	width: 100%;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin-bottom: 18px;
	border: 1px solid #ddd;
	border-top: 3px solid #ffcf00;
	background: #fff;
}

.woocommerce-error {
	border-top-color: #b81c23;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product.product-card {
	float: none;
	width: auto;
	margin: 0;
}

.product-card .woocommerce-Price-currencySymbol {
	margin-inline-start: 3px;
}

.drawer-open {
	overflow: hidden;
}

.cart-drawer .widget_shopping_cart_content {
	display: flex;
	flex-direction: column;
	height: calc(100% - 58px);
}

.cart-drawer .woocommerce-mini-cart {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 12px;
	margin: 0;
	list-style: none;
}

.cart-drawer .woocommerce-mini-cart-item {
	position: relative;
	min-height: 72px;
	padding: 8px 70px 8px 24px;
	border-bottom: 1px solid #ddd;
}

.cart-drawer .woocommerce-mini-cart-item img {
	position: absolute;
	inset-inline-start: 0;
	width: 58px;
	height: 58px;
	object-fit: contain;
}

.cart-drawer .woocommerce-mini-cart__total,
.cart-drawer .woocommerce-mini-cart__buttons,
.cart-drawer .woocommerce-mini-cart__empty-message {
	padding: 12px;
}

.cart-drawer .woocommerce-mini-cart__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.cart-drawer .woocommerce-mini-cart__buttons a {
	margin: 0;
	text-align: center;
}

body.dark-theme .woocommerce-message,
body.dark-theme .woocommerce-info,
body.dark-theme .woocommerce-error,
body.dark-theme .cart-drawer .widget_shopping_cart_content {
	color: #e1e1e1;
	background: #303030;
	border-color: #444;
}

@media (max-width: 991px) {
	body.admin-bar .site-header {
		top: auto;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 575px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}
}

/* Raizon classic WooCommerce composition. */
html {
	overflow-y: scroll;
}

html::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.product-card {
	position: relative;
	float: none !important;
	width: auto !important;
	margin: .25% 0 .25% .25% !important;
	padding: 15px;
	list-style: none;
}

.product-card__link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.product-card__link:hover,
.product-card__link:focus {
	color: inherit;
	text-decoration: none;
}

.product-carousel .product-card {
	height: 458px;
	min-height: 458px;
	flex: 1 1 auto;
}

.product-carousel .product-card .product-card__image img {
	position: static;
	top: auto;
}

.product-carousel .owl-stage {
	display: flex;
}

.product-carousel .owl-item {
	display: flex;
	min-width: 0;
}

.product-carousel .owl-item > .product-card {
	flex: 1 1 auto;
}

.catalog-content .products.catalog-products {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding-top: 8px;
}

.catalog-content .products.catalog-products.view-list {
	display: block;
}

.catalog-content .products.catalog-products.view-list .product-card__link {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
}

.catalog-toolbar .woocommerce-ordering {
	float: none;
	margin: 0;
}

.catalog-toolbar .woocommerce-ordering select {
	min-width: 148px;
	height: 34px;
	margin: 0;
	border: 0;
	background: transparent;
}

.catalog-sidebar .widget {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.catalog-sidebar .widget-title {
	display: none;
}

.price-filter-widget .price_slider_wrapper {
	padding: 10px 0 2px;
}

.product-gallery .woocommerce-product-gallery {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.product-gallery .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.product-gallery .onsale {
	z-index: 3;
}

.product-summary .product_title {
	margin-top: 0;
}

.product-buybox .price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0 0 18px;
	color: #111;
	font-size: 26px;
	font-weight: 700;
}

.buybox-price .price,
.summary-price-mobile .price {
	direction: ltr;
	justify-content: flex-end;
}

.summary-price-mobile .price {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
}

.product-buybox form.cart {
	display: flex;
	align-items: stretch;
	gap: 6px;
	margin: 0 0 18px;
}

.product-buybox form.cart::after {
	display: table;
	clear: both;
	content: "";
}

.product-buybox .quantity .qty {
	width: 58px;
	min-height: 42px;
}

.product-buybox .single_add_to_cart_button {
	flex: 1 1 auto;
	min-height: 42px;
	border: 0;
	border-radius: 2px;
	background: #4caf50;
	color: #fff;
	font-weight: 700;
}

.product-buybox .single_add_to_cart_button:hover,
.product-buybox .single_add_to_cart_button:focus {
	background: #409b44;
	color: #fff;
}

.product-buybox__meta {
	margin-top: 12px;
}

.product-buybox__assurance {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #eee;
	font-size: 12px;
}

.product-buybox__assurance span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.product-information__content:empty::before {
	display: block;
	color: #777;
	content: attr(data-empty-label);
}

.product-specifications table {
	width: 100%;
	border-collapse: collapse;
}

.product-specifications th,
.product-specifications td {
	padding: 12px 15px;
	border: 1px solid #e5e5e5;
	text-align: right;
}

.product-recommendations .products {
	margin-top: 15px;
}

.cart-section .woocommerce {
	display: flow-root;
}

.cart-section .woocommerce-cart-form {
	float: right;
	width: calc(100% - 390px);
}

.cart-section table.shop_table {
	border: 1px solid #e4e4e4;
	border-radius: 0;
	border-collapse: collapse;
}

.cart-section table.shop_table th,
.cart-section table.shop_table td {
	padding: 14px;
	border-bottom: 1px solid #e9e9e9;
}

.cart-section table.shop_table .product-thumbnail img {
	width: 105px;
	height: 105px;
	object-fit: contain;
}

.cart-section .cart-collaterals {
	float: left;
	width: 360px;
}

.cart-section .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	padding: 20px;
	border: 1px solid #e4e4e4;
}

.cart-section .wc-proceed-to-checkout a.checkout-button,
.cart-section .button {
	border-radius: 2px;
	background: #ffd91c;
	color: #111;
	font-size: 14px;
	font-weight: 700;
}

.cart-section .woocommerce-info,
.cart-section .cart-empty {
	margin-top: 80px;
}

.checkout-container form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 0 24px;
	align-items: start;
}

.checkout-container #customer_details {
	grid-column: 1;
	grid-row: 1 / span 3;
}

.checkout-container #order_review_heading,
.checkout-container #order_review {
	grid-column: 2;
}

.checkout-container #order_review_heading {
	margin: 0;
	padding: 20px;
	border: 1px solid #e1e1e1;
	border-bottom: 0;
	background: #fff;
	font-size: 18px;
}

.checkout-container #order_review {
	padding: 0 20px 20px;
	border: 1px solid #e1e1e1;
	border-top: 0;
	background: #fff;
}

.checkout-container .woocommerce-billing-fields,
.checkout-container .woocommerce-shipping-fields,
.checkout-container .woocommerce-additional-fields {
	margin-bottom: 18px;
	padding: 24px;
	border: 1px solid #e1e1e1;
	background: #fff;
}

.checkout-container .col2-set .col-1,
.checkout-container .col2-set .col-2 {
	float: none;
	width: 100%;
}

.checkout-container .form-row {
	margin: 0 0 15px;
}

.checkout-container .form-row input.input-text,
.checkout-container .form-row textarea,
.checkout-container .select2-selection {
	min-height: 42px;
	border: 1px solid #d5d5d5;
	border-radius: 3px;
}

.checkout-container #payment {
	border-radius: 3px;
	background: #f8f8f8;
}

.checkout-container #place_order {
	width: 100%;
	min-height: 48px;
	border: 0;
	background: #e3a400;
	color: #111;
	font-weight: 700;
}

.auth-page-body .woocommerce {
	width: 100%;
}

.auth-page-body .u-columns {
	display: block;
	margin: 0;
}

.auth-page-body .u-column1,
.auth-page-body .u-column2 {
	float: none !important;
	width: 100% !important;
	margin: 0 0 28px;
}

.auth-page-body h2 {
	font-size: 18px;
}

.auth-page-body form.login,
.auth-page-body form.register,
.auth-page-body form.woocommerce-form-login {
	margin: 0;
	padding: 0;
	border: 0;
}

.auth-page-body .input-text {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #ccc;
	border-radius: 8px;
}

.auth-page-body .woocommerce-button {
	width: 100%;
	min-height: 46px;
	border: 0;
	border-radius: 8px;
	background: #ffd91c;
	color: #111;
	font-weight: 700;
}

.account-page {
	min-height: 600px;
	padding: 32px 0 60px;
}

.account-page .woocommerce {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 28px;
}

.account-page .woocommerce-MyAccount-navigation {
	width: auto;
}

.account-page .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	border: 1px solid #e1e1e1;
	list-style: none;
}

.account-page .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 13px 15px;
	border-bottom: 1px solid #e8e8e8;
	color: #333;
}

.account-page .woocommerce-MyAccount-navigation-link.is-active a {
	border-right: 3px solid #ffd91c;
	background: #f8f8f8;
	font-weight: 700;
}

.account-page .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	min-width: 0;
}

.footer-bottom a {
	color: inherit;
}

/* Bootstrap adds clearfix pseudo-elements to .container-fluid. Because this
 * container is also flex, those pseudo-elements become flex items and pull the
 * two visible footer columns toward the centre. Remove them for true edge
 * alignment. */
.footer-bottom .container-fluid::before,
.footer-bottom .container-fluid::after {
	display: none;
	content: none;
}

.footer-copyright,
.footer-legal-links {
	flex: 0 0 auto;
	margin: 0;
}

.footer-copyright {
	text-align: right;
}

.footer-legal-links {
	padding: 0;
	list-style: none;
	text-align: left;
}

.footer-legal-links li {
	display: inline;
}

.footer-legal-links li + li::before {
	margin: 0 4px;
	content: "|";
}

@media (max-width: 767px) {
	.footer-copyright,
	.footer-legal-links {
		width: 100%;
		text-align: center;
	}
}

body.dark-theme .product-buybox .price,
body.dark-theme .product-specifications th,
body.dark-theme .product-specifications td,
body.dark-theme .account-page .woocommerce-MyAccount-navigation a {
	color: #e1e1e1;
}

body.dark-theme .product-specifications th,
body.dark-theme .product-specifications td,
body.dark-theme .cart-section table.shop_table,
body.dark-theme .cart-section .cart-collaterals .cart_totals,
body.dark-theme .checkout-container .woocommerce-billing-fields,
body.dark-theme .checkout-container .woocommerce-shipping-fields,
body.dark-theme .checkout-container .woocommerce-additional-fields,
body.dark-theme .checkout-container #order_review,
body.dark-theme .checkout-container #order_review_heading {
	border-color: #444;
	background: #303030;
}

@media (max-width: 991px) {
	.catalog-content .products.catalog-products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cart-section .woocommerce-cart-form,
	.cart-section .cart-collaterals {
		float: none;
		width: 100%;
	}

	.checkout-container form.checkout {
		display: block;
	}

	.account-page .woocommerce {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575px) {
	.catalog-content .products.catalog-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}

	.catalog-content .products.catalog-products.view-list .product-card__link {
		grid-template-columns: 120px minmax(0, 1fr);
	}

	.cart-section table.shop_table .product-thumbnail {
		display: block;
	}

	.auth-page-card {
		padding: 28px 22px;
	}
}

/* Native WooCommerce gallery mapped to the approved gallery dimensions. */
.product-gallery .woocommerce-product-gallery__image a {
	display: flex;
	width: 100%;
	height: 500px;
	align-items: center;
	justify-content: center;
}

.product-gallery .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 500px;
	object-fit: contain;
}

.product-gallery .flex-control-thumbs {
	display: flex;
	gap: 7px;
	margin: 24px 0 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
}

.product-gallery .flex-control-thumbs li {
	float: none !important;
	flex: 0 0 65px;
	width: 65px !important;
	height: 65px;
	padding: 3px;
	border: 1px solid #ddd;
}

.product-gallery .flex-control-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.product-gallery .flex-control-thumbs img.flex-active {
	outline: 2px solid #ffd91c;
	outline-offset: 1px;
}

.search-empty-content {
	grid-column: 1 / -1;
	width: 100%;
}

.item-not-found .button,
.woocommerce .return-to-shop .button {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 22px;
	border: 0;
	border-radius: 2px;
	background: #ffd91c;
	color: #111;
	font-weight: 700;
}

.woocommerce .cart-empty {
	padding: 18px;
	border: 1px solid #faebcc;
	background: #fcf8e3;
	color: #8a6d3b;
}

@media (max-width: 767px) {
	.product-carousel .product-card {
		height: 458px;
		min-height: 458px;
		margin: .3% 0 1.4% .75% !important;
		padding: 15px;
	}

	.product-carousel .product-card .product-card__image {
		height: 260px;
		min-height: 260px;
	}

	.product-carousel .product-card .product-card__body {
		min-height: 166px;
	}
}

@media (max-width: 480px) {
	.product-carousel .product-card {
		height: auto;
		min-height: 419px;
		padding: 8px;
	}

	.product-carousel .product-card .product-card__image {
		height: 260px;
		min-height: 260px;
	}

	.product-carousel .product-card .product-card__body {
		min-height: 0;
	}
}

@media (max-width: 375px) {
	.product-carousel .product-card .product-card__image {
		height: 220px;
		min-height: 220px;
	}
}

@media (max-width: 767px) {
	.product-gallery .woocommerce-product-gallery__image a,
	.product-gallery .woocommerce-product-gallery__image img {
		height: 360px;
	}
}
