/* =========================================
   PREMIUM SHOP GRID — WIN SKIN CO
   ========================================= */

ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    padding: 20px 0;
    list-style: none !important;
    margin: 0 !important;
}

@media (max-width: 992px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    ul.products {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* PRODUCT CARD */
.winskinco-product-card .product-inner {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Glow hover aura */
.winskinco-product-card:hover .product-inner {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(255, 178, 255, 0.35),
                0 0 18px rgba(255, 145, 255, 0.25);
}

/* IMAGE AREA */
.product-thumb {
    display: block;
    width: 100%;
    position: relative;
}

.product-thumb .image-wrapper {
    position: relative;
    width: 100%;
}

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

/* Hover image swap */
.secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.product-thumb:hover .secondary-img {
    opacity: 1;
}

/* Product Title */
.woocommerce-loop-product__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 15px 10px 5px;
    color: #222;
}

/* Price */
.price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e600a3;
    margin-bottom: 12px;
}

/* ADD TO CART BUTTON */
.add_to_cart_button,
.product_type_simple.add_to_cart_button,
.button.product_type_simple {
    background: linear-gradient(45deg, #ff60c9, #ff9ae0);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    box-shadow: 0 6px 14px rgba(255, 95, 171, 0.35);
    transition: transform .25s ease, box-shadow .25s ease;
}

.add_to_cart_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 95, 171, 0.55);
    color: #fff !important;
}

/* Adjust quantity + button alignment if needed */
.wc-block-grid__product-add-to-cart,
.winskinco-product-card .add_to_cart_button {
    margin-top: 10px;
}
