/* ===== PRODUCT GRID ===== */

body {
    font-family: 'Poppins', sans-serif;
}

.btn-outline-dark {
    box-shadow: none !important;
}

.btn-outline-dark:focus,
.btn-outline-dark:active,
.btn-outline-dark:hover {
    box-shadow: none !important;
    outline: none !important;
    background-color: transparent !important;
    color: inherit !important;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    padding: 15px;
}

.product-img img {
    width: 100%;
    height: 180px ;
    object-fit: cover;
}

/* 992px – 1199px (Large tablets / small laptops) */
@media (min-width: 992px) and (max-width: 1199px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 40px 60px;
        gap: 30px;
    }
    .product-img img {
        width: 100%;
        height: 200px!important;
        object-fit: cover;
    }
}

/* 1200px and above → Full desktop */
@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 40px 60px;
        gap: 30px;
    }
    .product-img img {
        width: 100%;
        height: 250px!important;
        object-fit: cover;
    }
}

/* ===== PRODUCT CARD ===== */

.product-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    transition: 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Image */
.product-img {
    position: relative;
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: black;
    color: white;
    padding: 5px 6px;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid grey;
}

/* Product Info */
.product-info {
    padding: 15px;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.rating {
    font-size: 13px;
    color: #f5a623;
    margin-bottom: 6px;
}

.price {
    font-size: 15px;
    font-weight: 600;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 13px;
    margin-left: 5px;
}


/* Center Section */
.search_section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 15px;
}

/* Wrapper Controls Background */
.search_wrapper {
    width: 100%;
    max-width: 600px;
    background: #868786;      /* CONTROL BACKGROUND HERE */
    border-radius: 10px;      /* CONTROL RADIUS HERE */
    padding: 10px 20px;
    border: 1px solid #e5e5e5; /* optional */
}

/* Form Layout */
.search_form {
    display: flex;
    align-items: center;
    position: relative;
}

/* Prefix Dropdown */
.search_prefix {
    position: relative;
}

.search_select {
    background: white;
    padding: 8px 20px 8px 10px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    appearance: none;
}

/* Input */
.search_input {
    flex: 1;
    border: none;
    background: white;
    padding: 10px;
    outline: none;
    font-size: 14px;
}

/* Button */
.search_button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    font-size: 18px;
    color: #555;

}

.search_button:hover {
    color: #000;
}

.search_button:focus,
.search_button:active {
    outline: none;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: inherit !important;
}

.cursor_pointer {
    cursor: pointer;
}

.filter_sort_color{
    background-color:#a8a8a8!important;
}

.actual_cursive{
font-family: 'Great Vibes', cursive;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
}
.cursive{
    font-family: 'Cascadia Mono', monospace;
}