/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

@supports (overflow: clip) {
    body {
        overflow: visible !important;
    }
}

html {
    overflow-x: hidden !important;
    overflow-y: auto !important;

    scroll-snap-type: y mandatory !important;
    scroll-behavior: smooth;
}

body .website-wrapper {
    overflow: visible !important;
}

/* Отключаем Scroll Snap у ВСЕХ контейнеров Elementor */
.elementor .e-con {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
}

/* Scroll Snap только у главных экранов */
.elementor .e-con.e-parent.snap-screen {
    min-height: 100vh !important;
    min-height: 100svh !important;

    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
}

@media (min-width: 1025px) {
    .title-size-large {
        --wd-title-sp: 200px !important;       /* Внутренние отступы (высота блока/картинки) */
        --wd-title-font-s: 78px !important;   /* Размер шрифта заголовка */
    }
}

/* Отключаем беграунд на видео */
.wd-el-video :is(iframe, video) {
    background-color: #fff !important;
}
.wd-el-video video {
    background: #fff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Одинаковая высота изображения товара в каталоге */
.product-grid-item .product-element-top {
    height: 300px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-grid-item .product-element-top img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 300px !important;
    object-fit: contain !important;
}

/* Высота изображения на странице товара */
.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
}
@media (max-width: 767px) {
    .single-product .woocommerce-product-gallery__image img {
        height: 350px;
    }
}

/* LUX.COM.KZ · GAGGENAU product descriptions · Woodmart + WooCommerce
   Paste once into Woodmart > Theme Settings > Custom CSS or Appearance > Additional CSS.
   Scoped classes: will not change other WooCommerce product blocks. */
.lux-gg-product {--gg-ink:#272725;--gg-muted:#71716e;--gg-line:#dfdfdb;--gg-paper:#f6f6f4;--gg-accent:#50504e; color:var(--gg-ink);font-family:inherit;line-height:1.7;max-width:1170px;margin:0 auto 40px}
.lux-gg-product *{box-sizing:border-box}
.lux-gg-hero{position:relative;background:var(--gg-paper);border-top:1px solid var(--gg-line);padding:clamp(30px,5.5vw,78px) clamp(24px,5.8vw,82px) 32px;margin:0 0 64px}
.lux-gg-eyebrow,.lux-gg-kicker{display:block;font-size:11px;line-height:1.6;font-weight:600;letter-spacing:.17em;text-transform:uppercase;color:var(--gg-muted)}
.lux-gg-hero__title{font-weight:400!important;font-size:clamp(29px,4.2vw,57px)!important;line-height:1.13!important;letter-spacing:-.035em;margin:17px 0 25px!important;color:var(--gg-ink)!important}
.lux-gg-hero__lead{font-weight:400;font-size:clamp(15px,1.7vw,19px)!important;line-height:1.84!important;max-width:760px;margin:0 0 50px!important;color:#4b4b49!important}
.lux-gg-hero__lead strong{color:#242422;font-weight:650}
.lux-gg-hero__meta{border-top:1px solid var(--gg-line);padding-top:16px;display:flex;justify-content:space-between;gap:20px;color:#777672;font-size:10px;letter-spacing:.2em}
.lux-gg-section-head{margin:0 0 29px}.lux-gg-section-head h2,.lux-gg-details h2{font-size:clamp(24px,3.2vw,37px)!important;line-height:1.24!important;letter-spacing:-.025em;font-weight:400!important;color:var(--gg-ink)!important;margin:10px 0 0!important}
.lux-gg-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:0 0 65px}
.lux-gg-benefit{border:1px solid var(--gg-line);background:#fff;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.lux-gg-benefit__visual{aspect-ratio:1.75;overflow:hidden;background:#eeeeec}
.lux-gg-benefit__visual img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center}
.lux-gg-benefit__content{padding:clamp(22px,2.6vw,39px);flex:1}
.lux-gg-benefit__content h3{font-weight:450!important;font-size:clamp(19px,2.2vw,26px)!important;line-height:1.31!important;color:#272725!important;margin:12px 0 14px!important;letter-spacing:-.018em}
.lux-gg-benefit__content p{font-size:15px!important;line-height:1.8!important;margin:0!important;color:#626260!important}
.lux-gg-benefits--compact{grid-template-columns:1fr 1fr}
.lux-gg-benefits--compact .lux-gg-benefit{grid-column:span 1}
.lux-gg-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:clamp(25px,5vw,85px);border-top:1px solid var(--gg-line);padding-top:38px;margin-bottom:46px}
.lux-gg-details__list{margin:0!important;padding:0!important;list-style:none!important;display:grid;grid-template-columns:1fr;gap:0}
.lux-gg-details__list li{position:relative;list-style:none!important;padding:15px 0 15px 24px!important;border-bottom:1px solid #ebebe8;font-size:15px!important;line-height:1.65;color:#4c4c49}
.lux-gg-details__list li::before{content:'';display:block;position:absolute;top:27px;left:0;width:6px;height:6px;background:#9b9b95}
.lux-gg-footnote{border-top:1px solid var(--gg-line);padding-top:18px;color:var(--gg-muted);font-size:13px!important;line-height:1.6}
.lux-gg-short{margin:0 0 12px;color:#383836}.lux-gg-short p{font-size:15px;line-height:1.7;margin:0 0 12px}.lux-gg-short__facts{display:flex;flex-wrap:wrap;gap:7px!important;padding:0!important;margin:0!important;list-style:none!important}.lux-gg-short__facts li{list-style:none!important;background:#f5f5f3;border:1px solid #e8e8e5;padding:5px 11px!important;font-size:12px;line-height:1.5;color:#5b5b58}
@media(max-width:767px){.lux-gg-hero{padding:30px 23px 22px;margin-bottom:38px}.lux-gg-hero__lead{margin-bottom:28px!important}.lux-gg-benefits,.lux-gg-benefits--compact{grid-template-columns:1fr;gap:16px;margin-bottom:42px}.lux-gg-benefit__content{padding:25px 23px}.lux-gg-details{grid-template-columns:1fr;gap:20px;padding-top:26px}.lux-gg-hero__title{font-size:32px!important}.lux-gg-short__facts{gap:5px!important}}

.open-filters{
	color: #d73200;
}
.woocommerce-ordering wd-style-underline wd-ordering-mb-icon{
	display: none;
}

.wd-timeline-title{
	text-align: left;
}
.wd-timeline-content{
	text-align: left;
}

/* Изображения товаров в сравнении */
.wd-compare-table .compare-basic img {
    display: block;
    width: 100% !important;
    max-width: 220px !important;
    height: 280px !important;
    max-height: none !important;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 20px;
}

@media (max-width: 767px) {
    .wd-compare-table .compare-basic img {
        max-width: 160px !important;
        height: 200px !important;
    }
}

/* Убираем меню аккаунта только в Избранном */
.wd-my-account-sidebar {
    display: none !important;
}

/* Растягиваем список избранного */
.woocommerce-MyAccount-content {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}