:root {
    --primary-color: #0984e3;
    --bg-gray: #f1f2f6;
    --text-dark: #2d3436;
    --transition: all 0.2s ease-in-out;
}

.beauty-card {
    border: none;
    border-radius: 20px;
    /* Sudut lebih melengkung agar terlihat modern & 'soft' */
    overflow: hidden;
    /* Shadow yang sangat halus agar terlihat mengambang elegan */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    background: #fff;
}

.beauty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.beauty-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Gambar memenuhi area tanpa distorsi */
    transition: transform 0.5s ease;
}

.beauty-card:hover .card-img-top {
    transform: scale(1.08);
}

.product-title {
    font-family: "Poppins", sans-serif;
    /* Pastikan load font Poppins/Montserrat biar cantik */
    font-weight: 600;
    font-size: 1.1rem;
    color: #2d3436;
    line-height: 1.4;
    /* Menjaga tinggi title max 2 baris */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 0.85rem;
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 0;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    /* Warna utama cantik (misal: Teal/Pink/Custom Primary) */
    color: #0984e3;
    letter-spacing: -0.5px;
}

/* 4. Custom Quantity Styling */
.qty-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 130px;
    /* Sedikit lebih lebar agar tidak sesak */
    padding: 4px;
    background-color: var(--bg-gray);
    border-radius: 12px;
    /* Border radius moderat lebih modern dari pill-shape */
    transition: var(--transition);
    border: 1px solid transparent;
}

.qty-selector:focus-within {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.qty-selector .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background-color: #fff;
    color: var(--text-dark);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.qty-selector .btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.qty-selector .qty-input {
    width: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
}

/* 5. WhatsApp Button Styling */
.btn-whatsapp-order {
    background: linear-gradient(45deg, #25d366, #128c7e);
    /* Gradient hijau WA */
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-order:hover {
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
    background: linear-gradient(45deg, #128c7e, #25d366);
}

.btn-whatsapp-order:active {
    transform: translateY(1px);
}

/* Pagination */
.pagination {
    gap: 5px;
}

.page-item.active .page-link {
    background-color: #198754;
    /* Warna hijau sesuai WhatsApp/Concrete theme */
    border-color: #198754;
}

.page-link {
    color: #198754;
    border-radius: 5px;
}
