.etnps-section {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.etnps-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

/* ============================
   SLIDER WRAPPER
============================ */
.etnps-slider-wrap {
    position: relative;
    min-height: 260px; /* Helps arrows, safe to adjust later */
}

/* ============================
   SLIDE LAYOUT — 4 COLUMNS
============================ */
.etnps-slide {
    width: 25%;
    padding: 0 12px;
    box-sizing: border-box;

    display: flex; /* ensures equal card heights */
}

/* ============================
   PRODUCT CARD — EQUAL HEIGHT
============================ */
.etnps-product-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;

    display: flex;
    flex-direction: column;

    flex: 1;        /* FORCE equal height */
    height: 100%;   /* Required by Flickity */
    transition: .2s ease;
}

.etnps-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ============================
   FULL-WIDTH, FIXED-HEIGHT IMAGE
============================ */
.etnps-thumb {
    width: 100%;
    height: 240px; /* <-- ADJUSTABLE: controls uniform image height */
    overflow: hidden;
    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.etnps-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* maintains full image, no cropping */
    display: block;
}

/* ============================
   TITLE — CONSISTENT HEIGHT
============================ */
.etnps-title {
    font-size: 15px;
    font-weight: 500;
    min-height: 40px; /* prevents layout jump */
    margin-bottom: 10px;
    text-align: center;
}

/* ============================
   PRICE
============================ */
.etnps-price {
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

/* ============================
   BUTTON AT BOTTOM OF CARD
============================ */
.etnps-add-to-cart {
    margin-top: auto; /* pushes button to the bottom */
    text-align: center;
}

.etnps-add-to-cart .button {
    font-size: 13px;
    padding: 8px 16px;
}

/* ============================
   ARROWS (placement pending fix)
============================ */
.etnps-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 30px;
    height: 30px;

    border: 1px solid #ddd;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    z-index: 50;

    transition: background .2s ease;
}

.etnps-nav-prev { left: -40px; }
.etnps-nav-next { right: -40px; }

.etnps-nav:hover {
    background: #f5f5f5;
}

/* Arrow icons */
.etnps-nav-prev::before,
.etnps-nav-next::before {
    content: '';
    width: 7px;
    height: 7px;
    border: solid #444;
    border-width: 0 2px 2px 0;
}

.etnps-nav-prev::before { transform: rotate(135deg); }
.etnps-nav-next::before { transform: rotate(-45deg); }

/* ============================
   FLICKITY DOTS
============================ */
.flickity-page-dots {
    bottom: -25px;
}

.flickity-page-dots .dot {
    width: 7px;
    height: 7px;
    margin: 0 3px;
    background: #ccc;
}

.flickity-page-dots .dot.is-selected {
    background: #48a9a6;
}

/* ============================
   RESPONSIVE BREAKPOINTS
============================ */
@media (max-width: 1024px) {
    .etnps-slide { width: 33.33%; }
}

@media (max-width: 768px) {
    .etnps-slide { width: 50%; }

    .etnps-nav-prev { left: 0; }
    .etnps-nav-next { right: 0; }
}

@media (max-width: 480px) {
    .etnps-slide { width: 100%; }
}
