*{
    font-family: "Kanit", sans-serif;
    margin: 0;
    list-style: none;
    text-decoration: none;
}


#menu-toggle {
    display: none;
}
.menu-icon {
   margin-right: 100px;
}
/* menu (header) (NAVIGATION) */ 

@keyframes ani {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

header {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kanit", sans-serif;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 8%;
    box-shadow: 0 5px 10px #e6ebf0;

}


header .logo {
    background-image: url(../images/logo.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 95px;
    height: 65px;

    transition: transform 0.3s ease, filter 0.3s ease;

}

header .logo:hover {
    transform: scale(1.2);
}

header nav ul li {
    position: relative;
    float: left;
    
}

header nav ul li a {
    padding: 15px;
    color: black;
    font-size: 20px;
    display: block;
    transition: 0.5s;
    text-decoration: none;
    /* transition: transform 0.3s ease, filter 0.3s ease; */
}


header nav ul li a:hover {
    color: #4682B4;
    /* background-color: #000; */
}


nav ul li ul {
    position: absolute;
    left: 0px;
    padding: 0;
    width: 180px;
    background-color: white;
    display: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 5px 10px #e6ebf0;
    
}
nav ul li ul li {
    width: 100%;
    border: 1px solid rgba(0,0,0,.1)
}

nav ul li:hover > ul {
    display: initial;
}


/* OUR STORE */

.productebis-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
   
}


.filter-container {
    display: flex; 
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.product-filter-container{
    border: transparent;
}
.filter-container-custom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.filter-container-custom label {
    font-weight: bold;
}

.filter-container-custom input, .filter-container-custom select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.filter-container-custom button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.filter-container-custom button:hover {
    background-color: #0056b3;
}

@media screen and (max-width: 1028px) {
    .filter-container {
        display: none; /* Hide the filter container for mobile view */
    }
    .mobile_filter {
        display: block; /* Show the accordion for mobile view */
    }
}

@media screen and (min-width: 1029px) {
    .mobile_filter {
        display: none; /* Hide the accordion for desktop view */
    }
    .filter-container {
        display: flex; /* Show the filter container for desktop view */
    }
}

.rame-filter{
    display: flex;
}

.breadcrumbala {
    padding-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* LUKAS JS */

#languageSwitchButton {
    right: 8%; 
    cursor: pointer;
}

.delete-btn {
    display: none;
    color: red;
    cursor: pointer;
    font-weight: bold;
}

.filter-container label {
    font-weight: bold;
}
.filter-container input, .filter-container select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.filter-container button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.filter-container button:hover {
    background-color: #0056b3;
}

.product {
    flex: 1 1 300px; 
    max-width: 300px; 
    min-height: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
}

.product {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s ease, filter 0.5s ease, background-color 0.7s ease;
    border: 1px solid #e6ebf0;
    background-color: white;
}


.product-photo img {
    width: 100%;
    height: auto;
}
.edit-btn {
    display: none;
    color: blue;
    cursor: pointer;
    font-weight: bold;
}
.cart-btn {
    background-color: green;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.cart-btn:hover {
    background-color: darkgreen;
}

/* store */

.home_library {
    padding: 50px;
    display: flex;
    justify-content: center;
}

.store_title {
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
}

/* store products */

.product_flexbox1 {
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
}

/* product_photos hover */

a {
    text-decoration: none;
    color: inherit;
}

.product_name a, 
.product_description a {
    text-decoration: none;
    color: inherit;
}

.product_flexbox1 a {
    text-decoration: none;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product {
    width: 30%;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.delete-btn {
    display: none;
    color: red;
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 18px;
    cursor: pointer;
}

.product:hover .delete-btn {
    display: block;
}

.product-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
}

.product-description {
    color: #666;
    font-size: 0.9em;
    margin: 10px 0;
}

.product:hover .product_photo1 {
    transform: scale(1.05); 
}

.product:hover {
    background-color: #cccccc; 
}

.product:hover .product_photo2 {
    transform: scale(1.05); 
}

.product:hover .product_photo4 {
    transform: scale(1.05); 
}

.product:hover .product_photo5 {
    transform: scale(1.05); 
}

.product:hover .product_photo6 {
    transform: scale(1.05); 
} 

#restoreButton {
    padding: 5px 10px;
    font-size: 14px;
}

#restoreButton:hover {
    background-color: #0056b3;
}

.delete-btn {
    display: none;
    color: red;
    cursor: pointer;
    font-weight: bold;
}
.product-photo {
    width: 300px;
    height: 270px;
    background-size: cover;
    background-position: center;
}

/* store */

.products-container {
    padding: 50px;
    text-align: center;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.product-cameras-card {
    width: 300px;
    border: 1px solid #e6ebf0;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease, background-color 0.5s ease;
    overflow: hidden;
    text-align: center;
}

.product-cameras-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    background-color: #f0f0f0;
}
/* OUR STORE PRODUCT CAMERAS IMAGES */
.product-cameras-image1 {
    background-image: url(../images/store/product-types/type-cctv.png);
    transition: transform 0.3s ease, filter 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    width: 100%;
    height: 200px;
}

.product-cameras-image2 {
    background-image: url(../images/store/product-types/type-dvr.png);
    transition: transform 0.3s ease, filter 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    width: 100%;
    height: 200px;
}

.product-cameras-image3 {
    background-image: url(../images/store/product-types/type-other.png);
    transition: transform 0.3s ease, filter 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    width: 100%;
    height: 200px;
}

.product-cameras-title {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0;
    color: #333;
}

.learn-more-btn {
    display: inline-block;
    margin: 15px 0 20px;
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #4682B4;
    color: #fff;
}

/* companies */

.product-company-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 10px; 
    border: 2px solid #dcdcdc; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    transition: border-color 0.5s ease, box-shadow 0.5s ease, background-color 0.5s ease; 
}

.product-company-card:hover {
    border-color: #a9a9a9; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); 
    background-color: #ebebeb; 
}

.product-cameras-company-photo1,
.product-cameras-company-photo2,
.product-cameras-company-photo3,
.product-cameras-company-photo4,
.product-cameras-company-photo5,
.product-cameras-company-photo6 {
    background-size: contain; 
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    width: 100px; 
    height: 100px;
}

.product-cameras-company-photo1 {
    background-image: url('../images/companies/dahua.png');

}

.product-cameras-company-photo2 {
    background-image: url('../images/companies/hikvision.png');
}

.product-cameras-company-photo3 {
    background-image: url('../images/companies/third_company.png');
}
.product-cameras-company-photo4 {
    background-image: url('../images/companies/third_company.png');
}
.product-cameras-company-photo5 {
    background-image: url('../images/companies/third_company.png');
}
.product-cameras-company-photo6 {
    background-image: url('../images/companies/third_company.png');
}

.products-container a {
    text-decoration: none;
}

/* ENDING */

.ending {
    display: flex;
    justify-content: center;
    justify-content: space-around;
    padding: 50px;
}

.flexbox_end {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 25%;
}

.end_title {
    font-size: 30px;
}

.text_end a {
    font-size: 14px;
    text-decoration: none;
    color: black;
    transition: 0.5s;
}

.text_end a:hover {
    color: #4682B4;
}

.end_logo {
    background-image: url(../images/logo.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 350px;
    height: 150px;
}
.button-white-cube {
    border-color: transparent;
    height: 20px;
    width: 20px;   
}

.bottom_container {
    display: flex;
    justify-content: flex-start;
}
