 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     /*font-family: "Inter", sans-serif;*/
     font-family: "Libre Franklin", sans-serif;
     font-optical-sizing: auto;

 }
 body {
     background: #fafafa;
 }

 .wrapper {
     height: auto;
     width: 100%;
 }

 .content-full {
     background-color: darkslategrey;
     width: 100%;
     height: auto;
     margin: 0 auto;
 }

 .content {
     max-width: 1200px;
     width: 100%;
     height: auto;
     margin: 0 auto;
 }

 @media (max-width:1250px) {
     .content-full {
         max-width: 100%;
         width: 100%;
     }

     .content {
         width: 90%;
         max-width: 90%;
     }
 }


.cover .upper-cover-wrapper {
    background-color: #1978ef;
    background-image: linear-gradient(rgba(0, 0, 0, 0.60) 0px, rgba(0, 0, 0, 0)), url(https://www.antiqueslab.com/assets/images/banner/cover1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    height: 400px;
}

.cover .upper-cover {
    padding: 60px 0 0 0;
    text-align: left;
    max-width: 800px;
    width: 100%;
    margin: 0 auto 30px auto;
}

.h1 {
    color: #fff;
    font-weight: 600;
    line-height: 41px;
    font-size: 32px;
    margin: 100px 0 20px 0;
    text-align: center;
}

.search-form {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input {
    width: 100%;
    height: 50px;
    font-size: 16px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 0 60px 0 20px;
    color: #333;
    font-weight: 400;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.search-input:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.search-input::placeholder {
    color: #8d8d8d;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.search-input:focus::placeholder {
    opacity: 0.5;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 40px;
    background: #0056b3;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #dc143f;
    transform: translateY(-50%) scale(1.05);
}

.search-button svg {
    width: 20px;
    height: 20px;
}

.search-button svg path {
    fill: #ffffff;
}

/* Autocomplete Styles */
.autocomplete {
    position: relative;
    width: 100%;
}

.autocomplete-items {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 3;

}

.autocomplete-items::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.autocomplete-items::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.autocomplete-items::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.group-title {
    font-weight: 600;
    font-size: 12px;
    color: #666;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.item-value {
    border-bottom: 1px solid #f0f0f0;
}

.item-value:last-child {
    border-bottom: none;
}

.item-value a {
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    color: #333;
    display: block;
    padding: 12px 15px;
    transition: background-color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-value a:hover {
    background-color: #f8f9fa;
    color: #0056b3;
}


.category-item a::before {
    content: "📁 ";
    margin-right: 8px;
    opacity: 0.7;
}

.subcategory-item a::before {
    content: "📂 ";
    margin-right: 8px;
    opacity: 0.7;
}

.product-item a::before {
    content: "🖼️ ";
    margin-right: 8px;
    opacity: 0.7;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}


.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 65%;
    float: left;
}

.card {
    display: flex;
    align-items: center;
    text-decoration: none;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: calc((100% / 4) - 10px);
    height: 50px;
    margin-bottom: 10px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.img-holder {
    height: 35px;
    width: 35px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
}

.icon {
    width: 20px;
    height: 20px;
}

.card-text {
    font-size: 14px;
    font-weight: 600;
    color: #1879f2;
    line-height: 1.2;
}

.card-text .card-small {
    font-size: 11px;
    color: #666;
    font-weight: 400;
}

@media only screen and (max-width: 850px) {
    .cover .upper-cover {
        max-width: 90%;
    }
    
    .cover .upper-cover .h1 {
        font-size: 28px;
        line-height: 32px;
        margin-top: 100px;
    }
    
    .search-form {
        max-width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .cover .upper-cover-wrapper {
        height: 370px;
    }
    
    .search-input {
        height: 45px;
        font-size: 15px;
    }
    
    .search-button {
        width: 40px;
        height: 35px;
    }
    
    .h1 {
        font-size: 24px;
        line-height: 28px;
        margin-top: 30px;
    }
}

@media screen and (max-width: 767px) {
    .card {
        width: calc((100% / 2) - 5px);
    }
}

@media screen and (max-width: 1050px) {
    .card-container {
        width: 100%;
    }
}
           

.product-price {
    float: right;
    color: #888;
    font-size: 14px;
    margin-right: 10px;
}

.product-category-badge {
    font-size: 12px;
    color: #666;
    margin-left: 26px;
    margin-top: -5px;
    margin-bottom: 5px;
}

.category-hierarchy {
    font-size: 12px;
    color: #888;
    margin-left: 26px;
    margin-top: -5px;
    margin-bottom: 5px;
}






 .categorySwiper2,
 .categorySwiper2 .swiper-wrapper,
 .categorySwiper2 .swiper-slide {


     height: 250px;
     padding: 50px 0;

 }


 .cat2-card {
     background: #f1f1f1;
     border-radius: 16px;
     padding: 40px 10px 20px;
     text-align: center;
     position: relative;
     transition: all 0.3s ease;
 }

 .cat2-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 }

 .cat2-icon-circle {
     width: 60px;
     height: 60px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     border: 5px solid #fff;
     position: absolute;
     top: -30px;
     left: 50%;
     transform: translateX(-50%);
     z-index: 2;
 }

 .cat2-icon-circle img {
     width: 28px;
     height: 28px;
 }

 .cat2-card h4 {
     margin: 20px 0 5px;
     font-size: 16px;
     font-weight: bold;
     color: #000;
 }

 .cat2-card p {
     font-size: 14px;
     color: #666;
 }


 /*category swiper ends*/
 /*new arrivals starts*/
 .new-arrivals {
     margin-top: 40px;
 }

 .na-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 20px;
     flex-wrap: wrap;
 }

 .na-text {
     display: flex;
     flex-direction: column;
     gap: 5px;
 }

 .na-text h2 {
     font-size: 26px;
     font-weight: 700;
     margin: 0;
     color: #2b2b2b;
 }

 .na-text p {
     margin: 0;
     color: #777;
     font-size: 14px;
 }

 .na-countdown {
     display: flex;
     flex-direction: column;
     align-items: flex-end;
     background: #0056b3;
     padding: 7px 12px;
     border-radius: 5px;
     font-size: 14px;
     font-weight: 500;
     color: white;

 }

 .na-countdown a {
     text-decoration: none;
     color: white;
 }


 .na-products {
     display: grid;
     grid-template-columns: repeat(5, 1fr);
     gap: 20px;
     margin-top: 20px;
 }

 @media (max-width: 1050px) {
     .na-products {
         grid-template-columns: repeat(4, 1fr);
         gap: 20px;
         margin-top: 20px;
     }
 }

 @media (max-width: 768px) {
     .na-products {
         grid-template-columns: repeat(3, 1fr);
         gap: 20px;
         margin-top: 20px;
     }
 }

 @media (max-width: 600px) {
     .na-products {
         grid-template-columns: repeat(2, 1fr);
         /* always 2 columns */
         gap: 20px;
         margin-top: 20px;
     }
 }

 @media (max-width: 350px) {
     .na-products {
         grid-template-columns: 1fr;
         /* fallback to 1 column if too narrow */
     }
 }


 .na-product-card {
     border: 1px solid #eee;
     border-radius: 6px;
     padding-bottom: 15px;
     background: #fff;
     transition: box-shadow 0.3s ease;
 }

 .na-product-card:hover {
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
 }

 .na-img-wrapper {
     width: 100%;
     height: 220px;
     overflow: hidden;
     position: relative; 
 }

 .na-img-wrapper img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }


 .na-category {
     font-size: 12px;
     color: #888;
     margin-top: 8px;
     padding: 0 10px;
     text-transform: capitalize;
 }

 .na-title {
     font-size: 14px;
     font-weight: 500;
     margin: 8px 0 5px;
     padding: 0 10px;

     letter-spacing: 1px;
 }

 .na-title a {
     text-decoration: none;
     color: #2b2b2b;
 }

 .na-title a:hover {
     color: #0056b3;
 }

 .na-price-wrap {
     margin-top: 5px;
     padding: 0 10px;
 }

 .na-price {
     font-size: 15px;
     font-weight: 600;
     color: #000;
 }


 .na-origin {
     color: #666;
     font-size: 12px;
     margin-top: 5px;
     padding: 0 10px;
 }


.wishlist-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.wishlist-btn svg {
    stroke: #333;
    fill: none;
    transition: fill 0.3s ease, stroke 0.3s ease;
}


.wishlist-btn:hover {
    transform: scale(1.1);
}


.wishlist-btn.active svg {
    fill: #e91e63;
    stroke: #e91e63;
}
