/* General Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background-color: #222;
    color: #fff;
    padding: 1rem 0;
}
nav.navbar {
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}
.header .logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.header .nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

/* Navbar Background and Styling */
.custom-navbar {
    background-color: #222 !important; /* Override default Bootstrap navbar background */
    color: #fff !important;
    padding: 1rem 0;
}

.custom-navbar .navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

.custom-navbar .navbar-brand .text-primary {
    color: #008080; /* Customize logo text color */
}

.custom-navbar .nav-link {
    color: #fff !important; /* Default link color */
    padding: 10px 8px;
    text-decoration: none;
}

.custom-navbar .nav-link:hover {
    background-color: #444 !important; /* Hover background */
    border-radius: 4px;
    color: #fff !important;
}

.custom-navbar .nav-link.active {
    background-color: #008080 !important; /* Active link background */
    color: #fff !important;
    border-radius: 4px;
}

/* Dropdown Menu */
.custom-navbar .dropdown-menu {
    background-color: #333; /* Dropdown background */
    color: #fff;
    border: none;
    border-radius: 4px;
}

.custom-navbar .dropdown-menu .dropdown-item {
    color: #fff;
    padding: 10px 15px;
}

.custom-navbar .dropdown-menu .dropdown-item:hover {
    background-color: #444;
    color: #fff;
}

/* Toggler Icon */
.navbar-toggler {
    border: none; /* Remove border */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28155, 155, 155, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .mobile-adjustment {
        margin-left: 20px;
    }
    .custom-navbar .nav-link {
        text-align: left;
        padding: 10px 0;
    }
    .nav-link {
        padding-left: 10px !important;
    }

    .custom-navbar .navbar-collapse {
        background-color: #222; /* Mobile dropdown background */
    }
}

.header .nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.header .nav a:hover {
    text-decoration: none;
}

.header nav a.active {
    color: black;
    background-color: #0ca6a6;
    border-radius: 5px;
}

.header .nav a.active:hover {
    background-color: #1bdddd;
}
/* General Navigation Styling */
.nav {
    background-color: #222;
    color: #fff;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    transition: max-height 0.3s ease;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 10px 8px;
}

.nav-links a:hover {
    background-color: #444;
    border-radius: 4px;
}

/* Shopping Cart Tooltip Styling */
.cart-section {
    float: right;
    padding-top: 1.4rem;
}

.shopping-cart {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}
.shopping-cart:hover {
    border-bottom: 1px dashed #fff;
}
/* Tooltip text styling */
.shopping-cart .tooltip-text {
    visibility: hidden;
    width: 150px; /* Tooltip width */
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: 4px;

    /* Positioning */
    position: absolute;
    top: 50%; /* Align tooltip vertically with the anchor */
    right: 150%; /* Position tooltip to the left of the anchor */
    transform: translateY(-50%); /* Adjust for vertical centering */
    z-index: 1;

    /* Transition effect */
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none; /* Prevent interactions with the tooltip */
}

/* Tooltip arrow styling */
.shopping-cart .tooltip-text::after {
    content: '';
    position: absolute;
    top: 50%; /* Center arrow vertically */
    left: 100%; /* Position arrow at the right edge of the tooltip */
    transform: translateY(-50%); /* Align arrow vertically */
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333; /* Arrow points left */
}

/* Show the tooltip on hover */
.shopping-cart:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Dropdown Menu */
.nav .dropdown {
    position: relative;
    display: inline-block;
}

.nav .dropbtn {
    background: none;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    padding: 10px;
}

.nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 7px;
}

.nav .dropdown-content a {
    color: #333;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.nav .dropdown-content a:hover {
    background-color: #008080;
    color: #000;
    text-decoration: none;
}

.nav .dropdown:hover .dropdown-content {
    display: block;
}

.header .nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

/* Search Bar */
.nav .search-bar {
    position: relative;
    margin-top: -7px;
}

.nav .search-bar input[type="text"] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background-color:rgba(103, 90, 90, 0.626);
}

