:root {
    --syncpart-yellow: #ffc107;
    --syncpart-yellow-light: #ffda6b;
    --bs-pagination-active-bg: var(--syncpart-yellow);
    --black: #334155;
}
body {
    font-family: 'Roboto', sans-serif;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 250, 239, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}

.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loader__box {
    width: min(100%, 220px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.site-loader__spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(51, 65, 85, 0.14);
    border-top-color: var(--syncpart-yellow);
    border-right-color: var(--syncpart-yellow);
    border-radius: 50%;
    animation: loader-spin 0.8s linear infinite;
    box-shadow: 0 10px 24px rgba(255, 193, 7, 0.12);
}

.site-loader__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.site-loader__subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

.container-xl {
    max-width: 1180px;
}
/* Header Styling */
.site-header {
    position: relative;
    z-index: 9999;
}
.site-logo {
    max-width: 41px !important;
}
.top-bar {
    background-color: var(--syncpart-yellow);
    padding: 1rem 0;
}
.search-form .form-control {
    border-radius: 0.25rem 0 0 0.25rem;
    border: none;
}
.search-form .btn-dark {
    background-color: var(--black);
    border: none;
    border-radius: 0 0.25rem 0.25rem 0;
}
/* Navigation Menu Styling */
.site-header .navbar {
    padding-top: 0;
    padding-bottom: 0;
}
.navbar-nav .nav-item {
    margin-left: 1rem;
    margin-right: 1rem;
}
.navbar-nav .nav-link {
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
    color: #000;
    padding: 1rem 0;
    transition: all 0.3s ease-in-out;
}
.navbar-nav .nav-link:hover {
    color: var(--syncpart-yellow);
}
.navbar-nav .current-menu-item .nav-link,
.navbar-nav .current-menu-ancestor .nav-link {
    color: var(--syncpart-yellow);
}
.navbar .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    min-width: 280px;
}

.navbar .dropdown-item {
    font-size: 14px;
    padding: 10px 18px;
    color: var(--black);
    transition: 0.2s ease;
}
.navbar .dropdown-item.active {
    background-color: var(--syncpart-yellow);
    color: #fff;
}

.navbar .dropdown-item:hover {
    background-color: #fff8e1;
    color: var(--syncpart-yellow);
}

.navbar .dropdown-toggle::after {
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}
.add_to_cart {
    text-decoration: none;
    color: #111;
    transition: color 0.3s ease;
}
.add_to_cart:hover {
    color: #fff;
    transition: color 0.3s ease;
}
.header-search {
    width: 350px;
}
.lang-switcher-nav .nav-link {
    white-space: nowrap;
}
.lang-switcher-nav .dropdown-menu {
    min-width: 88px;
}
.home-categories-section {
    padding: 40px 0;
}

.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}

.home-category-card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    text-decoration: none;
    color: #111;
    background: #fff;
    transition: 0.2s ease;
    border-radius: 8px;
}

.home-category-card:hover {
    color: #111;
    background: var(--syncpart-yellow);
    text-decoration: none;
}

.home-category-title {
    min-height: 64px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    word-break: break-word;
}

.home-category-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px;
    background: #f7f7f7;
    border-radius: 0 0 8px 8px;
}

.home-category-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 991.98px) {
    .home-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 575.98px) {
    .home-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-category-card {
        min-height: 180px;
    }

    .home-category-title {
        min-height: 54px;
        font-size: 14px;
        padding: 10px 8px;
    }

    .home-category-image {
        padding: 12px;
    }

    .home-category-image img {
        max-height: 100%;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
    }

    .home-news-card {
        min-height: 130px;
    }
}
.syncpart-industr {
    padding: 2rem 0;
}
.sync-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 4rem;
    text-align: center;
    text-transform: uppercase;
    color: var(--black);
}
.syncpart-industr p {
    font-size: 16px;
    color: var(--black);
}
#syncpart-view-my-cart span,
#selected-cart-count {
    font-size: 16px;
    padding: 0 3px;
}

