/*Login Form*/
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
}

h2 {
    text-align: center;
    margin-top: 50px;
    color: #333;
}

.loginform {
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.loginform div {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.loginform input[type="text"],
.loginform input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

.loginform button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #336699;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.loginform button[type="submit"]:hover {
    background-color: #255580;
}
/* Login Form */

/* Register Form */

        .registerform {
            max-width: 400px;
            margin: 0 auto;
            background-color: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        .registerform div {
            margin-bottom: 20px;
        }

        label {
            display: block;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .registerform input[type="text"],
        .registerform input[type="email"],
        .registerform input[type="password"] {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box; /* Ensure padding and border are included in width */
        }

        .registerform button[type="submit"] {
            width: 100%;
            padding: 10px;
            background-color: #336699;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .registerform button[type="submit"]:hover {
            background-color: #255580;
        }

        .error-message {
            color: red;
            text-align: center;
            margin-bottom: 20px;
        }
        
/* Register Form */

/* Start Orders Modal */
.order-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.order-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
}

.order-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.order-modal-close:hover,
.order-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.order-logo {
    height: 50px;
}

.order-info h3, .order-info p {
    margin: 0;
}

.order-customer, .order-addresses, .order-items, .order-totals, .order-payments {
    margin-bottom: 20px;
}

.order-customer h4, .order-addresses h4, .order-items h4, .order-payments h4 {
    margin-bottom: 10px;
    color: #333;
}

.order-customer p, .order-addresses p, .order-items p {
    margin: 5px 0;
}

.order-addresses p {
    margin: 5px 0;
    line-height: 1.5;
}

.order-items table {
    width: 100%;
    border-collapse: collapse;
}

.order-items th, .order-items td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.order-items th {
    background-color: #f4f4f4;
}

.order-totals p {
    margin: 5px 0;
    font-weight: bold;
}

.order-print {
    text-align: center;
    margin-top: 20px;
}

.order-print button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.order-print button:hover {
    background-color: #45a049;
}

@media screen and (max-width: 600px) {
    .order-modal-content {
        width: 95%;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-logo {
        height: 40px;
    }

    .order-info {
        margin-top: 10px;
    }
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    .order-modal-content, .order-modal-content * {
        visibility: visible;
    }
    .order-modal-content {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 20px;
        border: none;
        box-shadow: none;
    }
    .order-print {
        display: none;
    }
}
/* End Orders Modal */

/* Start Profile */
.profile-container {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
}

.profile-sidebar {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    margin-right: 20px;
    border-radius: 5px;
    min-width: 200px;
}

.profile-sidebar ul {
    list-style-type: none;
    padding: 0;
}

.profile-sidebar ul li {
    margin-bottom: 10px;
}

.profile-sidebar ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.profile-sidebar ul li a:hover {
    background-color: #ddd;
}

.profile-content {
    flex: 3;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    min-width: 300px;
}

.profile-content section {
    margin-bottom: 40px;
    display: none; /* Hide all sections by default */
}

.profile-content section.profile-active {
    display: block; /* Show active section */
}

.profile-content h2 {
    margin-top: 0;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.profile-table, .profile-table th, .profile-table td {
    border: 1px solid #ddd;
}

.profile-table th, .profile-table td {
    padding: 10px;
    text-align: left;
}

.profile-table th {
    background-color: #f4f4f4;
}

.profile-form div {
    margin-bottom: 15px;
}

.profile-form label {
    display: block;
    margin-bottom: 5px;
}

.profile-form input[type="text"],
.profile-form input[type="password"],
.profile-form input[type="email"],
.profile-form button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

.profile-form button {
    background-color: #336699;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.profile-form button:hover {
    background-color: #255580;
}

@media screen and (max-width: 600px) {
    .profile-container {
        flex-direction: column;
    }

    .profile-sidebar {
        margin-right: 0;
        margin-bottom: 20px;
    }
}
/* End Profile */

/* Start Merchant Dashboard */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.dashboard-buttons {
    text-align: center;
}

.dashboard-btn {
    background-color: #336699;
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 18px;
    border-radius: 10px;
    margin: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dashboard-btn:hover {
    background-color: #255580;
}

/* Start Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* End Modals */
/* End Merchant Dashboard */

/* Start SOH Table */
.soh-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.soh-table th, .soh-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.soh-table th {
    background-color: #f4f4f4;
}

.soh-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.soh-table tr:hover {
    background-color: #f1f1f1;
}
/* End SOH Table */




/* CSS for header */
/* Main Header */
.main-header {
    display: flex;
    flex-direction: column;
}

/* Blue Bar */
.blue-bar {
    background-color: #336699;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Announcement Bar */
.announcement-bar {
    margin-right: auto; /* Push to the left */
}

/* Login & Cart */
.login-cart {
    margin-left: auto; /* Push to the right */
}

.login-cart a{
    padding: 8px 15px;
    color: #ffffff;
}

.login-cart a :hover{
    padding: 8px 15px;
    background-color: #ffffff;
}

/* Header Container */
.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Logo */
.logo {
    text-align: center;
    margin-right: 20px; /* Add margin for spacing */
}

.logo img {
    max-height: 80px;
    padding: 15px;
}

/* Search Bar */
.search-bar {
    text-align: center;
    margin-top: 20px; /* Add margin at the top */
    display: flex;
    justify-content: center; /* Align items horizontally */
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.search-bar input[type="text"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 350px;
}

.search-bar button[type="submit"] {
    padding: 8px 15px;
    background-color: #336699;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 10px; /* Add spacing between input and button */
}

.search-bar button[type="submit"]:hover {
    background-color: #255580;
}

/* Main Navigation */
.main-nav {
    text-align: center;
    margin-top: 20px; /* Add margin at the top */
}

.main-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    display: inline;
    margin-right: 20px;
}

.main-nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.main-nav ul li a:hover {
    color: #336699;
}

/* End Header Styling */

/*Body Styling */

h1, .content p{
    display: flex;
    justify-content: center; /* Align items horizontally */
    align-items: center;
}

.divider {
    height: 20px; /* Adjust the height of the dividing bar */
    background-color: #336699; /* Set the color of the dividing bar to blue */
    margin-top: 20px; /* Adjust the margin to create spacing */
}

/* End Body Styling */

/* Footer Styling */
.main-footer {
    background-color: #f8f8f8;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

.top-section {
    margin-bottom: 20px;
}

.top-section p {
    margin-bottom: 10px;
}

.top-section input[type="email"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 200px;
    margin-right: 10px;
}

.top-section button[type="submit"] {
    padding: 8px 15px;
    background-color: #336699;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.top-section button[type="submit"]:hover {
    background-color: #255580;
}

.footer-columns {
    display: flex;
    justify-content: center; /* Center the columns */
}

.column-container {
    max-width: 1200px; /* Adjust maximum width */
    margin: 0 auto; /* Center the container */
}

.column {
    flex: 1;
    text-align: center; /* Center the inside contents */
}

.column h4 {
    margin-bottom: 10px;
    color: #333;
}

.social-media-links {
    display: flex; /* Display social media links horizontally */
    align-items: center; /* Center the links vertically */
    justify-content: center; /* Center the links horizontally */
}

.social-media-links a {
    margin-right: 10px; /* Add spacing between social media links */
    color: #336699;
    text-decoration: none;
}

.social-media-links a:hover {
    text-decoration: underline;
}

.column ul {
    list-style-type: none;
    padding: 0;
    text-align: left; /* Left-align the text */
}

.column ul li {
    margin-bottom: 5px;
}

.column ul li a {
    color: #333;
    text-decoration: none;
}

.column ul li a:hover {
    text-decoration: underline;
}

.logoimg {
    max-height: 40px;
    padding: 10px;
}

.footer-container {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
}

/* End of Footer Styling */

/*Start Admin Dashboard Controls*/

.admin-dashboard-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.admin-dashboard-row {
    display: flex;
    justify-content: center;
    margin: 10px 0; /* Add margin between rows */
    padding: 0; /* Remove default padding */
}

.admin-dashboard-column {
    margin: 0 10px; /* Adjust spacing between columns */
}

.admin-dashboard-button {
    padding: 20px 40px; /* Adjust padding for more space */
    font-size: 18px;
    font-weight: bold;
    background-color: #007bff; /* Blue color */
    color: #fff; /* White text */
    border: none;
    border-radius: 10px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none; /* Remove text decoration */
    width: 200px; /* Equal width for all buttons */
    text-align: center; /* Center text */
    box-sizing: border-box; /* Include padding in height calculation */
    min-height: 80px; /* Set minimum height for buttons */
}

.admin-dashboard-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Remove default list styles */
.admin-dashboard-row {
    list-style-type: none;
}



/*End Admin Dashboard Controls*/

/*Start POS*/

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.button-container button {
    padding: 20px 40px;
    font-size: 18px;
    font-weight: bold;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 10px;
}

.button-container button:hover {
    background-color: #0056b3;
}

#content-container {
    margin-top: 20px;
}
/*End POS*/

/* Start Carousel*/

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    height: calc(100vh / 2); /* Set carousel height to match the viewport height */
}

.carousel-item {
    flex: 0 0 100%; /* Each item occupies the entire width of the carousel */
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintain aspect ratio and cover entire container */
}

.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.active {
    background-color: #717171;
}

/* Styles for navigation arrows */
.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    color: #fff; /* White color for the arrows */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    padding: 10px;
    z-index: 10; /* Ensure the arrows are above all other content */
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}



/* End Carousel*/


/* Start Featured Products */

.featured-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.product {
    flex: 1 1 30%; /* Each product takes roughly one-third of the container width */
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 15px; /* Rounded corners */
    overflow: hidden; /* Ensures content respects border radius */
    height: 400px; /* Set a fixed height for consistent sizing */
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: scale(1.05); /* Enlarge the product box on hover */
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 75%; /* Limit image to 75% of the product's height */
    object-fit: cover; /* Ensures the image covers the area, cropping as necessary */
}

.product-info {
    height: 25%; /* Ensures this takes up 25% of the product's total height */
    text-align: center;
    padding: 15px 15px 20px 15px; /* Increased bottom padding for better spacing */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
}

.price {
    font-size: 18px;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    margin-right: 10px;
    color: #777;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product {
        flex: 1 1 100%; /* Each product takes full width on smaller screens */
        height: auto; /* Allows height to adjust to content on smaller screens */
    }
    .product-image {
        height: 60%; /* Adjusts to a smaller percentage on mobile to balance display */
    }
    .product-info {
        height: 40%; /* Gives more room for text on smaller screens */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product {
        flex: 1 1 100%; /* Each product takes full width on smaller screens */
        height: auto; /* Allows height to adjust to content on smaller screens */
    }
    .product-image {
        height: 60%; /* Adjusts to a smaller percentage on mobile to balance display */
    }
    .product-info {
        height: 40%; /* Gives more room for text on smaller screens */
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
    height: auto; /* Adjust for dynamic height */
    overflow: auto;
    display: flex;
    flex-direction: column; /* Change to column for stacking */
    align-items: center;
    border-radius: 10px;
}

.modal-body {
    display: flex;
    width: 100%;
    margin-bottom: 10px; /* Space before the description */
}

.modal-image {
    flex: 0 0 45%;
    margin-right: 10%;
    border: 3px solid #336699;
    border-radius: 10px;
    overflow: hidden;
    padding: 5px;
}

.modal-image img {
    width: 100%;
    height: auto;
    max-height: 70vh; /* Limiting image height */
    object-fit: cover;
}

.modal-details {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    color: #336699;
}

.modal-description {
    width: 100%;
    padding: 10px;
    background: #e6f0ff;
    border-radius: 5px;
    font-size: 16px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.modal-price {
    margin-top: 10px;
    font-size: 16px;
    padding: 5px;
    background: #e6f0ff;
    border-radius: 5px;
}

select {
    padding: 5px;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #ccc; /* Light grey border */
    background: white;
}

button {
    background-color: #336699;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #25547c;
}

/* End Featured Products */

/* Start FAQ Section */

.faq-container {
    margin: 20px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center; /* Center the contents of the container */
}

.faq-item {
    background-color: #ffffff; /* White background for each item */
    border: 1px solid #ddd; /* Light grey border */
    border-radius: 10px; /* Rounded corners for the box */
    margin-bottom: 20px; /* Adds more space between each FAQ item */
    overflow: hidden; /* Ensures all inner elements adhere to the border radius */
}

.faq-question h3 {
    cursor: pointer;
    color: #2a2a2a;
    /* Centering the questions */
    margin: 10px 0;
    padding: 10px; /* Add padding around the question for better spacing */
    background-color: #f2f2f2; /* Slightly different background for the question */
    text-align: center; /* Ensure the text in the question is centered */
    width: 100%; /* Ensures the background color fills the area */
}

.faq-answer {
    padding: 15px;
    text-align: left; /* Align the text to the left within the centered answer block */
    display: none; /* Start with the answer hidden */
    border-top: 1px solid #ddd; /* Adds a subtle line between the question and answer */
}

/* End FAQ Section */

/* Legal */

.legal-container {
    max-width: 800px; /* Adjust the max-width as needed */
    margin: 0 auto; /* Centers the container horizontally */
    padding: 20px; /* Adds padding inside the container */
    background-color: #fff; /* Optional: Set background color */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle box shadow */
}

@media (max-width: 1200px) {
    .legal-container {
        max-width: 700px; /* Adjust for slightly smaller screens */
    }
}

@media (max-width: 992px) {
    .legal-container {
        max-width: 600px; /* Adjust for tablet-sized screens */
    }
}

@media (max-width: 768px) {
    .legal-container {
        max-width: 100%; /* Full width on mobile devices */
        padding: 15px; /* Adjust padding for smaller screens */
    }
}

/* End Legal */

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4CAF50; /* Success color */
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.notification.error {
    background-color: #f44336; /* Error color */
}

.notification.fade-out {
    opacity: 0;
}
/* Notification styles */

/* Styles for the Cart Icon */
.cart-icon {
    position: relative; /* Relative position for absolute positioning of cart count */
    display: inline-block;
    margin-left: 15px; /* Add some spacing */
    text-decoration: none; /* Remove underline */
    color: #fff; /* Set the default color of the icon */
}

.cart-icon:hover {
    color: #fff; /* Ensure the hover does not change the color */
}

.cart-icon .fa-shopping-cart {
    font-size: 24px; /* Size of the Font Awesome cart icon */
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: red; /* Background color for count */
    color: white; /* Text color for count */
    border-radius: 50%; /* Circle shape */
    padding: 2px 6px; /* Padding inside the circle */
    font-size: 12px; /* Font size */
    border: 2px solid #336699; /* Match border with header background */
}
/* Styles for the Cart Icon */

/* Cart Page Styles */
.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.cart-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table th, .cart-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
}

.cart-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.cart-table td {
    vertical-align: middle;
}

.cart-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.cart-table input[type="number"] {
    width: 60px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cart-table button {
    background-color: #d9534f; /* Red color */
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-table button:hover {
    background-color: #c9302c; /* Darker red on hover */
}

.cart-actions {
    text-align: right;
    margin-top: 20px;
}

.cart-actions button {
    background-color: #5cb85c; /* Green color */
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.cart-actions button:hover {
    background-color: #4cae4c; /* Darker green on hover */
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .cart-table th, .cart-table td {
        padding: 10px;
    }

    .cart-thumbnail {
        width: 50px;
        height: 50px;
    }

    .cart-actions {
        text-align: center;
    }

    .cart-actions button {
        width: 100%;
        margin-top: 10px;
    }
}

/* Price Styling */
.old-price {
    text-decoration: line-through;
    color: #777;
    margin-right: 10px;
}

.new-price {
    color: #d9534f; /* Red color for sale price */
    font-weight: bold;
}

/* Cart Thumbnail Styling */
.cart-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Cart Total Styling */
.cart-total {
    text-align: right; /* Align the total to the right */
    margin: 20px 0; /* Add some spacing around the total */
    font-size: 18px; /* Larger font size for visibility */
    font-weight: bold; /* Bold font */
    color: #333; /* Darker color */
}

/* Cart Summary Styling */
.cart-summary {
    text-align: right; /* Align the summary to the right */
    margin: 20px 0; /* Add spacing around the summary */
    font-size: 16px; /* Font size for summary */
    color: #333; /* Darker color */
}

.cart-summary p {
    margin: 5px 0; /* Spacing for GST line */
}

.cart-summary h3 {
    margin: 10px 0; /* Spacing for total amount line */
    font-size: 20px; /* Larger font for total */
    font-weight: bold; /* Bold font */
}


/* Cart Page Styles */

/* Checkout Page Styling */
.checkout-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-left,
.checkout-right {
    width: 48%;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box; /* Include padding in the width */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Prevent overflow of content */
}

.checkout-section {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.checkout-section h3 {
    margin-bottom: 15px;
    color: #336699;
}

.checkout-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.checkout-section input[type="text"],
.checkout-section input[type="email"],
.checkout-section input[type="tel"],
.checkout-section input[type="date"],
.checkout-section input[type="time"],
.checkout-section input[type="radio"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.payment-method {
    margin: 10px 0;
}

.checkout-button {
    width: 100%;
    padding: 15px;
    background-color: #336699;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-button:hover {
    background-color: #255580;
}

/* Cart Table Styling */
.cart-table {
    width: calc(100% - 2px); /* Ensure table fits within container with small margin */
    border-collapse: collapse; /* Collapse table borders */
    margin-bottom: 20px;
}

.cart-table th,
.cart-table td {
    padding: 10px;
    border: 1px solid #ddd; /* Add borders to table cells */
    text-align: left;
    box-sizing: border-box; /* Ensure padding does not overflow */
}

.cart-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.cart-thumbnail {
    width: 50px; /* Adjust size of the thumbnail */
    height: auto;
}

.cart-totals {
    text-align: right; /* Align totals to the right */
    margin-top: 20px;
}

/* Ensure the cart totals fit within the container */
.cart-totals p,
.cart-totals h4 {
    margin: 5px 0;
}

/* End Cart Table Styling */



/* Media Query for Mobile Devices */
@media screen and (max-width: 768px) {
    /* Adjustments for smaller screens */
    .header-container {
        padding: 20px; /* Reduce padding */
    }
    
    .search-bar input[type="text"] {
        width: 70%; /* Make the input full width on smaller screens */
        max-width: none; /* Remove maximum width */
    }

    .footer-columns {
        flex-direction: column; /* Stack columns vertically */
        align-items: center; /* Center align columns */
    }

    .column {
        width: 100%; /* Make each column full width */
        text-align: center; /* Center the text in columns */
        margin-bottom: 20px; /* Add spacing between columns */
    }

    .blue-bar {
        flex-direction: column;
        align-items: center;
    }

    .announcement-bar {
        margin-right: 0;
        margin-bottom: 10px; /* Add margin at the bottom */
    }

    .login-cart {
        margin-left: 0;
        display: flex;
        justify-content: center; /* Horizontally align buttons */
    }

    .login-cart a {
        margin-left: 5px; /* Add margin between buttons */
    }
    
    .content {
        padding: 0 20px; /* Apply padding only to the sides */
    }

    .logo {
        padding: 10px; /* Adjust padding as needed */
        max-width: calc(100% - 20px); /* Ensure the logo fits within the available width */
        box-sizing: border-box; /* Include padding in the element's total width */
    }

    .logo img {
        max-height: 60px;
    }
}