:root {
    --primary-blue: #007bff;
    --dark-navy: #1a1a2e;
    --sale-red: #dc3545;
    --text-gray: #6c757d;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
}

/* ========================================= */
   /* Slide Show (Carousel) */

.sale-carousel {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-navy), var(--primary-blue));
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
}

.carousel-item-content {
    display: flex;
    align-items: center;
    padding: 3rem 5rem;
    min-height: 350px;
}

.carousel-img {
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4));
    transition: transform 0.5s ease;
}

.carousel-img:hover {
    transform: scale(1.05) rotate(-2deg);
}

/* ========================================= */
/*  card   */
  
.product-card {
    border-radius: 20px;
    overflow: hidden; 
    border: none;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 250px; 
    overflow: hidden; 
    background-color: #ffffff;
    border-bottom: 1px solid #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image-container img {
    transform: scale(1.15); 
}

/*  ========================================= */
/* badges & prices */
.badge-new, .badge-sale {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10; 
    padding: 6px 14px;
    border-radius: 8px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.badge-new { background-color: var(--primary-blue); }
.badge-sale { background-color: var(--sale-red); }

.old-price {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 0.95rem;
    font-weight: 500;
    margin-right: 8px;
}

.discount-badge {
    background-color: #ffebee;
    color: var(--sale-red);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 8px;
}

/*  ========================================= */
/* filer & btns */
.btn-primary-custom {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-add-cart {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.search-input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    box-shadow: none !important;
    border-color: #dee2e6;
}

.search-input-group .input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: white;
    border-left: none;
    border-color: #dee2e6;
}

.filter-btn-group .btn {
    border-radius: 30px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-gray);
    border: 1px solid #dee2e6;
    padding: 0.4rem 1.2rem;
    transition: all 0.2s;
}

.filter-btn-group .btn.active, .filter-btn-group .btn:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.text-muted-custom {
    color: var(--text-gray) !important;
}