/* =============================================
   ПОКРОВСКИЙ КАМЕНЬ — v25 CLEAN
   ============================================= */

:root {
    --pk-dark: #391A0B;
    --pk-gold: #E5BE01;
    --pk-amber: #FBBC34;
    --pk-white: #FFFFFF;
    --pk-font: 'Roboto', sans-serif;
    --pk-heading: 'Roboto Slab', serif;
    --pk-nav-h: 48px;
    --pk-header-h: 70px;
}

html, body { overflow-x: clip !important; }

/* =============================================
   HEADER — белый фон все состояния
   ============================================= */
.whb-header,
.whb-header .whb-main-header,
.whb-header .whb-row,
.whb-header .whb-general-header,
.whb-header .whb-flex-row,
.whb-sticked,
.whb-sticked .whb-main-header,
.whb-sticked .whb-row,
.whb-sticked .whb-general-header,
.whb-sticked .whb-flex-row,
.whb-row.whb-without-bg,
.whb-clone,
.whb-clone .whb-row,
.whb-clone .whb-general-header,
.whb-clone.whb-sticked,
.whb-clone.whb-sticked .whb-row {
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
}
.whb-header { box-shadow: 0 1px 6px rgba(0,0,0,0.08) !important; }
.whb-clone.whb-sticked { box-shadow: 0 1px 6px rgba(0,0,0,0.08) !important; }

/* =============================================
   HERO SLIDER
   ============================================= */
.pk-hero-slider {
    position: relative; width: 100%;
    height: 85vh; min-height: 500px; max-height: 800px;
    overflow: hidden; background: var(--pk-dark);
}
.pk-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1.2s ease;
    background-size: cover; background-position: center;
}
.pk-slide.active { opacity: 1; }
.pk-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(57,26,11,0.35), rgba(57,26,11,0.65));
    z-index: 1;
}
.pk-hero-content {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; text-align: center; width: 90%; max-width: 900px;
}
.pk-hero-content h1 {
    font-family: var(--pk-heading) !important;
    font-size: 50px; font-weight: 700; color: #fff;
    text-transform: uppercase; line-height: 1.2;
    margin-bottom: 30px; text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.pk-hero-btn {
    display: inline-block; padding: 18px 50px;
    background: var(--pk-gold); color: var(--pk-dark);
    font: 700 18px var(--pk-font);
    text-transform: uppercase; letter-spacing: 2px;
    border: none; border-radius: 4px; cursor: pointer;
    text-decoration: none; transition: all 0.3s;
}
.pk-hero-btn:hover {
    background: var(--pk-amber); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229,190,1,0.4);
}
.pk-hero-dots {
    position: absolute; bottom: 25px; left: 50%;
    transform: translateX(-50%); z-index: 3; display: flex; gap: 10px;
}
.pk-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.pk-dot.active { background: var(--pk-gold); }

/* =============================================
   STICKY NAV
   ============================================= */
