@charset "ISO-8859-1";

 .card-sh{
	box-shadow: 0 0 8px 0 rgba(0,0,0,0.3);
}

 .cat-div{
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


.error{
	color:red;
}    





.btn-outline-dark {
    color: #333;
    border-color: #333;
}

.btn-outline-dark:hover {
    background-color: #333;
    color: #fff;
}



a {
    text-decoration: none; /* Ensure no underlines on links */
}

a:hover {
    text-decoration: none;
}



.no-orders-container {
    max-width: 600px;
    margin: auto;
    background-color: #f8f9fa; /* Light gray background */
    border: 1px solid #e0e0e0; /* Subtle border */
}

.no-orders-container h2 {
    color: #dc3545; /* Bootstrap's danger color */
}

.no-orders-container p {
    color: #6c757d; /* Muted gray text */
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.no-orders-container {
    animation: fadeIn 1.5s;
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.no-cart-container {
    animation: fadeIn 1.5s;
}

/* Hover effect for the button */
.btn-primary:hover {
    background-color: #0056b3; /* Darker shade of blue */
    border-color: #004085;
}

/* Admin Dashboard Specific Styles */
.admin-dashboard .container-fluid {
    background-color: #ffffff;
    border-radius: 10px;
}

.admin-dashboard p {
    color: #343a40;
}

/* Card styles */
.admin-dashboard .card-sh {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.admin-dashboard .card-sh:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Card text */
.admin-dashboard .card-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 15px;
    color: #343a40;
}

.admin-dashboard .text-decoration-none {
    text-decoration: none;
}

.admin-dashboard .card-body i {
    margin-bottom: 10px;
}

/* Specific color overrides for icons */
.admin-dashboard .text-warning i {
    color: #ffc107;
}

.admin-dashboard .text-info i {
    color: #17a2b8;
}

.admin-dashboard .text-success i {
    color: #28a745;
}

.admin-dashboard .text-secondary i {
    color: #6c757d;
}


/* Ensure the image is responsive */
.product-image {
    max-width: 100%;
    height: auto;
}

html{
    scroll-behavior: smooth;
}

.arrow {
    position: fixed;
    bottom: 20px; /* Adjust vertical position */
    right: 20px; /* Adjust horizontal position */
    font-size: 1.5rem; /* Smaller size */
    color: #fff; /* White icon color */
    background: rgba(255, 193, 7, 0.5); /* Transparent warning background */
    padding: 0.5rem; /* Padding around the icon */
    border-radius: 0%; /* Square shape */
    transition: background 0.3s ease; /* Smooth transition for background */
    z-index: 9; /* Ensure it's above other elements */
}

.arrow:hover {
    background: rgba(255, 193, 7, 0.8); /* Darker on hover */
}





/* footer */
#footer{
    padding: 0 0 30px 0px;
    color: white;
    font-size: 14px;
    background-color: #000000;
    margin-top: auto;
}
#footer .footer-top{
    padding: 60px 0 30px 0;
    background-color: #000000;
    color: white;
}
#footer .footer-top .footer-contact{
    margin-bottom: 30px;
}
#footer .footer-top .footer-contact h3{
    color: #ffc800;
}
#footer .footer-top .footer-contact h4{
    font-size: 22px;
    margin: 0 0 30px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
}
#footer .footer-top .footer-contact p{
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    color: white;
}
#footer .footer-top h4{
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}
#footer .footer-top .footer-links{
    margin-bottom: 30px;
    margin-top: 10px;
}
#footer .footer-top .footer-links h4{
    color: #ffc800;
}
#footer .footer-top .footer-links ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
#footer .footer-top .footer-links ul li{
    padding: 10px 0;
    display: flex;
    align-items: center;
}
#footer .footer-top .footer-links ul li a{
    text-decoration: none;
    color: white;
    display: inline-block;
    line-height: 1;
    font-weight: bold;
    transition: 0.5s ease;
}
#footer .footer-top .footer-links ul li a:hover{
    color: #ffc800;
}
#footer .footer-top .socail-links a{
    font-size: 18px;
    display: inline-block;
    text-decoration: none;
    background-color: #373737;
    color: white;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    transition: 0.5s ease;
}
#footer .footer-top .socail-links a:hover{
    background-color: #ffc800;
    color: white;
}
#footer .copyright {
    text-align: center; /* Align text within the element */
    float: none; /* Remove the float property */
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically (if needed) */
    width: 100%; /* Ensure it spans the entire container */
}

