/* ------------------------------------------------------- */

.breadcrumb-normal {
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 58px;
}

.breadcrumb-normal a {
    font-size: 14px;
    color: #3C3C3C;
    font-weight: 500;
}

.breadcrumb-normal img+a {
    color: var(--hisense-primary);
}

/* ------------------------------------------------------- */

.bapf_sfilter {
    margin-bottom: 0;
}

.berocket_single_filter_widget:not(:last-child) .bapf_sfilter {
    margin-bottom: 42px;
}

ins {
    text-decoration: none;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-60 {
    margin-bottom: 60px;
}

.m-auto {
    margin: auto;
}

.bg-gray {
    background: #F6F6F6;
}

.explore-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 50px;
    margin: 60px auto 0 auto;
    color: #ffffff;
    background: #333333;
    border-radius: 100px;
    transition: background .4s ease-in-out, color .4s ease-in-out;
}

.explore-more:hover {
    color: #ffffff;
    background: var(--hisense-primary);
}

/* ------------------------------------- */
/* ------------------------------------- */

.our-brands--list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.our-brands--item {
    border: 1px solid #d3d3d3;
    border-radius: 6px;
}

.our-brands--item img {
    vertical-align: bottom;
}

/* ------------------------------------- */
/* ------------------------------------- */

.newsdetail--style {
    padding: 0 0 100px 0;
}

.newsdetail--style .container {
    display: flex;
    flex-direction: column;
    row-gap: 60px;
}

.newsdetail--first h1 {
    font-size: 35px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

.newsdetail--first img {
    border-radius: 5px;
}

.newsdetail--date {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 50px;
}

.newsdetail--second {
    --space: 470px;
    display: flex;
    flex-wrap: wrap;
}

.newsdetail--left {
    width: var(--space);
    padding-right: 20px;
}

.newsdetail--left .link {
    width: 100px;
    color: #ffffff;
    display: flex;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    height: 34px;
    background: var(--hisense-primary);
    border-radius: 100px;
}

.newsdetail--left .link:hover {
    background: #000;
}

.newsdetail--left p {
    margin: 30px 0;
}

.newsdetail--share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.newsdetail--share span {
    font-size: 15px;
}

.newsdetail--share ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.newsdetail--share a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    border-radius: 50px;
    transition: background .4s ease-in-out, border-color .4s ease-in-out;
}

.newsdetail--share a:hover {
    background: var(--hisense-primary);
    border-color: var(--hisense-primary);
}

.newsdetail--share img {
    transition: filter .4s ease-in-out;
}

.newsdetail--share a:hover img {
    filter: invert();
}

.newsdetail--right {
    width: calc(100% - var(--space));
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 27px;
    row-gap: 25px;
}

.news-item {
    transition: all 0.3s ease;
    height: 100%;
}

.news-item:hover .news-title {
    color: var(--hisense-primary);
}

.news-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-item-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 5px;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.news-item:hover .news-img {
    transform: scale(1.05);
}

.news-item-content {
    padding: 25px 0 0 0;
}

.news-date {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-top: 17px;
    color: #1a1a1a;
}

.news-title {
    font-family: 'HisenseSansAlfabet', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .4s ease-in-out;
}

.related-news .section-title {
    line-height: 1;
}

body:not(.woocommerce-page) .default-page-section {
    padding: 50px 0;
}

body:not(.woocommerce-page) .default-page-section ul,
body:not(.woocommerce-page) .default-page-section ol {
    padding-left: 24px;
    margin: 15px 0;
    list-style: disc;
}

body:not(.woocommerce-page) .default-page-section li+li,
body:not(.woocommerce-page) .default-page-section li+li {
    margin-top: 8px;
}

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

.hisense-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    overflow: auto;
}

.hisense-popup-container {
    background: white;
    width: calc(100% - 60px);
    max-width: 1470px;
    border-radius: 8px;
    position: relative;
    height: fit-content;
}

.hisense-popup-close {
    cursor: pointer;
    position: absolute;
    width: 50px;
    height: 50px;
    background: #F2F2F2;
    border-radius: 50%;
    border: 1px solid #E8E8E8;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 30px;
    top: 30px;
}

.hisense-popup-close img {
    transition: 0.4s filter ease;
}

.hisense-popup-close:hover img {
    filter: brightness(0) saturate(100%) invert(42%) sepia(51%) saturate(5374%) hue-rotate(155deg) brightness(97%) contrast(97%);
}

.hisense-popup-content {
    padding: 60px;
}

.where-to-buy-search {
    margin-bottom: 40px;

}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 300px;
}

