/*
Theme Name: Dor Trend Child
Theme URI: https://github.com/nelicepriatniy/dorTrend
Description: Дочерняя тема для dor-trend. Подключайте сюда свои переопределения стилей.
Author: Dor Trend
Template: dor-trend
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dor-trend-child
*/

/* Переопределения стилей — ниже; базовые стили подключаются из родительской темы. */


/* Блок «Услуги» в конструкторе: крошки уже в шапке, верхний отступ не дублируем. */
.services-page.services-page--block {
	padding-top: 0;
}

.page-delivery.page-delivery--block {
	padding-top: 0;
}

/* Блок «Контакты» в конструкторе: крошки в шапке, верхний отступ секции не дублируем. */
.contacts-page.contacts-page--block .contacts-page__top {
	padding-top: 0;
}

/* Блок «Наши преимущества» без секции «О компании» над ним. */
.page-main.page-main--advantages-only {
	width: 100%;
	background-color: #f3f3f3;
	padding: 30px 0 80px;
}

.advantages.advantages--standalone {
	margin-top: 0;
}

.advantages__icon-wrap img {
	display: block;
	max-width: 70px;
	max-height: 70px;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* WooCommerce: карточка товара — служебный вывод для SEO (микроразметка). */
.dor-wc-product-summary-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Карточка товара: кнопки как в templates-html/card.html (без стилей WC для submit). */
.card-img-section .buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
}

.card-img-section .buttons .cart.dor-product-cart-form {
	display: inline-flex;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	align-items: center;
}

.card-img-section .buttons .cart.dor-product-cart-form .quantity {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}


.card-img-section .buttons button.black-button.oformit:focus-visible {
	outline: 2px solid #404040;
	outline-offset: 2px;
}

.card-img-section .buttons .white-button.form a {
	display: block;
	color: inherit;
	text-decoration: none;
	text-align: inherit;
	text-transform: inherit;
	font: inherit;
	font-weight: inherit;
}

.card-img-section .buttons .white-button.form.dor-product-consult-link {
	cursor: pointer;
}

/* Карточка товара: якоря #desc #char #payment #delivery под фиксированной шапкой */
.card-tabs .tab-block[id] {
	scroll-margin-top: 100px;
}

/* Каталог WooCommerce (templates-html/catalog.html) */
.catalog .catalog-filter .dor-catalog-filter-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	text-decoration: none;
	color: inherit;
}

.catalog .catalog-filter .list-item.is-active > .dor-catalog-filter-link .name,
.catalog .catalog-filter .list-item.is-active > .dor-catalog-filter-parent-toggle .name {
	font-weight: 700;
}

.catalog .catalog-filter-children-list__item.is-active > .dor-catalog-filter-link--child .name {
	font-weight: 700;
}

.catalog-filter-open {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	font: inherit;
}

.catalog .catalog-right .catalog-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.catalog .catalog-right .catalog-pagination .page-numbers li {
	margin: 0;
}

.catalog .catalog-right .catalog-pagination .page-numbers a,
.catalog .catalog-right .catalog-pagination .page-numbers span {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 150%;
	color: #404040;
	border-radius: 100px;
	min-width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	text-decoration: none;
	box-sizing: border-box;
}

.catalog .catalog-right .catalog-pagination .page-numbers span.current {
	background: #ebebeb;
}