.nav .search-bar input[type="text"]:focus {
    color: #fff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.nav .search-bar button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: #008080;
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.nav .search-bar button:hover {
    background: #dd9b68;
}

.search-button {
    font-size: 1rem;
}
/* Hero Section */
.hero {

    background: linear-gradient(to right, #008080, #1bdddd);
    color: #fff;
    text-align: center;
    padding: 3rem 0;
    height: 250px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    padding: 2rem 0;
    background: #f3f3f3;
    text-align: center;
}

.about h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1rem;
    color: #666;
}

/* Services Section */
.services {
    padding: 2rem 0;
    text-align: center;
}

.services h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    padding: 1.5rem !important;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.card h4 {
    font-size: 1.5rem;
}

.card p {
    color: #666;
    margin-top: 7px;
}

.card a {
    display: inline-block;
    font-size: 14px;
    text-decoration: none;
    color:#008080;
}

.card a:hover {
    border-bottom: 1px dashed #138282;
    cursor: pointer;
}
/* Contact Section */
.contact {
    padding: 2rem 0;
    background: #222;
    color: #fff;
    text-align: center;
}

.contact h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    width: 100%;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
}

input[type="text"], input[type="number"], input[type="email"], textarea {
    font-size: 1rem;
    padding: 0.5rem 0;
}

.contact button {
    width: 100%;
    padding: 0.75rem;
    background: #008080;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin: 0 auto;
}

.contact button:hover {
    background: #045a5a;
}

.explore-services-btn {
    padding: 0.75rem;
    background: #ffffff;
    color: #1b1b1b;
    border: 1px solid white;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin: 0 auto;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.explore-services-btn:hover {
    background: #d7d7d7;
    transition: 0.3s ease;
    transform: scale(1.05);
}

.last-section {
    margin-bottom: 0;
}

/* Products Section */
.products {
    padding: 2rem 0;
    text-align: center;
    background: #f9f9f9;
}

.products h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.product-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: #666;
    margin-bottom: 1rem;
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #008080;
    margin-bottom: 1rem;
}

.product-card .details-button {
    display: inline-block;
    background: #ff7e5f;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.buy-now-button {
    display: inline-block;
    background: #0cabd7;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    border: none;
}



.product-card .details-button:hover {
    background: #008080;
}

.product-card .buy-now-button:hover {
    background: #1357a5;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

.footer p {
    font-size: 0.9rem;
    margin: 0;
}

.developed-by {
    color: grey;
}

input#name, input#email {
    padding-left: 10px;
}

/** CUSTOM CODE FOR PRODUCT DESCRIPTION PAGE */

div.product-info h2 {
    font-size: 28px;
    padding-bottom: 12px;
}
.product-description {
    padding: 1.3rem 0 0;
    background: #fff;
    color: #333;
}

.product-description h1 {
    font-size: 2.5rem;
    text-align: center;
}

.product-description .product-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem;
    display: block;
    border-radius: 10px;
}

.product-description .product-details {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.product-description .product-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-description .product-details p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.product-description .product-details .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff7e5f;
    margin-bottom: 1rem;
}