.pk-sticky-nav {
    position: sticky;
    top: var(--wd-header-general-sticky-h, 70px);
    left: 0; width: 100%; z-index: 100;
    background: var(--pk-dark);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.pk-sticky-nav-inner {
    display: flex; align-items: center;
    max-width: 1200px; margin: 0 auto;
    overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none; scroll-behavior: smooth;
}
.pk-sticky-nav-inner::-webkit-scrollbar { display: none; }
.pk-nav-link {
    display: inline-block; padding: 14px 18px;
    color: rgba(255,255,255,0.7); font: 500 14px var(--pk-font);
    text-decoration: none; white-space: nowrap;
    border-bottom: 3px solid transparent;
}
.pk-nav-link:hover { color: #fff; }
.pk-nav-link.active { color: var(--pk-gold); border-bottom-color: var(--pk-gold); }
.pk-sticky-nav::before, .pk-sticky-nav::after {
    content: ''; position: absolute; top: 0;
    width: 30px; height: 100%; z-index: 2; pointer-events: none;
}
.pk-sticky-nav::before { left: 0; background: linear-gradient(90deg, var(--pk-dark), transparent); }
.pk-sticky-nav::after  { right: 0; background: linear-gradient(270deg, var(--pk-dark), transparent); }

/* Scroll offset */
[id="plitnyak"], [id="but"], [id="valuny"], [id="bruschatka"],
[id="rimskaya"], [id="drakon"], [id="lapsha"], [id="kroshka"],
[id="galka"], [id="raboty"], [id="video"], [id="faq"], [id="kontakty"] {
    scroll-margin-top: calc(var(--pk-header-h) + var(--pk-nav-h) + 10px);
}

/* =============================================
   PRODUCT GRID — DESKTOP 4 колонки
   ============================================= */
.wd-products-element .products.wd-products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
}
.wd-products-element .products.wd-products > .wd-product {
    width: 100% !important; max-width: 100% !important;
    margin: 0 !important; overflow: hidden !important;
}

/* =============================================
   PRODUCT CARDS — DESKTOP равная высота
   ============================================= */
.product-wrapper.custom-wrapper {
    display: flex !important; flex-direction: column !important; height: 100% !important;
}
.product-wrapper.custom-wrapper .custom-content {
    flex: 1 1 auto !important; display: flex !important; flex-direction: column !important;
}
.product-wrapper.custom-wrapper .custom-product-attributes { flex: 1 1 auto !important; }
.product-wrapper.custom-wrapper .custom-action-row {
    margin-top: auto !important; display: flex !important;
    align-items: center !important; justify-content: space-between !important;
    padding-top: 10px !important;
}

/* =============================================
   BUTTONS
   ============================================= */
.custom-action-row .custom-order-btn,
.custom-action-row .custom-buy-btn,
.custom-action-row .button,
.custom-action-row .add_to_cart_button {
    background: var(--pk-gold) !important; color: var(--pk-dark) !important;
    font-weight: 700 !important; border: none !important;
    border-radius: 4px !important; padding: 8px 18px !important;
    font-size: 14px !important; text-transform: uppercase !important;
    cursor: pointer !important; white-space: nowrap !important;
}
.custom-action-row .button:hover { background: var(--pk-amber) !important; }

/* =============================================
   POPUP
   ============================================= */
.pk-popup-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(57,26,11,0.75); z-index: 99999;
    justify-content: center; align-items: center; backdrop-filter: blur(4px);
}
.pk-popup-overlay.active { display: flex; }
.pk-popup {
    background: #fff; border-radius: 12px; padding: 45px 40px;
    max-width: 440px; width: 90%; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    animation: pkPopupIn 0.35s ease;
}
@keyframes pkPopupIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.pk-popup-close { position: absolute; top: 15px; right: 18px; font-size: 28px; color: #999; cursor: pointer; background: none; border: none; }
.pk-popup h3 { font-family: var(--pk-heading); font-size: 24px; font-weight: 700; color: var(--pk-dark); margin-bottom: 8px; text-align: center; }
.pk-popup .pk-popup-desc { font-size: 14px; color: #777; text-align: center; margin-bottom: 25px; }
.pk-popup input[type="text"], .pk-popup input[type="tel"] {
    width: 100%; padding: 14px 16px; margin-bottom: 14px;
    border: 2px solid #E0E0E0; border-radius: 8px; font-size: 16px; box-sizing: border-box;
}
.pk-popup input:focus { border-color: var(--pk-gold); outline: none; }
.pk-submit-btn { width: 100%; padding: 16px; background: var(--pk-gold); color: var(--pk-dark); font: 700 17px var(--pk-font); text-transform: uppercase; border: none; border-radius: 8px; cursor: pointer; }
.pk-submit-btn:hover { background: var(--pk-amber); }
.pk-popup .pk-privacy { font-size: 11px; color: #aaa; text-align: center; margin-top: 12px; }
.pk-popup .pk-success { display: none; text-align: center; padding: 30px 0; }
.pk-popup .pk-success h4 { font-family: var(--pk-heading); color: var(--pk-dark); font-size: 22px; margin-bottom: 10px; }

/* =============================================
   INFOBOXES + HIDE SECTIONS
   ============================================= */
.pk-clickable-infobox { cursor: pointer !important; transition: transform 0.25s, box-shadow 0.25s; }
.pk-clickable-infobox:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
body.pk-slider-injected .pk-hide-original { display: none !important; }

/* =============================================
   TABLET (1024px)
   ============================================= */
@media (max-width: 1024px) {
    .pk-hero-slider { height: 70vh; min-height: 400px; }
    .pk-hero-content h1 { font-size: 36px; }
    .wd-products-element .products.wd-products { grid-template-columns: repeat(3, 1fr) !important; }
}

/* =============================================
   MOBILE (768px)
   ============================================= */
@media (max-width: 768px) {
    /* Хедер на мобилке — скрываем верхний, навбар поднимается */
    .pk-sticky-nav {
        top: var(--wd-header-general-sm-h, 60px) !important;
    }

    /* Слайдер */
    .pk-hero-slider { height: 60vh; min-height: 350px; }
    .pk-hero-content h1 { font-size: 24px; letter-spacing: 0; line-height: 1.3; }
    .pk-hero-btn { padding: 14px 30px; font-size: 14px; letter-spacing: 1px; }
    .pk-nav-link { padding: 12px 14px; font-size: 13px; }

    /* Секция "Укажите цель" — компактно */
    [data-id="8001c5b"] {
        padding-top: 10px !important; padding-bottom: 10px !important;
        gap: 5px !important; margin-bottom: 0 !important;
    }
    [data-id="8001c5b"] .woodmart-title-container,
    [data-id="8001c5b"] .title,
    [data-id="8001c5b"] .wd-fontsize-l {
        font-size: 16px !important; line-height: 1.2 !important;
        margin: 0 !important; padding: 0 !important;
    }
    [data-id="8001c5b"] .title-wrapper { margin: 0 0 5px 0 !important; padding: 0 10px !important; }
    [data-id="8001c5b"] .elementor-widget { margin-bottom: 0 !important; }

    /* Карусель инфобоксов */
    .pk-carousel-wrap {
        display: flex !important; flex-wrap: nowrap !important;
        overflow-x: auto !important; overflow-y: hidden !important;
        scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        gap: 12px !important; padding: 5px 15px !important; margin: 0 !important;
        scrollbar-width: none;
    }
    .pk-carousel-wrap::-webkit-scrollbar { display: none; }
    .pk-carousel-wrap > .elementor-element {
        flex: 0 0 130px !important; min-width: 130px !important; max-width: 130px !important;
        scroll-snap-align: center;
    }
    .pk-carousel-wrap .info-box-title { font-size: 12px !important; line-height: 1.3 !important; }

    /* =============================================
       ТОВАРНАЯ СЕТКА — 1 КОЛОНКА
       ============================================= */
    .wd-products-element .products.wd-products,
    .wd-products-element .products.wd-products.wd-grid-g,
    .products.wd-products.grid-columns-4,
    .products.wd-products.grid-columns-3 {
        --wd-col-sm: 1 !important;
        --wd-col-md: 1 !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* =============================================
       КАРТОЧКА ТОВАРА — фото слева, инфо справа
       ============================================= */
    .wd-product .product-wrapper.custom-wrapper {
        display: grid !important;
        grid-template-columns: 35% 1fr !important;
        grid-template-rows: 1fr auto !important;
        flex-direction: unset !important;
        height: auto !important;
        gap: 0 !important;
    }
    .wd-product .product-wrapper.custom-wrapper > .custom-product-image {
        grid-row: 1 / 3 !important;
        grid-column: 1 / 2 !important;
        flex: unset !important;
    }
    .wd-product .product-wrapper.custom-wrapper .custom-product-image img {
        width: 100% !important; height: 100% !important;
        object-fit: cover !important; display: block !important;
    }
    .wd-product .product-wrapper.custom-wrapper > .custom-content {
        grid-row: 1 / 2 !important;
        grid-column: 2 / 3 !important;
        flex: unset !important;
        padding: 8px 10px 4px !important;
        overflow: hidden !important;
    }
    .wd-product .product-wrapper.custom-wrapper > .custom-action-row {
        grid-row: 2 / 3 !important;
        grid-column: 2 / 3 !important;
        margin-top: 0 !important;
        padding: 0 10px 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        align-self: end !important;
    }
    .wd-product .custom-title a { font-size: 13px !important; font-weight: 700 !important; line-height: 1.2 !important; }
    .wd-product .custom-attr-row { padding: 1px 0 !important; }
    .wd-product .custom-attr-row .attr-name,
    .wd-product .custom-attr-row .attr-value { font-size: 11px !important; }
    .custom-attr-row { display: flex !important; overflow: hidden !important; white-space: nowrap !important; }
    .custom-attr-row .attr-name { flex-shrink: 0; max-width: 45%; overflow: hidden; text-overflow: ellipsis; }
    .custom-attr-row .attr-dots { flex: 1 1 0; min-width: 5px; overflow: hidden; }
    .custom-attr-row .attr-value { flex-shrink: 0; max-width: 50%; overflow: hidden; text-overflow: ellipsis; text-align: right; }

    .custom-action-row .custom-order-btn,
    .custom-action-row .custom-buy-btn,
    .custom-action-row .button { padding: 6px 14px !important; font-size: 12px !important; }

    /* Заголовки */
    .elementor h1, .elementor h2 { font-size: 24px !important; line-height: 1.3 !important; }
    .elementor h3 { font-size: 20px !important; }
    .pk-popup { padding: 30px 20px; }
}

/* =============================================
   SMALL MOBILE (480px)
   ============================================= */
@media (max-width: 480px) {
    .pk-hero-slider { height: 55vh; min-height: 280px; }
    .pk-hero-content h1 { font-size: 20px; margin-bottom: 20px; }
    .pk-hero-btn { padding: 12px 22px; font-size: 13px; }
    .pk-dot { width: 10px; height: 10px; }
    .pk-nav-link { padding: 10px 12px; font-size: 12px; }
    .wd-product .custom-attr-row .attr-name,
    .wd-product .custom-attr-row .attr-value { font-size: 10px !important; }
    .wd-product .custom-title a { font-size: 12px !important; }
}


/* =============================================
   INNER PAGES — Доставка, Работы, Контакты
   ============================================= */

/* --- Page Title Bar --- */
.wd-page-title {
    background: var(--pk-dark) !important;
    padding: 50px 0 40px !important;
    position: relative;
}
.wd-page-title .wd-page-title-bg {
    opacity: 0.15 !important;
}
.wd-page-title .entry-title.title {
    font-family: var(--pk-heading) !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
}
.wd-page-title .wd-breadcrumbs {
    color: rgba(255,255,255,0.6) !important;
    font-size: 14px !important;
}
.wd-page-title .wd-breadcrumbs a {
    color: var(--pk-gold) !important;
    text-decoration: none !important;
}
.wd-page-title .wd-breadcrumbs a:hover {
    color: var(--pk-amber) !important;
}
.wd-page-title .wd-breadcrumbs .wd-delimiter::before {
    color: rgba(255,255,255,0.4) !important;
}

/* --- Content Area --- */
article.entry-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    font-family: var(--pk-font);
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* Lead paragraph */
article.entry-content .pk-lead,
article.entry-content > p:first-of-type {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Headings */
article.entry-content h1 {
    font-family: var(--pk-heading) !important;
    font-size: 34px;
    font-weight: 700;
    color: var(--pk-dark);
    margin: 0 0 20px;
    line-height: 1.3;
}
article.entry-content h2 {
    font-family: var(--pk-heading) !important;
    font-size: 26px;
    font-weight: 700;
    color: var(--pk-dark);
    margin: 45px 0 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--pk-gold);
    line-height: 1.3;
}
article.entry-content h3 {
    font-family: var(--pk-heading) !important;
    font-size: 20px;
    font-weight: 600;
    color: var(--pk-dark);
    margin: 25px 0 12px;
}

/* Tables */
article.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(57,26,11,0.08);
}
article.entry-content thead th {
    background: var(--pk-dark);
    color: #fff;
    font-family: var(--pk-font);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    text-align: left;
}
article.entry-content tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid #f0ebe8;
    font-size: 15px;
    color: #444;
}
article.entry-content tbody tr:last-child td {
    border-bottom: none;
}
article.entry-content tbody tr:hover {
    background: #fdf8f0;
}
article.entry-content tbody td strong {
    color: var(--pk-dark);
}

/* Lists */
article.entry-content ul {
    margin: 12px 0 25px;
    padding: 0;
    list-style: none;
}
article.entry-content ul li {
    position: relative;
    padding: 6px 0 6px 24px;
    line-height: 1.6;
}
article.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--pk-gold);
    border-radius: 2px;
    transform: rotate(45deg);
}