#footer .credits{
    float: right;
    text-align: center;
    font-size: 13px;
}
#footer .credits a{
    color: #ffc800;
}

/* footer */

/* Contact Modal Styles */
#contactModal .modal-content {
    border-radius: 10px;
    overflow: hidden;
}

/* Dark background for the contact information section */
#contactModal .modal-body .col-md-6:last-child {
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
}

/* Customize form styles */
#contactModal .modal-body .form-control {
    border-radius: 5px;
    border: 2px solid #ccc;
    padding: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease-in-out;
}

#contactModal .modal-body .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

/* Custom styles for the 'Send Message' button */
#contactModal .modal-footer .btn-primary {
    background-color: #c0c0c0;
    border-color: #007bff;
    border-radius: 50px;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#contactModal .modal-footer .btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Modal header customization */
#contactModal .modal-header {
    background-color: #007bff;
    color: white;
    border-bottom: none;
}

#contactModal .modal-title {
    font-size: 20px;
    font-weight: bold;
}

#contactModal .btn-close {
    background-color: #fff;
    border-radius: 50%;
    padding: 5px;
    width: 30px;
    height: 30px;
}

/* Adjust form spacing */
#contactModal .modal-body .mb-3 {
    margin-bottom: 20px;
}


.btn-close-white {
    filter: invert(1); /* Turns the close icon white */
}


.latest-products {
    background-color: #000000; /* Black background */
    color: #ffffff;           /* White text */
    padding: 20px;
    border-radius: 5px;       /* Optional for rounded edges */
}


.browse-more-btn {
    background-color: #e0a800;  /* Yellow background (Bootstrap warning color) */
    color: rgb(0, 0, 0);             /*   White text */
    border: none;              /*  Remove outline */
}

.browse-more-btn:hover {
    background-color:  rgb(0, 0, 0); /*  Darker yellow on hover */
    color: white;
}




#sidebarMenu {
    width: 250px; /* Adjust to the width you want */
}



::placeholder {
    font-size: 14px; /* Adjust this size as needed */
}

#productCarouselUnique .carousel-inner img {
    /* width: 100%; */
    max-height: 400px; /* Controls height on larger screens */
    /* object-fit: contain; */
    object-fit: cover;
    
    /*background-color: #f5f5f5;*/ /* Optional background */
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) { /* For tablets and smaller devices */
    #productCarouselUnique .carousel-inner img {
        /* max-height: 250px; */
         max-height: 300px;        
    }
}

@media (max-width: 576px) { /* For mobile devices */
    #productCarouselUnique .carousel-inner img {
        /* max-height: 200px; */
        max-height: 250px;
    }
}


#shareBtn {
    background-color: white; /* White background */
    color: #ffc107; /* Text color set to warning (yellow/orange) */
    border: 2px solid #ffc107; /* Border with warning color */
    border-radius: 50px; /* Fully rounded button */
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
}

#shareBtn:hover {
    background-color: #ffc107; /* Background changes to warning color (yellow/orange) */
    color: white; /* Text color changes to white on hover */
    border-color: #ffc107; /* Keeps border same as background on hover */
    cursor: pointer;
    transform: translateY(-3px); /* Slight lift on hover */
}

#shareBtn:active {
    background-color: #ffca2c; /* Lighter shade of warning color for active state */
    color: white;
    transform: scale(0.98); /* Slight press-down effect */
}