.syncpart-products-recommended {
    padding: 1rem 0;
}
.card-img-top {
    overflow: hidden;
}
.card-img-top img {
    transition: 0.3s ease;
}
.card-img-top:hover img {
    transform: scale(1.1);
}
.product-box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-box .card-img-top {
    aspect-ratio: 1 / 1;
    background: #fff;
}
.product-box .card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-box .card-body {
    flex-grow: 1;
    color: #fff;
}

.home-news-section {
    padding: 1rem 0 3rem;
}

.home-news-section .sync-title {
    margin-bottom: 2rem;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-news-card {
    min-height: 150px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.home-news-card h3 {
    margin: 0 0 10px;
    color: #1f2937;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}

.home-news-card p {
    margin: 0 0 18px;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.home-news-card a {
    color: var(--syncpart-yellow);
    font-weight: 700;
    text-decoration: none;
}

.home-news-card a:hover {
    color: #111;
}

@media (max-width: 991.98px) {
    .home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .home-news-grid {
        grid-template-columns: 1fr;
    }

    .home-news-card {
        min-height: 130px;
    }
}

.syncpart-supply {
    padding-bottom: 2rem;
}
.syncpart-supply p {
    margin-top: 3rem;
}
#bj-map {
    height: 500px;
    width: 100%;
    margin: 2rem 0;
}
.home-end {
    padding: 2.5rem 0;
}
.btn-sync {
    background: var(--syncpart-yellow);
    color: #fff;
    padding: 8px 1.2rem;
}
.btn-sync:hover {
    background: #f8b818;
    color: #fff;
}

#footer {
    padding-top: 3rem !important;
}
.foot-title {
    font-size: 18px;
    color: #f0f5fa;
    text-transform: uppercase;
    text-align: left;
}
.foot-list {
    padding-left: 0;
    list-style: none;
    text-align: left;
}
.foot-list li {
    padding: 5px 0;
    font-size: 14px;
    color: #ccc;
}
.foot-list li i {
    color: var(--syncpart-yellow);
    font-size: 18px;
    padding-right: 0.4rem;
}
.foot-list a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}
.foot-list a:hover {
    text-decoration: underline;
    color: #fff;
}
.foot-list .current-menu-item a {
    color: var(--syncpart-yellow);
}

.navbar-toggler {
    display: none;
}
.site-menu-toggle {
    border: none !important;
    background: transparent;
    border-radius: 0;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    display: none;
    position: relative;
    box-shadow: none !important;
}

.site-menu-toggle:focus,
.site-menu-toggle:focus-visible,
.site-menu-toggle:active {
    border: none !important;
    box-shadow: none !important;
    outline: none;
}

.site-menu-toggle__line {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: #111;
    transition:
        transform 0.22s ease,
        opacity 0.22s ease,
        width 0.22s ease;
    transform-origin: center;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -13px;
}

.site-menu-toggle__line--top {
    width: 18px;
    margin-left: -13px;
    transform: translateY(-9px);
}

.site-menu-toggle[aria-expanded='true'] .site-menu-toggle__line--top {
    width: 26px;
    margin-left: -13px;
    transform: rotate(45deg);
}

.site-menu-toggle__line--middle {
    transform: translateY(0);
}

.site-menu-toggle[aria-expanded='true'] .site-menu-toggle__line--middle {
    opacity: 0;
    transform: scaleX(0.2);
}

.site-menu-toggle__line--bottom {
    transform: translateY(9px);
}

.site-menu-toggle[aria-expanded='true'] .site-menu-toggle__line--bottom {
    transform: rotate(-45deg);
}
/* ç¤¾äº¤é“¾æŽ¥å®¹å™¨ */
.social-links {
    display: flex;
    gap: 15px;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}
.social-icon.facebook {
    background-color: #1877f2;
}
.social-icon.instagram {
    background-color: #e4405f;
}
.social-icon.whatsapp {
    background-color: #25d366;
}
.social-icon:hover {
    filter: brightness(0.85);
    transform: scale(0.92);
    color: #fff;
}

.page-title {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.page-title a {
    text-decoration: none;
    color: #414141;
}
.page-title a:hover {
    color: var(--syncpart-yellow);
}

.product-page-title {
    padding: 5rem 0;
    color: #fff;
}
.product-page-title h4 {
    font-size: 36px;
    text-transform: uppercase;
}

.product-display-flex {
    padding: 2rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
}

.product-grid-item {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}
.product-category-title {
    font-size: 24px;
}
.product-category-list {
    padding-left: 0;
    list-style: none;
}
.product-category-list li {
    margin-bottom: 8px;
}
.product-category-list li a {
    padding: 8px 18px;
    background: var(--syncpart-yellow);
    color: #fff;
    display: block;
    text-decoration: none;
    transition: 0.3s ease;
}
.product-category-list li a:hover {
    background: #d69f16;
}
.product-category-list li a.active,
.product-category-list li a.active:hover {
    background: #d69f16;
}
.product-price,
.product-price-single {
    font-weight: 700;
}

.current-price {
    color: #111;
    font-size: 18px;
    font-weight: 700;
}
.price-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 4px;
}
.price-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}
.product-main-image {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.product-main-image__link {
    display: block;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-main-image:hover img {
    transform: scale(1.12);
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.product-thumbnail {
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-thumbnail img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.product-thumbnail:hover,
.product-thumbnail.is-active {
    border-color: var(--syncpart-yellow);
    box-shadow: 0 10px 24px rgba(255, 193, 7, 0.2);
    transform: translateY(-2px);
}
.woocommerce-breadcrumb {
    font-weight: 300;
}
.woocommerce-pagination {
    display: flex;
    justify-content: center;
}
.pagination {
    --bs-pagination-active-bg: var(--syncpart-yellow);
    --bs-pagination-active-border-color: var(--syncpart-yellow);
    --bs-pagination-active-color: #fff;

    --bs-pagination-color: var(--bs-body-color);
    --bs-pagination-hover-bg: #e9ecef;
    --bs-pagination-hover-color: var(--bs-body-color);
    --bs-pagination-disabled-bg: #f8f9fa;
    --bs-pagination-disabled-border-color: #dee2e6;
}
.pagination .page-item.active .page-link:hover {
    background-color: var(--syncpart-yellow);
    border-color: var(--syncpart-yellow);
}

.product_title {
    font-size: 24px;
    border-bottom: 1px #ccc solid;
    padding-bottom: 9px;
    margin-bottom: 10px;
}
.woocommerce-product-details__short-description p {
    font-weight: 300;
}
h2.descrip-title {
    border-bottom: 1px #ccc solid;
    padding-bottom: 9px;
    margin-bottom: 10px;
    font-size: 22px;
}
.product-content section {
    margin-bottom: 50px;
    font-weight: 300;
}
.feedback-form {
    margin-bottom: 2rem;
}
.product-attributes-dl {
    font-weight: 300;
    display: flex;
    flex-wrap: wrap;
}
.product-attributes-dl dt {
    width: 28%;
    font-weight: 300;
}
.product-attributes-dl dd {
    width: 72%;
}

.about-msg {
    font-weight: 300;
}
.news-list-item {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
}
.news-list-item:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.news-item-image-link {
    display: block;
    height: 100%;
}
.news-item-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-item-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.news-item-content .entry-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.news-item-content .entry-title a {
    text-decoration: none;
    color: var(--black);
    transition: color 0.3s ease;
}
.news-item-content .entry-title a:hover {
    color: var(--syncpart-yellow);
}
.news-item-content .entry-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
}
.news-item-content .entry-meta i {
    margin-right: 0.25rem;
}
.news-item-content .entry-summary {
    flex-grow: 1;
    color: #495057;
}
.news-item-content .entry-footer {
    margin-top: 1rem;
}

/* Bootstrap Pagination Styling Override */
.pagination .page-link {
    color: var(--black);
}
.pagination .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--syncpart-yellow);
    border-color: var(--syncpart-yellow);
}
.pagination .page-link:hover {
    color: var(--syncpart-yellow);
}

.entry-single .entry-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black);
    text-align: center;
}
.entry-single .entry-meta {
    font-size: 0.9rem;
    margin-top: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}
