/* Estilos para tarjetas de productos en la tienda (usando el mismo estilo que front-page)
   Puedes ajustar el selector .shop-products-section/.shop-products-grid si lo necesitas para la tienda. */

.shop-products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
}

.shop-products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
}

.new-product-slide {
    flex: 0 0 20%;
    padding: 0 15px;
    box-sizing: border-box;
}

.new-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e8e9ea;
    position: relative;
}

.new-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.new-product-image {
    width: auto;
    height: 220px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    font-weight: normal;
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.new-product-image img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.new-add-to-cart-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #7CB342;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: block;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
    z-index: 2;
    overflow: hidden;
    font-size: 24px;
    font-weight: bold;
}

.new-add-to-cart-overlay:hover {
    background: #689F38;
    border-radius: 20px;
    width: auto;
    padding: 8px 15px;
    font-size: 12px;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-add-to-cart-text {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    margin-left: 8px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    display: none;
}

.new-add-to-cart-overlay:hover .new-add-to-cart-text {
    opacity: 1;
    transform: translateX(0);
    display: inline-block;
}

.new-product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.new-product-name {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 8px;
    color: #666;
    line-height: 1.4;
}

.new-product-name a {
    text-decoration: none;
    color: inherit;
}

.new-product-name a:hover {
    color: #667eea;
}

.new-product-rating {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    gap: 2px;
}

.new-star {
    color: #FFD700;
    font-size: 14px;
}

.new-product-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: auto;
}

.new-product-price del,
.new-product-price ins {
  display: block;
  text-align: center;
}

.shop-pagination {
    margin: 30px 0;
    text-align: center;
}
