/*
Theme Name: НЯ-МАЙ (food_2026)
Theme URI: https://example.com/
Author: food_2026
Author URI: https://example.com/
Description: Тёмная премиум-тема для доставки азиатской кухни на WooCommerce. Витрина на одной странице (без отдельных страниц товара), сайдбар категорий, AJAX-поиск, offcanvas-корзина, быстрый просмотр и оформление заказа в 1 клик на e-mail. Основана на Underscores.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: food_2026
Tags: e-commerce, food, dark, custom-colors, translation-ready
WC requires at least: 6.0
WC tested up to: 11.0

Основные стили темы подключаются отдельным файлом assets/css/style.css
(см. inc/woocommerce.php → food_enqueue_assets). Этот файл нужен WordPress
только для распознавания темы и хранит её «шапку».
*/


/* =========================================
   CHECKOUT LAYOUT
========================================= */

.checkout-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.75fr);
	gap: 30px;
	align-items: start;
	max-width: 1200px;
	margin: 0 auto;
}

.checkout-customer,
.checkout-order {
	min-width: 0;
}


/* =========================================
   CHECKOUT BOX
========================================= */

.checkout-box {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 16px;
	padding: 28px;
	margin-bottom: 24px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
}

.checkout-box-title {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 25px;
}

.checkout-box-title h3 {
	margin: 0 0 5px;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 600;
	color: #222;
}

.checkout-box-title p {
	margin: 0;
	font-size: 14px;
	color: #888;
	line-height: 1.5;
}

.checkout-number {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
	color: #222;
	font-size: 13px;
	font-weight: 600;
}


/* =========================================
   RIGHT ORDER COLUMN
========================================= */

.checkout-order {
	position: sticky;
	top: 30px;
}

.checkout-order-box {
	padding: 25px;
}

.checkout-order-box .checkout-box-title {
	margin-bottom: 20px;
}


/* =========================================
   WOOCOMMERCE FIELDS
========================================= */

.checkout-box .form-row {
	margin-bottom: 18px;
}

.checkout-box label {
	display: block;
	margin-bottom: 7px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
}

.checkout-box input.input-text,
.checkout-box select,
.checkout-box textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	font-size: 15px;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.checkout-box textarea {
	min-height: 110px;
	resize: vertical;
}

.checkout-box input.input-text:focus,
.checkout-box select:focus,
.checkout-box textarea:focus {
	border-color: #999;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}


/* =========================================
   ORDER REVIEW
========================================= */

#order_review {
	font-size: 14px;
}

#order_review table.shop_table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	margin: 0;
}

#order_review table.shop_table th,
#order_review table.shop_table td {
	padding: 13px 0;
	border-bottom: 1px solid #eee;
}

#order_review table.shop_table th {
	font-weight: 500;
	color: #555;
}

#order_review table.shop_table td {
	text-align: right;
	color: #222;
}

#order_review table.shop_table .product-name {
	text-align: left;
}

#order_review table.shop_table tfoot th,
#order_review table.shop_table tfoot td {
	border-bottom: 0;
}

#order_review table.shop_table tfoot .order-total th,
#order_review table.shop_table tfoot .order-total td {
	padding-top: 20px;
	font-size: 18px;
	font-weight: 700;
}


/* =========================================
   PAYMENT
========================================= */

#payment {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	background: transparent;
}

#payment ul.payment_methods {
	padding: 0;
	border: 0;
}

#payment .place-order {
	padding: 20px 0 0;
	margin: 0;
}

#payment #place_order {
	width: 100%;
	min-height: 52px;
	border: 0;
	border-radius: 9px;
	background: #971A18;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: .2s ease;
	margin-top: 20px;
}

#payment #place_order:hover {
	opacity: .88;
}


/* =========================================
   SHIPPING
========================================= */

.woocommerce-shipping-fields {
	margin-top: 5px;
}

.woocommerce-shipping-methods {
	margin: 10px 0;
	padding: 0;
	list-style: none;
}

.woocommerce-shipping-methods li {
	padding: 8px 0;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 991px) {

	.checkout-layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.checkout-order {
		position: static;
	}

	.checkout-customer {
		order: 1;
	}

	.checkout-order {
		order: 2;
	}

	.checkout-box {
		padding: 22px;
	}

}

@media (max-width: 575px) {

	.checkout-layout {
		display: block;
	}

	.checkout-box {
		padding: 18px;
		border-radius: 12px;
	}

	.checkout-box-title h3 {
		font-size: 18px;
	}

	.checkout-box-title p {
		font-size: 13px;
	}

	.checkout-number {
		width: 36px;
		height: 36px;
		flex-basis: 36px;
		font-size: 12px;
	}

}

.woocommerce form .form-row-first{
	width: 100%;
}


@media (max-width: 861px) {
#sidebar{
	z-index: 9999;
	margin-top: 100px;
}
	.sidebar .search{
		display: none;
	}
}

@media (max-width: 440px) {
.addr{
	display: none !important;
}
}