#shareBtn .icon {
    font-size: 18px;
}

/* Success message */
#copyMessage {
    display: none;
    color: #28a745; /* Success green */
    font-weight: 500;
    margin-left: 10px;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}


/* Ensures the images are responsive, stable, and have fixed height on desktop */
#categoryCarouselUnique .carousel-inner img {
    width: 100%;
    max-height: 400px; /* Controls height on larger screens */
    object-fit: contain;
    border-radius: 8px; /* Optional rounded corners */
}

/* Responsive adjustments for tablets */
@media (max-width: 768px) {
    #categoryCarouselUnique .carousel-inner img {
        max-height: 250px; /* Adjusts height for tablets */
        object-fit: contain; /* Maintains aspect ratio while resizing */
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 576px) {
    #categoryCarouselUnique .carousel-inner img {
        max-height: 200px; /* Further adjusts height for mobile screens */
     
    }
}


.category-card {
    border: 2px solid #ddd;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8f9fa;
}

.category-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-name {
    color: #343a40;
}

.category-card p {
    margin: 0;
}




 .ticker-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 5px;
    cursor: grab; /* Show a grabbing hand */
}

.ticker-container:active {
    cursor: grabbing;
}

.ticker-slide {
    display: inline-block;
    animation: ticker-scroll 300s linear infinite; /* Continuous scrolling animation */
}

.ticker-item {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: bold;
    background-color: #ffffff;
    color: #333;
    margin: 0 10px;
    text-align: center;
    transition: transform 0.2s;
    border: none;
    box-shadow: none;
}

/* Stop animation on hover (mouse) */
.ticker-container:hover .ticker-slide {
    animation-play-state: paused;
}

/* Stop animation on touch (mobile) */
.ticker-container.touch-hover .ticker-slide {
    animation-play-state: paused;
}

.ticker-item:hover {
    transform: scale(1.1);
    background-color: #007bff;
    color: #fff;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}





/* Style for rating stars */
.rating i {
    color: #ddd; /* Default color */
    transition: color 0.3s ease; /* Smooth transition for hover */
}

/* Hover effect: highlight the stars from left to right */
.rating i:hover,
.rating i:hover ~ i {
    color: #ffdd00; /* Highlight color on hover */
}

/* Reset all stars after hover */
.rating i:hover ~ i {
    color: #ddd; /* Reset color for stars after the hovered one */
}

/* Selected stars (filled stars after selection) */
.rating i.selected {
    color: #ffdd00; /* Highlight color for selected stars */
}



 /* Default size for larger screens (desktop) */
    .responsive-textarea {
        width: 50%; /* Smaller width for desktop */
        height: 100px; /* Smaller height for desktop */
    }

    /* Adjust size for smaller screens (mobile) */
    @media (max-width: 768px) {
        .responsive-textarea {
            width: 100%; /* Full width for mobile */
            height: 150px; /* Larger height for mobile */
        }
    }





/* Prevent horizontal overflow */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Sell on Trevamart Banner styles */
#sell-on-trevamart-banner {
    height: 400px; /* Adjust as needed */
    background: linear-gradient(to right, #4caf50, #2e7d32); /* Eye-catching gradient */
    padding: 20px;
    position: relative;
    width: 100%;
    box-sizing: border-box; /* Prevent overflow due to padding */
}

/* Center content */
#sell-on-trevamart-banner .banner-content {
    max-width: 800px; /* Control content width */
    padding: 20px;
    text-align: center;
}

/* Text styles */
#sell-on-trevamart-banner h1 {
    font-size: 2.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

#sell-on-trevamart-banner p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Button styling */
.sell-trevamart-btn {
    background-color: #ff5722;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.sell-trevamart-btn:hover {
    background-color: #e64a19;
    transform: scale(1.05);
}