.product-description .product-details .add-to-cart-button {
    display: inline-block;
    background: #ff7e5f;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

.product-description .product-details .add-to-cart-button:hover {
    background: #008080;
}

.product-category {
    font-size: 0.8rem;
    padding: 0;
    margin-top: -18px;
}

.product-price {
    font-weight: bold;
}

.product-tags {
    font-size: 0.8rem;
    font-style: italic;
}

.product-tags .tag {
    background: #01f5f5;
    padding: 6px;
    border-radius: 5px;
    font-weight: bold;
}
.shipping-location {
    padding-top: 10px; 
}
.shipping-location, .processing-time, .product-shipping {
    font-size: 0.9rem;
    font-weight: thin;
    margin-top: -10px;
    font-style: italic;
}


.btn-primary {
    background: #008080;
    color: #fff;
    padding: 0.75rem 1.50rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background-color: #045a5a;
    transform: scale(1.05);
    transition: 0.2s ease;
}

.btn-secondary {
    background: #5fbaff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-secondary:hover {
    background-color: #1357a5;
    transform: scale(1.05);
    transition: 0.2s ease;
}

.add-to-cart-form {
    padding-bottom: 20px;
}
.btn-cart {
    padding-bottom: 15px;
}

.inline {
    display: inline-block;
}

@media (max-width: 768px) {
    h1.inline {
        font-size: 1.5rem;
        white-space: nowrap;
    }

    .explore-services-btn {
        padding: 0.63rem;
        font-size: 0.99rem;
    }
}

.important { border-bottom: 1px dashed black; }

/* Product Size */
.product-size {
    display: inline-block;
    margin: 1rem 0;
    text-align: left;
}

.product-label {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-right: 0.5rem;
    display: block;
}

form#buy-form > input[type="number"], select {
    display: inline-block;
    box-sizing: border-box;
    padding: 0.7rem;
    border: 1px solid black;
    border-radius: 5px;
    font-size: 1rem;
    background: #fff;
    color: #333;
    appearance: none;
    -webkit-appearance: none; /* For Safari */
    -moz-appearance: none; /* For Firefox */
}

input[type="number"]:focus, select:focus {
    outline: none;
    border-color: #ff7e5f;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.related-products {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.related-products h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.related-listings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.listing-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.listing-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 20px;
}

.listing-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.listing-card h4 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #333;
}

.listing-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 10px;
}

.listing-card .price {
    font-size: 1rem;
    font-weight: bold;
    color: #008080;
}

.product-list {
    padding: 40px 20px;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
}
.sort-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sort-options {
    text-align: left;
    display: flex;
    flex-direction: row;      /* Ensure a row layout */
    flex-wrap: nowrap;        /* Prevent wrapping */
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    display: inline-block;
    white-space: nowrap;
}

.sort-text {
    font-weight: bold !important;
}
#sort-products, #filter-options {
    padding: 6px;
}

@media (max-width: 768px) {
    .sort-options {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        text-align: right;
        gap: 5px;
    }

    #sort-products {
        margin-right: -5px;
    }
    .sort-options label, .sort-options select {
        font-size: 0.9rem;
        padding: 0;
        margin: 0;
    }
}

.filter-options {
    padding-left: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    gap: 20px; /* Space between products */
    justify-content: center;
}

.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-card img.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

a.product-link {
    color: #008080;
    text-decoration: none;
}

a.product-link:visited {
    color: #066565;

}

.product-card .product-name {
    font-size: 1.2rem;
    margin-top: -10px;
    margin-bottom: 10px;
    color: #333;
}

.product-card .product-price {
    font-size: 1rem;
    font-weight: bold;
    color: #008080;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.page-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 13px;
    margin: 0 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.page-btn.active {
    background: #0ca6a6;
    color: #fff;
    border-color: #088989;
}

.page-btn:hover:not(.active) {
    background: #f0f0f0;
}

.page-btn:disabled {
    background: #f9f9f9;
    color: #bbb;
    cursor: not-allowed;
}

/* CART */
.cart {
    padding: 2rem 0;
    background: #f9f9f9;
    text-align: center;
}

.cart h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* FAQ.HTML */
/* FAQ Section */
.faq-items {
    margin: 0 auto;
    padding: 2rem 0;
}

.faq-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 1rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-item:hover {
    background: #f9f9f9;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin: 0;
    color: #333;
}

.faq-item .answer {
    display: none;
    padding-top: 0.5rem;
    font-size: 1rem;
    color: #666;
}

.faq-item.active .answer {
    display: block;
}

a.contact-me {
    text-decoration: none;
    color: #0ca1a1;
}

a.contact-me:hover {
    cursor: pointer;
    border-bottom: 1px dashed #ff7e5f;
}

input#contact-form-name, input#contact-form-email, textarea#contact-form-message {
    padding-left: 8px;
}
/* REFUND.HTML */
.refund-policy {
    margin-top: 3%; 
}