.entry-single .entry-meta .meta-item {
    margin-right: 1.5rem;
}
.entry-single .entry-meta i {
    color: var(--syncpart-yellow);
    margin-right: 0.3rem;
}
.entry-single .entry-content {
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 300;
    font-size: 16px;
}
.entry-single .entry-content h2,
.entry-single .entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.entry-single .entry-footer .post-tags {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}
.entry-single .post-tags .tags-title {
    font-weight: bold;
    margin-right: 0.5rem;
}
.entry-single .post-tags a {
    display: inline-block;
    background-color: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    text-decoration: none;
    margin: 0.2rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.entry-single .post-tags a:hover {
    background-color: var(--syncpart-yellow);
    color: #fff;
}
/* Post Navigation (Prev/Next) */
.post-navigation {
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}
.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.post-navigation a {
    flex: 1;
    display: block;
    padding: 0.7rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

.post-navigation a:hover {
    border-color: var(--syncpart-yellow);
    background-color: #fefcf5;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-navigation .nav-title {
    color: var(--black);
    font-weight: 700;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;
}
.post-navigation .nav-previous .nav-title::before {
    content: 'â† ';
    margin-right: 0.25rem;
}
.post-navigation .nav-next .nav-title::after {
    content: ' â†’';
    margin-left: 0.25rem;
}
.post-navigation .nav-next {
    text-align: right;
}
@media (max-width: 767px) {
    .post-navigation .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
}

.recom-title {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}
.widget_recommended_products {
    background-color: #fff;
}
.widget_recommended_products .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--black);
    text-transform: uppercase;
}
.product-list-item {
    margin-bottom: 1rem;
}
.product-list-item:last-child {
    margin-bottom: 0;
}
.product-list-item a {
    transition: background-color 0.3s ease;
    border-radius: 0.25rem;
}
.product-list-item a:hover {
    background-color: #f8f9fa;
}
.product-list-item .product-item-thumbnail {
    flex-shrink: 0;
    width: 80px;
    margin-right: 1rem;
}
.product-list-item .product-item-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee;
}
.product-list-item .product-item-content .product-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}
.product-list-item .view-more-link {
    font-size: 0.75rem;
    font-weight: 300;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-us-page {
    padding: 2.6rem 0;
}
.contact-us-page .left p {
    font-weight: normal;
}
.contact-us-page .left i {
    color: var(--syncpart-yellow);
    font-size: 18px;
    padding-right: 0.4rem;
}
.contact-us-page .left a {
    text-decoration: none;
    color: #111;
}
.contact-us-page .left a:hover {
    color: var(--syncpart-yellow);
}

@media (max-width: 768px) {
    .header-flex {
        flex-wrap: wrap;
    }
    .navbar-toggler {
        display: block;
        padding: 6px 6px;
        font-size: 20px;
        background: #ce9b00;
        border-radius: 5px;
    }
    #header-searchs {
        width: 70%;
    }
    .site-logo {
        max-width: 35px !important;
    }
    .header-search,
    .header-tool-flex {
        width: 100%;
    }
    .site-branding {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .login-button a {
        font-size: 13px;
    }
    #header-searchs button {
        font-size: 13px;
    }
    #header-searchs input,
    #header-searchs input::placeholder {
        font-size: 12px;
    }
    .site-branding {
        margin-bottom: 0.5rem;
        width: 100%;
    }
    .header-tool-flex {
        justify-content: space-between;
    }
    .sync-title {
        font-size: 22px;
    }
    .syncpart-industr p,
    .product-attributes-dl,
    .woocommerce-product-details__short-description {
        font-size: 14px;
    }
    .product-box .card-body {
        padding: 6px;
    }
    .card-title {
        margin-bottom: 0;
        font-size: 14px;
    }
    .home-end {
        padding: 1.5rem 0;
    }
    .home-end section {
        margin-bottom: 1rem;
    }
    .footer-company {
        margin-bottom: 0;
        padding-top: 1rem;
        font-size: 12px;
    }
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .hide-d {
        display: none !important;
    }
    .navbar-nav .nav-item {
        margin: 0;
    }
    .navbar-nav .nav-link {
        font-size: 16px;
        padding: 7px 0;
    }
    .product-page-title {
        padding: 2rem 0;
    }
    .product-page-title h4,
    .product_title,
    .entry-single .entry-title {
        font-size: 22px;
    }
    .woocommerce-breadcrumb {
        font-size: 12px;
    }
    .product_title {
        margin-top: 1rem;
    }
    .syncform-container {
        margin: 0 !important;
        padding: 4px 0 !important;
    }
    .news-item-content {
        padding: 0.5rem;
    }
    .news-item-content .entry-title {
        font-size: 19px;
    }
    .news-item-content .entry-meta {
        margin-bottom: 0;
    }
    .contact-us-page {
        padding: 0.6rem 0;
    }
    .product-display-flex {
        padding: 0;
    }
}

