/* 1.6 - Variable */
/*===== CONTACT +++ ABOUT +++ SEARCH ======================*/
.layout-pageDetail {
    margin-bottom: 30px;
}

.heading-pageDetail h1 {
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 20px;
}

.wrapper-pageDetail {
    background: #fff;
    padding: 10px 15px;
    height: 100%;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.08);
}

.content-pageDetail {
    margin-bottom: 40px;
}

.content-pageDetail * {
    max-width: 100%;
}

.wrapper-bodycontact .wrapbox-content-left {
    padding-right: 0;
}

/*.box-info-contact, .box-send-contact {background: #fff;padding: 15px;border-radius: 3px;}
.box-info-contact {margin-bottom: 15px;}
.box-info-contact li {margin-bottom: 10px;}
.box-info-contact li > span {
width: 35px;height: 35px; line-height: 35px;border-radius: 50%;
float: left;border: 1px solid #ddd;text-align: center;font-size: 15px; 
}
.box-info-contact li p {width: calc(100% - 35px);float: left;padding-left: 15px;margin-bottom:5px;color:#696969;font-weight: 500;}
.box-info-contact li p strong{color:#000;margin-bottom:5px;}*/
.wrapbox-contact {
    display: flex;
    display: -ms-flex;
    justify-content: space-between;
    -ms-justify-content: space-between;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
}

.wrapbox-contact .infoList-contact {
    width: 50%;
}

.box-send-contact h2,
.box-info-contact h2 {
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 20px;
}

.box-send-contact p {
    margin-bottom: 15px;
}

.contact-form .input-group {
    width: 100%;
    margin-bottom: 20px;
}

