/*
Theme Name: Import World
Theme URI: https://import-world.ru
Author: Custom Theme
Author URI: https://import-world.ru
Description: Тема для магазина запчастей Canon - импорт с AdvantShop
Version: 3.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: import-world
*/

/* ===== BASE ===== */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --secondary: #1a73e8;
    --danger: #ea4335;
    --dark: #202124;
    --gray: #5f6368;
    --light-gray: #f8f9fa;
    --border: #dadce0;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(32,33,36,0.1);
    --shadow-hover: 0 4px 16px rgba(32,33,36,0.15);
    --radius: 8px;
    --transition: all 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light-gray);
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

.header-top a { color: #fff; opacity: 0.9; }
.header-top a:hover { opacity: 1; }

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
}

.site-logo img { max-height: 50px; width: auto; }

.site-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.site-logo-text span { color: var(--primary); }

.header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-phone a {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.header-phone span {
    font-size: 12px;
    color: var(--gray);
}

/* ===== NAVIGATION ===== */
.main-nav {
    background: var(--primary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

.main-nav a {
    display: block;
    padding: 14px 20px;
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
}

.main-nav a:hover {
    background: var(--primary-dark);
}

/* ===== HERO / BANNER ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PRODUCT GRID ===== */
.products-section {
    padding: 40px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* ===== PRODUCT CARD (cartridge.ru style) ===== */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.product-image {
    position: relative;
    padding: 15px;
    background: var(--white);
    text-align: center;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-height: 150px;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--secondary);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.outstock {
    background: var(--gray);
}

/* Product code */
.product-code {
    font-size: 12px;
    color: var(--gray);
    padding: 0 15px;
    margin-bottom: 5px;
}

.product-code strong {
    color: var(--dark);
    font-weight: 500;
}

/* Product info */
.product-info {
    padding: 0 15px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--dark);
}

.product-title a { color: var(--dark); }
.product-title a:hover { color: var(--primary); }

/* Product attributes list */
.product-attrs {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

.product-attrs li {
    margin-bottom: 2px;
}

.product-attrs strong {
    color: var(--dark);
    font-weight: 500;
}

/* Product price and order */
.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.product-price .currency {
    font-size: 16px;
    font-weight: 400;
}

.btn-order {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-order:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-order.outstock {
    background: var(--gray);
    cursor: not-allowed;
}

/* ===== SINGLE PRODUCT ===== */
.single-product-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 15px 0;
    align-items: start;
}

.product-gallery {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    max-height: 320px;
}

.product-gallery img {
    max-height: 280px;
    object-fit: contain;
}

.product-details h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-details .sku {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 10px;
}

.product-details .price {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.product-attributes {
    margin: 10px 0;
}

.product-attributes table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.product-attributes th,
.product-attributes td {
    padding: 6px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.product-attributes th {
    width: 40%;
    color: var(--gray);
    font-weight: 500;
    background: var(--light-gray);
}

/* ===== ORDER FORM ===== */
.order-form-wrap {
    background: var(--light-gray);
    padding: 15px;
    border-radius: var(--radius);
    margin-top: 12px;
}

.order-form-wrap h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.order-form .form-row {
    margin-bottom: 8px;
}

.order-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 3px;
    font-size: 12px;
}

.order-form input,
.order-form textarea,
.order-form select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.order-form input:focus,
.order-form textarea:focus,
.order-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26,115,232,0.1);
}

.order-form textarea {
    min-height: 60px;
    resize: vertical;
}

.order-form .btn-submit {
    width: 100%;
    padding: 10px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 5px;
}

.order-form .btn-submit:hover {
    background: #2d8a47;
}

/* ===== SIDEBAR / CATEGORIES ===== */
.sidebar-categories {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 25px;
}

.sidebar-categories h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.cat-list {
    list-style: none;
}

.cat-list li {
    border-bottom: 1px solid var(--border);
}

.cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--dark);
    font-size: 14px;
}

.cat-list a:hover { color: var(--primary); }

.cat-list .count {
    background: var(--light-gray);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: var(--gray);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: #bdc1c6;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
    color: #bdc1c6;
    font-size: 14px;
    line-height: 2;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid #3c4043;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #9aa0a6;
}


/* ===== DROPDOWN MENU ===== */
.main-menu {
    display: flex;
    list-style: none;
    gap: 0;
    position: relative;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: block;
    padding: 14px 20px;
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.main-menu > li:hover > a {
    background: var(--primary-dark);
}

/* Submenu - HIDDEN by default */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-hover);
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
}