/* Links */
article.entry-content a {
    color: var(--pk-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--pk-gold);
    transition: all 0.2s;
}
article.entry-content a:hover {
    color: var(--pk-gold);
    border-bottom-color: var(--pk-amber);
}

/* Blockquotes (reviews) */
article.entry-content blockquote {
    background: linear-gradient(135deg, #fdf8f0, #fff);
    border-left: 4px solid var(--pk-gold);
    border-radius: 0 8px 8px 0;
    padding: 20px 25px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
    box-shadow: 0 2px 8px rgba(57,26,11,0.06);
}
article.entry-content blockquote p:last-child {
    font-style: normal;
    font-weight: 700;
    color: var(--pk-dark);
    margin-top: 10px;
    font-size: 14px;
}

/* Bold text */
article.entry-content strong {
    color: #222;
}

/* FAQ inline */
article.entry-content > p > strong:first-child {
    display: block;
    color: var(--pk-dark);
    font-size: 17px;
    margin-top: 15px;
}

/* --- Inner pages mobile --- */
@media (max-width: 768px) {
    .wd-page-title {
        padding: 30px 0 25px !important;
    }
    .wd-page-title .entry-title.title {
        font-size: 24px !important;
        letter-spacing: 0 !important;
    }
    article.entry-content {
        padding: 25px 15px 40px;
        font-size: 15px;
    }
    article.entry-content h1 { font-size: 26px; }
    article.entry-content h2 { font-size: 22px; margin-top: 35px; }
    article.entry-content h3 { font-size: 18px; }
    article.entry-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    article.entry-content thead th {
        padding: 10px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    article.entry-content tbody td {
        padding: 10px 12px;
        font-size: 14px;
        white-space: nowrap;
    }
    article.entry-content blockquote {
        padding: 15px 18px;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .wd-page-title .entry-title.title {
        font-size: 20px !important;
    }
    article.entry-content h1 { font-size: 22px; }
    article.entry-content h2 { font-size: 19px; }
}

/* =============================================
   GALLERY CAROUSEL
   ============================================= */
.pk-gallery-carousel {
    position: relative;
    overflow: hidden;
    margin: 20px 0 30px;
    border-radius: 8px;
}
.pk-gal-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 12px;
}
.pk-gal-slide {
    flex: 0 0 calc(25% - 9px);
    min-width: calc(25% - 9px);
    border-radius: 8px;
    overflow: hidden;
    background: #f0ebe8;
}
.pk-gal-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.pk-gal-slide img:hover {
    transform: scale(1.05);
}
.pk-gal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(57, 26, 11, 0.8);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pk-gal-arrow:hover {
    background: var(--pk-gold);
    color: var(--pk-dark);
}
.pk-gal-prev { left: 8px; }
.pk-gal-next { right: 8px; }
.pk-gal-counter {
    position: absolute;
    bottom: 8px;
    right: 12px;
    background: rgba(57, 26, 11, 0.75);
    color: #fff;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 12px;
    z-index: 3;
}

/* Lightbox */
.pk-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
}
.pk-lightbox.active { display: flex; }
.pk-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(6px);
}
.pk-lb-img {
    position: relative;
    z-index: 2;
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: pkLbIn 0.3s ease;
}
@keyframes pkLbIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
.pk-lb-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pk-lb-close:hover { color: var(--pk-gold); }

