:root{
    --color-header:#58595B;
    --color-navbar:#58595B;
    --color-footer:#58595B;
    --color-body:#AAAAAA;
    --color-content-area: lightgrey;
    --color-breadcrumb-area: #cccccc;
    --color-text-on-dark-background: #FFFFFF;
    --color-text-on-light-background: #333333;
    --color-heading: #58595B;
    --color-sidebar: #D32F2F;
    --color-call-to-action: #D32F2F;
    --color-call-to-action-hover: #f73838; 
    --color-tab-button: #58595B ;
    --color-tab-button-active:#38973d;
    --color-tab-button-hover: #39B54A;
    --color-nav-button-hover: #B71C1C ;
    --color-nav-button-active:#D32F2F;
    --color-border: #666666;
    --color-paragraph: #666666;
}

html {
    /* 62.5% of default font size 16px = 10px */
    font-size: 62.5%;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    background-color: var(--color-body); /* Light grey background for body */
    /*background: linear-gradient(to bottom, #aaaaaa, #ffffff); */

    color: #FFFFFF; /* White text for readability on dark background */
}

h1, h2, h3, h4 {
    color: var(--color-heading);
    font-weight: 500;
    padding: 0.5rem;
    bottom: 1rem;
    line-height: 1.1;
    margin-left: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-top: 1rem;
    font-size: 1.5rem;
    color: var(--color-paragraph);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    margin-left:1rem;
}



 footer { 
    flex-shrink: 0; /* Prevents footer from shrinking */
    /* padding: 1rem 6rem 0rem 6rem; */
    padding-left: 6rem;
    font-size: 1.4rem;
    background-color: var(--color-footer); /* Dark grey for footer */
    color: var(--color-text-on-dark-background);
    margin-top: 1rem;
    /* margin-right:1rem; */
  
 } 

footer p {
    color: white;
}

footer h3 {
    color: white;
    /* padding: 0 3rem; */
    font-size: 2rem;
}

canvas {
    width: 100%;
    height: 100%;
  
}

button.disabled {
    background-color: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
    pointer-events: none; /* Prevents any interaction */
 }



.footer-container {
    display: flex;
    justify-content: space-around;
    /* max-width:120rem; */
  
    /* margin: 0 auto; */
    flex-wrap: wrap;
    width: 100%;
    
}

.footer-section {
    flex: 1;
    min-width: 24rem;
    padding: 1rem;
}

.footer-section h3 {
    font-size: 1.0em;
    margin-bottom: 1rem;
    color: var(--color-breadcrumb-area);
    padding:0;
    text-decoration: underline;
    text-underline-position: under;
}

.footer-section ul {
    list-style: none;
    padding-left: 1rem;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}


.footer-copyright p {
    justify-content: center;
    display: flex;
}

.social {
    padding-left:1rem;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.5em;
    margin-right: 1rem;
    text-decoration: none;
    
}

.social-icons a:hover {
    opacity: 0.7;
}

.subscribe-form {
    display: flex;
    margin-top: 1rem;
    margin-right: 6rem;
}

.subscribe-form input {
    flex: 1;
    padding: 5px;
    border: none;
    border-radius: 4px 0 0 4px;
}  

.subscribe-form button {
    background-color: var(--color-call-to-action);
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.subscribe-form button:hover {
    background-color: var(--color-call-to-action);
}


.info-page {
    margin: 3rem;
    /* height: 100vh; */
}

.list-line {
    display: flex; /* Flexbox for layout */
    flex-direction: row; 
    flex-wrap: wrap; /* Allow wrapping of children */
    gap: 10px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    background-color: var(--color-content-area);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.list-item {
  
    cursor: pointer;
    padding: 0 0 5px 10px;
    background: #FFFFFF; /* White background */
    color: #333333; /* Dark grey for text */
    border: 1px solid #666666; /* Lighter grey border */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.4rem;
    font-weight:normal;

}



.wrapper {
    /* position: relative;
    margin-top: 280px; */
    display: flex; /* Flexbox for layout */
    flex-direction: column; /* Stack children vertically */
    flex-wrap: wrap; /* Allow wrapping of children */
    width: 100%;
    min-height: 100vh; /* Ensures wrapper is at least viewport height */
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--color-content-area);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);

}

.wrapper-header {
    /* position: fixed;
    top: 0px; */
    left: 0; 
    display: flex; /* Flexbox for layout */
    flex-direction: column; /* Stack children vertically */
    flex-wrap: wrap; /* Allow wrapping of children */
    width: 100%;
    /* height:260px; */
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--color-content-area);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    z-index: 1000;

}

/* @media screen and (min-width: 768px) {
    .wrapper {
        margin-top: 145px;
    }

    .wrapper-header {
        height:140px;
    }
} */

.hidden {
    display: none !important;
}    

.no-border {
    border: none;
}

.underline {
    border-bottom: 1px solid #666666; /* Lighter grey underline */
    height:1px;
}

.header {
    background-color: var(--color-header); /* Dark grey background */
    padding: 0 0 10px 0;
    color: var(--color-text-on-dark-background);
    /* position: relative; */
  /*  border-radius: 5px 5px 0 0; /* Rounded corners at top */
    width: 100%;
    max-width: 1500px;
    /* margin-left: auto; */
    margin-right: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.top-bar {
    background-color: var(--color-navbar); 
    height: 4rem;
}

.bottom-bar {
    padding-top: 1rem;
}

.top-bar, .bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-text-on-dark-background);
    margin: 0;
    /* flex: 1; */
    text-align: left;
}

