/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: May 20 2026 | 12:24:16 */
/* =========================================================
   GranoFactura — карточки товаров на главной как в каталоге
   ФИНАЛЬНЫЙ CSS НА ЗАМЕНУ
   Вставлять БЕЗ <style> и БЕЗ </style>

   Важно:
   - PHP v6.3 корзины НЕ трогать
   - PHP "GF — названия карточек по рядам v5" ВКЛЮЧИТЬ
   - отключить "Компенсация короткого названия на главной"
   - отключить старые TITLE FIX / HARD FIX / FINAL TITLE FIX
   ========================================================= */


/* =========================================================
   1. Сетка и карточка
   ========================================================= */

html body.gf-home-catalog-page .wd-products,
html body.gf-home-catalog-page .products {
    overflow: visible !important;
    align-items: stretch !important;
}

html body.gf-home-catalog-page .wd-products .wd-carousel,
html body.gf-home-catalog-page .wd-products .wd-carousel-wrap,
html body.gf-home-catalog-page .wd-products .wd-carousel-container,
html body.gf-home-catalog-page .wd-products .swiper-wrapper {
    align-items: stretch !important;
}

html body.gf-home-catalog-page .wd-products .wd-carousel-item,
html body.gf-home-catalog-page .wd-products .swiper-slide {
    display: flex !important;
    align-items: stretch !important;
    height: auto !important;
}

html body.gf-home-catalog-page .wd-products .wd-carousel-item > .wd-product,
html body.gf-home-catalog-page .wd-products .swiper-slide > .wd-product {
    width: 100% !important;
    height: auto !important;
}

html body.gf-home-catalog-page .wd-products .wd-product {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    z-index: 1 !important;

    padding: 0 !important;
    margin: 0 !important;

    transform: none !important;
    transition: none !important;
}

