body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
background-color: #f0f0f0;
}

header {
    background-color: #384967; /*384967 */
    color: #fff;
    padding: 20px;
    text-align: left;
}



 .logo {
                        position: absolute;
                        top: 0px; /* Adjust as needed */
                        left: 10px; /* Adjust as needed */
                        height: 60px; /* Logo height */'

                        z-index: 1;
                    }


header h1 {
    margin: 0;
}

header input {
    margin-top: 5px;
    padding: 5px;
    width: 80%;
    max-width: 400px;
}

aside {
    width: 150px;
    float: left;
    padding: 10px;
    background-color: #e5e7e9;
}


/* Responsive Design for tablet and phone */
@media (max-width: 1200px) {
    #product-list {
        grid-template-columns: repeat(3, 1fr); /* 3 cards per row on tablets */
    }
}

@media (max-width: 768px) {
    #product-list {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on smaller tablets */
    }

    aside {
        width: 100%;
        float: none;
    }

    main {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    #product-list {
        grid-template-columns: 1fr; /* 1 card per row on phones */
    }
}

main {
    margin-left: 220px;
    padding: 10px;
}

#product-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 7 columns with equal width */
    gap: 5px; /* 10px default Small gap between cards */
    align-items: stretch; /* Ensures cards stretch to fill the grid row */
    justify-items: start; /* Align items to the left */
    justify-content: start; /* Align the entire grid content to the left */
    grid-auto-flow: row dense; /* Pack items tightly without large gaps */
}

.product-card {
    position: relative; /* To position elements like the favorite icon, stock, and price absolutely within the card */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid lightgrey;
    border-radius: 5px;
    padding: 2px; /* Increased padding for better spacing */
    background-color: #fff;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    width: 100%;  /* Increase the width of the card */
    height: 340px; /* 300 01.08.2025, 340 pxIncrease the height of the card */
    overflow: hidden;
    box-sizing: border-box;
}






.product-stock {
    position: absolute;
    bottom: 0px;
    left: 5px; /* Adjust the left value to create space between price and stock */
    font-weight: bold;
}


.product-price {
    position: absolute;
    bottom: 0px; /* Position it slightly above the bottom edge */
    right: 8px;   /* Position it slightly inside from the left edge */
    font-weight: bold; /* Optional: Make the price stand out */
}



.product-categories {
    position: absolute;
    bottom: 0px; /* Just below the image */
    right: 8px; /* Align to the left */
    font-size: 0.9rem;
    color: #666; /* Lighter text color */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Model (z) positioned below the product name */
.product-model {
    position: absolute;
    top: 4px; /* Below the name and categories */
    left:4px;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
display:;
}


.product-name {
  font-size: 13px;  /* Similar to h2 */
  font-weight: bold;
  margin: 0.5em 0;
  color: #333;
}



.product-card img {
    width: 100%;          /* Full width within the card */
    height: 150px;        /* Fixed height */
    object-fit:cover ;  /* Show the whole image contain */
    margin-bottom: 1px;
    transition: transform 0.5s ease;
    display: block;
    background: #fff;     /* Optional: add background for empty spaces */
}

.product-card:hover {
    transform: scale(1.1); /* Enlarge the entire card on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow for visual pop */
}

.product-card:hover img {
    transform: scale(1.05); /* Slightly zoom in the image on hover */
}

.product-card h2 {
    font-size: 12px;/* Default font size */
    color: dark; /* Default text color */
    margin: 0;
 font-weight: bold;
    padding: 5px 0;
    text-align: left;
    transition: color 0.3s ease, font-size 0.3s ease; /* Smooth transition */
}




.product-card:hover h2 {
    color: ; /* Change text color on hover */
    font-size: 12px; /* Keep font size on hover */
}




.product-card x {
    margin: 0px 0;
font-size: 16px;
text-align: left;
color: dark;
 font-weight: bold;

background-color: ;
   

}


.product-card y {
    margin: 0px 0;
font-size: 10px;
text-align: left;
color: lightgrey;
 font-weight: normal;

background-color: ;
   
}


.product-card w {
    margin: 0px 0;
font-size: 16px;
text-align: left;
color: red;
 font-weight: bold;

background-color: ;
   
}

.product-card r {
    margin: 0px 0;
font-size: 16px;
text-align: left;
color: black;
 font-weight: bold;
display: none;
background-color: ;
   

}

.product-card z {
    margin: 0px 0;
    font-size: 14px;
    text-align: left;
    color: red;
    font-weight: bold;
    background-color: ;

    /* Blinking animation */
    animation: blink 1s infinite;
}

/* Define the blink animation */
@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}