/* Show submenu ONLY on hover */
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    display: block;
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.sub-menu li a:hover {
    background: var(--light-gray);
    color: var(--primary);
    padding-left: 25px;
}

/* Arrow indicator for dropdown */
.menu-item-has-children > a::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.7;
}

/* Mobile menu */
@media (max-width: 768px) {
    .main-menu {
        flex-wrap: wrap;
    }
    .sub-menu {
        position: static;
        box-shadow: none;
        background: var(--primary-dark);
        border-radius: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .menu-item-has-children:hover > .sub-menu {
        display: block;
    }
    .sub-menu li a {
        color: var(--white);
        padding-left: 40px;
    }
    .sub-menu li a:hover {
        background: rgba(255,255,255,0.1);
        color: var(--white);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .single-product-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-main { flex-direction: column; gap: 15px; }
    .main-nav ul { flex-wrap: wrap; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-section h1 { font-size: 26px; }
    .hero-section { padding: 40px 0; }
}

/* ===== WOOCOMMERCE OVERRIDES ===== */
.woocommerce .woocommerce-breadcrumb {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 20px;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    font-size: 14px;
    color: var(--gray);
}

.woocommerce .products ul,
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.woocommerce ul.products li.product {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    clear: none !important;
}

.woocommerce ul.products li.product:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: 600;
    padding: 0 15px;
    color: var(--dark);
    line-height: 1.4;
}

.woocommerce ul.products li.product .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    padding: 0 15px;
}

.woocommerce ul.products li.product .button {
    margin: 0 15px 15px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    display: block;
    font-size: 13px;
    padding: 8px 16px;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.woocommerce div.product .product_title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 14px;
    color: var(--gray);
    margin: 8px 0;
}

.woocommerce table.shop_attributes th {
    background: var(--light-gray);
    color: var(--gray);
    font-weight: 500;
}

.woocommerce table.shop_attributes td {
    font-style: normal;
    color: var(--dark);
}

/* Hide default WooCommerce add to cart, use custom order form */
.woocommerce div.product form.cart {
    display: none;
}

/* ===== PAGINATION ===== */
.woocommerce nav.woocommerce-pagination ul {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    margin: 0 4px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 14px;
    color: var(--dark);
    font-weight: 500;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ===== NOTICES ===== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: var(--radius);
    padding: 15px 20px;
    font-size: 14px;
}

.woocommerce-message { border-top-color: var(--secondary); }
.woocommerce-info { border-top-color: var(--primary); }
.woocommerce-error { border-top-color: var(--danger); }


/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--dark);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide-content {
    max-width: 550px;
    color: var(--white);
    z-index: 2;
}

.slide-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slide-content p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-slide {
    display: inline-block;
    background: var(--white);
    color: var(--dark);
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-slide:hover {
    background: var(--light-gray);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.slide-icon {
    font-size: 120px;
    opacity: 0.15;
    z-index: 1;
    margin-right: 40px;
    filter: grayscale(1);
}

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255,255,255,0.7);
}

/* Slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Responsive slider */
@media (max-width: 768px) {
    .hero-slider { height: 320px; }
    .slide { padding: 0 30px; flex-direction: column; justify-content: center; text-align: center; }
    .slide-content h2 { font-size: 22px; }
    .slide-content p { font-size: 14px; }
    .slide-icon { display: none; }
    .slider-arrow { width: 36px; height: 36px; font-size: 14px; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
}

@media (max-width: 480px) {
    .hero-slider { height: 280px; }
    .slide-content h2 { font-size: 18px; }
    .btn-slide { padding: 10px 20px; font-size: 14px; }
}



/* ===== SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    padding: 40px 30px 25px;
    color: var(--white);
}

.hero-slider .slide-overlay h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-slider .slide-overlay p {
    font-size: 15px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-slider .slider-nav {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-slider .slider-nav button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider .slider-nav button.active {
    background: var(--white);
}

.hero-slider .slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10;
    pointer-events: none;
}

.hero-slider .slider-arrows button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-slider .slider-arrows button:hover {
    background: var(--white);
    transform: scale(1.1);
}

/* ===== LAYOUT WITH SIDEBAR ===== */
.site-content {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 25px;
    padding: 25px 0;
}

.site-content.full-width {
    grid-template-columns: 1fr;
}

/* ===== SIDEBAR ===== */
.site-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-block {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-block h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-categories-list {
    list-style: none;
}

.sidebar-categories-list li {
    border-bottom: 1px solid var(--border);
}

.sidebar-categories-list li:last-child {
    border-bottom: none;
}

.sidebar-categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--dark);
    font-size: 14px;
    transition: var(--transition);
}

.sidebar-categories-list a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.sidebar-categories-list .count {
    background: var(--light-gray);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
}

.sidebar-contacts p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 8px;
}

.sidebar-contacts strong {
    color: var(--gray);
    font-weight: 500;
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-contacts a {
    color: var(--primary);
    font-weight: 600;
}

.sidebar-contacts .phone-big {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    display: block;
    margin: 5px 0;
}

/* ===== RESPONSIVE SIDEBAR ===== */
@media (max-width: 1024px) {
    .site-content {
        grid-template-columns: 1fr;
    }
    .site-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .hero-slider {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .site-sidebar {
        grid-template-columns: 1fr;
    }
    .hero-slider {
        height: 200px;
    }
    .hero-slider .slide-overlay h2 {
        font-size: 18px;
    }
    .hero-slider .slide-overlay p {
        font-size: 13px;
    }
}

/* ===== HEADER INFO BLOCK ===== */
.header-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--gray);
    text-align: right;
}

.header-info .hours {
    font-weight: 500;
    color: var(--dark);
}