/* Responsive gallery */
@media (max-width: 1024px) {
    .pk-gal-slide { flex: 0 0 calc(33.333% - 8px); min-width: calc(33.333% - 8px); }
    .pk-gal-slide img { height: 200px; }
}
@media (max-width: 768px) {
    .pk-gal-slide { flex: 0 0 calc(50% - 6px); min-width: calc(50% - 6px); }
    .pk-gal-slide img { height: 170px; }
    .pk-gal-arrow { width: 34px; height: 34px; font-size: 15px; }
}
@media (max-width: 480px) {
    .pk-gal-slide { flex: 0 0 100%; min-width: 100%; }
    .pk-gal-slide img { height: 220px; }
}

/* =============================================
   CONTACTS MAP SECTION — two columns
   ============================================= */
.pk-contacts-map-section {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 30px;
    margin: 30px 0 40px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(57, 26, 11, 0.08);
    border: 1px solid #f0ebe8;
}
.pk-contacts-info {
    padding: 30px 25px;
}
.pk-contacts-info h2 {
    font-size: 18px !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}
.pk-contacts-info h2:first-child {
    margin-top: 0 !important;
}
.pk-contacts-info p,
.pk-contacts-info li {
    font-size: 15px;
    line-height: 1.5;
}
.pk-contacts-info ul {
    margin: 5px 0 10px !important;
}
.pk-contacts-map {
    min-height: 450px;
    position: relative;
}
.pk-contacts-map iframe,
.pk-contacts-map > ymaps,
.pk-contacts-map > div {
    width: 100% !important;
    height: 100% !important;
    min-height: 450px;
    border: none;
}