.refund-link {
    color: #0ca1a1;
    text-decoration: none;
}

.refund-link:hover {
    cursor: pointer;
    border-bottom: 1px dashed #0ca1a1;
}

/* 404.HTML */
.page-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: auto;
    background: linear-gradient(to right, #1bdddd, #008080);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.page-404 h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}


.page-404 p {
    font-size: 1.5rem;
}

.page-404 a {
    display: inline-block;
    background: #fff;
    color: #008080;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.page-404 a:hover {
    background: #1bdddd;
    color: #fff;
}

.black-404 {
    color: #000;
}

/* Dashboard (index.html) */
.db-background {
    background: #e9e9e9;
}
.db-user {
    font-size: 1.6rem;
    color: #008080
}

#dashboard-header {
    margin-top: 15px;
}
.stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat {
    background: #f7f7f7;
    min-height: 100px;
    width: 275px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #ccc;
}

.stat:hover {
    border: 1px solid #008080;
}

div.stat > p {
    font-size: 1.3rem;
    margin: 0;
    padding-bottom: 15px;
}

section#db-help {
    margin-top: 15px;
}

section#db-help > ul li {
    line-height: 1.6rem;
}

.future-development {
    font-style: italic;
}

/* Dashboard (add-listing.html) */
fieldset#product-information-fieldset {
    margin-bottom: 20px;
}

.product-legend {
    font-weight: bold;
    padding: 0 15px;
    color: #008080;
}

.label-desc {
    font-size: 0.8rem;
    font-weight: normal;
}
.listing-container {
    display: inline-block;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 550px;
    border-radius: 5px;
    padding: 15px;
}

.listing-container fieldset > label {
    display: block;
    font-weight: bold;
}

.listing-container fieldset > input#product-title, input#product-tags, input#product-price, textarea#product-description, select#product-category, input#product-quantity, input#product-location {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #f7f7f7;
    margin-bottom: 20px;
    box-sizing: border-box;
    padding: 10px;
}

.listing-container fieldset > input[type="text"]:focus, input[type="number"]:focus, textarea:focus, select:focus {
    outline: 2px solid #008080 ;
}

.listing-container fieldset > textarea {
    resize: none;
}

.listing-btn {
    margin-top: 20px;
    padding: 10px;
    background: #008080;
    color: #fff;
    border-radius: 5px;
    border: none;
    font-size: 1.1rem;

}

/* Product Image Carousel */
.product-image-carousel {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.product-image-carousel img {
    display: block;
    border-radius: 10px;
    width: 525px; height: 525px;
}

@media (min-width: 768px) {
    .product-main {
        display: flex;
    }
}

.thumbnail {
    width: 100px; 
    cursor: pointer
}
.product-thumbnails {
    display: flex;
    justify-content: left;
    gap: 10px;
    margin-top: 10px;
    padding-bottom: 20px; 
}

.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    border-color: #008080;
}

.etsy-brand {
    background: orange;
    color: white;
    padding: 5px;
    border-radius: 3px;
}


/* Search Bar Styling */
.search-bar-container {
    display: flex; /* Always visible and uses flexbox layout */
    width: 100%;
    padding: 0px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1050;
    justify-content: center;
    align-items: center;
    background-color: inherit; /* Matches Bootstrap's .bg-dark */
}

.search-bar-container.active {
    display: flex; /* Display when active */
    justify-content: center;
    align-items: center;
}

.search-bar-container form {
    display: flex;
    width: 100%;
}

.search-bar-container form input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    color: #fff;
    background-color: rgba(105, 105, 105, 0.2); /* Optional: a subtle dark input background */
}

