/* ================================
   PRODUCT COLUMNS
================================ */
.product-columns {
    overflow: hidden;
}
.product-columns .column {
    float: left;
    width: 48%;
    margin-right: 4%;
}
.product-columns .column:last-child {
    margin-right: 0;
}
.product-columns h4 {
    margin: 20px 0 10px;
}
.product-columns ul {
    margin-bottom: 20px;
}

/* ================================
   STORE PAGE TITLE & DESCRIPTION
================================ */
.store-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0a3d62;
    text-align: center;
    margin: 40px 0 10px;
    letter-spacing: -0.3px;
}
.store-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #1e90ff;
    margin: 10px auto 0;
    border-radius: 2px;
}
.store-header p {
    font-size: 18px;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
}

/* ================================
   CART BUTTON
================================ */
.cart-button {
    display: block;
    width: 200px;
    margin: 40px auto 0;
    text-align: center;
    padding: 12px 20px;
    background: #1e90ff;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}
.cart-button:hover {
    background: #0f6ed4;
}

/* ================================
   CUSTOM PRODUCTS GRID
================================ */
.custom-products,
.custom-products .woocommerce {
    box-sizing: border-box;
}

.custom-products {
    margin-top: 40px;
}

.custom-products ul.products {
    margin-top: 20px;
    gap: 18px;
}

/* Product card */
.custom-products ul.products li.product {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
    padding: 20px;
    min-height: 360px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.custom-products ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    border-color: #e6f2ff;
}

/* Image wrapper and images with rounded corners */
.custom-products ul.products li.product .product-image-wrapper {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7f9fc;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 14px;
}
.custom-products ul.products li.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Link wrapper also clips image */
.custom-products ul.products li.product a.woocommerce-LoopProduct-link {
    display: block;
    border-radius: 16px;
    overflow: hidden;
}

/* Product title */
.custom-products ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #0a3d62;
    margin: 6px 0 8px;
    line-height: 1.2;
    transition: color 0.25s ease;
}
.custom-products ul.products li.product .woocommerce-loop-product__title:hover {
    color: #0057b7;
}

/* Product price */
.custom-products ul.products li.product .price {
    font-size: 16px;
    font-weight: 700;
    color: #1b8f3c !important;
    text-align: center;
    margin-bottom: 14px;
}

/* Add to Cart button */
.custom-products ul.products li.product .button,
.custom-products .product .added_to_cart {
    background: #0057b7 !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.18s ease;
    margin: 0 auto 8px;
}
.custom-products ul.products li.product .button:hover,
.custom-products .product .added_to_cart:hover {
    background: #003f82 !important;
    transform: translateY(-2px);
}

/* Page-level title & subtitle */
.custom-products .store-title {
    text-align: center;
    font-size: 28px;
    color: #0a3d62;
    margin-bottom: 6px;
}
.custom-products .store-sub {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* ================================
   RESPONSIVE ADJUSTMENTS
================================ */
@media (max-width: 768px) {
    .custom-products ul.products li.product .product-image-wrapper {
        height: 150px;
    }
    .custom-products ul.products li.product .button,
    .custom-products .cart-button {
        width: 100%;
        margin: 12px 0 0;
    }
}