/*
Theme Name: Vodoluk
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/* --- Global body font darker --- */
body {
	color: #333;
}

.porto-menu-item-icon-img {
	display: inline-block;
	width: auto;
	height: auto;
	max-width: 100%;
	margin-right: 0.4em;
	vertical-align: middle;
}

/* ============================================================
   ARTICLE CONTENT STYLES (blog posts)
   ============================================================ */

/* --- Section blocks --- */
.article-section {
	margin-bottom: 32px;
}

.article-section h2 {
	font-size: 1.5em;
	font-weight: 700;
	color: #1c5fa8;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #eef2f7;
}

.article-section h3 {
	font-size: 1.2em;
	font-weight: 700;
	color: #2c5282;
	margin: 24px 0 12px;
}

.article-section h4 {
	font-size: 1.05em;
	font-weight: 700;
	color: #383f48;
	margin: 20px 0 10px;
}

.article-section p {
	margin: 0 0 16px;
	line-height: 1.7;
}

/* --- Lists --- */
.article-section ul,
.article-section ol {
	margin: 0 0 20px;
	padding-left: 24px;
}

.article-section li {
	margin-bottom: 8px;
	line-height: 1.6;
}

.article-section ul li::marker {
	color: #1c5fa8;
}

.article-section ol li::marker {
	color: #1c5fa8;
	font-weight: 700;
}

/* --- Tables --- */
.article-section table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 0.95em;
	line-height: 1.5;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}

.article-section table caption {
	caption-side: top;
	text-align: left;
	font-weight: 700;
	color: #2c5282;
	padding: 12px 16px;
	background: #f7fafc;
	border-bottom: 1px solid #e2e8f0;
}

.article-section table thead th {
	background: #2c5282;
	color: #fff;
	padding: 12px 16px;
	text-align: left;
	font-weight: 600;
	border: none;
}

.article-section table tbody th {
	background: #f0f5fb;
	color: #2c5282;
	padding: 10px 16px;
	text-align: left;
	font-weight: 600;
	border-bottom: 1px solid #e2e8f0;
}

.article-section table td {
	padding: 10px 16px;
	border-bottom: 1px solid #eef2f7;
	vertical-align: top;
	color: #333;
}

.article-section table tbody tr:nth-child(even) {
	background: #f7fafc;
}

.article-section table tbody tr:hover {
	background: #edf2f7;
}

.article-section table tbody tr:last-child td,
.article-section table tbody tr:last-child th {
	border-bottom: none;
}

/* --- Formulas --- */
.article-section p sub,
.article-section p sup {
	font-size: 0.75em;
	line-height: 0;
}

.article-formula {
	display: block;
	margin: 20px 0;
	padding: 16px 20px;
	background: #f7fafc;
	border-left: 4px solid #1c5fa8;
	border-radius: 0 8px 8px 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.05em;
	line-height: 1.6;
	color: #2c5282;
	overflow-x: auto;
}

/* --- Steps --- */
.article-step {
	position: relative;
	margin: 0 0 14px;
	padding: 12px 16px 12px 48px;
	background: #f7fafc;
	border-radius: 8px;
	line-height: 1.6;
}

.article-step::before {
	content: attr(data-step);
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	background: #1c5fa8;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85em;
}

/* --- Inline image (single-image-luk) --- */
.single-image-luk {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 28px auto;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(28, 95, 168, 0.12);
}

/* --- Chart block (SVG) --- */
.article-chart {
	margin: 24px 0;
	padding: 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow-x: auto;
}

.article-chart svg {
	display: block;
	max-width: 100%;
	height: auto;
}

/* --- Strong emphasis --- */
.article-section strong {
	color: #1c5fa8;
	font-weight: 700;
}

/* --- Links --- */
.article-section a {
	color: #1c5fa8;
	text-decoration: none;
	border-bottom: 1px solid rgba(28, 95, 168, 0.3);
	transition: color 0.2s, border-color 0.2s;
}

.article-section a:hover {
	color: #fe6017;
	border-bottom-color: #fe6017;
}

