/* Shop styles: a light take on WooCommerce's defaults, fitted to the kyivnoga theme. */
.messages { list-style: none; margin: 0 0 1.5em; padding: 0; }
.messages li { padding: .75em 1em; border-left: 4px solid #2a7ae2; background: #f3f6fb; margin-bottom: .5em; }
.messages li.error { border-color: #b81c23; background: #fbf3f3; }
.messages li.success { border-color: #3a8a3a; background: #f3fbf3; }

.button, button.button, input[type="submit"].button {
	display: inline-block; cursor: pointer; border: 0; border-radius: 3px;
	background: #111; color: #fff; padding: .6em 1.2em; font-size: 16px; line-height: 1.4; text-decoration: none;
}
.button:hover, .button:focus { background: #333; color: #fff; }
.button:visited { color: #fff; }
.button[disabled] { opacity: .5; cursor: not-allowed; }
.button.secondary { background: #eee; color: #111; }

.price, .amount { font-weight: 600; }
.price del { opacity: .5; font-weight: 400; margin-right: .3em; }
.price ins { text-decoration: none; }
.onsale {
	display: inline-block; background: #111; color: #fff; font-size: 14px; padding: .2em .7em;
	border-radius: 2px; margin-bottom: .5em; position: absolute; top: .5em; left: .5em; z-index: 1;
}

ul.products { list-style: none; margin: 0 0 2em; padding: 0; display: grid; gap: 30px;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
ul.products li.product { position: relative; margin: 0; }
ul.products li.product a { text-decoration: none; color: inherit; }
ul.products li.product img { display: block; width: 100%; height: auto; margin-bottom: .8em; }
ul.products li.product h2 { font-size: 18px; font-weight: 400; margin: 0 0 .3em; }
ul.products li.product .price { display: block; margin-bottom: .6em; }
.added-to-cart { margin-left: .5em; font-size: 14px; }
.added-to-cart a { color: #2a7ae2; }

.single-product .product { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.single-product .product-gallery { position: relative; }
.single-product .product-gallery img { width: 100%; height: auto; display: block; }
.single-product .product-gallery img.thumb { width: 23%; display: inline-block; margin: 2% 2% 0 0; }
.single-product .woocommerce-tabs { grid-column: 1 / -1; }
.single-product .post-title { font-size: 32px; margin-top: 0; }
.single-product .price-wrap { font-size: 22px; }
form.cart { display: flex; gap: .8em; align-items: center; margin: 1.5em 0; }
.quantity input.qty { width: 4em; padding: .5em; }
.product_meta { font-size: 14px; color: #666; }
.shop_attributes { border-collapse: collapse; width: 100%; }
.shop_attributes th, .shop_attributes td { text-align: left; padding: .5em; border-bottom: 1px solid #e8e8e8; }
.shop_attributes th { width: 30%; font-weight: 600; }
.out-of-stock { color: #b81c23; }
@media screen and (max-width: 600px) {
	.single-product .product { grid-template-columns: 1fr; }
}

table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
table.shop_table th, table.shop_table td { padding: .7em .5em; border-bottom: 1px solid #e8e8e8; text-align: left; vertical-align: middle; }
table.shop_table .product-thumbnail img { width: 60px; height: auto; display: block; }
table.shop_table .product-remove button { background: none; border: 0; font-size: 22px; color: #b81c23; cursor: pointer; padding: 0 .3em; }
table.shop_table .product-quantity input { width: 4em; padding: .3em; }
table.shop_table tfoot th, table.shop_table .order-total { font-weight: 600; }
.cart-actions { display: flex; justify-content: space-between; gap: 1em; flex-wrap: wrap; }

.checkout-form .form-row { margin-bottom: 1em; }
.checkout-form label { display: block; margin-bottom: .3em; }
.checkout-form label .required { color: #b81c23; text-decoration: none; }
.checkout-form input[type=text], .checkout-form input[type=email], .checkout-form input[type=tel],
.checkout-form input[type=search], .checkout-form select, .checkout-form textarea { width: 100%; padding: .6em; font-size: 16px; box-sizing: border-box; }
.checkout-form .form-row-first, .checkout-form .form-row-last { width: 48%; display: inline-block; vertical-align: top; }
.checkout-form .form-row-first { margin-right: 3%; }
@media screen and (max-width: 600px) { .checkout-form .form-row-first, .checkout-form .form-row-last { width: 100%; margin-right: 0; } }
.errorlist { color: #b81c23; list-style: none; margin: .3em 0 0; padding: 0; font-size: 14px; }
.np-city-results { list-style: none; margin: 0; padding: 0; border: 1px solid #ddd; max-height: 260px; overflow-y: auto; }
.np-city-results:empty { display: none; }
.np-city-results li button { display: block; width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid #eee; padding: .5em .7em; cursor: pointer; font-size: 15px; }
.np-city-results li button:hover, .np-city-results li button:focus { background: #f3f6fb; }
.np-city-results small { color: #777; }
.np-selected-city { margin: .4em 0 0; font-size: 15px; }
.htmx-indicator { opacity: 0; transition: opacity .2s; font-size: 14px; color: #777; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }
.order-review { background: #fafafa; padding: 1em 1.2em; margin: 1.5em 0; }
.order-details dt { font-weight: 600; } .order-details dd { margin: 0 0 .8em; }
.woocommerce-info { background: #f3f6fb; padding: 1em; border-left: 4px solid #2a7ae2; list-style: none; }
.woocommerce-error { background: #fbf3f3; padding: 1em; border-left: 4px solid #b81c23; }
.woocommerce-message { background: #f3fbf3; padding: 1em; border-left: 4px solid #3a8a3a; }
.legal-note { font-size: 14px; color: #555; }
.np-selected-warehouse { margin: 0 0 .5em; padding: .5em .7em; background: #f3fbf3; border-left: 4px solid #3a8a3a; font-size: 15px; }
.np-warehouse-results { margin-top: .3em; }

/* Gutenberg blocks used in imported posts */
.entry-content figure { margin: 1.5em 0; }
.entry-content img { max-width: 100%; height: auto; }
.wp-block-image figcaption { font-size: 14px; color: #666; text-align: center; margin-top: .5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.wp-block-separator { border: 0; border-top: 1px solid #ddd; margin: 2em auto; }
.wp-block-quote { border-left: 3px solid #111; margin: 1.5em 0; padding-left: 1em; }