.where-to-buy-content .search-icon,
.where-search-icon {
    position: absolute;
    right: 23px;
    z-index: 2;
    color: #666;
    pointer-events: none;
}

.where-to-buy-search input {
    width: 100%;
    padding: 12px 40px 12px 30px;
    border: 1px solid #cccccc;
    border-radius: 100px;
    font-size: 14px;
    height: 60px;
    background: #f5f5f5;
    transition: border-color 0.2s ease;
}

.where-to-buy-search input:focus {
    outline: none;
}


.clear-search {
    position: absolute;
    right: 50px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-search:hover {
    background: #f0f0f0;
    color: #666;
}

.search-results-indicator {
    font-size: 12px !important;
    color: #666 !important;
    margin: 5px 0 15px 0 !important;
    font-style: italic;
}

.where-to-buy-content {
    display: grid;
    grid-template-columns: 463px 1fr;
    gap: 30px;
    align-items: start;
    padding-right: 5%;
}

.product-image-section {
    padding: 20px;
    text-align: center;
    border: 1px solid var(--hisense-primary);
    border-radius: 5px;
    position: relative;
    height: 447px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container {
    height: 100%;
}

.product-image-container>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.store-locations-section h4,
.where-to-buy-inner h4 {
    margin: 0 0 30px 0;
    font-size: 35px;
    font-weight: 500;
    color: #000000;
}

.store-locations-list {
    margin-top: 40px;
}

.store-location-item {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    background: white;
    transition: box-shadow 0.2s ease;
}

.store-address-content {
    font-size: 18px;
    font-weight: 400;
}

.store-address-content p {
    margin: 0;
    line-height: 1.3;
}

.store-info h5 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 500;
    color: #000000;
}

#where-to-buy-popup .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt:before {
    margin-top: -12px !important;
    margin-left: -14px !important;
}

.tinvwl_add_to_wishlist_button {
    margin-top: 0 !important;
    top: 0 !important;
}

.tinvwl_add_to_wishlist_button::before {
    margin-top: -13px !important;
    margin-left: -13px !important;
}

.store-info a:hover {
    text-decoration: underline;
}

.store-actions .secondary-button {
    width: 200px;
    min-width: unset;
}


#store-locations-map {
    border-radius: 5px;
}

.where-to-buy-content .product-image-section .tinv-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #EAEAEA;
    transition: background 0.4s ease;
}

/* .where-to-buy-content .product-image-section .tinv-wishlist {
    margin-top: 12px !important;
} */

.store-address {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 15px;
}

.store-address:not(:first-child) {
    margin-top: 10px;
}

.store-location-item:not(:first-child) {
    margin-top: 40px;
}

.store-address-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hisense-primary);
    border-radius: 50%;
}