@media (max-width: 768px) {
    .pk-contacts-map-section {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .pk-contacts-info {
        padding: 20px 15px;
    }
    .pk-contacts-map {
        min-height: 350px;
    }
    .pk-contacts-map iframe,
    .pk-contacts-map > ymaps,
    .pk-contacts-map > div {
        min-height: 350px;
    }
}

/* Map section — break out of narrow article */
article.entry-content .pk-contacts-map-section {
    max-width: none;
    width: calc(100% + 100px);
    margin-left: -50px;
    margin-right: -50px;
}
@media (max-width: 768px) {
    article.entry-content .pk-contacts-map-section {
        width: calc(100% + 30px);
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }
}

/* =============================================
   MOBILE — compact catalog section only
   ============================================= */
@media (max-width: 768px) {
    /* "КАТАЛОГ НАТУРАЛЬНОГО КАМНЯ" — title block */
    [data-id="4746b26"] {
        padding: 15px 15px 10px !important;
    }
    [data-id="4746b26"] .title-subtitle {
        font-size: 11px !important;
        margin-bottom: 2px !important;
    }
    [data-id="4746b26"] h2.woodmart-title-container {
        font-size: 18px !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
    }
    [data-id="4746b26"] .title-after_title {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
    [data-id="4746b26"] .title-after_title p { margin: 0 !important; }
    [data-id="4746b26"] .title-wrapper { padding: 0 !important; margin: 0 !important; }

    /* Category icon-box headers (Плитняк, Бут...) — chevron + title + description */
    [data-id="a54b5a7"], [data-id="9de2660"], [data-id="03fc54d"],
    [data-id="e2e32d1"], [data-id="48560ae"], [data-id="dce29e5"],
    [data-id="1debb9e"] {
        padding: 10px 15px !important;
    }
    [data-id="a54b5a7"] .elementor-icon-box-title,
    [data-id="9de2660"] .elementor-icon-box-title,
    [data-id="03fc54d"] .elementor-icon-box-title,
    [data-id="e2e32d1"] .elementor-icon-box-title,
    [data-id="48560ae"] .elementor-icon-box-title,
    [data-id="dce29e5"] .elementor-icon-box-title,
    [data-id="1debb9e"] .elementor-icon-box-title {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }
    [data-id="a54b5a7"] .elementor-icon-box-description,
    [data-id="9de2660"] .elementor-icon-box-description,
    [data-id="03fc54d"] .elementor-icon-box-description,
    [data-id="e2e32d1"] .elementor-icon-box-description,
    [data-id="48560ae"] .elementor-icon-box-description,
    [data-id="dce29e5"] .elementor-icon-box-description,
    [data-id="1debb9e"] .elementor-icon-box-description {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    /* Product grid sections — less vertical space */
    [data-id="454a8b0"], [data-id="80ca8d6"], [data-id="fcd6f8d"],
    [data-id="c79a3ab"], [data-id="48c7db0"], [data-id="726c28c"],
    [data-id="f630a98"], [data-id="98e51dd"], [data-id="305fcf8"] {
        padding: 5px 10px !important;
    }
}