.contact-form .input-group input,
.contact-form .input-group textarea {
    color: #5c5c5c;
    height: 45px;
    width: 100%;
    font-weight: 500;
    padding: 8px 20px;
    background: #fff;
    border: 1px solid var(--shop-color-border);
    border-radius: 4px;
    box-shadow: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form .input-group textarea {
    width: 100%;
    height: 130px;
    padding: 20px 20px;
}

.contact-form .input-group textarea:focus {
    outline: none;
}

.layout-searchPage {
    margin-bottom: 50px;
}

.layout-searchPage .heading-page {
    position: relative;
    text-align: center;
}

.layout-searchPage .heading-page:after {
    content: "";
    background: #252a2b;
    display: block;
    width: 60px;
    height: 4px;
    margin: 20px auto 30px;
}

.layout-searchPage .heading-page h1 {
    margin: 25px 0 5px;
    font-size: 30px;
}

.layout-searchPage .subtext-result {
    margin: 0 0 15px;
}

.layout-searchPage .expanded-message .message-txt {
    width: 100%;
    text-align: center;
}

.layout-searchPage .expanded-message h2 {
    font-weight: 600;
    font-size: 20px;
}

.layout-searchPage .expanded-message .subtext {
    display: block;
}

.layout-searchPage .search-field {
    width: 100%;
    display: block;
    margin: auto;
}

.layout-searchPage .search-field input#go {
    width: 55px;
    height: 45px;
    float: right;
    background: url(//cdn.hstatic.net/themes/200000914837/1001395797/14/iconsearch.png?v=9) #252a2b center no-repeat;
    margin: 0px;
    position: relative;
    top: 0;
    border-radius: 0;
    font-size: 0;
    border: 0;
}

.layout-searchPage .search-field .search_box {
    width: calc(100% - 55px);
    outline: none;
    height: 45px;
    padding: 0 20px;
    background: #ededed;
    border: 0;
    box-shadow: none;
}

@media (min-width: 992px) {
    .layout-searchPage .col-lg {
        flex: 0 0 20%;
        -webkit-flex: 0 0 20%;
    }
}

/*@media(min-width: 992px){
.box-map-contact {height: 100%;border-radius: 4px;overflow: hidden;}
.box-map-contact iframe {
top: 30px;
height: 100%;
position: -webkit-sticky;position: sticky;
-webkit-transition: top 400ms ease;-moz-transition: top 400ms ease;transition: top 400ms ease;
}
}
@media(max-width: 991px){
.wrapbox-contact {flex-direction: column;-ms-flex-direction: column;}
.wrapbox-contact .infoList-contact {width: 100%;}
.wrapbox-contact .infoList-contact:nth-child(2){flex-direction: column-reverse;-ms-flex-direction: column-reverse;}
.widthContent {flex-direction: column-reverse;-ms-flex-direction: column-reverse;}
.wrapper-bodycontact .wrapbox-content-left{padding-right: 15px;margin-top: 15px;}
.box-map-contact iframe {height: 50vh;}
}
@media(max-width: 767px){
.wrapbox-content-right {padding: 0;}
}*/
.search-list-results .listProduct-row {
    gap: 30px 0;
}

.search-list-results .listProduct-row .product-loop {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
    height: auto;
}

@media (max-width: 991px) {
    .search-list-results .listProduct-row {
        gap: 15px 0;
    }

    .search-list-results .listProduct-row .product-loop {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .search-list-results .listProduct-row .product-loop:nth-child(odd) {
        padding-right: 7.5px;
    }

    .search-list-results .listProduct-row .product-loop:nth-child(even) {
        padding-left: 7.5px;
    }
}

/* ===== SEARCH RESULTS STYLING ===== */
.layout-searchPage .search-count {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
    font-weight: 400;
}

.layout-searchPage .search-count strong {
    color: #252a2b;
    font-weight: 600;
}

/* Search Products Section */
.search-products {
    margin-bottom: 50px;
}

.search-products h3 {
    font-size: 24px;
    font-weight: 700;
    color: #252a2b;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.search-products .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

@media (min-width: 1200px) {
    .search-products .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .search-products .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .search-products .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .search-products .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Search News Section */
.search-news {
    margin-bottom: 50px;
}

.search-news h3 {
    font-size: 24px;
    font-weight: 700;
    color: #252a2b;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.search-news .news-grid-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    .search-news .news-grid-box {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .search-news .news-grid-box {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Blog List Item Styling */
.search-news .blog-list {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.search-news .blog-list:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.search-news .blog-list .blog-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 60%;
    background: #f5f5f5;
}

.search-news .blog-list .blog-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-news .blog-list:hover .blog-img img {
    transform: scale(1.05);
}

.search-news .blog-list .blog-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-news .blog-list .blog-linkr {
    font-size: 18px;
    font-weight: 600;
    color: #252a2b;
    margin-bottom: 12px;
    display: block;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-news .blog-list .blog-linkr:hover {
    color: var(--shop-color-main, #ef4444);
}

.search-news .blog-list .line-clamp-3 {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-news .blog-list .blog-link {
    margin-top: auto;
}

.search-news .blog-list .blog-link a {
    color: var(--shop-color-main, #ef4444);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.search-news .blog-list .blog-link a:hover {
    gap: 10px;
}

.search-news .blog-list .blog-link a .icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.search-news .blog-list .blog-link a:hover .icon {
    transform: translateX(4px);
}

/* Pagination */
.search-products .pagination-box,
.search-news .pagination-box {
    margin-top: 40px;
}

/* Empty State */
.layout-searchPage .expanded-message {
    text-align: center;
}

.layout-searchPage .expanded-message .message-txt p {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
}

.layout-searchPage .expanded-message .message-txt p:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #252a2b;
    margin-bottom: 15px;
}

/* Responsive Adjustments */
@media (max-width: 767px) {

    .search-products h3,
    .search-news h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .search-products .product-grid {
        gap: 12px;
    }

    .search-news .news-grid-box {
        gap: 15px;
    }

    .search-news .blog-list .blog-content {
        padding: 15px;
    }

    .search-news .blog-list .blog-linkr {
        font-size: 16px;
    }
}