.header-info .phones {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.header-info .phones a {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

.header-info .email {
    font-size: 13px;
    color: var(--primary);
}

.header-info .btn-callback {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.header-info .btn-callback:hover {
    background: #2d8a47;
    color: var(--white);
}

/* ===== HAMBURGER MENU ===== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .main-nav .container {
        position: relative;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        z-index: 1000;
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-menu > li > a {
        padding: 12px 20px;
    }

    .sub-menu {
        position: static;
        background: rgba(0,0,0,0.2);
        box-shadow: none;
        display: none !important;
    }

    .menu-item-has-children.active > .sub-menu {
        display: block !important;
    }

    .site-header {
        position: relative;
    }

    .header-main {
        flex-wrap: wrap;
    }

    .header-info {
        text-align: left;
        width: 100%;
        margin-top: 10px;
    }
}

/* ===== SIDEBAR SEARCH ===== */
.sidebar-search {
    margin-bottom: 20px;
}

.sidebar-search h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-search-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-search-form input {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
}

.sidebar-search-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.sidebar-search-form button:hover {
    background: var(--primary-dark);
}

/* ===== SIDEBAR ADVERTISING ===== */
.sidebar-ad {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-ad h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sidebar-ad p {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
}

.sidebar-ad .ad-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

/* ===== CATEGORY HOVER/ACTIVE ===== */
.sidebar-categories-list li {
    position: relative;
    overflow: hidden;
}

.sidebar-categories-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.sidebar-categories-list li:hover::before,
.sidebar-categories-list li.current-cat::before {
    transform: scaleY(1);
}

.sidebar-categories-list li:hover,
.sidebar-categories-list li.current-cat {
    background: var(--light-gray);
}

.sidebar-categories-list li:hover a,
.sidebar-categories-list li.current-cat a {
    color: var(--primary);
    padding-left: 10px;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    padding: 40px 0;
    background: var(--white);
    margin-top: 30px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.review-card {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.review-card .review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 12px;
    font-style: italic;
}

.review-card .review-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
}

.review-card .review-rating {
    color: #ffc107;
    font-size: 16px;
    margin-bottom: 8px;
}

/* ===== HOW TO ORDER SECTION ===== */
.how-to-order {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
}

.how-to-order .section-title {
    text-align: center;
    display: block;
    border: none;
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.step-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
}

/* Mobile compact categories */
@media (max-width: 768px) {
    .sidebar-categories-list {
        max-height: 300px;
        overflow-y: auto;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .step-card {
        padding: 20px 15px;
    }
}

/* ===== HEADER INFO BLOCK ===== */
.header-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--gray);
    text-align: right;
}

.header-info .hours {
    font-weight: 500;
    color: var(--dark);
}

.header-info .phones {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.header-info .phones a {
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
}

.header-info .email {
    color: var(--primary);
    font-size: 12px;
}

.btn-callback {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 5px;
}

.btn-callback:hover {
    background: #2d8a47;
    color: var(--white);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav .container {
        position: relative;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        z-index: 1000;
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .sub-menu {
        position: static;
        background: var(--primary-dark);
        box-shadow: none;
        display: none !important;
    }

    .menu-item-has-children.active > .sub-menu {
        display: block !important;
    }

    .site-header {
        position: relative;
    }

    .header-info {
        display: none;
    }

    .header-phone {
        display: none;
    }
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    padding: 40px 0;
    background: var(--white);
    margin: 30px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.review-card {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.review-card .reviewer {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.review-card .review-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.review-card .review-date {
    font-size: 12px;
    color: var(--gray);
    margin-top: 10px;
    opacity: 0.7;
}

/* ===== HOW TO ORDER ===== */
.how-to-order {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    margin: 30px 0;
    border-radius: var(--radius);
}

.how-to-order h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.step-card {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== SIDEBAR SEARCH ===== */
.sidebar-search {
    margin-bottom: 15px;
}

.sidebar-search input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    margin-bottom: 8px;
}

.sidebar-search .search-type {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 5px;
}

.sidebar-search button {
    width: 100%;
    padding: 8px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    cursor: pointer;
}

/* ===== AD BLOCK ===== */
.ad-block {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid var(--secondary);
    border-radius: var(--radius);
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.ad-block .ad-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.ad-block .ad-text {
    font-size: 14px;
    font-weight: 600;
    color: #2d8a47;
    line-height: 1.5;
}

/* ===== CATEGORY HOVER ===== */
.sidebar-categories-list li {
    transition: var(--transition);
}

.sidebar-categories-list li:hover,
.sidebar-categories-list li.current-cat {
    background: #e3f2fd;
    margin: 0 -10px;
    padding: 0 10px;
    border-radius: 4px;
}

.sidebar-categories-list li:hover a,
.sidebar-categories-list li.current-cat a {
    color: var(--primary);
}

/* ===== HEADER INFO BLOCK v3.0 ===== */
.header-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
}

.header-info-block {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-search-box {
    position: relative;
    min-width: 250px;
}

.header-search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.header-search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.header-search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.header-phones {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.header-phones a {
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
}

.header-hours {
    font-size: 13px;
    color: var(--gray);
    white-space: nowrap;
}

.header-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: var(--transition);
}

.social-tg { background: #0088cc; }
.social-mail { background: #005ff9; }
.social-email { background: #ea4335; }

.header-social a:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-callback-header {
    background: var(--secondary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-callback-header:hover {
    background: #2d8a47;
    color: var(--white);
}

/* ===== AD BLOCK WITH IMAGES ===== */
.ad-block {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid var(--secondary);
    border-radius: var(--radius);
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.ad-block .ad-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ad-block .ad-images img {
    max-height: 60px;
    object-fit: contain;
}

.ad-block .ad-icon {
    font-size: 30px;
    margin-bottom: 5px;
}

.ad-block .ad-text {
    font-size: 14px;
    font-weight: 600;
    color: #2d8a47;
    line-height: 1.4;
}

/* ===== HOW TO ORDER v3.0 ===== */
.how-to-order {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    margin: 40px 0;
    border-radius: var(--radius);
}

.how-to-order h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 0 20px;
    flex-wrap: wrap;
}

.step-card {
    text-align: center;
    padding: 20px;
    max-width: 220px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.step-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Arrow between steps */
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    font-size: 30px;
    color: rgba(255,255,255,0.6);
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
}

/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 1024px) {
    .header-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .header-info-block {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    .header-search-box {
        width: 100%;
        max-width: 300px;
    }
}
/* === СТИЛИ ТАБЛИЦ ДЛЯ import-world.ru === */
table {
    border-collapse: collapse;
    width: 100%;
    border: 2px solid #333;
    margin: 20px 0;
    font-size: 14px;
}

table thead th {
    background-color: #f5f5f5;
    border: 1px solid #333;
    padding: 12px;
    text-align: left;
    font-weight: bold;
}

table tbody td {
    border: 1px solid #333;
    padding: 10px;
}

/* Чередование строк */
table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Подсветка при наведении */
table tbody tr:hover {
    background-color: #f0f0f0;
}
.header-social a {
    display: inline-block;
    transition: transform 0.2s;
}

.header-social a:hover {
    transform: scale(1.1);
}

.header-social img {
    display: block;
    object-fit: cover;
}
/* ===== HOW TO ORDER v3.0 ===== */
.how-to-order {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    margin: 40px 0;
    border-radius: var(--radius);
}

.how-to-order h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
}

.steps-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 0 20px;
    flex-wrap: nowrap;
}

.step-card {
    text-align: center;
    padding: 25px 20px;
    max-width: 220px;
    min-width: 180px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.step-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--white);
}

.step-icon {
    font-size: 28px;
    margin-top: 10px;
    opacity: 0.9;
}

/* Arrow between steps */
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    font-size: 36px;
    color: rgba(255,255,255,0.8);
    align-self: center;
}

@media (max-width: 1024px) {
    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .step-arrow {
        transform: rotate(90deg);
        padding: 10px 0;
    }
    .step-card {
        max-width: 300px;
        width: 100%;
    }
}

/* ===================================================================
   SEO-блок: дополнительные стили (июнь 2026)
   Добавьте этот блок в КОНЕЦ файла style.css
   =================================================================== */

/* Хлебные крошки от Rank Math и WooCommerce */
.iw-breadcrumbs,
.woocommerce-breadcrumb {
    padding: 12px 0;
    margin-bottom: 20px;
    font-size: 13px;
    color: #5f6368;
}
.iw-breadcrumbs a,
.woocommerce-breadcrumb a {
    color: #5f6368;
    text-decoration: none;
}
.iw-breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover {
    color: #34a853;
    text-decoration: underline;
}
.iw-breadcrumbs .separator,
.woocommerce-breadcrumb .sep {
    margin: 0 6px;
    color: #bdc1c6;
}

/* SEO-блок на главной */
.iw-seo-intro h1 {
    color: #202124;
    font-weight: 700;
}
.iw-seo-intro h2 {
    color: #202124;
    font-weight: 600;
}
.iw-seo-intro a {
    color: #34a853;
    text-decoration: underline;
}
.iw-seo-intro ul li {
    margin-bottom: 6px;
}

/* SEO-текст в категориях */
.iw-category-description,
.iw-category-bottom-seo {
    color: #3c4043;
    font-size: 14px;
}
.iw-category-description h2,
.iw-category-bottom-seo h2 {
    font-size: 18px;
    margin: 15px 0 10px;
}
.iw-category-description ul,
.iw-category-bottom-seo ul {
    margin: 10px 0 10px 20px;
}

/* FAQ-блок на главной */
.home-faq h3 {
    color: #202124;
    cursor: pointer;
}
.home-faq h3:hover {
    color: #34a853;
}

/* Карточка товара в листинге — позиция бейджа */
.product-card .product-image {
    position: relative;
}

/* Похожие товары на карточке */
.related.products {
    margin-top: 50px;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
}
.related.products > h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

/* Доверительные блоки на карточке */
.product-trust > div {
    transition: transform .2s;
}
.product-trust > div:hover {
    transform: translateY(-2px);
}

/* CTA-блок на текстовых страницах */
.page-cta a {
    transition: opacity .2s;
}
.page-cta a:hover {
    opacity: 0.9;
}

/* SEO-ссылки в подвале */
.footer-seo-links a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* Кнопка «Наверх» */
#iw-back-to-top {
    transition: background .2s, transform .2s;
}
#iw-back-to-top:hover {
    background: #2d8e47;
    transform: translateY(-2px);
}

/* Мобильная адаптация SEO-блоков */
@media (max-width: 768px) {
    .iw-seo-intro {
        padding: 20px 15px !important;
    }
    .iw-seo-intro h1 {
        font-size: 22px !important;
    }
    .iw-seo-intro h2 {
        font-size: 17px !important;
    }
    .home-faq {
        padding: 25px 15px !important;
    }
    .home-faq h3 {
        font-size: 15px !important;
    }
    .product-trust {
        grid-template-columns: 1fr 1fr !important;
    }
    .footer-seo-links {
        font-size: 12px !important;
    }
    #iw-back-to-top {
        bottom: 15px !important;
        right: 15px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 20px !important;
    }
}

/* Скрытие текста для скринридеров (для accessibility) */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}


/* ===== Слайдер отзывов (v2) ===== */
.reviews-section {
    margin: 40px 0;
}
.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}
.reviews-header .section-title {
    margin: 0;
    padding: 0;
}
.reviews-arrows {
    display: flex;
    gap: 8px;
}
.reviews-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #dadce0;
    color: #34a853;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all .2s;
    line-height: 1;
    padding: 0;
}
.reviews-arrow:hover {
    background: #34a853;
    color: #fff;
    border-color: #34a853;
}
.reviews-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}
.reviews-track .review-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    box-sizing: border-box;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}
.reviews-track .review-stars {
    color: #fbbc04;
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.reviews-track .review-text {
    line-height: 1.6;
    color: #3c4043;
    margin-bottom: 15px;
    flex: 1;
    font-size: 14px;
}
.reviews-track .reviewer {
    font-weight: 600;
    color: #202124;
    margin-bottom: 4px;
    font-size: 14px;
}
.reviews-track .review-date {
    font-size: 12px;
    color: #80868b;
}
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.reviews-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: #dadce0;
    cursor: pointer;
    transition: all .2s;
}
.reviews-dots button.active {
    background: #34a853;
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .reviews-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .reviews-header .section-title {
        font-size: 18px;
    }
    .reviews-arrow {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }
    .reviews-track .review-card {
        padding: 18px;
        min-height: 170px;
    }
    .reviews-track .review-text {
        font-size: 13px;
    }
}

/* ===== Дополнения для мобильной версии остальных блоков ===== */
@media (max-width: 768px) {
    /* Хлебные крошки на мобильном */
    .iw-breadcrumbs,
    .woocommerce-breadcrumb {
        font-size: 12px;
        padding: 8px 0;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    /* SEO-блок: списки на мобильном */
    .iw-seo-intro ul {
        padding-left: 18px !important;
    }
    .iw-seo-intro ul li {
        font-size: 14px;
        line-height: 1.5;
    }
    .iw-seo-intro p {
        font-size: 14px;
    }

    /* FAQ */
    .home-faq h2 {
        font-size: 20px !important;
    }

    /* Шаги «Как заказать» — компактнее на мобильном */
    .how-to-order .step-arrow {
        display: none;
    }
    .how-to-order .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    /* SEO-ссылки в подвале — мельче и в столбик */
    .footer-seo-links {
        font-size: 11px !important;
        line-height: 1.9 !important;
    }

    /* CTA-блок на текстовых страницах */
    .page-cta {
        padding: 18px !important;
    }
    .page-cta h3 {
        font-size: 17px !important;
    }
    .page-cta a {
        padding: 10px 22px !important;
        font-size: 15px;
    }

    /* Доверительные блоки на карточке товара */
    .product-trust {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px;
    }
    .product-trust > div {
        font-size: 12px !important;
        padding: 10px !important;
    }
}

@media (max-width: 480px) {
    .how-to-order .steps-grid {
        grid-template-columns: 1fr;
    }
    .product-trust {
        grid-template-columns: 1fr !important;
    }
}

/* ===== FIX: ограничения ширины для контентной области ===== */
/* Эти правила гарантируют, что ни один блок не вылезает за границы */
.site-main-content {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}
.hero-slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}
.products-section,
.reviews-section,
.how-to-order,
.home-faq,
.iw-seo-intro {
    max-width: 100%;
    box-sizing: border-box;
}
.products-grid {
    max-width: 100%;
}
img {
    max-width: 100%;
    height: auto;
}

/* ===== Мобильное меню (v3 — усиленная версия с !important) ===== */
.mobile-menu-toggle {
    display: none !important;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 26px !important;
    cursor: pointer !important;
    padding: 10px 15px !important;
    line-height: 1 !important;
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: inline-block !important;
    }
    .main-nav .container {
        position: relative !important;
    }
    .main-menu {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #1a73e8 !important;
        flex-direction: column !important;
        padding: 10px 0 !important;
        margin: 0 !important;
        list-style: none !important;
        z-index: 100 !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        width: auto !important;
    }
    .main-menu.active {
        display: flex !important;
    }
    .main-menu > li {
        display: block !important;
        width: 100% !important;
        float: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    .main-menu > li:last-child {
        border-bottom: none !important;
    }
    .main-menu > li > a {
        display: block !important;
        padding: 14px 20px !important;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 15px !important;
    }
    .main-menu > li > a:hover,
    .main-menu > li > a:focus {
        background: rgba(255,255,255,0.1) !important;
    }
    .main-menu .sub-menu {
        display: block !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background: rgba(0,0,0,0.15) !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .main-menu .sub-menu li a {
        display: block !important;
        padding: 10px 20px 10px 35px !important;
        color: rgba(255,255,255,0.85) !important;
        text-decoration: none !important;
        font-size: 14px !important;
    }
    .main-menu .sub-menu li a:hover {
        background: rgba(255,255,255,0.1) !important;
        color: #fff !important;
    }

    /* Сайдбар под контентом на мобилке */
    .site-content {
        display: flex !important;
        flex-direction: column !important;
    }
    .site-sidebar {
        order: 2 !important;
        width: 100% !important;
        margin-top: 20px !important;
    }
    .site-main-content {
        order: 1 !important;
        width: 100% !important;
    }

    /* Шапка компактнее */
    .header-info-block {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    .header-search-box {
        order: 3 !important;
        width: 100% !important;
    }
    .header-phones a {
        font-size: 14px !important;
    }
    .header-hours {
        display: none !important;
    }
    .btn-callback-header {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 600px) {
    .header-top {
        font-size: 12px !important;
    }
    .header-top .container span {
        display: block !important;
        margin: 0 !important;
    }
    .header-main {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .site-logo img {
        max-height: 40px !important;
    }
    .header-social a img {
        width: 28px !important;
        height: 28px !important;
    }
}