/* 1. Layout & Header */
.pharma-parent-section { margin: 40px 0 60px; }

.pharma-parent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.pharma-parent-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a5c1a;
    border-left: 5px solid #f5a623;
    padding-left: 14px;
    font-family: Georgia, serif;
    margin: 0;
}

.pharma-view-all {
    font-size: 13px;
    color: #f5a623;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #f5a623;
    padding: 4px 12px;
    border-radius: 20px;
}

/* 2. Slider Container */
.pharma-main-wrapper {
    position: relative;
    width: 100%;
}

.pharma-slider-wrapper {
    overflow: hidden; /* Bahar ke cards chhupane ke liye */
    width: 100%;
    padding: 10px 0;
}

.pharma-slider {
    display: flex;
    gap: 18px; /* Cards ke beech ka gap */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth movement */
    will-change: transform;
}

/* 3. Hide Arrows */
.pharma-slider-btn { display: none !important; }

/* 4. Dots (Pagination) */
.pharma-pagination {
    text-align: center;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pharma-dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pharma-dot.active {
    background: #2e7d32; /* Green active dot */
    transform: scale(1.3);
}

/* 5. Original Card Design (Same as Image 1) */
.pharma-card {
    min-width: 220px; /* Fixed width taaki ek-ek karke slide ho sake */
    max-width: 220px;
    flex-shrink: 0;
    border: 2px solid #eee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pharma-card-inner {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.pharma-medicine-name { font-size: 15px; font-weight: 800; color: #1a1a1a; font-family: Georgia, serif; min-height: 40px; }
.pharma-salt-name { font-size: 11px; color: #E07B00; font-weight: 700; text-transform: uppercase; }
.pharma-dosage { font-size: 11px; color: #555; background: #fff9c4; padding: 2px 8px; border-radius: 4px; display: inline-block; align-self: center; }

.pharma-card-image { width: 100%; height: 120px; margin: 10px 0; }
.pharma-card-image img { width: 100%; height: 100%; object-fit: contain; }

.pharma-description { font-size: 12px; color: #666; line-height: 1.4; height: 50px; overflow: hidden; }
.pharma-read-more { font-size: 12px; color: #2e7d32; text-decoration: underline; font-weight: 700; }

.pharma-enquire-btn {
    display: block;
    background: #f5a623;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 12px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 10px;
}

/* 6. Mobile Optimization */
@media (max-width: 500px) {
    .pharma-card { min-width: 85vw; max-width: 85vw; } /* Mobile pe bada dikhega */
}