/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: May 15 2026 | 22:50:28 */
/* =========================================================
   GranoFactura — каталог/магазин/поиск:
   отступы описание / цена / помол / вес / кнопка
   БЕЗ главной страницы
   ========================================================= */


/* =========================================================
   1. Краткое описание — убрать лишний нижний отступ
   ========================================================= */

html body.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-desc,
html body.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-desc,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-desc,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-desc,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-desc,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-desc,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-desc,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-desc,
html body.search:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-desc,
html body.search:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-desc,
html body.search-results:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-desc,
html body.search-results:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-desc {
    min-height: 0 !important;
    height: auto !important;
    max-height: 58.5px !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
}


/* =========================================================
   2. Обёртка вкуса / описания — без лишнего низа
   ========================================================= */

html body.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-body,
html body.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-body,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-body,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-body,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-body,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-body,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-body,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-body,
html body.search:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-body,
html body.search:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-body,
html body.search-results:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-body,
html body.search-results:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-body {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* =========================================================
   3. Цена — ближе к описанию, но с нормальным отступом до помола
   ========================================================= */

html body.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .product-element-bottom .wrap-price,
html body.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .wrap-price,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .product-element-bottom .wrap-price,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .wrap-price,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .product-element-bottom .wrap-price,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .wrap-price,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .product-element-bottom .wrap-price,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .wrap-price,
html body.search:not(.gf-home-catalog-page) .wd-products .wd-product .product-element-bottom .wrap-price,
html body.search:not(.gf-home-catalog-page) .wd-products .wd-product .wrap-price,
html body.search-results:not(.gf-home-catalog-page) .wd-products .wd-product .product-element-bottom .wrap-price,
html body.search-results:not(.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.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .product-element-bottom .price,
html body.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .price,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .product-element-bottom .price,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .price,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .product-element-bottom .price,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .price,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .product-element-bottom .price,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .price,
html body.search:not(.gf-home-catalog-page) .wd-products .wd-product .product-element-bottom .price,
html body.search:not(.gf-home-catalog-page) .wd-products .wd-product .price,
html body.search-results:not(.gf-home-catalog-page) .wd-products .wd-product .product-element-bottom .price,
html body.search-results:not(.gf-home-catalog-page) .wd-products .wd-product .price {
    margin-top: 0 !important;
    margin-bottom: 12px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* =========================================================
   4. Помол — отступ после цены и перед весом
   ========================================================= */

html body.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-pomol,
html body.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-pomol,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-pomol,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-pomol,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-pomol,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-pomol,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-pomol,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-pomol,
html body.search-results:not(.gf-home-catalog-page) .wd-products .wd-product .gf7-pomol,
html body.search-results:not(.gf-home-catalog-page) .wd-products .wd-product .gf5-pomol {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* =========================================================
   5. Вес 250 / 500 / 1000 — ближе к кнопке
   ========================================================= */

html body.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .wd-swatches-grid,
html body.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .swatches-on-grid,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .wd-swatches-grid,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .swatches-on-grid,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .wd-swatches-grid,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .swatches-on-grid,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .wd-swatches-grid,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .swatches-on-grid,
html body.search-results:not(.gf-home-catalog-page) .wd-products .wd-product .wd-swatches-grid,
html body.search-results:not(.gf-home-catalog-page) .wd-products .wd-product .swatches-on-grid {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* =========================================================
   6. Кнопка — без лишнего верхнего отступа
   ========================================================= */

html body.archive.woocommerce:not(.gf-home-catalog-page) .wd-products .wd-product .wd-add-btn,
html body.woocommerce.archive:not(.gf-home-catalog-page) .wd-products .wd-product .wd-add-btn,
html body.post-type-archive-product:not(.gf-home-catalog-page) .wd-products .wd-product .wd-add-btn,
html body.tax-product_cat:not(.gf-home-catalog-page) .wd-products .wd-product .wd-add-btn,
html body.search-results:not(.gf-home-catalog-page) .wd-products .wd-product .wd-add-btn {
    margin-top: 0 !important;
    padding-top: 0 !important;
}