/* ===============================
   PRODUCTS SECTION
================================= */
.products-section {
      padding: 20px 0px 60px 0px;
    background: #f7f7f7;
}
.section-title {
	text-align: center;
}
.swm-main-container.swm-site-content {
    padding-top: 0 !important;
    /* padding-bottom: 100px; */
}
/* ===============================
   CONTAINER
================================= */
.container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin: auto;
}

/* ===============================
   GRID LAYOUT
================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 360px); /* FIX */
    justify-content: center; /* CENTER GRID */
    gap: 25px;
}
.product-card {
    text-align: center;
}
.product-content p,
.acf-text {
    text-align: center;
}
/* ===============================
   PRODUCT CARD
================================= */
.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
}

/* ===============================
   IMAGE
================================= */
.product-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ===============================
   CONTENT
================================= */
.product-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content p {
    font-size: 20px;
	font-weight: 700;
    margin: 15px 0 10px;
    color: #000000;
	
}
.product-content p:first-of-type {
    min-height: 70px;
}
/* ACF TEXT */
.acf-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* ===============================
   BUTTON
================================= */
.learn-more {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    color: #0a2a43;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    justify-content: center;
}
/* Hover Effect */
.product-card:hover .learn-more::after {
    transform: translateX(5px);
}

/* ===============================
   TABLET
================================= */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===============================
   MOBILE
================================= */
@media (max-width: 600px) {
    .products-section {
        padding: 10px 0px 40px 0px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-content h3 {
        font-size: 18px;
    }

    .acf-text {
        font-size: 13px;
    }

    .learn-more {
        font-size: 13px;
    }

    .learn-more::after {
        padding: 6px 10px;
    }
}
/* Product Category css */

.category-header {
    text-align: center;
    margin-bottom: 40px;
    justify-content: center;
}
h2.category-title {
    TEXT-ALIGN: CENTER;
}
.category-image img {
    max-width: 200px;
    margin-bottom: 15px;
}

.category-desc {
    font-size: 16px;
    color: #555;
    max-width: 600px;
    margin: auto;
}
/* ===============================
   PAGINATION STYLE
================================= */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s ease;
    font-size: 14px;
}

/* Active Page */
.pagination .current {
    background: #f4793a;
    color: #fff;
    border-color: #f4793a;
}

/* Hover */
.pagination .page-numbers:hover {
    background: #f4793a;
    color: #fff;
    border-color: #f4793a;
}

/* Prev / Next */
.pagination .prev,
.pagination .next {
    font-weight: bold;
}
/* =========================================
   RELATED PRODUCTS SECTION
========================================= */

.related-products-section {
    padding: 60px 0;
    background: #f7f7f7;
}
.related-products-section {
    position: relative;
    padding: 60px 0;
}

.related-products-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #f7f7f7;
    z-index: -1;
}

.related-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 34px;
    font-weight: 700;
    color: #0a2a43;
}

/* Use same grid */
.related-products-section .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 360px);
    justify-content: center;
    gap: 25px;
}

/* Same card */
.related-products-section .product-card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.related-products-section .product-card:hover {
    transform: translateY(-6px);
}

/* Image */
.related-products-section .product-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Content */
.related-products-section .product-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-products-section .product-content p {
    font-size: 20px;
    font-weight: 700;
    margin: 15px 0 10px;
    color: #0a2a43;
    text-align: center;
}

/* ACF Text */
.related-products-section .acf-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: center;
}

/* Tablet */
@media (max-width: 1024px) {

    .related-products-section .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Mobile */
@media (max-width: 600px) {

    .related-products-section {
        padding: 40px 0;
    }

    .related-products-section .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .related-products-section .product-content p {
        font-size: 18px;
    }

    .related-products-section .acf-text {
        font-size: 13px;
    }
}
.product-image,
.product-content p{
    cursor:pointer;
}
.product-clickable{
    display:block;
    text-decoration:none;
    color:inherit;
}

.product-clickable:hover{
    color:inherit;
    text-decoration:none;
}

.product-image img{
    display:block;
    width:100%;
}
