/* Reset some styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
    .file-type-icons {
        display: flex;
        gap: 10px; /* Small gap between each icon */
    }

    .file-type-icons img {
        width: 45px;
    }

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

h1 {
    font-size: 18px;
}

/* Style for large checkboxes */
        .large-checkbox {
            width: 25px;
            height: 25px;
            cursor: pointer;
            /* Optional styling to improve appearance */
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-color: #fff;
            border: 2px solid #555;
            border-radius: 4px;
            position: relative;
        }

        .large-checkbox:checked {
            background-color: #66bb6a;
            border: 2px solid #66bb6a;
        }

        .large-checkbox:checked::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 7px;
            width: 6px;
            height: 12px;
            border: solid #fff;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        /* Optional label styling */
        .checkbox-label {
            margin-left: 3px;
            font-size: 14px;
            vertical-align: middle;
                border-radius: 4px;
    cursor: pointer;
    content: '';
    width: 40px;
    height: 44px;
    display: inline-block;
    line-height: 15px;
        }

   /* Styling for the sliding menu */
.menu {
    position: fixed;
    top: 0;
    left: -300px; /* Hidden offscreen initially */
    width: 300px;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease;
    z-index: 1001; /* Higher than the overlay */
    overflow-y: auto;
}

/* Styling for the overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none; /* Hidden initially */
    z-index: 1000; /* Below the menu */
}
.menu-button {
    position: fixed;
    top: 30px;
    left: 0;
    width: 52px;
    height: 144px;
    background-color: #8bc34a;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 0;
    cursor: pointer;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    transition: background-color 0.3s ease;
    overflow: hidden;
    /* box-shadow: 1px 2px 0px 2px black; */
    font-size: 24px;
    overflow: hidden;
}

.menu-button:hover {
    background-color: #76a835; /* Darken the button on hover to indicate interaction */
}

.hamburger-icon {
    font-size: 25px;
    margin-top: 7px; /* Add some space at the top for a cleaner look */
}

.menu-text {
    transform: rotate(90deg); /* Rotate the text 90 degrees clockwise */
    transform-origin: center center; /* Adjust the rotation origin to center the text better */
    font-size: 27px; /* Adjust the font size to fit well */
    letter-spacing: 1px;
    white-space: nowrap; /* Ensure the text does not wrap */
    display: block; /* Ensure the element behaves like a block for consistent alignment */
    margin: auto 0; /* Add auto margin to center the text vertically */
    margin-top: 18px;
}


/* When the menu is open */
.menu.open {
    left: 0; /* Menu slides in from the left */
}

.overlay.visible {
    display: block; /* Overlay appears */
}

/* Disable interactions on the main page when overlay is active */
body.no-scroll {
    overflow: hidden; /* Disable scrolling */
}


.header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-image: url('images/grid.svg'); /* Set the background image */
    background-repeat: repeat; /* Repeat the image both horizontally and vertically */
    background-size: 14px; /* Ensure the image is shown in its original size */    
    border-bottom: 1px solid #ddd;
    max-width: 1080px;
    margin: 0 auto;
}


        .header-item {
            flex: 1 1 30%;
            text-align: center;
            margin: 10px;
        }

.footer-text {
    padding-right: 10px;
    font-size: 13px;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    float: right;
    text-align: right;
    width: 350px;
    padding-top: 7px;
}

        .logo {
            display: flex;
            justify-content: center;
        }

        .logo img {
            max-width: 100%;
            height: auto;
            width: 325px;
            min-width: 300px;
        }

        .call-number {
            font-weight: bold;
            font-size: 18px;
            color: #00aeef;
            letter-spacing: 2px;
        }

        .search-box {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .search-box input[type="text"] {
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
            width: 80%;
            max-width: 200px;
            margin-bottom:0px;
        }

        .search-box button, #searchButton1 {
            padding: 8px 5px;
            margin-left: 5px;
            border: 1px solid #ccc;
            border-radius: 4px;
            background-color: #f0f0f0!important;
            cursor: pointer;
            min-width: 137px;
            font-size: 13px;
            color: black;
        }

        .search-box button:hover {
            background-color: #e0e0e0;
        }
/** Product price **/
.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    margin: 10px 0;
    background-color: #ffe0e0;
    padding: 5px;
}

/* Grouping the pricing elements */
.price-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

/* Flex properties for the buy button */
.buy-button {
    background-color: #00FF00;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    margin-left: auto; /* Pushes the button to the right */
    flex-shrink: 0;    /* Prevents the button from shrinking */
}

/* Pricing element styles */
.totalLabel {
    font-size: 22px;
    font-weight: 500;
}

