/**
 * WooCommerce overrides for Kakau theme.
 */

.shop-section__sort .woocommerce-ordering {
	margin: 0;
}

.shop-section__sort select.orderby,
.shop-section__sort-select {
	appearance: none;
	min-width: 160px;
	padding: 8px 36px 8px 12px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	color: #fff3e9;
	background-color: #160302;
	border: 1px solid rgba(255, 243, 233, 0.15);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23fff3e9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	cursor: pointer;
	color-scheme: dark;
}

.shop-section__sort select.orderby option {
	background-color: #160302;
	color: #fff3e9;
}

.woocommerce nav.woocommerce-pagination {
	display: none;
}

.shop-section__load-more.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.shop-section__category-btn {
	display: inline-block;
	text-decoration: none;
}

.shop-section__filter-chip {
	text-decoration: none;
}

.product-section__actions.cart {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
}

.product-section__actions .variations_form,
.product-section__actions form.cart:not(.product-section__actions) {
	width: 100%;
}

.product-section__actions .single_add_to_cart_button {
	flex: 1;
	min-width: 140px;
}

.product-section__detail-body .woocommerce-product-attributes {
	margin: 0;
}

.product-section__detail-body .woocommerce-product-attributes th,
.product-section__detail-body .woocommerce-product-attributes td {
	color: inherit;
	border-color: rgba(255, 243, 233, 0.15);
}

.page-cart .site-main,
.page-checkout .site-main {
	max-width: none;
	margin: 0;
	padding: 0;
}

.page-cart .site-main > .cart-section,
.page-checkout .site-main > .woocommerce {
	margin: 0;
}

.page-cart .woocommerce-cart-form .shop_table,
.page-cart table.shop_table {
	display: none;
}

.page-cart .cart_totals > h2:not(.cart-section__summary-title) {
	display: none;
}

.page-cart .cart-section__quantity {
	display: flex;
	align-items: center;
	border: 1px solid rgba(255, 243, 233, 0.2);
}

.page-cart .cart-section__quantity .quantity {
	display: contents;
}

.page-cart .cart-section__quantity .qty {
	width: 40px;
	height: 36px;
	border: none;
	border-left: 1px solid rgba(255, 243, 233, 0.2);
	border-right: 1px solid rgba(255, 243, 233, 0.2);
	background: transparent;
	color: #fff3e9;
	text-align: center;
	-moz-appearance: textfield;
}

.page-cart .cart-section__quantity .qty::-webkit-outer-spin-button,
.page-cart .cart-section__quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.page-cart .cart-section__quantity .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.wc-proceed-to-checkout .checkout-button,
.cart-section__checkout-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 8px 24px 12px;
	font-family: "MOONSILVER", var(--font-display, sans-serif);
	font-size: 28px;
	letter-spacing: 0.05em;
	color: #160302 !important;
	background-color: #fbb03b !important;
	text-decoration: none;
	border: none;
}

.cart-section__update-wrap {
	grid-column: 1 / -1;
	display: none;
}

.page-cart .entry-content,
.page-cart .wp-block-post-content {
	margin: 0;
}

.cart-section__notices {
	position: relative;
	z-index: 1;
	margin-bottom: 24px;
}

.cart-section__notices .woocommerce-error,
.cart-section__notices .woocommerce-message,
.cart-section__notices .woocommerce-info {
	list-style: none;
	margin: 0 0 12px;
	padding: 14px 18px;
	font-size: 14px;
	line-height: 1.45;
	color: #fff3e9;
	border: 1px solid rgba(255, 243, 233, 0.2);
	background-color: rgba(255, 243, 233, 0.06);
}

.cart-section__notices .woocommerce-error {
	border-color: rgba(251, 176, 59, 0.45);
	background-color: rgba(166, 45, 14, 0.35);
}

.cart-section__notices .woocommerce-error li,
.cart-section__notices .woocommerce-message li,
.cart-section__notices .woocommerce-info li {
	margin: 0;
}

.cart-section__coupon {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 243, 233, 0.12);
}

.cart-section__coupon-label {
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 243, 233, 0.75);
}

.cart-section__coupon-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cart-section__coupon-input {
	flex: 1 1 140px;
	min-width: 0;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 14px;
	color: #fff3e9;
	background-color: rgba(22, 3, 2, 0.5);
	border: 1px solid rgba(255, 243, 233, 0.2);
}