.logo img {
    height: 80px; /* Adjust based on your logo size */
}

.nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0 1rem;
    padding: 0;
    gap: 1rem;
}

.nav-menu li {
    margin: 0 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text-on-dark-background);
    font-size: 14px;
    transition: color 0.3s ease;
    padding:1rem 1rem;
    border-radius: 5px;
    
}

.nav-menu a:hover{
    background-color: var(--color-nav-button-hover); 
}

.nav-menu a.active{
    background-color: var(--color-nav-button-active);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-actions .cart {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: var(--color-text-on-dark-background);
    padding-right: 1rem;
}

.user-actions .cart img {
    height: 20px;
    width: 20px;
}

.user-actions .phone-number {
    font-size: 14px;
    color: var(--color-text-on-dark-background);
    padding-right: 1rem;
}

.user-actions .phone-number a {
    color: var(--color-text-on-dark-background);
    text-decoration: none;
}

/* .search-bar {
    padding: 15px 0;
    flex: 1;
    text-align: left;
} */

.search-bar div[role="search"] {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 10px;
    padding: 0 3rem;
   
}

.search-bar form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.search-bar input[type="search"] {
    margin-left: 1rem;
    padding: 8px 15px;
    width: 300px;
    border: 1px solid #666666; /* Lighter grey border */
    border-radius: 4px;
    font-size: 14px;
    background-color: var(--color-text-on-dark-background);
    color: #333333;
}

.search-bar button {
    padding: 8px 15px;
    border: 1px solid #666666; /* Lighter grey border */
    border-left: none;
    background-color: var(--color-text-on-dark-background);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    background: #D32F2F;
}

.search-bar button img {
    height: 20px;
    width: 20px;
    background:#D32F2F;
}

.search-bar input[type="search"]:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(46, 125, 50, 0.5); /* Green shadow for focus */
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-text-on-dark-background);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.header .cart {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    padding: 5px 10px;
    border-radius: 5px;
}

.header .cart img {
    width: 30px;
    height: auto;
}

.header .cart:hover {
    cursor: pointer;
/*   background-color: #D32F2F; /* Red for cart hover */
}

.cart.green, .cart.green span, .cart.green img {
    color: #38973d;
  /*  filter: hue-rotate(120deg); /* Adjusts icon color to green */
}

.header #logged-in-user {
    display: none;
    font-size: 1.4rem;
    color: var(--color-text-on-dark-background);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .top-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #333333; /* Dark grey for mobile menu */
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 10px 0;
        width: 100%;
    }

    .nav-menu li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }

    .user-actions {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .bottom-bar {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    .logo {
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }

    .search-bar {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    /* .search-bar input[type="search"] {
        width: 70%;
    } */

    .user-actions .cart {
        margin-top: 0;
        flex-direction: row;
        align-items: center;
    }
}


.intro {
    padding: 2rem;
    margin: 1rem;
    background-color: #bbbbbb;
   
}

.centre-text {
    text-align: center; 
    padding-bottom: 1rem;
}

.intro p {
    color: #333333;
    /* color: white; */
}

.content {
   display: grid;
   margin: 0.5rem 0.5rem 0 0.5rem;
   min-height:70vh;
   
}

@media screen and (min-width: 768px) {
    .content {
        grid-template-columns: 350px 2fr;
        padding: 1rem 1rem 0 1rem;
        width: 98%;
    }
}  

.content-plain {
   display: grid;
   margin: 0.5rem 0.5rem 0 0.5rem;
   min-height:80vh;
}

.sidebar {
    background-color: var(--color-sidebar); /* Red for sidebar */
    color: var(--color-text-on-dark-background);
    width: 350px;
    padding: 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.7);
    display: none;
    font-size: 1.7rem;
    border-radius: 5px;
}

@media screen and (min-width: 768px) {
    .sidebar {
        display: block;
    }
}

.sidebar h2 {
    margin-top: 0;
    color: var(--color-text-on-dark-background);
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 1rem 0;
    cursor: pointer;
}

.sidebar ul li ul {
    list-style: none;
    padding-left: 2rem;
    display: none;
}

.sidebar ul li ul li {
    font-size: 1.5rem;
    padding-left: 1rem;
    color: #F1F1F1;
}

.sidebar ul li ul li:hover {
    color: #FFCCCB;
    cursor: pointer;
}

.sidebar li a {
    text-decoration: none;
    color: var(--color-text-on-dark-background);
    font-weight: bold;
    display: block;
    padding: 0.5rem 0;
}

hr {
    border: none;
    border-top: 1px solid #666666; /* Lighter grey for hr */
    margin-right: 1rem;
}

.main-content {
  /*  flex: 1 0 auto; /* Takes up all available space, pushing footer down */
    /* flex: 1;  */
    font-size: 1.6rem;
    width:98%;
    margin-right: 0.5rem;
    /* padding-left:1rem; */
    justify-content: center;
   
}

@media screen and (min-width: 500px) {
    .main-content {
        flex: 1 0 auto;
        /* width: 100%; */
        padding-left: 1rem;
        padding-right: 1rem;
        margin-right: 1rem;
    }
}    


.main-content h1 {
    color: #333333; /* Dark grey for headings */
}

.main-content h2 {
    margin-left: 1rem;
    color: #333333; /* Dark grey for subheadings */
}

/* Testimonial section */
.testimonials {
    margin: 1rem;
    padding: 20px 20px;
    text-align: center;
    background-color: #bbbbbb; 
}

.testimonial-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 33.33%; /* 3 cards per slide on desktop */
    box-sizing: border-box;
    padding: 0 10px;
}

