/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 26 2026 | 13:12:34 */
/* =====================================================
   HOME PAGE - POPULAR PRODUCTS
   ===================================================== */


/* =====================================================
   SECTION LAYOUT
   ===================================================== */

.home-popular-products {
    padding-left: 12px !important;
    padding-right: 12px !important;
	padding: 10px 12px 20px !important;
    box-sizing: border-box;
}

/* Заголовок "Популярные товары" */
.home-popular-products h2,
.home-popular-products h3 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}


/* =====================================================
   FEATURED PRODUCTS CONTAINER
   ===================================================== */

.featured-products {
    width: 100% !important;
    max-width: none !important;
}


/* =====================================================
   PRODUCTS GRID
   6 products in one row
   ===================================================== */

.featured-products .wc-block-product-template {
    width: 100% !important;
    max-width: none !important;

    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    column-gap: 18px !important;

    align-items: stretch !important;
}


/* =====================================================
   PRODUCT CARD
   ===================================================== */

.featured-products .wc-block-product {
    width: 100% !important;
    height: 100% !important;

    display: flex !important;
    flex-direction: column !important;

    min-height: 0 !important;

    padding: 10px !important;

    background: #fff;

    border: 1px solid rgba(20, 40, 65, 0.10);
    border-radius: 4px;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* Main homepage border overrides the basic card border */
.home-popular-products li.wc-block-product,
.home-popular-products .wc-block-grid__product {
    border: 3px solid rgba(74, 101, 125, 0.95);
    border-radius: 8px;

    overflow: hidden;

    box-sizing: border-box;
}


/* =====================================================
   PRODUCT CARD HOVER
   ===================================================== */

.featured-products .wc-block-product:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 24px rgba(20, 40, 65, 0.12);
}


/* =====================================================
   PRODUCT IMAGE
   ===================================================== */

.featured-products .wc-block-components-product-image {
    height: 200px !important;
    margin-bottom: 8px !important;
}

.featured-products .wc-block-components-product-image img {
    width: 100% !important;
    height: 200px !important;
    object-fit: contain !important;
}


/* =====================================================
   PRODUCT TITLE
   ===================================================== */

.featured-products .wp-block-post-title,
.featured-products .wc-block-components-product-title {
    min-height: 0 !important;

    margin-top: 4px !important;
    margin-bottom: 6px !important;

    font-weight: 600;
    line-height: 1.3;
}


/* =====================================================
   PRODUCT PRICE
   ===================================================== */

.featured-products .wc-block-components-product-price {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}


/* =====================================================
   PRODUCT BUTTON
   ===================================================== */

.featured-products .wc-block-components-product-button {
    margin-top: 0 !important;
}

.featured-products .wp-block-button__link {
    width: 100%;

    text-align: center;
}

/* =====================================================
   COMPACT POPULAR PRODUCTS SECTION
   ===================================================== */

/* Вся секция */
.home-popular-products {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: -35px !important;
    margin-bottom: -50px !important;
}

/* Сам Product Collection */
.home-popular-products .featured-products {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Заголовок */
.home-popular-products h2,
.home-popular-products h3 {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