.search-bar-container form input[type="text"]:focus {
    outline: 1px dashed #008080;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.search-bar-container form button {
    padding: 7px 16px;
    background-color: #008080;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

.search-bar-container form button:hover {
    background-color: #1a9595;
}

/* Search Dropdown Styling */
.search-dropdown {
    position: absolute;
    background: #333;
    width: 96%;
    margin-left: 0;
    margin-top: 5%;
    border: 1px solid #444;
    display: none; /* hidden by default */
    z-index: 1050; /* Ensure it appears above content */
    max-height: 250px;
    overflow-y: auto;
}

.search-item {
    padding: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.search-item:hover {
    background-color: #444;
}

.search-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
}

.search-item-title {
    color: #fff;
}

.form-inputs{
    position:relative;
}

.form-inputs .form-control{
    height:45px;
    padding-left: 8px;
}

.form-inputs .form-control:focus{
    box-shadow:none;
    border:1px solid #000;
}

.form-inputs i{
    position:absolute;
    right:20px;
    top:60px;
}

.shop-bag{
    background-color:#000;
    color:#fff;
    height:50px;
    width:50px;
    font-size:25px;
    display:flex;
    border-radius:50%;
    align-items:center;
    justify-content:center;
    margin-left: 55px;
}

.qty{
    color: #ccc;
    font-size:12px;
}

.fw-bold {
    color: #fff;
}

.mobile-cart {
    display: none;
}

@media (max-width: 768px) {
    .mobile-cart {
        display: block;
    }

    .web-heading {
        display: none;
    }
}

#cart {
    text-decoration: none;
}

span.qty a {
    color: #ccc;
    text-decoration: none;
}

span.qty a:hover {
    border-bottom: 1px dashed #fff;
}

.align-right {
    margin-right: -19px;
}

.text-end {
    color: #000;
}

.btn-primary {
    background-color: #008080 !important;
}

.shipping-costs {
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 300;
}

/* Basic styling for the card container and button */
#card-container {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#card-button {
    padding: 10px 20px;
    background-color: #0077cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.sub-total-amount, .shipping-amount, .total-amount {
    line-height: 10px;
}

.total-text {
    font-weight: bold;
}

.shipping-type {
    font-weight: 400;
    font-style: italic;
}

/* admin_listings.css */
.admin-header {
    background-color: #0077cc;
    color: #fff;
    padding: 15px 20px;
}

.admin-header h1 {
    margin: 0;
    font-size: 1.8em;
}

.admin-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-nav ul li {
    display: inline-block;
    margin-right: 15px;
}

.admin-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.admin-content {
    max-width: 1000px;
    margin: 30px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-content h2 {
    margin-top: 0;
}

.listings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.listings-table th,
.listings-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.listings-table th {
    background-color: #0077cc;
    color: #fff;
}

.action-btn {
    padding: 5px 10px;
    text-decoration: none;
    color: #fff;
    border-radius: 4px;
    margin-right: 5px;
    font-size: 0.9em;
}

.edit-btn {
    background-color: #28a745; /* Green */
}

.delete-btn {
    background-color: #dc3545; /* Red */
}

/* filters.css */

.filter-sidebar {
    display: block;
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

.filter-sidebar h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #008080;
    text-align: center;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group h4 {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.filter-group ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.filter-group ul li {
    margin-bottom: 5px;
}

.filter-group ul li a {
    text-decoration: none;
    color: #008080;
    font-weight: bold;
    transition: color 0.2s ease;
}

.filter-group ul li a:hover {
    color: #0ca6a6;
}


/* Default: show sidebar, hide mobile dropdown */
.filter-dropdown {
    display: none;
}

/* Mobile styles: hide the sidebar, show the dropdown */
@media (max-width: 768px) {
    .filter-sidebar {
        display: none;
    }
    .filter-dropdown {
        display: block;
        margin: 20px 0;
    }
    .mobile-filter-label {
        font-weight: bold;
        margin-right: 10px;
    }
    /* Optionally, style the select element */
    #mobile-filter {
        width: 100%;
        padding: 8px;
        font-size: 1em;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
}