.testimonial-card {
    background: var(--color-text-on-dark-background); 
    border: 1px solid #666666; /* Lighter grey border */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0 10px;
    margin: 0 0 20px 0;
    text-align: left;
    height: 95%; /* Ensure cards are the same height */
}

.testimonial-card p {
    font-style: italic;
    color: #333333; /* Dark grey for testimonial text */
    margin-bottom: 15px;
}

.rating {
    margin: 10px 0;
}

.rating span {
    color: #D32F2F; /* Red for star ratings */
    font-size: 18px;
}

.testimonial-card h3 {
    color: #2E7D32; /* Green for names */
    margin-top: 15px;
    font-size: 16px;
}

.slider-dots {
    text-align: center;
    margin-top: 20px;
}

.slider-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #666666; /* Lighter grey for inactive dots */
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.slider-dots span.active {
    background: #2E7D32; /* Green for active dot */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 100%; /* 1 card per slide on mobile */
    }
    .testimonial-slides {
        flex-wrap: nowrap; /* Prevent wrapping on mobile */
    }
}

/* Overlay Styles */
.popup-overlay {
    position: fixed;
    /* top: 10rem; */
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Semi-transparent background */
    display: none;
    z-index: 1000;
    padding: 20px;
    font-size: 20px;
    transition: opacity 0.3s ease; /* Fade transition */
}

/* Overlay Styles */
.popup-overlay-top {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    color: var(--color-text-on-dark-background);
    text-align: center;
    font-size: 18px;
    z-index: 1000;
    display: none;
    /* opacity: 0; */
    padding-bottom: 1rem;
    transition: opacity 0.3s ease; /* Fade transition */
}

.popup-overlay-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    justify-self: center;
    align-items: center;
  
   
}

.popup-overlay.show {
    display: block;
  /*  opacity: 1; /* Show the popup */
}

.popup-close-button {
    margin-top: 10px;
    padding: 10px 20px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}



.popup-close-button:hover {
    background: #cc0000;
}

#popup-message {
    color: #777777;
}

/* Product listing Styles */
.products {

   
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 1rem;
    row-gap: 1rem;
    /* padding-left:0.5rem; */
    margin: 0 1rem;
   
   
}

/* @media screen and (min-width: 500px) {
    .products {
        justify-content: left;
    }
} */

.product {
    border: 1px solid #666666; /* Lighter grey border */
    /* padding: 1rem; */
    text-align: center;
    border-radius: 5px;
    width: 100%;
    /* width: 180px; */
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: var(--color-text-on-dark-background); /* White background for products */
    /* display: flex; */
 /*   flex-direction: column; /* Stacks children vertically */

}


.product img {
    /* width: 100%; */
    height: 200px; /* Takes up top portion of container */
    width:100%; 
    object-fit: contain; /* Maintains aspect ratio */
    padding: 10px; /* Optional: adds some spacing around image */
    box-sizing: border-box; /* Ensures padding doesn't increase size */
}

.product h3 {
    height: 60px; /* Takes up bottom portion of container */
    /* max-height:25%; */
    margin: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    text-align: center;
    display: flex;
    align-items: center; /* Centers text vertically in its section */
    justify-content: center; /* Centers text horizontally */
}


.product:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.product p {
    color: #666666; /* Lighter grey for text */
    padding: 1rem;
    height: auto
}

@media screen and (min-width: 500px) {
    .product {
        width:280px;
    }
    .product h3 {
        height: 50px;
    }

    .products {
        margin-left:0.5rem;
        /* margin-right:0.5rem; */
    }
}

@media screen and (min-width: 768px) {
    /* .product { */
        /* width:250px; */
    /* } */
    .product h3 {
        height: 50px;
    }
}

.postcode-check {
    margin-top: 20px;
}

.postcode-check p {
    color: white;
}

.postcode-check input {
    padding: 10px;
    width: 80%;
    border: 1px solid #666666; /* Lighter grey border */
    border-radius: 5px;
}

.postcode-check button {
    padding: 10px 20px;
    background-color: #D32F2F; /* Red for buttons */
    color: var(--color-text-on-dark-background);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.postcode-check button:hover {
    background-color: #B71C1C; /* Darker red for hover */
}

.price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    margin-top: 4rem;
    background: var(--color-text-on-dark-background); 
    border: 1px solid #666666; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #333333; /* Dark grey for price */
}

.add-to-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 20px;
    background: #D32F2F; /* Red for add-to-cart */
    color: var(--color-text-on-dark-background);
    border: none;
    border-radius: 5px;
    font-size: 1.6rem;
    transition: background 0.3s;
}

.add-to-cart:hover {
    background: #B71C1C; /* Darker red for hover */
}

.cart-icon {
    width: 2.4rem;
    height: 4rem;
    fill: var(--color-text-on-dark-background);
    transition: fill 0.3s;
}

.breadcrumb-container {
    margin-top: 1rem;
    margin-left:1rem;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of the entire breadcrumb */
    height: auto; /* Allow height to adjust dynamically */
    align-items: center;
    font-size: 1.4rem;
    max-width: 100%; /* Force container to respect viewport width */
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    white-space: nowrap; /* Prevent text breaking within items */
}