.offer-price {
    font-size: 48px;
    font-weight: 700;
    margin-left: 10px;
}

.sale-price {
    font-size: 22px;
    font-weight: 500;
    color: var(--grey);
    margin-left: 12px;
    line-height: 17px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .product-price {
        justify-content: center; /* Center the content horizontally */
    }
    .buy-button {
        margin-left: 0;
        margin-top: 10px;
    }
}

        /* Media Query for Mobile */
        @media (max-width: 768px) {
            .header {
                flex-direction: column;
            }

            .header-item {
                flex: 1 1 100%;
                margin-bottom: 15px;
            }

            .search-box {
                flex-direction: column;
            }

            .search-box button {
                margin-top: 10px;
                margin-left: 0;
                width: 80%;
                max-width: 200px;
            }
            
            .footer-text {
                padding-right: 0px;
                font-size: 13px;
                font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
/*                float: right;*/
                text-align: center;
                width: 327px;
                padding-top: 0px;
            }
            
        }


    .accordion-item {
      margin-bottom: 10px;
    }

    .accordion-title {
      background-color: #f2f2f2;
      cursor: pointer;
      padding: 10px;
      border: 1px solid #ddd;
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .accordion-title:after {
      content: '\25BC'; /* Down arrow */
      font-size: 16px;
      position: absolute;
      right: 10px;
    }

    .accordion-content {
      padding: 10px;
      border: 1px solid #ddd;
      border-top: none;
      display: none;
    }

    .accordion-title.active:after {
      content: '\25B2'; /* Up arrow */
    }

    .accordion-title.active + .accordion-content {
      display: block;
    }

.container {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
}

.home_container {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
}

aside {
    width: 20%;
    padding: 20px;
    background-color: #F4F4F4;
}

main {
    width: 80%;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #4A148C;
    color: white;
}

header .logo img {
    width: 120px;
}

header ul {
    display: flex;
    list-style-type: none;
}

header ul li {
    margin-right: 20px;
}

header ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.product-header {
    text-align: center;
    margin-bottom: 20px;
}

.product-header .product-name {
    font-size: 28px;
    color: #333;
}

.product-header .stock-notice {
    font-size: 16px;
    color: red;
    margin-bottom: 10px;
}

.product-header .buy-now, .buy-button {
    background-color: #00FF00;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
    margin-left: 10px;
}

.product-main-description {
    text-align: center;
    margin: 20px 0;
}

.product-main-description .second-headline {
    font-size: 24px;
    color: #333;
}

.product-main-description .short-description {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
}

.product-main-description .product-details {
    list-style-type: disc;
    padding-left: 40px;
}

.product-main-description .main-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 20px;
}

.features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
}

.feature {
    width: 48%;
    text-align: center;
}

.feature .feature-image {
    width: 100%;
    height: auto;
}

.suggested-products {
    margin-top: 40px;
}

.product-info {
    margin-top: 20px;
}

.product-info h3 {
    font-size: 20px;
    color: #333;
}

.product-info ul {
    list-style-type: disc;
    padding-left: 40px;
    margin-bottom: 20px;
}

.product-info .cost,
.product-info .vat {
    font-size: 18px;
    margin-bottom: 10px;
}

.buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.btn {
    padding: 10px 20px;
    background-color: #4A148C;
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');  /** Poppins Font **/


/** gobal layout */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root{
    --primary-color: #5344db;
    --accent-color: #5344db;
    --grey:#484848;
    --bg-grey: #efefef;
    --shadow: #949494;
}

.container{
    display: flex;
    position: relative;
/*    align-items: center;*/
    justify-content: center;
/*    height: 100vh;*/
}

.row{
    display: flex;
    gap: 20px;
}

.col-6{
    width: 50%;
}

.single-product{
    width: 1080px;
    position: relative;
}
/** Breadcrumb **/

.single-product .breadcrumb{
    background: #48484810;
    padding: 8px 4px;
    border-radius: 8px;
    font-size: 15px;
}

.breadcrumb span{
    display: inline-flex;
    flex-direction: row;
    gap: 8px;
    margin-left: 3px;
}
.breadcrumb span:not(:last-child)::after{
/*    content: '/';*/
}

.breadcrumb span a{
    text-decoration: none;
    color: var(--primary-color);
}

/** product image **/

.single-product .product-image{
    width: 100%;
}

.product-image .product-image-main{
    position: relative;
    display: block;
    min-height: 480px;
    background: var(--bg-grey);
    padding: 10px;
}

/*
.product-image-main img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
*/

.product-image-main {
    overflow: hidden; /* Ensures any zoomed parts of the image are hidden */
}

.product-image-main img {
    display: block;
    width: 100%; /* Keep the image width and height relative to the container */
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
    transition: transform 0.5s ease; /* Smooth transition for zoom effect */
    transform-origin: center; /* The image will zoom from the center */
}


.product-image-slider{
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.product-image-slider img{
    width: 90px;
    height: 90px;
    background: var(--bg-grey);
    padding: 6px;
    cursor: pointer;
}

/** product title **/

.product-title{
    margin-top: 20px;

}
.product-title h2{
    font-size: 32px;
    line-height: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02rem;
}

/** product rating **/
.product-rating{
    display: flex;
    margin-top: 4px;
    margin-bottom: 10px;
    align-items: center;
}

.product-rating span:not(:last-child){
    color: #ffc600;
}
.product-rating .review{
    color: var(--grey);
    font-size: 12px;
    font-weight: 500;
}
/** Product price **/
.product-price{
    display: flex;
    position: relative;
    margin: 10px 0;
    align-items: center;
    background-color: #ffe0e0;
    padding-left:5px;
}

.product-price .offer-price{
    font-size: 48px;
    font-weight: 700;
}

.totalLabel {
    font-size: 22px;
    font-weight: 500;
}
.product-price .sale-price{
    font-size: 22px;
    font-weight: 500;
/*    text-decoration: line-through;*/
    color: var(--grey);
    margin-left: 12px;
    line-height: 17px;
}

/** Product Details **/
.product-details{
    margin: 10px 0;
}
.product-details h3{
    font-size: 18px;
    font-weight: 500;
}
.product-details p{
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.2rem;
}

/** Product size **/
.product-size{
    margin: 10px 0;
}
.product-size h4{
    font-size: 16px;
    font-weight: 500;
}

.product-size .size-layout{
/*    display: inline-flex;*/
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    padding: 20px;
    width: 100%;
}

.product-size .size-layout .size-input{
    display: none;
}
.product-size .size-layout .size{
background: var(--bg-grey);
    padding: 7px 13px;
    border: 1px solid var(--bg-grey);
    border-radius: 4px;
    margin-left: 11px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.product-size .size-layout .size:hover{
    border: 1px solid var(--grey);
}

.product-size .size-layout input[type="radio"]:checked + .size{
    background-color: rgb(35, 35, 35);
    border: 1px solid var(--grey);
    color: var(--bg-grey);
    box-shadow: 0 3px 6px var(--shadow);

}


/** Product Color **/
.file-types{
    margin: 10px 0;
    justify-content: center;
}
.file-types h4{
    font-size: 16px;
    font-weight: 500;
}
.file-types .color-layout{
    margin: 5px 0;
    display: flex;
    gap: 10px;
}

.file-types .color-layout label{
    border-radius: 4px;
    cursor: pointer;
    content: '';
    width: 40px;
    height: 44px;
    display: inline-block;
    line-height: 15px;
}

.file-types .color-layout .black{
    
    background-color: black;
}

.file-types .color-layout .red{
    background-color: red;
}
.file-types .color-layout .blue{
    background-color: blue;
}

.file-types .color-layout input[type="radio"]:checked + label{
    box-shadow: 0 3px 6px var(--shadow);
}

.file-types .color-layout .color-input{
    display: none;
}


/** divider **/
.divider{
    display: block;
    height: 1px;
    width: 100%;
    background: #48484830;
    margin: 20px 0;
}

/** product Button Group **/

.product-btn-group{
    display: flex;
    gap: 15px;
}
.product-btn-group .button{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 500;
}
.product-btn-group .buy-now{
    background-color: var(--accent-color);
    color: #fff;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    cursor: pointer;
}

.product-btn-group .buy-now i{
    font-size: 20px;
}
.product-btn-group .buy-now:hover{
    box-shadow: 0 3px 6px var(--shadow);
}

.product-btn-group .add-cart{
    
    background-color: var(--bg-grey);
    color: var(--grey);
    border-radius: 4px;
    cursor: pointer;
}
.product-btn-group .add-cart i{
    font-size: 20px;
}
.product-btn-group .add-cart:hover{
    box-shadow: 0 3px 6px var(--shadow);
    background: var(--grey);
    color: #fff;
}
.product-btn-group .heart{
    color: var(--grey);
    cursor: pointer;
}
.product-btn-group .heart i{
    font-size: 20px;
}
.product-btn-group .heart:hover{
    color: var(--accent-color);
}


/** Responsive Mobile **/
@media screen and (max-width:520px) {
    .container{
        padding: 20px;
        height: auto;
    }
      .home_container{
        padding: 20px;
        height: auto;
    }  
    .row{
        display: block;
    }

    .col-6{
        width: 100%;
        display: block;
    }
    .single-product{
        width: 100%;
        position: relative;
    }

    .product-image .product-image-main{
        width: 100%;
        height: 280px;
    }
    .product-image-slider{
        gap: 5px;
    }

    .breadcrumb{
        display: none;
    }

    .product-title h2{
        font-size: 24px;
        line-height: 1.6rem;
    }
    .product-size{
        display: block;
    }
    .product-size .size-layout{
        display: block;
        margin: 10px 0;

    }
    .product-size .size-layout .size{
        padding: 6px 10px;
    }
    .product-btn-group{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}


/** Responsive Tablet **/
@media  (min-width: 520px ) and (max-width: 1080px) {
   .container{
    display: block;
    height: auto;
    padding: 20px;
   }
      .home_container{
    display: block;
    height: auto;
    padding: 20px;
   } 
}
.noteP {
    padding-top:5px;
    padding-bottom: 5px;
}

.costSection {
    width:auto;
    float:left;
    display:flex;
}

#settleSearch {
    height: 40px;
    width: 300px;
    margin: 0 auto;
}
.zoom-container {
    display: flex;
}

.product-image-slider img{
    width: 90px;
    height: 90px;
    background: var(--bg-grey);
    padding: 6px;
    cursor: pointer;
}

.zoom {
    width: 150px;
    height: 150px;
    background-image: url('images/2-5km settlements/<?php echo $unq_num; ?>.svg');
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    border: 1px solid #000; /* Optional: for visual separation */
    background-position: center; /* Ensures background is centered by default */
        background: var(--bg-grey);
    padding: 6px;
    cursor: pointer;
}

.zoom1 {
    background-size: 150px 150px;  /* Adjust to zoom out or in */
    background-position: center; /* Center the image at this zoom level */
}

.zoom2 {
    background-size: 750px 750px; /* More zoomed-in */
    background-position: center; /* Center the image at this zoom level */
}

.zoom3 {
    background-size: 1500px 1500px; /* Most zoomed-in */
    background-position: center; /* Center the image at this zoom level */
}

/* Add this to your CSS file or within a <style> tag */
.search-box {
    position: relative; /* Ensure the dropdown positions relative to this container */
}

.dropdown-results {
    position: absolute;
    top: 100%; /* Position directly below the input box */
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    z-index: 1000;
    max-height: 200px; /* Optional: limit the height */
    overflow-y: auto; /* Add scroll if results exceed max-height */
}

.dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}
#alternativeMaps a {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
    font-size: 15px;
}

#contactContainer {
    margin-bottom: 20px;
}
/* Refactored with chatGPT on 18th October 2024, UK */