.product-card p {
    margin: 5px 0;
font-size: 12px;
text-align: left;
}







h3 {
    margin-top: 0;
}









/* Zoom Modal Styles */
.zoom-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black background with opacity */
}

.zoom-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.zoom-modal-content img {
    width: 100%;
    height: auto;
 object-fit: contain; /* Ensure the image fits within the modal */
}

.close {
    position: absolute;
    top: 50px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}



.favorite-icon {
    position: absolute;
    top: 0px;
    right: 8px;
    color: lightgrey;   /* Default color */
    cursor: pointer; 
    background: none;
 font-size: 21px; 
    border: none;
    padding: 0;
    transition: transform 0.2s ease-in-out, color 0.3s ease;
}

.favorite-icon:active {
    transform: scale(1.3); /* Quick pop when pressed */
}

.favorite-icon.active {
    color: red;       /* Active state color */
    font-size: 23px;
    font-weight: bold;
    animation: pop 0.3s ease; /* Play bounce animation */
}

@keyframes pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.product-image:hover {
    transform: scale(1.06);
 transition:  0.3s;
}


/*
@keyframes pulse {
    10% {
        box-shadow: 0 0 0 0 rgba(255, 105, 135, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 105, 135, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 105, 135, 0);
    }
}  */

#search {
    border: 2px solid #64C8CF;
    padding: 6px;
    border-radius: 5px;
padding-left: 10px;
    outline: none;
    transition: border-color 0.3s ease;
    animation: pulse 1.1s infinite;
}

#search:focus {
    border-color: #64C8CF;
}




#goToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 20px; /* Place at the bottom */
    left: 20px; /* Place at the right */
    z-index: 99; /* Make sure it does not overlap other content */
    font-size: 18px; /* Increase font size */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: darkblue; /* Background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 40%; /* Rounded corners */
}

#goToTopBtn:hover {
    background-color: blue; /* Add a darker background on hover */
}