.breadcrumb-item {
    margin-right: 0.5rem;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #2E7D32;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item::after {
    content: ">";
    margin-left: 0.5rem;
    color: #333333;
}

.breadcrumb-item:last-child::after {
    content: "";
}

.info-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, 100px);
    gap: 1rem;
    margin-bottom: 2rem;
    background-color: var(--color-text-on-dark-background); /* White background */
}

.productinfo {
    display: grid;
    flex-direction: row;
    /* grid-template-columns: 1fr 2fr; */
    align-items: center;
    gap: 4rem;
    margin: 1rem;
    background-color: var(--color-text-on-dark-background); /* White background */
    max-width: 500px;
   
}

.product-img {
    width:350px;
}

@media screen and (min-width: 500px) {
    .product-img {
         width:450px;
    }
}    

@media screen and (min-width: 768px) {
    .product-img {
         width:550px;
    }
}  

.productinfo img {
    width: 250px;
} 

@media screen and (min-width: 500px) {
    .productinfo {
        max-width: 768px;
    }

    .productinfo img {
        width: 350px;
    }
}

.productlist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 ;
    width: 96%;
    
}

.technical-image {
    margin-right:0;
    width:34rem;
    height:60rem; 
}

@media screen and (min-width: 768px) {
    .productlist {
        margin-right:2rem;
    }

    .technical-image {
        margin-right: 2rem;
        width:45rem;
        height:60rem;
    }
    
}    

.productlist h3 {
    /* min-width: 280px; */
    color: #333333; /* Dark grey for headings */
}

.productlist select {
    font-size: 16px;
    font-weight: bold;
    border: none;
    
    color: #333333;
}

.productlist-item {
    display: grid;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 0 0 5ox 10px;
    background: #FFFFFF; /* White background */
    color: #333333; /* Dark grey for text */
    border: 1px solid #666666; /* Lighter grey border */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.6rem;
    font-weight:600;
}

.productlist-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: lightgray;
    font-weight:bold;

   
}

.productlist-view-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap:wrap;
    /* grid-template-columns: 80% 90px; */
}

.productlist-price-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap:wrap;
    gap: 1rem;
    /* grid-template-columns: 1fr 1fr 70px 150px; */
}

@media screen and (min-width: 768px) {
    .productlist-price-grid {
        flex-direction: row;
    }    
    .productlist-item {
        padding: 0 0 0 10px;
    }
}    

.productlist-icon {
    width: 26px;
    height: 26px;
    /* fill: #D32F2F; */
    /* transition: fill 0.3s; */
}

.productlist-view-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 90px;
    gap: 10px;
    padding: 5px;
    background: var(--color-call-to-action); /* Red for view block */
    border: none;
    color: #FFFFFF;
    border: 1px solid #666666; /* Lighter grey border */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.6rem;
}

.productlist-view-block:hover {
    background: var(--color-call-to-action-hover); /* Darker red for hover */
    
}

.productlist-price:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.productlist-price-block {
    display: grid;
    grid-template-columns: 0.3fr 120px;
    justify-content: right;
    align-items: center;
    gap: 10px;
    padding: 5px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
}



.productlist-qty {
    font-size: 18px;
    /* font-weight: bold; */
    color: #333333; /* Dark grey for qty */
    text-align: right;
    align-items: center;
    padding: 5px;
    background: #FFFFFF; /* White background */
    max-width: 6rem;
   border:1px solid #333333;
}

.productlist-price {
    font-size: 18px;
    font-weight: bold;
    color: #333333; /* Dark grey for price */
}