/*------------ where  to buy page------------- */
.search-results-counter {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.store-locations-map {
    width: 100%;
    height: 600px;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    text-align: center;
    color: white;
}

.banner-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-description {
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}



.no-search-results {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 5px;
    text-align: center;
    color: #666666;
    padding: 40px 20px;
}

.no-search-results h3 {
    margin-top: 0;
}

.store-map-container {
    overflow: hidden;
}

.where-to-buy-inner .store-locations-list {
    display: grid;
    max-height: unset !important;
}

.where-to-buy-inner .store-location-item {
    background: white;
    border: 1px solid #cccccc;
    border-radius: 8px;
    padding: 25px;
}

@media (max-width: 1550px) {
    .store-locations-map {
        height: 500px;
    }

    .where-to-buy-content {
        grid-template-columns: 435px 1fr;
    }

    .hisense-popup-content {
        padding: 50px;
    }

    .where-to-buy-search input {
        height: 54px;
    }

    .where-to-buy-search {
        margin-bottom: 35px;
    }

    .store-locations-section h4,
    .where-to-buy-inner h4 {
        margin: 0 0 25px 0;
        font-size: 32px;
    }

    .store-locations-list {
        margin-top: 35px;
    }

    .store-info h5 {
        font-size: 20px;
    }

    .store-address-content {
        font-size: 16px;
    }

    .store-location-item:not(:first-child) {
        margin-top: 35px;
    }

    .hisense-popup-close {
        width: 45px;
        height: 45px;
        right: 25px;
        top: 25px;
    }

    .hisense-popup-close img {
        width: 14px;
    }

    .product-image-section {
        padding: 15px;
        height: 420px;

    }
}

@media (max-width: 1300px) {
    .store-actions .secondary-button {
        width: auto;
    }
}

@media (max-width: 1280px) {
    .where-to-buy-content {
        grid-template-columns: 390px 1fr;
    }

    .product-image-section {
        padding: 15px;
        height: 380px;
    }

    .hisense-popup-content {
        padding: 35px;
    }

    .where-to-buy-search input {
        height: 50px;
    }

    .where-to-buy-search {
        margin-bottom: 30px;
    }

    .store-locations-section h4,
    .where-to-buy-inner h4 {
        margin: 0 0 20px 0;
        font-size: 30px;
    }

    .store-locations-list {
        margin-top: 30px;
    }

    .store-info h5 {
        margin: 0 0 5px 0;
        font-size: 18px;
    }

    .store-address-content {
        font-size: 14px;
    }

    .store-location-item:not(:first-child) {
        margin-top: 30px;
    }

    .where-to-buy-content .search-icon,
    .where-search-icon {
        width: 17px;
        height: 17px;
    }

    .hisense-popup-close {
        width: 40px;
        height: 40px;
        right: 20px;
        top: 20px;
    }
}

@media (max-width: 1040px) {
    .where-to-buy-content {
        grid-template-columns: 345px 1fr;
    }

    .product-image-section {
        padding: 15px;
        height: 335px;
    }
}

@media (max-width: 991px) {
    .where-to-buy-content {
        grid-template-columns: 1fr;
        padding-right: 0;
    }

    .store-locations-section h4,
    .where-to-buy-inner h4 {
        margin: 0 0 20px 0;
        font-size: 26px;
    }

    .hisense-popup-close {
        width: 30px;
        height: 30px;
        right: 8px;
        top: 8px;
    }

    .hisense-popup-close img {
        width: 11px;
    }
}

@media (max-width: 480px) {
    .store-location-item {
        flex-direction: column;
    }

    .hisense-popup-container {
        width: calc(100% - 40px);
    }

    .hisense-popup-content {
        padding: 45px 25px;
    }

    .where-to-buy-search input {
        font-size: 16px;
    }

    .store-locations-map {
        height: 450px;
    }
}





/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

@media (max-width: 1200px) {
    body {
        --space-100: 80px;
    }

    .mb-60 {
        margin-bottom: 30px;
    }

    .bapf_sfilter {
        margin-bottom: 28px;
    }

    .bapf_head h3 {
        font-size: 16px;
        padding-bottom: 15px;
    }

    .bapf_sfilter ul {
        padding: 15px 20px 0 20px;
    }

    .newsdetail--date {
        margin-bottom: 30px;
    }

    .newsdetail--style {
        padding: 60px 0 80px 0;
    }
}

@media (max-width: 860px) {
    .our-brands--list {
        gap: 20px;
    }

    .newsdetail--style {
        padding: 60px 0;
    }

    .newsdetail--second {
        --space: 100%;
        row-gap: 30px;
    }

    .newsdetail--right {
        width: 100%;
    }

    .news-item-image {
        height: 200px;
    }

    .news-grid {
        column-gap: 20px;
    }

    .newsdetail--first h1 {
        font-size: 24px;
        line-height: 1;
    }

    .newsdetail--style .container {
        row-gap: 30px;
    }

    .newsdetail--date {
        margin-bottom: 20px;
    }

    .newsdetail--left p {
        margin: 20px 0;
    }

    .explore-more {
        margin: 35px auto 0 auto;
    }
}

@media (max-width: 767px) {
    body {
        --space-100: 50px;
    }
}

@media (max-width: 580px) {
    .our-brands--list {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 400px) {
    .our-brands--list {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ===== REVIEW FORM CHARACTER COUNTER ===== */

/* Character counter styling */
.char-counter {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-align: right;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.char-counter #review-char-count {
    font-weight: bold;
    color: #27ae60;
    transition: color 0.3s ease;
}

/* Review form enhancements */
.review-form-group {
    position: relative;
    margin-bottom: 20px;
}

.review-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.review-form-group textarea {
    width: 100%;
    resize: vertical;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-form-group textarea:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
    outline: none;
}

/* Character counter color states */
.char-counter #review-char-count.warning {
    color: #f39c12 !important;
}

.char-counter #review-char-count.danger {
    color: #e74c3c !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .char-counter {
        font-size: 11px;
        margin-top: 3px;
    }

    .review-form-group {
        margin-bottom: 15px;
    }

    .review-form-group textarea {
        padding: 10px;
        font-size: 13px;
    }

    .newsdetail--first h1 {
        font-size: 18px;
        line-height: 1.2;
    }
}