.cart-section__coupon-input::placeholder {
	color: rgba(255, 243, 233, 0.45);
}

.cart-section__coupon-input:focus {
	outline: none;
	border-color: rgba(251, 176, 59, 0.65);
}

.cart-section__coupon-btn {
	flex-shrink: 0;
	padding: 10px 18px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #160302 !important;
	background-color: #fbb03b !important;
	border: none;
	cursor: pointer;
}

.cart-section__coupon-btn:hover {
	opacity: 0.92;
}

.cart-section__coupon-applied {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: #fbb03b;
}

.cart-section__coupon-note {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: rgba(255, 243, 233, 0.55);
}

.checkout-section .woocommerce-form-coupon-toggle,
.checkout-section form.checkout_coupon.woocommerce-form-coupon {
	display: none !important;
}

.page-cart .cart-section__empty {
	position: relative;
	z-index: 1;
}

.page-cart .cart-empty.woocommerce-info {
	display: none;
}

.page-checkout .entry-content,
.page-checkout .wp-block-post-content {
	margin: 0;
}

.page-checkout .site-main > .woocommerce {
	margin: 0;
}

.checkout-section__notices {
	position: relative;
	z-index: 1;
	margin-bottom: 24px;
}

.checkout-section__notices .woocommerce-error,
.checkout-section__notices .woocommerce-message,
.checkout-section__notices .woocommerce-info,
.checkout-section .woocommerce-error,
.checkout-section .woocommerce-message,
.checkout-section .woocommerce-info {
	list-style: none;
	margin: 0 0 12px;
	padding: 14px 18px;
	font-size: 14px;
	line-height: 1.45;
	color: #fff3e9;
	border: 1px solid rgba(255, 243, 233, 0.2);
	background-color: rgba(255, 243, 233, 0.06);
}

.checkout-section__notices .woocommerce-error,
.checkout-section .woocommerce-error {
	border-color: rgba(251, 176, 59, 0.45);
	background-color: rgba(166, 45, 14, 0.35);
}

.checkout-section__notices .woocommerce-error li,
.checkout-section__notices .woocommerce-message li,
.checkout-section__notices .woocommerce-info li,
.checkout-section .woocommerce-error li,
.checkout-section .woocommerce-message li,
.checkout-section .woocommerce-info li {
	margin: 0;
}

.checkout-section .woocommerce-form-login-toggle,
.checkout-section .woocommerce-form-coupon-toggle {
	margin-bottom: 16px;
	font-size: 14px;
	color: rgba(255, 243, 233, 0.85);
}

.checkout-section .woocommerce-form-login-toggle a,
.checkout-section .woocommerce-form-coupon-toggle a {
	color: var(--color-gold, #fbb03b);
}

.checkout-section .woocommerce-form-login,
.checkout-section .checkout_coupon {
	margin-bottom: 20px;
	padding: 20px;
	background-color: rgba(255, 243, 233, 0.04);
	border: 1px solid rgba(255, 243, 233, 0.12);
}

.checkout-section .form-row {
	margin-bottom: 0;
}

.checkout-section .woocommerce-billing-fields__field-wrapper,
.checkout-section .woocommerce-shipping-fields__field-wrapper,
.checkout-section .woocommerce-account-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.checkout-section .form-row-wide,
.checkout-section .form-row-first.form-row-last,
.checkout-section #billing_address_1_field,
.checkout-section #shipping_address_1_field,
.checkout-section #order_comments_field {
	grid-column: 1 / -1;
}

@media (max-width: 640px) {
	.checkout-section .woocommerce-billing-fields__field-wrapper,
	.checkout-section .woocommerce-shipping-fields__field-wrapper,
	.checkout-section .woocommerce-account-fields {
		grid-template-columns: 1fr;
	}
}

.checkout-section input.input-text,
.checkout-section input[type="email"],
.checkout-section input[type="tel"],
.checkout-section input[type="password"],
.checkout-section input[type="number"],
.checkout-section input[type="text"],
.checkout-section textarea,
.checkout-section select,
.checkout-section .woocommerce-input-wrapper select {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	color: #fff3e9;
	background-color: rgba(22, 3, 2, 0.45);
	border: 1px solid rgba(255, 243, 233, 0.2);
	border-radius: 0;
	box-shadow: none;
	color-scheme: dark;
}