.productlist-add-to-cart {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    background: #D32F2F; /* Red for add-to-cart */
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.productlist-add-to-cart:hover {
    background: #B71C1C; /* Darker red for hover */
}

/* Style the tab */
.tab {
    /* overflow: hidden; */
    border: none;
    /* margin-top: 1rem; */
    /* margin-bottom: 1rem; */
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    background-color: var(--color-body);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    min-height: 100vh;
    padding:0.5rem; 
    /* width:94%; */
   
    
}

@media screen and (min-width: 500px) {
    .tab {
        padding:1rem; 
        margin-left: 1rem;
    }    
}    

.tab-button {
    background-color:var(--color-tab-button); /* Dark grey for tab buttons */
    color:var(--color-text-on-dark-background);
    /* border: 1px solid var(--color-border); Lighter grey border */
    border:none;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    margin: 1rem 0;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    margin-left: 0.5rem;
    /* color: var(--color-text-on-light-background); */
}

.tab-button:hover {
    background-color: var(--color-tab-button-hover); 
}

.tab-button.active {
    background-color: var(--color-tab-button-active); /* Green for active tab */
}

.tabcontent {
    /* margin: 0.5rem; */
    display: none;
    padding: 0.5rem;
    /* background-color: var(--color-content-area);  */
    background-color: white;
    min-height: 100vh;
    width:99%;
}

@media screen and (min-width: 500px) {
    .tabcontent {
        width:100%;
        padding: 1rem;
    }    
}    

.table-container {
    padding: 1rem;
    background-color: #FFFFFF; /* White background */
    /* border: 1px solid green; */
    border:none;
    font-size: 14px;
    font-weight: normal;
    color: var(--color-text-on-light-background);
    max-width:420px;
    font-size:1.4rem
   
    /* margin-right:3rem;  */
  
}

.table-header {
    color: var(--color-tab-button-active);
    font-size: 1.2rem;
    font-weight: 400;
    border: 1px solid #666666; /* Lighter grey border */
    border-radius: 5px;
    height: 3rem;
}

.table-field {
    padding: 0.5rem;
    margin: 0.5rem;
    background-color: #FFFFFF; /* White background */
    justify-content: center;
    border: 1px solid #666666; /* Lighter grey border */
    border-radius: 5px; 
    font-size: 1.4rem;
}

@media screen and (min-width: 768px) {
    .table-container {
        max-width:768px;
        font-size:1.6rem;
    }
}    

/* Grids */
.grid {
    display: grid;
    padding: 0.5rem;
    /* background-color: #FFFFFF;  */
}
.grid--qtyblock {
    grid-template-columns: 14rem 14rem;
}

.grid--1x2c {
    grid-template-columns: 1fr 1fr;
}

 .grid--1x5b {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
   }



@media screen and (min-width: 768px) {
    .grid--1x2 {
        grid-template-columns: 1fr 1fr;
    }
    .grid--1x2b {
        grid-template-columns: 1fr 2fr;
    }    
    .grid--1x2d {
    grid-template-columns: 2fr 1fr;
    }
    .grid--1x3 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .grid--1x4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .grid--1x5 {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

@media screen and (min-width: 1024px) {
    .grid--1x6 {
        padding-right: 2rem;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }

    .grid--1x7 {
        padding-right: 2rem;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    }
    .grid--1x7b {
        padding-right: 2rem;
        grid-template-columns: 9rem 1fr 1fr 1fr 1fr 1fr 1fr;
    }

    .grid--1x7c {
        padding-right: 2rem;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 9rem;
    }
    .grid--1x8 {
        padding-right: 2rem;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    }

    .grid--1x11 {
        padding-right: 2rem;
        grid-template-columns: 9rem 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    }

    .grid--2x3 {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .grid--2x2 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
}

@media screen and (min-width: 768px) {
    .grid--postblock {
        grid-template-columns: 1fr 1fr 1fr 1fr 15rem 15rem 9rem;
    }

    .grid--beamblock {
        grid-template-columns: 30rem 15rem 15rem 15rem;
    }
}

/* Images */
.image-container {
    position: relative;
    /* min-width: 32rem; */
    height:auto;
    /* min-width: 40rem; */
    max-width:35rem;
    margin: 1rem;
    border: 1px solid #666666; /* Lighter grey border */
}

.image-logo {
    position: relative;
    justify-items: right;
    margin-top: 3rem;
    margin-left:3rem;
    width: 80px; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
   
}

@media screen and (min-width: 500px) {
    .image-container {
        max-width: 45rem;
        height: 45rem;
    }
}
@media screen and (min-width: 768px) {
    .image-container {
        max-width: 60rem;
        height: 60rem;
    }
}

.image-container img {
    width: 100%;
    height: auto;
    margin-top:3rem;
    /* height:30rem; */
    
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Black background with transparency */
    color: #FFFFFF; /* White text */
    width: 100%;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

 

.image-container:hover .overlay {
    opacity: 1;
}

/* Input Group */
.inputgroup-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 0.5rem;
    margin-right: 1rem;
    background-color: #FFFFFF;
    /* border: 1px solid #666666; */
    border:none;
   /* box-shadow: 2px 2px #999999; /* Slightly lighter dark grey for shadow */
  
}

.inputgroup-container__label {
    font-size: 2.4rem;
    color: #2E7D32; /* Green for labels */
 
}

.inputgroup {
    background-color: #FFFFFF; /* White background */
    padding: 0;
    margin: 0.2rem 0.5rem 0.2rem 0;
    border: 1px solid #666666; /* Lighter grey border */
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Push input field to the bottom */
}

.inputgroup-container-color1 {
    background-color: var(--color-content-area); /* Slightly lighter dark grey */
}

.inputgroup-container-color2 {
    background-color: #D32F2F; /* Red for color2 */
    opacity: 0.9;
    color: #FFFFFF;
}

.inputgroup-container-color3 {
    background-color: lightgrey; /* Slightly lighter dark grey */
}

.inputgroup-container-color4 {
    background-color: white
}

.inputgroup-container-color2 .display-field {
    background-color: #D32F2F;
    color: #FFFFFF;
    text-align: right;
}

.inputgroup-container-color2 h2 {
    color: #FFFFFF;
}

.inputgroup-display {
    background-color: #444444; /* Slightly lighter dark grey */
}

.inputgroup__label {
    color: #2E7D32; /* Green for labels */
    font-size: 1.2rem;
    padding-left: 0.5rem;
    display: flex;
    flex-grow: 1; /* Allows the label to take the top space */
    justify-content: space-between;
}

.inputgroup__label-iconbtn {
    background-color: #FFFFFF;
    border: none;
    padding: 0 5px;
    align-items: start;
    outline: none;
}

.inputgroup__label-iconbtn:hover {
    background-color: #444444; /* Slightly lighter dark grey */
}

.inputgroup__label-icon {
    color: #2E7D32; /* Green for icons */
}

.inputgroup__entry {
    background-color: #FFFFFF;
    color:#000;
    font-size: 1.4rem;
    border: none;
    outline: none;
    width: 93%;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
}

.inputgroup select {
    width: 100%; /* Ensure full width */
    font-size: 1.4rem; /* Match other fields */
    font-weight: normal; /* Match other fields */
   /* border: 1px solid #666666; /* Lighter grey border */
    border:none;
    padding: 0.5rem; /* Prevent text from getting cut */
    box-sizing: border-box; /* Ensures padding does not affect size */
    outline: none;
    background-color: #FFFFFF;
    color: #333333;
}

.inputgroup button {
    border:none; 
    padding-top:0.5rem;
    padding-left:0.5rem; 
 }

.inputgroup button:hover {
   background-color: #ddd;
}

.inputgroup__entry p {
    width: 100%; /* Ensure full width */
    font-size: 1.4rem; /* Match other fields */
    font-weight: normal; /* Match other fields */
    box-sizing: border-box; /* Ensures padding does not affect size */
    outline: none;
    align-items: left;
    margin: 0;
    padding: 0.5rem;
    color: #333333; /* Dark grey for text */
}

.inputgroup__entry input[type="checkbox"] {
    align-items: center;
}

@media screen and (min-width: 768px) {
    .inputgroup {
        padding: 0.5rem;
    }

    .inputgroup__label {
        padding-left: 1rem;
    }
    .inputgroup__entry {
        font-size: 1.6rem;
    }
}

textarea {
    resize: vertical;
    min-height: 30px;
    line-height: 20px;
    margin-bottom: 1rem;
    padding-left: 1rem;
    font-size: 1.2rem;
    width: 100%;
    max-width: 768px;
    background-color: #FFFFFF; /* White background */
    border: 1px solid #666666; /* Lighter grey border */
    border-radius: 5px;
    color: #333333; /* Dark grey for text */
}

@media screen and (min-width: 768px) {
    textarea {
        font-size: 1.4rem;
    }
}

.header-label {
    color: #333333; /* Dark grey for labels */
    border: none;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    margin-left: 1rem;
    min-width: 50rem;
    font-size: 2.4rem;
}

.price-label {
    font-size: 2rem;
    font-weight: bold;
    border: none;
    margin-top: 2rem;
    width: 250px;
    color: #333333; /* Dark grey for price labels */
}

.input-field, .select-field {
    border: none;
    /* border: 1px solid #666666; 
    border-radius: 5px;  */
    background-color: #FFFFFF; /* White background */
    color: #333333; /* Dark grey for text */
    font-size: 1.4rem;
    outline-width: 0;
    padding: 0.5rem;
    width: 95%;
}

.display-field {
    border: none;
    color: #333333; /* Dark grey for text */
    font-size: 1.2rem;
    outline-width: 0;
    padding: 0.5rem;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .display-field {
        font-size: 1.4rem;
        width: 97%;
    }
}

.text-input {
    text-align: left;
}

.number-input {
    text-align: right;
}

/* Animation */
/* .animatebody {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333333; 
    margin: 0;
    overflow: hidden;
}

.animationscene {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: center;
    cursor: grab;
    user-select: none;
}

.scene.dragging {
    cursor: grabbing;
}

.cuboid-wrapper {
    position: absolute;
    transform-style: preserve-3d;
    transform: rotateX(-30deg) rotateY(-45deg) translateZ(0);
}

.animate {
    animation: rotateCube 40s infinite linear;
}

.circle {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #2E7D32; 
}

.cuboid {
    transform-style: preserve-3d;
}

.cuboid .face {
    position: absolute;
    background: rgba(255, 255, 255, var(--face-transparency));
    border: 1px solid #333333; 
}

.cuboid .front, .cuboid .back {
    width: var(--sideX);
    height: var(--sideY);
    background: rgba(255, 255, 255, var(--face-transparency));
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333; 
}

.cuboid .left, .cuboid .right {
    width: var(--sideZ);
    height: var(--sideY);
    background: rgba(255, 255, 255, var(--face-transparency));
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333; 
}

.cuboid .top, .cuboid .bottom {
    width: var(--sideX);
    height: var(--sideZ);
    background: rgba(255, 255, 255, var(--face-transparency));
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333; 
}

.animationcontrols {
    margin-right: 5rem;
    padding-right: 1rem;
    width: 18rem;
    font-size: 1.3rem;
    color: #FFFFFF; 
}

.front { transform: rotateY(0deg) translateZ(calc(var(--sideZ) / 2)); }
.back { transform: rotateY(180deg) translateZ(calc(var(--sideZ) / 2)); }
.left { transform: rotateY(-90deg) translateZ(calc(var(--sideZ) / 2)); }
.right { transform: rotateY(90deg) translateZ(calc(var(--sideX) - var(--sideZ) / 2)); }
.top { transform: rotateX(90deg) translateZ(calc(var(--sideZ) / 2)); }
.bottom { transform: rotateX(-90deg) translateZ(calc(var(--sideY) - var(--sideZ) / 2)); }

@keyframes rotateCube {
    0% {
        transform: rotateX(-30deg) rotateY(-45deg);
    }
    100% {
        transform: rotateX(-30deg) rotateY(315deg);
    }
}

@media screen and (min-width: 768px) {
    .animationcontrols {
        font-size: 1.8rem;
    }
} */

/* Shopping Cart */
.shoppingcart {
    margin-top: 2rem;
}

.shoppingcart h1 {
    font-size: 4rem;
    color: #333333; /* Dark grey for headings */
}

.shoppingcart h2 {
    font-size: 2.5rem;
    padding-left: 1rem;
    margin-top: 2rem;
    color: #333333; /* Dark grey for subheadings */
}

.shoppingcart h3 {
    font-size: 1.6rem;
    font-weight: 600;
    padding-left: 1rem;
    padding-top: 0.5rem;
    margin: 0;
    color: #333333; /* Dark grey for subheadings */
}

.shoppingcart .btn {
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    margin: 1rem 0;
    outline: 0; /* removes ugly blue selection box */
    padding: 2rem 3rem;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    float: left;
    background-color: #D32F2F; /* Red for buttons */
    color: #FFFFFF;
}

.btn--block {
    width: 100%;
    display: inline-block;
}

.shoppingcart-view {
    border-radius: 40px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0;
    outline: 0; /* removes ugly blue selection box */
    padding: 1rem 1rem;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    float: right;
    background-color: #D32F2F; /* Red for view buttons */
    color: #FFFFFF;
}

.cart-item {
    border: none;
    box-shadow: 2px 2px #999999; /* Slightly lighter dark grey for shadow */
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: #FFFFFF; /* White background */
}

@media screen and (min-width: 768px) {
    .cart-item .grid {
        grid-template-columns: 0.3fr 3fr 1fr 1fr 1fr 0.3fr;
    }
}

.cart-priceblock {
    margin-top: 3rem;
    margin-left: 0;
    margin-bottom: 3rem;
}

.cart-priceblock .grid {
    grid-template-columns: 22rem auto;
    align-items: center;
    background-color: #FFFFFF; /* White background */
}

.container {
   
    max-width: 450px;
    background: #FFFFFF; 
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container h2 {
    text-align: center;
    color: #333333; /* Dark grey for headings */
}

.login-container {
    max-width: 450px;
    background: #FFFFFF; 
    border-radius: 8px;
    margin-left: 0.5rem;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


@media screen and (min-width: 500px) {
    .container {
       max-width:100%;
       margin-left: 0.5rem;
       margin-right: 0.5rem;
       margin-bottom: 0.5rem;
       padding: 10px;
    }
}    

.vertical-center {
    margin: auto;
}

form {
    margin-top: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333333; /* Dark grey for labels */
}

.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #666666; /* Lighter grey border */
    border-radius: 4px;
    background-color: #FFFFFF; /* White background */
    color: #333333; /* Dark grey for text */
}

.form-btn2 {
    /* width: 100%; */
    margin-top: 1rem;
    padding: 10px;
    background: #D32F2F; /* Red for buttons */
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
}

.form-btn2:hover {
    background: #B71C1C; /* Darker red for hover */
}

.captcha-container {
    margin: 15px 0;
}

.error-message {
    color: #D32F2F; /* Red for error messages */
    /* display: none; */
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* .payment-methods {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    margin-top: 20px;
    background-color: #FFFFFF;
}

.payment-methods img {
    height: 20px;
    width: auto;
}

#card-element {
    border: 1px solid #666666; 
    padding: 10px;
    border-radius: 4px;
    background-color: #FFFFFF; 
}

#card-errors {
    color: #D32F2F; 
    margin-top: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container label {
    margin-left: 8px;
    color: #333333; 
}

.radio-group {
    display: flex;
    gap: 10px;
    font-family: Arial, sans-serif;
    justify-content: center;
    color: #333333; 
} */

.background-grey {
    background-color: lightgray; /* Slightly lighter dark grey */
}

/* Banner */
.banner {
    position: relative;
    width:100%;
}

.banner-cta {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background: #D32F2F; /* Red for CTA */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
}

.banner-cta:hover {
    background: #B71C1C; /* Darker red for hover */
}


.banner img {
    width: 100%;
    height: auto;
}

.banner .text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--color-text-on-dark-background);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    font-size: 1.6rem;
}


/* CTA Buttons */


.cta li {
    color:#000;
    
}

.cta-button {
    padding: 10px 20px;
    background: #D32F2F; /* Red for CTA buttons */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    width: 15rem;
    
}

.cta-button:hover {
    background: #B71C1C; /* Darker red for hover */
}

/* Features */
/* .features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    background-color: lightgrey;
} */

/* .product {
    text-align: center;
    max-width: 400px;
    cursor: pointer;
    background-color: #FFFFFF; 
    margin: 0 1rem;
}

.product img {
    max-width: 100%;
    height: auto;
}

.product p {
    margin: 10px 0 0;
    color: #666666; 
} */ 

/* Testimonials */
/* .testimonials {
    margin: 40px 0;
    background-color:lightgrey;
    padding: 2rem;
} */

.testimonials blockquote {
    font-style: italic;
    margin: 10px 0;
    padding-left: 20px;
    border-left: 3px solid #2E7D32; /* Green for blockquote border */
    color: #333333; /* Dark grey for text */
}

/* Blog Teaser */
.blog-teaser {
    margin: 1rem 0;
    /* text-align: center; */
    background-color: #FFFFFF; /* White background */
}

.blog-teaser p {
    color: #333333; /* Dark grey for headings */
}


/* sheet cuttting */
#sheet {
    border: 1px solid black;
    background-color: #FFFFFF;
    position: relative;
}
.panel {
    position: absolute;
    background-color: lightblue;
    border: 1px solid blue;
    cursor: move;
    box-sizing: border-box;
}

.selected {
    background-color: #39B54A;
}

/* print button on information pages */
.print-button {
    display: block;
    margin: 20px 0;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}
.print-button:hover {
    background-color: #0056b3;
}
@media print {
    .print-button {
        display: none;
    }
}

/*color picker */
.color-picker-wrapper {

    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 20px 0 20px 0;
    /* background-color: #f0f0f0; */

    width: 100%; 
    /* min-height: 100vh; */
    max-width: 1500px;
    margin-left: 0;
    margin-right: 0;
 
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); */
    /* border-radius: 10px; */
}


.color-picker-container {
    display: flex;
    justify-content: center; /* Center the slider and buttons */
    width: 400px;
    
}

@media screen and (min-width: 768px) {
    .color-picker-container {
        width: 100%; /* Full width of the screen */
        max-width: 1000px;
    }
}


.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 5px; /* Small gap between buttons and slider */
    width: 100%; /* Ensure the wrapper takes full width */
    justify-content: center; /* Center the slider and buttons */
}
.color-slider {
    overflow: hidden;
    position: relative;
    /* Width will be set dynamically in JavaScript */
}
.color-list {
    display: flex;
    flex-wrap: nowrap; /* Ensure no wrapping in slider mode */
    transition: transform 0.3s ease;
}
.color-list.show-all {
    flex-wrap: wrap; /* Allow wrapping to show all colors */
    justify-content: center;
    width: auto; /* Allow the list to wrap naturally */
    transition: none; /* Disable sliding transition in show-all mode */
}
.color-item {
    width: 90px;
    height: 140px; /* Height to accommodate fixed title block */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Ensure consistent spacing */
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 5px; /* Adjusted margin for flex layout */
    padding-bottom: 5px;
    transition: transform 0.2s;
}
.color-item:hover {
    transform: scale(1.05);
}
.color-swatch {
    width: 100%;
    height: 80px;
    border-radius: 5px 5px 0 0;
}
.color-title {
    font-size: 11px; /* Slightly smaller font to fit two lines */
    text-align: center;
    padding: 5px;
    color: #333;
    height: 40px; /* Fixed height to accommodate two lines */
    display: flex;
    align-items: flex-start; /* Top-justify the text */
    justify-content: center;
    line-height: 1.2; /* Adjust line height for better spacing */
 /*   overflow: hidden; /* Prevent overflow if text is too long */
}
.scroll-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;

}
.scroll-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.color-toggle-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 10px;
}
.toggle-btn:hover {
    background-color: #218838;
}