.homepageContainer {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.homepageContainer h1 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.homepageContainer h2 {
    font-size: 1.27em;
    margin-top: 20px;
    color: #4CAF50;
}

.homepageContainer p {
    margin-bottom: 15px;
    color: #555;
}

.homepageContainer ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.homepageContainer ul li {
    margin-bottom: 10px;
    list-style: none;
    text-align: left;
}

/* Container to hold imagePlaceholder divs side by side */
.container {
    display: flex;
    flex-wrap: wrap; /* Allows divs to wrap to a new row on narrow screens */
    justify-content: space-between; /* Space divs evenly */
    gap: 20px; /* Gap between divs */
    padding: 0px;
}
.search_container {
    display: flex;
    flex-wrap: wrap; /* Allows divs to wrap to a new row on narrow screens */
    justify-content:center;
    gap: 20px; /* Gap between divs */
    padding: 0px;
}

.home_container {
    display: flex;
    flex-wrap: wrap; /* Allows divs to wrap to a new row on narrow screens */
    justify-content: center;
    gap: 20px; /* Gap between divs */
    padding: 0px;
}
/* Each imagePlaceholder is centered with its contents stacked vertically */
.imagePlaceholder {
    display: flex;
    flex-direction: column; /* Stack heading, paragraph, and image vertically */
    align-items: center; /* Center all items horizontally */
    text-align: center; /* Center the text */
    flex-basis: 48%; /* Each div takes up 30% of the container */
    padding: 20px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Ensure images are responsive */
.imagePlaceholder img {
    max-width: 400px;
    height: auto;
/*    margin-top: 15px;*/
}

/* On smaller screens, stack imagePlaceholder divs vertically */
@media (max-width: 768px) {
    .imagePlaceholder {
        flex-basis: 100%; /* Take full width on small screens */
        margin-bottom: 20px;
    }

    .imagePlaceholder img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