.checkout-section input.input-text::placeholder,
.checkout-section textarea::placeholder {
	color: rgba(255, 243, 233, 0.45);
}

.checkout-section input.input-text:focus,
.checkout-section input[type="email"]:focus,
.checkout-section input[type="tel"]:focus,
.checkout-section input[type="password"]:focus,
.checkout-section input[type="text"]:focus,
.checkout-section textarea:focus,
.checkout-section select:focus {
	outline: none;
	border-color: rgba(251, 176, 59, 0.55);
	box-shadow: 0 0 0 1px rgba(251, 176, 59, 0.25);
}

.checkout-section select option {
	background-color: #160302;
	color: #fff3e9;
}

.checkout-section .select2-container--default .select2-selection--single {
	min-height: 44px;
	background-color: rgba(22, 3, 2, 0.45);
	border: 1px solid rgba(255, 243, 233, 0.2);
	border-radius: 0;
}

.checkout-section .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 8px 14px;
	line-height: 26px;
	color: #fff3e9;
}

.checkout-section .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 42px;
}

.checkout-section .select2-dropdown {
	background-color: #160302;
	border-color: rgba(255, 243, 233, 0.2);
	color: #fff3e9;
}

.checkout-section .select2-container--default .select2-results__option--highlighted[aria-selected],
.checkout-section .select2-container--default .select2-results__option--highlighted[data-selected] {
	background-color: #a62d0e;
}

.checkout-section #payment {
	background: transparent;
	border-radius: 0;
}

.checkout-section #payment ul.payment_methods {
	padding: 0;
	margin: 0 0 16px;
	border: none;
	background: transparent;
}

.checkout-section #payment ul.payment_methods li {
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 243, 233, 0.12);
	color: rgba(255, 243, 233, 0.9);
}

.checkout-section #payment ul.payment_methods li input {
	margin-right: 8px;
	accent-color: #fbb03b;
}

.checkout-section #payment div.payment_box {
	margin-top: 10px;
	padding: 12px 14px;
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 243, 233, 0.85);
	background-color: rgba(22, 3, 2, 0.55);
	border: 1px solid rgba(255, 243, 233, 0.12);
}

.checkout-section #payment div.payment_box::before {
	border-bottom-color: rgba(22, 3, 2, 0.55);
}

.checkout-section #payment .place-order {
	margin: 0;
	padding: 0;
}

.checkout-section #place_order,
.checkout-section .woocommerce-checkout-payment button#place_order {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 8px 24px 12px;
	font-family: "MOONSILVER", var(--font-display, sans-serif);
	font-size: 28px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #160302 !important;
	background-color: #fbb03b !important;
	border: none !important;
	border-radius: 0;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.checkout-section #place_order:hover {
	opacity: 0.92;
}

.checkout-section .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 16px;
	font-size: 13px;
	color: rgba(255, 243, 233, 0.75);
}

.checkout-section .woocommerce-terms-and-conditions-wrapper a {
	color: #fbb03b;
}

.checkout-section .woocommerce-privacy-policy-text a {
	color: #fbb03b;
}

.checkout-section .woocommerce-shipping-methods {
	list-style: none;
	margin: 0;
	padding: 0;
}

.checkout-section .woocommerce-shipping-methods li {
	margin-bottom: 8px;
	color: rgba(255, 243, 233, 0.9);
}

.checkout-section .woocommerce-shipping-methods input {
	accent-color: #fbb03b;
	margin-right: 8px;
}

.checkout-section .woocommerce-shipping-destination {
	font-size: 13px;
	color: rgba(255, 243, 233, 0.65);
}

.checkout-section .woocommerce-form__label-for-checkbox input {
	accent-color: #fbb03b;
}

.checkout-section .button,
.checkout-section button.button {
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #160302 !important;
	background-color: #fbb03b !important;
	border: none;
	padding: 10px 18px;
	cursor: pointer;
}

@media (max-width: 768px) {
	.checkout-section #place_order,
	.checkout-section .woocommerce-checkout-payment button#place_order {
		font-size: 23px;
	}
}