/* Hide scroll buttons when showing all colors */
.color-picker-container.show-all .scroll-btn {
    display: none;
}
/* Adjust slider container when showing all colors */
.color-picker-container.show-all .color-slider {
    width: 100%; /* Full width to allow wrapping */
    overflow: visible;
    max-width: 100%; /* Ensure it doesn't exceed the parent */
}
/* Ensure the slider wrapper doesn't constrain the width in show-all mode */
.color-picker-container.show-all .slider-wrapper {
    width: 100%;
    justify-content: center;
}

.warning-message {
    padding:1rem;
    background:red; 
    color:white; 
    width: 40rem; 
    margin: 1rem;
}

.preserve-format {
    white-space: pre-wrap; /* Preserve whitespace and line breaks */
}



.payments {
  width: 430px;
  background: white;
  border-radius: 5px;
}

@media screen and (min-width: 500px) {
    .payments {
       width: 480px;
    }
}    

.history-item {
    font-size:1.4rem;
    color: #333;border: 1px solid #ccc;
    padding:1rem;
    background-color: #f9f9f9;
}

.history-item:hover {
    background-color: #f1f1f1;
}
.history-button {
    display: inline-block;
    background-color: var(--color-call-to-action);
    color: white;
    font-size:1.4rem;
    text-decoration: none;
    border-radius: 5px;
}