/* Responsive design */
@media (max-width: 768px) {
    #sell-on-trevamart-banner {
        height: auto;
        padding: 40px 20px;
    }

    #sell-on-trevamart-banner h1 {
        font-size: 2rem;
    }

    #sell-on-trevamart-banner p {
        font-size: 1rem;
    }
}





/* Product Card Styles */
.product-card {
    height: 100%;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Ensure content starts at the top */
    overflow: hidden; /* Prevent overflow issues */
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.product-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures the image covers the container area without stretching */
    padding: 0;
    background-color: white;
    display: block;
    border-bottom: 1px solid #f0f0f0; /* Subtle separator */
}

/* Card Body Styling */
.product-card-body {
    padding: 10px 15px;
    text-align: center;
}

/* Product Title Styling */
.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 8px 0;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price and Discount Styling */
.price-container {
    margin-top: 10px; /* Space between title and price */
    display: flex;
    flex-direction: column; /* Stack discount price and old price + discount */
    gap: 5px; /* Add space between the rows */
    align-items: center; /* Center-align the content */
    overflow: hidden; /* Hide overflow */
}

.price-container .discount-price {
    font-size: 1rem;
    font-weight: bold;
    color: #dc3545; /* Highlight discount price in red */
    white-space: nowrap; /* Prevent wrapping */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Show ellipsis for overflowing text */
    max-width: 100%; /* Ensure it does not overflow out of the container */
}

.price-container .old-price-container {
    font-size: 0.9rem;
    color: #888;
    display: flex;
    justify-content: center;
    gap: 5px; /* Space between old price and discount */
    white-space: nowrap; /* Prevent wrapping */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Show ellipsis for overflowing text */
    max-width: 100%; /* Ensure it does not overflow out of the container */
}

.old-price {
    text-decoration: line-through;
}

.discount {
    color: #28a745; /* Green for discount percentage */
    font-weight: bold;
    font-size: 0.85rem;
    white-space: nowrap; /* Prevent wrapping */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Show ellipsis for overflowing text */
    max-width: 100%; /* Ensure it does not overflow out of the container */
}

/* Buttons */
.btn-view {
    margin-top: 10px;
    width: 100%;
    background-color: #0d6efd;
    color: white;
    text-align: center;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.btn-view:hover {
    background-color: #0b5ed7;
}

/* Ensure Consistent Layout for All Products */
.all-products-container {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-card {
        margin-bottom: 15px;
    }
}


/* Horizontal Scroll Container for Category Products */
#category-product-slider {
    overflow-x: auto; /* Enables horizontal scrolling */
    overflow-y: hidden; /* Hides vertical scrolling */
    padding: 10px 0;
    width: 100%;
}

#category-product-slider .category-product-slider {
    display: flex; /* Arrange products horizontally */
    gap: 5px; /* Space between product cards */
}

#category-product-slider .category-product-card-wrapper {
    flex-shrink: 0; /* Prevent product cards from shrinking */
    width: 220px; /* Fixed width for each product card */
}

/* Category Product Card Styling */
.category-product-card {
    height: 100%;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    background-color: white;
}

.category-product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.category-product-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    position: relative;
    overflow: hidden;
}

.category-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container without stretching */
    background-color: white;
    display: block;
}

/* Product Title and Price Styling */
.category-product-card-body {
    padding: 10px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

/* Product Title Styling */
.category-product-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 5px;
    color: #333;
    white-space: nowrap; /* Prevent title from wrapping */
    overflow: hidden; /* Hide overflowed text */
    text-overflow: ellipsis; /* Add ellipsis for overflowed text */
}

/* Price Styling */
.category-product-price {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 5px;
    color: #dc3545; /* Highlight discount price in red */
    white-space: nowrap; /* Prevent wrapping */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Show ellipsis for overflowing text */
    
}