.label1 {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    color: #384967;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}


.label2 {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 12px;
    color: red ;
    cursor: pointer;
    font-weight: ; /* Corrected */
}





.label4 {
    display: inline-block;
 
    margin-bottom: 5px;
    font-size: 12px;
    color: black;
    cursor: pointer;
    font-weight: ;

    
}





/* Default label styles */
label {
    display: block; 
    margin-bottom: 8px;
    font-size: 12px; /* Smaller font size */
    color: #000; /* Black color */
    cursor: pointer;
    font-weight: normal; /* Regular weight */
}


/* Style for the span to change color when the associated checkbox is checked */
input[type="checkbox"] + span {
    display: inline-block;
    margin-left: 8px;
font-size: 12px;
font-weight: ;
color:#384967 ; /* Color when checkbox is selected */
    transition: color 0.3s ease, font-size 0.3s ease; /* Smooth transition */
}

/* Hover effect on the label text */
input[type="checkbox"] + span:hover {
    color: clue; /* Change color on hover */
    font-size: 12px; /* Slightly increase font size on hover */
 font-weight: ;
}





/* Add a badge around the stock quantity */
.stock-available {
    background-color: #3cc43a  ;/* rgba(91, 209, 215, 0.8) rgba(144, 238, 144, 0.7)*/ 
    color: WHITE;
    font-weight:  ;
 opacity: 0.7;
    font-size: 1em;
    padding: 2px 4px;
    border-radius: 0px;
}

.stock-unavailable {
    background-color: white;
    color: red;
    font-weight: bold ;
    font-size: 1em;
    padding: 2px 4px;
    border-radius: 0px;
}

.product-card {
    position: relative;
}

.product-location {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 10; /* Ensure it appears above the image */
}

.product-image {
    width: 100%; /* Make sure the image takes up the full width of the card */
}



button {
    
    padding: 2px 5px;
    font-size: 12px;
    background-color: #384967 ;
    color: lightgrey;
    border: none;
    border-radius: 5px;
    cursor: pointer;
 margin-top: 5px; /* Adds space between buttons */
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}



button:hover {
    background-color: none ; /* Change background color on hover */
color: white;
}


button1 {
    padding: 2px 5px;
margin-top: 10px;
    font-size: 12px;
    background-color: #384967;
    color: white;
    border: none;
    border-radius: 5px;

    cursor: pointer;
    margin-top: 5px; /* Adds space between buttons */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

button1:hover {
    background-color: red; /* Change background color on hover */
}



button2 {
    padding: 2px 5px;
    font-size: 12px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 5px;

    cursor: pointer;
    margin-top: 5px; /* Adds space between buttons */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

button1:hover {
    background-color:  rgba(91, 209, 215, 0.8) ; /* Change background color on hover */
color: white;
}








/* Normal brand icon styling */
.brand-icon {
    width: 35px; /* Adjust the size as needed */
    height: auto;
    margin-right: 5px; /* Adds some spacing between the icon and text */
margin-top: 5px; /* Adds some spacing between the icon and text */
    vertical-align: middle; /* Aligns the image with the checkbox */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition effect */
}

/* Label hover effect */
label:hover {
    background-color:  ; /* Changes background color when hovering */
    border-radius: 5px;
    cursor: pointer;


}

/* Image hover effect (scaling) */
label:hover .brand-icon {
    transform: scale(1); /* Makes the icon slightly larger when hovering */
    opacity: 1; /* Slight transparency on hover */
}

/* Text hover effect */
label:hover span {
    color: #007bff; /* Changes text color on hover */
}

/* Blink animation */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Apply blinking effect when checkbox is selected */
input[type="checkbox"]:checked + .brand-icon {
    animation: blink 1s infinite; /* Blink animation for 1 second */
}

/* Change text color when checkbox is checked */
input[type="checkbox"]:checked + span {
    color: #384967; /* Color when checkbox is selected */
    font-size: 13px;
    font-weight: bold;
}

/* Add a checkmark or other style when checked */
input[type="checkbox"]:checked + .brand-icon::after {
    content: " ✅ "; /* Unicode checkmark or use an icon */
    color: #384967; /* Checkmark color */
}


table {
    border-collapse: collapse;
    width: 100%;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
}
th {
    background-color: #f2f2f2;
    text-align: left;
}








/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    padding-top: 0px;
}

/* Horizontal Bar Styling */
.horizontal-bar {
    display: flex;
    justify-content: right;
    background-color: #384967;
    padding: 10px;
    position: ;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.menu-container {
    position: relative;
}

.horizontal-bar .btn {
    padding: 2px 12px;
    margin: 0 3px;
    background-color: #115783;
font-size: 13px;
     font-weight: ;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
}

.horizontal-bar .btn:hover {
    background-color: ;
 color: rgba(91, 209, 215, 1); 
}

/* Vertical Menu Styling */
.vertical-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #384967; //#384967
    padding: 10px;
    border-radius: 5px;
    z-index: 9999;
    width: 150px;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-container:hover .vertical-menu {
    display: block;
    visibility: visible;
    opacity: 1;
 color: white;
}

.vertical-menu .btn {
    display: block;
    padding: 5px;
    margin: 5px 0;
    background-color: #384967; //#384967
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.vertical-menu .btn:hover {
    background-color: ;
 color:  rgba(91, 209, 215, 1);
font-size: px;
}



@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.product-card.pop-in {
    animation: popIn 0.8s ease forwards;
}





.code-container {
    display: flex;
    align-items: center;
}

.copy-icon {
    cursor: pointer;
    margin-left: px;
background-color:  ;
font-size: 10px;
color:grey;
     
}

.copy-icon:hover {
    color: #007BFF; /* Change color on hover */
}






.carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}




.strikeout {
    text-decoration: line-through;
    color: black;
    font-size: 12px;
    position: absolute; /* Position it in an exact spot inside the card */
    bottom: 20px; /* Moves it to 8px from the bottom of the card */
    right: 3px; /* Moves it to 10px from the right edge */
  white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