/* Product Item Positioning */
.product-item,
.product-item-card {
    position: relative;
}

/* Product Action Buttons - Favorite & Like */
.btn-favorite,
.btn-like {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-width: 1px;
}

.btn-favorite {
    border-color: #dc3545;
    color: #dc3545;
    background-color: transparent;
}

.btn-favorite:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.btn-favorite.active {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.btn-like {
    border-color: #dc3545;
    color: #dc3545;
    background-color: transparent;
}

.btn-like:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.btn-like.active {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.btn-favorite i,
.btn-like i {
    font-size: 16px;
}

.btn-favorite:disabled,
.btn-like:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Add to Cart Button Styles */
.btn-add-to-cart {
    border-color: #dc3545;
    color: #dc3545;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-width: 1px;
}

.btn-add-to-cart:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.btn-add-to-cart.active,
.btn-add-to-cart.added {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.btn-add-to-cart i {
    font-size: 16px;
}

.btn-add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Old styles - remove */
.product-action-buttons,
.product-action-buttons-inline {
    display: none;
}

/* Toast notification for product actions */
.product-action-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    min-width: 250px;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-action-buttons {
        top: 5px;
        right: 5px;
        gap: 5px;
    }

    .btn-favorite,
    .btn-like {
        width: 32px;
        height: 32px;
    }

    .btn-favorite i,
    .btn-like i,
    .btn-add-to-cart i {
        font-size: 16px;
    }

    .product-action-toast {
        top: 60px;
        right: 10px;
        min-width: 200px;
    }
}
.whatsapp-hover-log {
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 1000;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}
/* =========================
   TABLET
========================= */
@media (max-width: 991.98px) {
    .container-xl {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-logo {
        max-width: 56px !important;
    }

    .top-bar {
        padding: 12px 0;
    }

    .header-flex {
        flex-wrap: wrap;
        gap: 12px;
    }

    .site-branding {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0;
    }

    .navbar-toggler {
        display: none;
    }

    .site-menu-toggle {
        display: inline-flex;
    }

    .header-tool-flex {
        width: 100%;
        align-items: stretch;
        gap: 10px;
        flex-wrap: wrap;
    }

    #header-searchs {
        width: 100%;
        margin-right: 0 !important;
    }

    .header-search {
        width: 100%;
    }

    .login-button {
        display: flex;
        gap: 20px;
        width: 100%;
    }

    .login-button .btn,
    #header-searchs .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 44px;
    }

    .search-form .form-control {
        min-height: 44px;
    }

    /* .site-header .navbar {
        padding: 8px 0;
    } */

    .navbar-collapse {
        padding-top: 8px;
        margin-top: 8px;
        padding: 14px 16px;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    }

    .navbar-nav {
        width: 100%;
        gap: 2px;
    }

    .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar-nav .nav-link {
        font-size: 15px;
        padding: 10px 0;
        border-bottom: 1px solid #f1f1f1;
    }

    .navbar .dropdown-menu {
        min-width: 100%;
        box-shadow: inset 0 0 0 1px #edf2f7;
        border: 0;
        border-radius: 14px;
        margin-top: 6px;
    }

    .mobile-menu-tools {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid #f1f1f1;
    }

    .mobile-menu-search {
        margin-bottom: 10px;
    }

    .mobile-menu-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 72px;
        gap: 10px;
    }

    .mobile-menu-actions .btn,
    .mobile-menu-search .btn,
    .mobile-menu-search .form-control {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .mobile-menu-actions .btn:first-child {
        width: 100%;
    }

    .mobile-menu-actions .btn_cart {
        width: 72px;
        padding-left: 0;
        padding-right: 0;
    }

    .sync-title {
        font-size: 26px;
    }

    .syncpart-industr,
    .syncpart-products-recommended,
    .syncpart-supply,
    .home-end,
    .product-display-flex,
    .contact-us-page {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    #bj-map {
        height: 360px;
        margin: 24px 0;
    }

    .home-end .row {
        align-items: center;
    }

    .product-page-title {
        padding: 48px 0;
    }

    .product-page-title h4 {
        font-size: 28px;
    }

    .product-main-image {
        border-radius: 16px;
    }

    .product-attributes-dl dt {
        width: 38%;
    }

    .product-attributes-dl dd {
        width: 62%;
    }

    /* cart / inquiry */
    .table-responsive table {
        min-width: 760px;
    }

    .product-action-toast {
        top: 70px;
        right: 12px;
        min-width: 220px;
    }

    #footer {
        padding-top: 2.2rem !important;
    }

    .foot-title {
        margin-top: 14px;
        margin-bottom: 12px;
        font-size: 16px;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767.98px) {
    body {
        font-size: 14px;
    }

    .container-xl {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-logo {
        max-width: 52px !important;
    }

    .top-bar {
        padding: 10px 0;
    }

    .header-tool-flex {
        gap: 8px;
    }

    .mobile-menu-actions {
        gap: 8px;
    }

    .mobile-menu-search .form-control,
    .mobile-menu-search .btn-dark,
    .mobile-menu-actions .btn {
        min-height: 42px;
        font-size: 14px;
    }

    .lang-switcher-nav .dropdown-menu {
        min-width: 100%;
    }

    .sync-title {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .syncpart-industr p,
    .syncpart-supply p,
    .entry-single .entry-content,
    .product-content section,
    .woocommerce-product-details__short-description,
    .product-attributes-dl {
        font-size: 14px;
        line-height: 1.6;
    }

    .card {
        border-radius: 10px;
    }

    .card-img-top img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .product-box .card-body {
        padding: 10px 8px;
    }

    .card-title {
        font-size: 13px;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .current-price {
        font-size: 16px;
    }

    #heroCarousel .carousel-item img {
        min-height: 220px;
        object-fit: cover;
    }

    #bj-map {
        height: 260px;
        margin: 20px 0;
    }

    .home-end {
        padding: 20px 0;
    }

    .home-end section {
        margin-bottom: 18px;
        text-align: center;
    }

    .home-end img {
        border-radius: 10px;
    }

    .page-title {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .woocommerce-breadcrumb {
        font-size: 12px;
        line-height: 1.5;
    }

    .product-page-title {
        padding: 30px 0;
    }

    .product-page-title h4,
    .product_title,
    .entry-single .entry-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .product-price-single {
        margin-bottom: 14px;
    }

    .product-detail-page .row > [class*='col-'] {
        margin-bottom: 18px;
    }

    .product-main-image img {
        width: 100%;
        height: auto;
    }

    .product-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .product-attributes-summary {
        margin-top: 12px !important;
    }

    .product-attributes-dl {
        display: block;
    }

    .product-attributes-dl dt,
    .product-attributes-dl dd {
        width: 100%;
        margin: 0;
    }

    .product-attributes-dl dt {
        font-weight: 700;
        margin-top: 10px;
    }

    .product-attributes-dl dd {
        margin-top: 2px;
    }

    h2.descrip-title {
        font-size: 18px;
        padding-bottom: 8px;
        margin-bottom: 12px;
    }

    .feedback-form {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .feedback-form .form-control,
    .feedback-form .btn {
        min-height: 44px;
        font-size: 14px;
    }

    .feedback-form textarea.form-control {
        min-height: 120px;
    }

    .news-item-content {
        padding: 12px;
    }

    .news-item-content .entry-title {
        font-size: 18px;
        line-height: 1.35;
    }

    .news-item-content .entry-meta {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .post-navigation .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .post-navigation a {
        padding: 12px;
    }

    /* cart page */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 16px;
    }

    .table-responsive table {
        min-width: 680px;
        margin-bottom: 0;
        background: #fff;
    }

    .table td,
    .table th {
        font-size: 13px;
        vertical-align: middle;
        white-space: nowrap;
    }

    .table td img {
        width: 56px !important;
        max-width: 56px;
    }

    .table form.d-flex {
        flex-wrap: wrap;
        gap: 6px !important;
    }

    .table form .form-control {
        width: 72px !important;
    }

    .card.card-body {
        padding: 16px;
        border-radius: 12px;
    }

    .card.card-body .btn-lg {
        width: 100%;
    }

    .card.card-body .d-flex.gap-2.flex-wrap {
        flex-direction: column;
    }

    /* footer */
    #footer {
        text-align: left !important;
        padding-top: 1.8rem !important;
        padding-bottom: 1.4rem !important;
    }

    .foot-title {
        font-size: 15px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .foot-list li {
        font-size: 13px;
        line-height: 1.6;
    }

    .social-links {
        gap: 10px;
        margin-top: 6px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .footer-company {
        margin-bottom: 0;
        padding-top: 14px;
        font-size: 12px;
        line-height: 1.5;
        text-align: center;
    }

    .whatsapp-hover-log {
        right: 14px;
        bottom: 20px;
    }
}

/* =========================
   VERY SMALL MOBILE
========================= */
@media (max-width: 480px) {
    .sync-title {
        font-size: 20px;
    }

    .site-logo {
        max-width: 48px !important;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
    }

    .card-title {
        font-size: 12px;
    }

    .current-price {
        font-size: 15px;
    }

    #heroCarousel .carousel-item img {
        min-height: 180px;
    }

    #bj-map {
        height: 220px;
    }

    .btn-sync,
    .btn-warning,
    .btn-dark,
    .btn-light {
        font-size: 14px;
    }
    .btn-sync {
        margin-bottom: 20px;
    }
}
.inquiry-cart-table th,
.inquiry-cart-table td {
    vertical-align: middle;
}

.cart-thumb {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 6px;
    display: block;
}

.cart-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-mobile-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.cart-mobile-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cart-mobile-thumb {
    width: 84px;
    height: 84px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 6px;
    flex-shrink: 0;
}

.cart-mobile-info {
    flex: 1;
}

.cart-mobile-info h3 {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #1f2937;
}

.cart-mobile-info p {
    margin-bottom: 6px;
    font-size: 14px;
    color: #475569;
}

.cart-mobile-bottom {
    margin-top: 14px;
    border-top: 1px solid #f1f1f1;
    padding-top: 14px;
}

.cart-mobile-qty-form input[type='number'] {
    min-height: 44px;
}

.cart-mobile-qty-form .btn {
    white-space: nowrap;
}

.inquiry-form-card {
    border-radius: 16px;
    border: 1px solid #eee;
}

@media (min-width: 768px) {
    .cart-mobile-list {
        display: none;
    }
}

#inquiry-loading-bar-wrap {
    width: 100%;
    height: 4px;
    background: #e9ecef;
    border-radius: 999px;
    overflow: hidden;
}

#inquiry-loading-bar {
    width: 0%;
    height: 100%;
    background: #198754;
    transition: width 0.25s linear;
}

.btn-loading {
    opacity: 0.8;
    pointer-events: none;
}

.loading-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 140px;
    white-space: nowrap;
    flex-shrink: 0;
}

