
/* Override Bootstrap CSS variables */
:root {
    --ct-font-sans-serif: 'Open Sans', sans-serif !important;
    --bs-font-sans-serif: 'Open Sans', sans-serif !important;
    --ct-body-font-family: 'Open Sans', sans-serif !important;
    --bs-body-font-family: 'Open Sans', sans-serif !important;
}

/* Global Font Declaration */
* {
    font-family: 'Open Sans', sans-serif !important;
}

/* Boxed Layout for Body */
body {
    margin: 0 auto;
    max-width: 1700px;
    /* Adjust as needed for your design */
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    /* Add a shadow for the box effect */
    background-color: #f8f9fa;
    /* Light gray background */
    border: 1px solid #ddd;
    /* Border for the box */
    border-radius: 10px;
    /* Rounded corners for the box */
    font-family: 'Open Sans', sans-serif !important;
}

/* Card Container */
.card {
    width: 230px;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: 'Open Sans', sans-serif !important;
    position: relative;
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    border-bottom: none;
    /* Removes the border */
    /* Ensure the header is above the image */
}

.card-days {
    background-color: #e95e5e;
    padding: 3px 8px;
    border-radius: 15px;
}

/* Heart Icon */
.card-heart {
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    /* Independent positioning */
    top: 10px;
    /* Spacing from the top */
    right: 10px;
    /* Spacing from the right */
    z-index: 3;
    /* Ensure it overlaps the image */
}

/* Card Image */
.card-image {
    width: 100%;
    height: 162px; /* Set maximum height */
    object-fit: contain; /* Ensures the entire image is visible within the container */
    display: block; /* Ensures no inline spacing issues */
    background-color: #f0f0f0; /* Optional: Adds a background color to fill empty spaces */
}

/* Card Content */
.card-content {
    padding: 15px;
    text-align: center;
    height: 200px;
    ;
}

.card h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #000;
}

.card p {
    font-size: 14px;
    color: #000000;
    margin: 5px 0 15px;
}

/* Card Tag */
.card-tag {
    display: inline-block;
    background-color: #f05151;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 10px;
    margin-bottom: 5px;
}

/* Card Cashback */
.card-cashback {
    font-size: 14px;
    color: #ffffff;
    background-color: #872318;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Card Button */
.card-button {
    background-color: #000;
    color: #fff;
    font-size: 14px;
    padding: 10px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    position: absolute;
    bottom: 10px;
    /* Position it slightly above the bottom edge */
    left: 50%;
    /* Position the button horizontally at the center */
    transform: translateX(-50%);
    /* Adjust the button to be truly centered */
}


.card-button:hover {
    background-color: #333;
}

/* Main Container for Desktop (Grid Layout) */
.unique-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
}

.unique-card-grids {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
}

/* Responsive Design for Mobile (Horizontal Scrolling) */
@media (max-width: 768px) {
    .unique-card-grids {
        grid-template-columns: repeat(2, minmax(168px, 1fr)) !important; /* 2 cards per row on mobile */
        padding: 1px;
    }
    .unique-card-grid {
        display: flex;
        /* Switch to flexbox for horizontal scrolling */
        overflow-x: auto;
        /* Enable horizontal scrolling */
        gap: 10px;
        padding: 10px;
        scrollbar-width: none;
        /* Hide scrollbar for Firefox */
    }

    .unique-card-grid::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for WebKit browsers */
    }

    .unique-card-container {
        flex: 0 0 168px !important;
        /* Fixed width for each card in the horizontal scroll */
        width: 168px !important;
    }
    .unique-card-catgegory {
        flex: 0 0 168px !important;
        /* Fixed width for each card in the horizontal scroll */
        width: 168px !important;
    }
    
    /* Image Section */
    .unique-card-image {
        width: 168px !important;
    }
}

/* Container for the card */
/* Container for the card */
.unique-card-container {
    width: 220px;
    /* height: 350px; */
    background-color: #fff;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif !important;
    position: relative;
    margin-bottom: 20px;
}

/* Container for the card */
.unique-card-catgegory {
    width: 100%; /* Ensure it fills the available grid space */
    height: 350px;
    background-color: #fff;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif !important;
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px; /* Optional: Adds rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds shadow effect */
}