html body.gf-home-catalog-page .wd-products .wd-product:hover,
html body.gf-home-catalog-page .wd-products .wd-product.gf5-pomol-card-open,
html body.gf-home-catalog-page .wd-products .wd-product.gf7-pomol-card-open {
    z-index: 999 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .product-wrapper,
html body.gf-home-catalog-page .wd-products .wd-product .wd-product-wrapper {
    height: 100% !important;
    min-height: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    position: relative !important;

    padding: 0 !important;
    margin: 0 !important;

    background: #ffffff !important;
    border: 1px solid #ebe2d6 !important;
    border-radius: 12px !important;
    box-shadow: none !important;

    overflow: visible !important;
    transform: none !important;

    transition: box-shadow 0.22s ease, border-color 0.22s ease !important;
}

html body.gf-home-catalog-page .wd-products .wd-product:hover .product-wrapper,
html body.gf-home-catalog-page .wd-products .wd-product:hover .wd-product-wrapper {
    background: #ffffff !important;
    border-color: #ded2c4 !important;
    box-shadow: 0 14px 20px rgba(44, 36, 26, 0.10) !important;
    transform: none !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .content-product-imagin,
html body.gf-home-catalog-page .wd-products .wd-product:hover .content-product-imagin {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}


/* =========================================================
   2. Фото товара
   ========================================================= */

html body.gf-home-catalog-page .wd-products .wd-product .product-element-top {
    flex: 0 0 auto !important;

    background: #ffffff !important;
    background-color: #ffffff !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 12px 12px 0 0 !important;
    overflow: hidden !important;

    aspect-ratio: 1 / 0.75 !important;

    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;

    position: relative !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .product-element-top .product-image-link,
html body.gf-home-catalog-page .wd-products .wd-product .product-element-top .wd-product-img-link {
    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;

    padding-top: 12px !important;
    padding-right: 10px !important;
    padding-bottom: 0 !important;
    padding-left: 10px !important;

    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;

    background: #ffffff !important;
    background-color: #ffffff !important;

    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .product-element-top img,
html body.gf-home-catalog-page .wd-products .wd-product .product-image-link img,
html body.gf-home-catalog-page .wd-products .wd-product .wd-product-img-link img {
    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center bottom !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    transition: none !important;
}


/* =========================================================
   3. Плашки скидки и рейтинг сверху фото
   ========================================================= */

html body.gf-home-catalog-page .wd-products .wd-product .product-element-top .product-labels {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 80 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 7px !important;

    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;

    max-width: calc(100% - 28px) !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .product-element-top .product-label {
    position: static !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 26px !important;
    min-width: 52px !important;

    padding: 4px 11px !important;
    margin: 0 !important;

    border-radius: 999px !important;
    background: #25563f !important;
    color: #ffffff !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    text-transform: lowercase !important;

    box-shadow: 0 6px 14px rgba(37, 86, 63, 0.18) !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-top-bar,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-top-bar {
    display: flex !important;

    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 90 !important;

    align-items: center !important;
    justify-content: flex-end !important;
    gap: 7px !important;

    width: auto !important;
    max-width: calc(100% - 90px) !important;
    min-height: 0 !important;

    padding: 0 !important;
    margin: 0 !important;

    pointer-events: none !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-rating,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-rating {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;

    min-height: 26px !important;
    padding: 4px 9px !important;

    background: rgba(255, 253, 248, 0.94) !important;
    border: 1px solid rgba(232, 222, 208, 0.95) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(48, 38, 26, 0.08) !important;
    backdrop-filter: blur(6px) !important;

    color: #6b6159 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-star,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-star {
    font-size: 14px !important;
    line-height: 1 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-star.on,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-star.on {
    color: #f5a623 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-star.off,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-star.off {
    color: #b9b1a7 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-avg,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-avg,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-rcount,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-rcount,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-chat,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-chat {
    font-size: 12px !important;
    line-height: 1 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .product-element-top .wd-buttons {
    display: none !important;
}


/* =========================================================
   4. Нижняя часть карточки
   ========================================================= */

html body.gf-home-catalog-page .wd-products .wd-product .product-wrapper .product-element-bottom,
html body.gf-home-catalog-page .wd-products .wd-product .wd-product-wrapper .product-element-bottom,
html body.gf-home-catalog-page .wd-products .wd-product .product-element-bottom {
    flex: 1 1 auto !important;

    display: flex !important;
    flex-direction: column !important;

    padding-top: 2px !important;
    padding-right: 24px !important;
    padding-bottom: 24px !important;
    padding-left: 24px !important;

    margin: 0 !important;
    transform: none !important;

    background: #ffffff !important;
    border-radius: 0 0 12px 12px !important;
    overflow: visible !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .wd-product-cats,
html body.gf-home-catalog-page .wd-products .wd-product .product-cats,
html body.gf-home-catalog-page .wd-products .wd-product .wd-product-stock,
html body.gf-home-catalog-page .wd-products .wd-product p.stock,
html body.gf-home-catalog-page .wd-products .wd-product .star-rating,
html body.gf-home-catalog-page .wd-products .wd-product .wd-star-rating {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}


/* =========================================================
   5. Название товара
   ========================================================= */

html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-element-bottom h3.wd-entities-title,
html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-element-bottom h3.wd-entities-title.gf-catalog-short-title-final,
html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-element-bottom .wd-entities-title,
html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-element-bottom .wd-entities-title.gf-catalog-short-title-final,
html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-title {
    font-family: "Playfair Display", Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 21.6px !important;
    color: #1e1810 !important;

    margin: 0 0 6px 0 !important;
    padding: 0 !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: 43.2px !important;

    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Ряд где все названия в 1 строку */
html body.gf-home-catalog-page .wd-products .wd-product.gf-title-row-one-line .product-element-bottom h3.wd-entities-title,
html body.gf-home-catalog-page .wd-products .wd-product.gf-title-row-one-line .product-element-bottom h3.wd-entities-title.gf-catalog-short-title-final,
html body.gf-home-catalog-page .wd-products .wd-product.gf-title-row-one-line .product-element-bottom .wd-entities-title,
html body.gf-home-catalog-page .wd-products .wd-product.gf-title-row-one-line .product-title {
    height: 21.6px !important;
    min-height: 21.6px !important;
    max-height: 21.6px !important;
    -webkit-line-clamp: 1 !important;
}

/* Ряд где есть хотя бы одно название в 2 строки */
html body.gf-home-catalog-page .wd-products .wd-product.gf-title-row-two-lines .product-element-bottom h3.wd-entities-title,
html body.gf-home-catalog-page .wd-products .wd-product.gf-title-row-two-lines .product-element-bottom h3.wd-entities-title.gf-catalog-short-title-final,
html body.gf-home-catalog-page .wd-products .wd-product.gf-title-row-two-lines .product-element-bottom .wd-entities-title,
html body.gf-home-catalog-page .wd-products .wd-product.gf-title-row-two-lines .product-title {
    height: 43.2px !important;
    min-height: 43.2px !important;
    max-height: 43.2px !important;
    -webkit-line-clamp: 2 !important;
}

html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-element-bottom h3.wd-entities-title > a,
html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-element-bottom h3.wd-entities-title.gf-catalog-short-title-final > a,
html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-element-bottom .wd-entities-title > a,
html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-element-bottom .wd-entities-title.gf-catalog-short-title-final > a,
html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-title > a {
    font-family: "Playfair Display", Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 21.6px !important;
    color: #1e1810 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;

    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}


/* =========================================================
   6. Сброс старой компенсации названия
   ========================================================= */

html body.gf-home-catalog-page .wd-products .wd-product .product-element-bottom .gf5-body,
html body.gf-home-catalog-page .wd-products .wd-product .product-element-bottom .gf7-body,
html body.gf-home-catalog-page .wd-products .wd-product .product-element-bottom .gf5-taste,
html body.gf-home-catalog-page .wd-products .wd-product .product-element-bottom .gf7-taste {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* =========================================================
   7. Шкалы вкуса и описание
   ========================================================= */

html body.gf-home-catalog-page .wd-products .wd-product .gf5-taste,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-taste {
    min-height: 78px !important;
    margin-bottom: 10px !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-taste-row,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-taste-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 5px !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-taste-row:last-child,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-taste-row:last-child {
    margin-bottom: 0 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-taste-lbl,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-taste-lbl {
    width: 100px !important;
    min-width: 100px !important;

    font-size: 13px !important;
    color: #5f584f !important;
    line-height: 1.2 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-taste-bars,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-taste-bars {
    display: flex !important;
    gap: 4px !important;
    flex: 1 1 auto !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-bar,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-bar {
    display: block !important;
    height: 5px !important;
    flex: 1 1 0 !important;

    border-radius: 999px !important;
    background: #ddd6ca !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-bar.on,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-bar.on {
    background: #25563f !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf5-desc,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;

    min-height: 58.5px !important;
    max-height: 58.5px !important;

    margin: 0 0 10px !important;

    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #5a5048 !important;
}


/* =========================================================
   8. Цена
   ========================================================= */

html body.gf-home-catalog-page .wd-products .wd-product .wrap-price {
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    gap: 0 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .price {
    display: block !important;

    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding: 0 !important;

    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #b21f24 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .price del {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #9c948c !important;
    opacity: 0.8 !important;
    margin-right: 4px !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .price ins {
    color: #b21f24 !important;
    text-decoration: none !important;
}


/* =========================================================
   9. Вес 250 / 500 / 1000
   ========================================================= */

html body.gf-home-catalog-page .wd-products .wd-product .wd-swatches-grid,
html body.gf-home-catalog-page .wd-products .wd-product .swatches-on-grid,
html body.gf-home-catalog-page .wd-products .wd-product .gf-pack-before-pomol {
    width: 100% !important;

    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: space-between !important;

    gap: 10px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;

    text-align: center !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .wd-swatches-grid > .wd-swatch,
html body.gf-home-catalog-page .wd-products .wd-product .swatches-on-grid > .wd-swatch {
    flex: 1 1 0 !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    min-height: 36px !important;
    height: 36px !important;

    border-radius: 8px !important;
    border: 1.5px solid #d8cfc5 !important;
    background: #ffffff !important;
    color: #2b241d !important;

    padding: 0 !important;
    margin: 0 !important;

    outline: none !important;
    box-shadow: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .wd-swatch .wd-swatch-text {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    text-decoration: none !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .wd-swatches-grid > .wd-swatch.selected,
html body.gf-home-catalog-page .wd-products .wd-product .wd-swatches-grid > .wd-swatch.gf5-selected,
html body.gf-home-catalog-page .wd-products .wd-product .wd-swatches-grid > .wd-swatch.wd-active,
html body.gf-home-catalog-page .wd-products .wd-product .swatches-on-grid > .wd-swatch.selected,
html body.gf-home-catalog-page .wd-products .wd-product .swatches-on-grid > .wd-swatch.gf5-selected,
html body.gf-home-catalog-page .wd-products .wd-product .swatches-on-grid > .wd-swatch.wd-active,
html body.gf-home-catalog-page .wd-products .wd-product .wd-swatches-grid > .wd-swatch:hover,
html body.gf-home-catalog-page .wd-products .wd-product .swatches-on-grid > .wd-swatch:hover {
    background: #ffffff !important;
    border-color: #25563f !important;
    color: #25563f !important;
    box-shadow: none !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .wd-swatches-grid .wd-swatch::before,
html body.gf-home-catalog-page .wd-products .wd-product .wd-swatches-grid .wd-swatch::after,
html body.gf-home-catalog-page .wd-products .wd-product .swatches-on-grid .wd-swatch::before,
html body.gf-home-catalog-page .wd-products .wd-product .swatches-on-grid .wd-swatch::after,
html body.gf-home-catalog-page .wd-products .wd-product .wd-swatch-text::before,
html body.gf-home-catalog-page .wd-products .wd-product .wd-swatch-text::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   10. Помол
   ========================================================= */

html body.gf-home-catalog-page .wd-products .wd-product .gf7-pomol,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-pomol {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;

    width: 100% !important;

    margin: 0 0 12px 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    text-transform: none !important;

    position: relative !important;
    z-index: 50 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf7-pomol.gf7-pomol-open,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-pomol.gf5-pomol-open {
    z-index: 99999 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf7-pomol-label,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-pomol-label {
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: auto !important;

    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: #5f584f !important;

    white-space: nowrap !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf7-pomol-control,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-pomol-control {
    flex: 1 1 auto !important;

    width: auto !important;
    min-width: 0 !important;
    height: 38px !important;

    position: relative !important;
    overflow: visible !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf7-pomol-current,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-pomol-current {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    height: 38px !important;
    min-height: 38px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    padding: 0 36px 0 14px !important;
    margin: 0 !important;

    background: #ffffff !important;
    border: 1.5px solid #d8cfc5 !important;
    border-radius: 8px !important;
    box-shadow: none !important;

    color: #2b241d !important;

    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;

    cursor: pointer !important;
    text-align: left !important;
    text-transform: lowercase !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf7-pomol-current-text,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-pomol-current-text {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    text-align: left !important;

    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    text-transform: lowercase !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf7-pomol-arrow,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-pomol-arrow {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;

    width: 8px !important;
    height: 8px !important;

    font-size: 0 !important;
    line-height: 0 !important;

    transform: translateY(-60%) rotate(45deg) !important;

    border-right: 1.5px solid #2b241d !important;
    border-bottom: 1.5px solid #2b241d !important;

    opacity: 0.7 !important;
    pointer-events: none !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf7-pomol-dropdown,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-pomol-dropdown {
    display: none !important;

    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 6px) !important;
    z-index: 999999 !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;

    background: #ffffff !important;
    border: 1.5px solid #d8cfc5 !important;
    border-radius: 10px !important;
    box-shadow: 0 14px 34px rgba(34, 29, 22, 0.14) !important;

    max-height: 310px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf7-pomol.gf7-pomol-open .gf7-pomol-dropdown,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-pomol.gf5-pomol-open .gf5-pomol-dropdown {
    display: block !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf7-pomol-option,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-pomol-option {
    display: block !important;

    width: 100% !important;
    min-height: 38px !important;

    padding: 9px 12px !important;

    background: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid #eee5d9 !important;

    color: #2b241d !important;

    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;

    text-align: left !important;
    cursor: pointer !important;
    text-transform: lowercase !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .gf7-pomol-option:hover,
html body.gf-home-catalog-page .wd-products .wd-product .gf7-pomol-option.gf7-pomol-option-selected,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-pomol-option:hover,
html body.gf-home-catalog-page .wd-products .wd-product .gf5-pomol-option.gf5-pomol-option-selected {
    background: #f5f0ea !important;
    color: #25563f !important;
}


/* =========================================================
   11. Кнопка В корзину + иконки
   ========================================================= */

html body.gf-home-catalog-page .wd-products .wd-product .wd-add-btn {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;

    width: 100% !important;

    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .wd-add-btn > a.product_type_variable,
html body.gf-home-catalog-page .wd-products .wd-product .wd-add-btn > a.add_to_cart_button,
html body.gf-home-catalog-page .wd-products .wd-product .wd-add-btn > a.button {
    display: none !important;
}

html body.gf-home-catalog-page .gf-home-add-to-cart {
    flex: 1 1 auto !important;

    width: 100% !important;
    min-width: 0 !important;

    min-height: 42px !important;
    height: 42px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    border: none !important;
    border-radius: 9px !important;
    background: #25563f !important;
    color: #ffffff !important;

    font-family: "Playfair Display", Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-transform: none !important;

    cursor: pointer !important;
    box-shadow: none !important;

    padding: 0 16px !important;
}

html body.gf-home-catalog-page .gf-home-add-to-cart::before {
    content: "";
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    display: inline-block;
    background-color: currentColor;
    transform: translateY(1px);

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM6.2 5l.4 2H21l-2 8H8.1L6 3H2v2h4.2Zm2.3 8h8.9l1-4H7.7l.8 4Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM6.2 5l.4 2H21l-2 8H8.1L6 3H2v2h4.2Zm2.3 8h8.9l1-4H7.7l.8 4Z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

html body.gf-home-catalog-page .gf-home-add-to-cart:hover {
    background: #1b4430 !important;
    box-shadow: 0 8px 18px rgba(37, 86, 63, 0.18) !important;
}

html body.gf-home-catalog-page .gf-home-add-to-cart.gf-loading {
    opacity: .75 !important;
    pointer-events: none !important;
}

html body.gf-home-catalog-page .gf-home-add-to-cart.gf-added {
    background: #1b4430 !important;
}

html body.gf-home-catalog-page .gf-home-add-to-cart.gf-added::before {
    display: none !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .wd-compare-btn,
html body.gf-home-catalog-page .wd-products .wd-product .wd-wishlist-btn {
    flex: 0 0 34px !important;

    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;

    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #6b6159 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .wd-compare-btn a,
html body.gf-home-catalog-page .wd-products .wd-product .wd-wishlist-btn a {
    width: 34px !important;
    min-width: 34px !important;
    height: 42px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #6b6159 !important;
    font-size: 0 !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .wd-compare-btn:hover,
html body.gf-home-catalog-page .wd-products .wd-product .wd-wishlist-btn:hover,
html body.gf-home-catalog-page .wd-products .wd-product .wd-compare-btn a:hover,
html body.gf-home-catalog-page .wd-products .wd-product .wd-wishlist-btn a:hover {
    color: #25563f !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .wd-compare-btn .wd-action-text,
html body.gf-home-catalog-page .wd-products .wd-product .wd-wishlist-btn .wd-action-text {
    display: none !important;
}


/* =========================================================
   12. Адаптив
   ========================================================= */

@media (max-width: 767px) {
    html body.gf-home-catalog-page .wd-products .wd-product .product-element-top {
        aspect-ratio: 1 / 0.82 !important;
    }

    html body.gf-home-catalog-page .wd-products .wd-product .product-wrapper .product-element-bottom,
    html body.gf-home-catalog-page .wd-products .wd-product .wd-product-wrapper .product-element-bottom,
    html body.gf-home-catalog-page .wd-products .wd-product .product-element-bottom {
        padding-top: 0 !important;
        padding-right: 14px !important;
        padding-bottom: 18px !important;
        padding-left: 14px !important;
    }

    html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-element-bottom h3.wd-entities-title,
    html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-element-bottom h3.wd-entities-title.gf-catalog-short-title-final,
    html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-element-bottom .wd-entities-title,
    html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-element-bottom .wd-entities-title.gf-catalog-short-title-final,
    html body.gf-home-catalog-page.gf-home-catalog-page.woocommerce.woocommerce .wd-products .wd-product .product-title {
        font-size: 18px !important;
        line-height: 18px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }

    html body.gf-home-catalog-page .gf-home-add-to-cart {
        font-size: 16px !important;
    }
	html body.gf-home-catalog-page .wd-products .wd-product .product-element-top .wd-product-thumb {
    pointer-events: none !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .product-element-top img {
    transition: none !important;
    animation: none !important;
}

html body.gf-home-catalog-page .wd-products .wd-product .product-element-top .wd-loading-image {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
}