/* ============================================================
   PRODUCT PAGE TABLE STYLES (WooCommerce)
   ============================================================ */

/* --- Product specs table (characteristics) --- */
.product-specs {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 0.95em;
	line-height: 1.5;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}

.product-specs td {
	padding: 10px 16px;
	border-bottom: 1px solid #eef2f7;
	vertical-align: top;
	color: #333;
}

.product-specs td:first-child {
	width: 40%;
	background: #f7fafc;
	color: #2c5282;
	font-weight: 600;
}

.product-specs tr:last-child td {
	border-bottom: none;
}

.product-specs tr:hover td {
	background: #edf2f7;
}

/* --- WooCommerce attributes table --- */
.single-product .shop_attributes {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 0.95em;
	line-height: 1.5;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}

.single-product .shop_attributes th,
.single-product .shop_attributes td {
	padding: 10px 16px;
	border-bottom: 1px solid #eef2f7;
	text-align: left;
	vertical-align: top;
	color: #333;
}

.single-product .shop_attributes th {
	width: 40%;
	background: #f7fafc;
	color: #2c5282;
	font-weight: 600;
}

.single-product .shop_attributes tr:last-child th,
.single-product .shop_attributes tr:last-child td {
	border-bottom: none;
}

.single-product .shop_attributes tr:hover th,
.single-product .shop_attributes tr:hover td {
	background: #edf2f7;
}

/* ============================================================
   PRODUCT DESCRIPTION BLOCKS (Нормативы и стандарты / Доставка и заказ)
   ============================================================ */

.product-description h3,
.woocommerce-Tabs-panel h3 {
	color: #2c5282;
	font-weight: 700;
}

/* Highlight "Нормативы и стандарты" and "Доставка и заказ" sections */
.product-normative,
.product-delivery {
	margin: 24px 0;
	padding: 20px 24px;
	border-radius: 8px;
	border-left: 4px solid #1c5fa8;
	background: #f7fafc;
}

.product-normative h3,
.product-delivery h3 {
	margin-top: 0;
	color: #1c5fa8;
}

.product-normative ul,
.product-delivery ul {
	margin: 0;
	padding-left: 20px;
}

.product-normative li,
.product-delivery li {
	margin-bottom: 8px;
	line-height: 1.6;
	color: #333;
}

/* ============================================================
   PRODUCT META (categories & tags) - modern interactive
   ============================================================ */

.single-product .product_meta {
	margin: 16px 0;
	padding: 16px 0;
	border-top: 1px solid #eef2f7;
	border-bottom: 1px solid #eef2f7;
}

.single-product .product_meta .posted_in,
.single-product .product_meta .tagged_as {
	display: block;
	margin-bottom: 10px;
	font-size: 0;
}

.single-product .product_meta .posted_in:last-child,
.single-product .product_meta .tagged_as:last-child {
	margin-bottom: 0;
}

.single-product .product_meta a {
	display: inline-block;
	margin: 2px 4px 2px 0;
	padding: 4px 12px;
	border-radius: 0;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}

/* Categories - blue background */
.single-product .product_meta .posted_in a {
	background: #f0f5fb;
	color: #1c5fa8;
	border: 1px solid #d5e3f3;
}

.single-product .product_meta .posted_in a:hover {
	background: #1c5fa8;
	color: #fff;
	border-color: #1c5fa8;
}

/* Tags - light orange background */
.single-product .product_meta .tagged_as a {
	background: #fff3e0;
	color: #e65100;
	border: 1px solid #ffe0b2;
}

.single-product .product_meta .tagged_as a:hover {
	background: #fe6017;
	color: #fff;
	border-color: #fe6017;
}

/* --- Responsive --- */
@media (max-width: 767px) {
	.article-section table {
		font-size: 0.85em;
	}

	.article-section table th,
	.article-section table td {
		padding: 8px 10px;
	}

	.single-image-luk {
		margin: 20px auto;
	}

	.product-specs td,
	.single-product .shop_attributes th,
	.single-product .shop_attributes td {
		padding: 8px 10px;
	}

	.product-normative,
	.product-delivery {
		padding: 16px;
	}
}