/* Image Section */
.unique-card-image {
    width: 220px;
    height: 162px;
    object-fit: cover;
    position: relative;
    border-radius: 10px;
}

/* Heart Icon */
.unique-card-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #000000;
    font-size: 18px;
    cursor: pointer;
}

.unique-card-heart:hover {
    color: #ff4d4d;
}

/* Card Body */
.unique-card-body {
    padding: 15px;
}

/* Black Friday Badge */
.unique-card-badge {
    display: inline-block;
    background-color: #f05151;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 15px;
    position: absolute;
    top: 120px;
    left: 5px;
}

/* Title and Description */
.unique-card-title {
    font-size: 14px;
    font-weight: bold;
    margin: -10px 0 5px;
    color: #000;
}

.unique-card-description {
    font-size: 14px;
    color: #000000;
    margin-bottom: 10px;
}

/* Cashback Badge */
.unique-card-cashback {
    display: inline-block;
    background-color: #872318;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 15px;
    margin-bottom: 10px;
}

/* Time Remaining */
.unique-card-time {
    font-size: 12px;
    color: #000000;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.unique-card-time i {
    font-size: 12px;
    color: #e95e5e;
    margin-right: 5px;
}




/* Navbar Styling */
.navbar {
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #000;
}

.form-control {
    border-radius: 20px;
    height: 38px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #000;
}

.nav-link:hover {
    color: #007bff;
}

.navbar-icons i {
    font-size: 1.2rem;
    color: #000;
    margin-right: 10px;
}

.navbar-icons span {
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 10px;
}

/* Icon Slider Styling */
.swiper-container {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.icon-label {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

.icon-label {
    font-size: 14px;
    color: #000;
}

.my-slide {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .form-control {
        width: 100%;
    }
}



/* Style the next and prev buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Add shadow */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
}

/* Positioning */
.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

/* Add arrow icons */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px;
    color: #000000;
}

/* Optional: Hover effect */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #f0f0f0;
    /* Light gray background on hover */
    transform: translateY(-50%) scale(1.1);
    /* Slightly enlarge */
    transition: all 0.3s ease;
}
/* ///////////////////////////// */
/* Login design */
.modal-content_extra {
    border-radius: 10px;
    padding: 20px;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link.active {
    color: #00c0c7;
    border-bottom: 2px solid #00c0c7;
    font-weight: bold;
}

.btn-primary,
.btn-secondary {
    background-color: #00c0c7;
    border: none;
}

.btn-primary:hover,
.btn-secondary:hover {
    background-color: #00a4ac;
}

.social-btn {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.social-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    width: 48%;
    font-size: 16px;
    font-weight: bold;
}

.social-btn a.facebook {
    background-color: #3b5998;
}

.social-btn a.google {
    background-color: #db4a39;
}


/* //////////////////// */
.carousel-item img {
    border: 2px solid #ddd;
    /* Adjust border width and color */
    border-radius: 15px;
    /* Adjust border-radius as needed */
}

.pill-box {
    display: inline-block;
    background-color: #f8f9fa;
    /* Light background color */
    padding: 0.5rem 1rem;
    /* Adjust for desired spacing */
    border-radius: 9999px;
    /* Makes the container pill-shaped */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    font-size: 0.9rem;
    /* Adjust font size as needed */
    font-weight: 500;
    /* Slightly bold for better readability */
    color: #000000;
    /* Text color */
    white-space: nowrap;
    /* Keeps text on one line */
}

@media (max-width: 575.98px) {
    .btn-close {
        filter: invert(1) brightness(2);
        /* This replicates the white close button effect.
Adjust if you want a different style. */
    }
}

.py-52 {
    padding-bottom: 3rem !important;
}

/* Location styling for offer cards */
.unique-card-location,
.card-location {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.unique-card-location i,
.card-location i {
    font-size: 0.75rem;
    color: #dc3545;
}

/* Location badge styling in modals */
.badge .fas.fa-map-marker-alt {
    font-size: 0.75rem;
    margin-right: 0.25rem;
}