.inquiry-form-card .btn-warning.loading-button,
.inquiry-form-card .btn-warning.loading-button:hover,
.inquiry-form-card .btn-warning.loading-button:focus,
.inquiry-form-card .btn-warning.loading-button:active {
    color: #fff;
}

.loading-button__spinner,
.loading-button__loading-text {
    display: none;
}

.loading-button.btn-loading .loading-button__spinner,
.loading-button.btn-loading .loading-button__loading-text {
    display: inline-flex;
}

.loading-button.btn-loading .loading-button__text {
    display: none;
}

.cart-qty-form .loading-button,
.cart-mobile-qty-form .loading-button {
    width: 160px;
}

.news-page-head {
    margin-bottom: 28px;
}

.news-page-head h1,
.news-detail h1 {
    margin: 0;
    color: #1f2937;
    font-weight: 700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.news-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    background: #f2f4f7;
}

.news-card-image img,
.news-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    padding: 26px 22px 22px;
}

.news-date {
    margin-bottom: 10px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.news-card h2 {
    margin-bottom: 12px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;
}

.news-card h2 a,
.news-read-more {
    color: #1f2937;
    text-decoration: none;
}

.news-card p {
    color: #475569;
    line-height: 1.7;
}

.news-read-more {
    font-weight: 700;
}

.news-read-more:hover,
.news-card h2 a:hover {
    color: var(--syncpart-yellow);
}

.news-detail {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.news-detail-image {
    display: block;
    max-height: 460px;
}

.news-detail-body {
    padding: 42px 32px 32px;
}

.news-detail .news-date {
    margin-bottom: 14px;
}

.news-content {
    margin-top: 20px;
    color: #334155;
    font-size: 17px;
    line-height: 1.8;
}

@media (max-width: 991.98px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .news-detail-body {
        padding: 30px 22px 22px;
    }

    .news-content {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .site-loader__box {
        width: min(100%, 180px);
        padding: 16px;
    }

    .site-loader__spinner {
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-loader__spinner {
        animation: none;
    }
}

.error-page-section {
    padding: 72px 0;
}

.error-page-card {
    position: relative;
    overflow: hidden;
    padding: 56px 40px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 193, 7, 0.28), transparent 32%),
        linear-gradient(135deg, #fff9e7 0%, #ffffff 55%, #fff3c4 100%);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.error-page-card::before,
.error-page-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.14);
    pointer-events: none;
}

.error-page-card::before {
    width: 220px;
    height: 220px;
    top: -90px;
    left: -60px;
}

.error-page-card::after {
    width: 180px;
    height: 180px;
    right: -50px;
    bottom: -60px;
}

.error-page-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 110px;
    margin-bottom: 20px;
    padding: 0 22px;
    color: var(--syncpart-yellow);
    font-size: 80px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.error-page-card h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
}

.error-page-lead {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
}

.error-page-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.error-page-actions .btn {
    min-height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .error-page-section {
        padding: 48px 0;
    }

    .error-page-card {
        padding: 42px 28px;
        border-radius: 24px;
    }

    .error-page-card h1 {
        font-size: 34px;
    }

    .error-page-lead {
        font-size: 16px;
        line-height: 1.7;
    }
}

@media (max-width: 767.98px) {
    .error-page-section {
        padding: 32px 0;
    }

    .error-page-card {
        padding: 34px 18px;
        border-radius: 20px;
    }

    .error-page-badge {
        min-width: 88px;
        height: 88px;
        margin-bottom: 16px;
    }

    .error-page-card h1 {
        font-size: 28px;
    }

    .error-page-lead {
        font-size: 15px;
        line-height: 1.7;
    }

    .error-page-actions {
        gap: 10px;
        margin-top: 22px;
    }

    .error-page-actions .btn {
        width: 100%;
    }
}

.cart-mobile-qty-form .d-flex {
    align-items: stretch;
}

.cart-mobile-qty-form .loading-button {
    width: 160px;
}