.font-bold {
    font-weight: bold;
}

select, 
::picker {
    appearance: base-select;
}

/* For productlist.php */
.tab-button {
    margin-right: 1rem;
}

.table-container th.table-cell,
.table-container td.table-cell {
    width: 25%;
    padding: 5px;
}

.productlist-view-block {
    margin: 0.5rem;
}

/* For sidebar.php */
.postcode-button {
    border: 1px solid #ccc;
    margin-top: 2rem;
}

.auth-method {
    margin-bottom: 15px;
}
.auth-method.hidden {
    display: none;
}
.form-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.form-btn:hover {
    background-color: #0056b3;
}
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}
.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
}
.password-container {
    position: relative;
}
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
}
.recovery-codes {
    background-color: #f8f9fa;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    white-space: pre-wrap;
    font-family: monospace;
}

.success {
    color: green;
    font-weight: bold;
}
#totp-qr-code {
    max-width: 200px;
    margin: 10px 0;
}

/* Autocomplete suggestions */

.address-input-container {
    position: relative; /* Ensure suggestions are positioned relative to this container */
    width: 100%;
    border: none;
    box-shadow: none;
    margin: 0;
    /* border: 1px solid #666; */
    /* margin: 0 2rem 0 0.5rem; */
    /* border-radius: 5px; */
}

.suggestions {
    border: 1px solid #666;
    /* border-top: none; */
    max-height: 150px;
    overflow-y: auto;
    position: relative;
    background-color: white;
    margin: 0 2rem 0 0.5rem; 
    width: 100%; /* Adjust based on input padding and border */
    z-index: 1000;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); */
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
}


.suggestion-item {
   
    padding: 3px 6px;
    cursor: pointer;
    color: black;
    font-size: 1.4rem;
}

.suggestion-item:hover {
    background-color: #aaa;
}

