/* =========================================
   GENERAL
   ========================================= */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* Space between homepage sections */
.ps-section,
.ps-block--categories,
.ps-product-list,
.ps-section--features-product,
.ps-top-categories,
.ps-newsletter {
    margin-bottom: 40px;
}

/* Section titles */
.ps-section__header h3,
.ps-block__title,
.ps-product-list h3 {
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* =========================================
   SLIDER
   ========================================= */
.ps-home-banner img,
.slick-slide img,
.ps-banner img {
    border-radius: 14px;
}

/* =========================================
   CATEGORIES
   ========================================= */
.ps-block--category,
.ps-block--category-2 {
    border-radius: 12px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ps-block--category:hover,
.ps-block--category-2:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
}

/* =========================================
   PRODUCT CARDS
   ========================================= */
.ps-product {
    border-radius: 12px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ps-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .10);
}
.ps-product img {
    border-radius: 12px;
    transition: transform .4s ease;
}
.ps-product:hover img { transform: scale(1.04); }

/* Product titles stay neat (2 lines max) */
.ps-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   RECENTLY VIEWED (smaller)
   ========================================= */
[class*="recently-viewed"] {
    max-width: 100%;
    margin: 20px 0;
}
[class*="recently-viewed"] img {
    max-height: 120px !important;
    width: auto !important;
    object-fit: contain;
}
[class*="recently-viewed"] h3,
[class*="recently-viewed"] .ps-block__title {
    font-size: 18px !important;
}

/* =========================================
   BUTTONS
   ========================================= */
.ps-btn,
.btn,
button {
    border-radius: 8px;
    transition: all .2s ease;
}

/* =========================================
   WHATSAPP BUTTON (product page)
   ========================================= */
.product-whatsapp-order-btn {
    width: 100%;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .30);
}
.product-whatsapp-order-btn:hover {
    transform: translateY(-2px);
}

/* =========================================
   NEWSLETTER
   ========================================= */
.ps-newsletter input {
    border-radius: 8px;
}

/* =========================================
   MOBILE
   ========================================= */
@media (max-width: 768px) {
    .ps-section,
    .ps-block--categories,
    .ps-product-list,
    .ps-section--features-product,
    .ps-top-categories,
    .ps-newsletter {
        margin-bottom: 24px;
    }
    .ps-product:hover { transform: none; }
}
/* Recently Viewed: keep cards small */
[class*="recently-viewed"] .ps-product,
[class*="recently-viewed"] .product-item,
[class*="recently-viewed"] .slick-slide {
    width: 220px !important;
    max-width: 220px !important;
    display: inline-block;
    vertical-align: top;
}
[class*="recently-viewed"] img {
    max-height: 200px !important;
    width: auto !important;
    object-fit: contain;
}