/* Badge Styling */
.badge {
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    #category-product-slider .category-product-card-wrapper {
        width: calc(33.33% - 10px); /* 3 visible products on mobile */
    }

    .category-product-card {
        height: 150px; /* Allow height to adjust for mobile */
    }

    .category-product-title {
        font-size: 0.9rem; /* Reduce font size for small screens */
    }
    
    .category-product-card-image {
        height: 150px; /* Adjust image height for desktop */
    }

    .category-product-price {
        font-size: 0.9rem; /* Reduce price font size for small screens */
    }
}

@media (min-width: 1024px) {
    #category-product-slider .category-product-card-wrapper {
        width: 200px; /* Fixed width for larger screens */
    }

    .category-product-card {
        height: 200px; /* Fixed height for desktop cards */
    }

    .category-product-title {
        font-size: 1rem; /* Standard title font size */
    }
    
    .category-product-card-image {
        height: 200px; /* Adjust image height for desktop */
    }

    .category-product-price {
        font-size: 1rem; /* Standard price font size */
    }
}



/* General Cart Icon Styling */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1.4rem; /* Adjust the size of the icon */
    color: #212529; /* Dark color for text/icon */
    text-decoration: none;
    padding: 0.4rem;
    transition: color 0.3s ease;
}

.cart-link:hover {
    color: #ff6600; /* Vibrant color on hover to match Jumia's theme */
}

/* Cart Icon */
.cart-icon {
    font-size: 2rem; /* Icon size for better visibility */
}

/* Badge for Cart Count */
.cart-count {
    position: absolute;
    top: -0.2rem; /* Position above the icon */
    right: -0.3rem; /* Adjust to the right */
    font-size: 0.75rem; /* Font size of the number */
    width: 1.4rem; /* Badge size */
    height: 1.4rem; /* Badge height */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff6600; /* Orange badge color like Jumia */
    color: white; /* White text color */
    border-radius: 50%; /* Circular badge */
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Hover Effects */
.cart-link:hover .cart-count {
    background-color: #ff4500; /* Darker color when hovering */
}

/* Small screen adjustments */
@media (max-width: 576px) {
    .cart-link {
        font-size: 1.2rem; /* Adjust size for smaller screens */
    }
    .cart-count {
        font-size: 0.7rem; /* Smaller badge size for mobile */
        top: -0.4rem;
        right: -0.4rem;
    }
}




/* Style for cart icon and count on small screens */
@media (max-width: 767px) {
    /* Make sure it's only targeting the cart icon and its count */
    .cart-icon-container {
        position: relative;
    }

    .cart-icon-container .cart-count {
        position: absolute;
        top: 0;
        right: 0;
        background-color: #f00; /* Red background for visibility */
        color: white;
        font-size: 12px;
        font-weight: bold;
        padding: 2px 6px;
        border-radius: 50%;
    }

    .cart-icon-container .fa-cart-shopping {
        font-size: 22px; /* Adjust icon size for better look */
    }
}


/* Style for cart icon and count specifically for medium screens (iPads) */
@media (min-width: 768px) and (max-width: 1024px) {
    .cart-nav-link {
        position: relative;
        display: inline-block; /* Ensures proper alignment */
        font-size: 18px;
        color: #333;
    }

    .cart-count {
        position: absolute;
        top: 0; /* Adjust to align vertically on the icon */
        right: 0; /* Adjust to align horizontally on the icon */
        background-color: #f00;
        color: white;
        font-size: 12px;
        font-weight: bold;
        padding: 3px 6px;
        border-radius: 50%;
        line-height: 1; /* Ensures consistent circle shape */
        z-index: 10; /* Makes sure it appears above other elements */
    }

    .fa-cart-shopping {
        font-size: 24px; /* Icon size appropriate for medium screens */
    }
}




/* .floating-icon {
    position: fixed;
    bottom: 5%;
    right: 50%;
    transform: translateX(50%);
    z-index: 1050;
    border: none;
    background-color: transparent;
    color: #555; Adjust icon color to contrast with the background
    font-size: 1.5rem;
    padding: 10px;
}
.floating-icon:hover {
    color: #000; Darken color on hover for emphasis
} */
