:root {
    --primary-color: #0A63BF;
    --light-bg: #f5f7fa;
    --border-color: #dee2e6;
}

.main-container {
    max-width: 1200px;
    margin: 150px auto;
    background: white;
    border-radius: 10px;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); */
    overflow: hidden;
    position: relative;
    padding-top: 80px;
    padding: 80px 0 0 !important;
    /* height: 600px; */
}

/* Ã¥â€ºÂºÃ¥Â®Å¡Ã¥Å“Â¨Ã¥Â®Â¹Ã¥â„¢Â¨Ã¥â€ â€¦Ã§Å¡â€žÃ¦Â â€¡Ã©Â¢Ëœ */
.container-header {
    background-color: white;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-title:before {
    /* content:''; */
    background: antiquewhite;
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 96px;
    height: 70px;
}

.page-title>p {

position: absolute;

z-index: 99;

font-weight: 600;

margin: 0;

font-size: 36px;

color: #525252;

text-align: left;

font-style: normal;

text-transform: none;

line-height: 1.6;

border-bottom: 1px solid;

margin-bottom: 20px;

line-height: 70px;

width: 100%;

position: fixed;

top: 130px;

z-index: 66;

background: #fff;

max-width: 1280px;

padding: 0 15px;
}

.page-title:after {
    content: '';
    background: #ffffff;
    width: 100%;
    display: block;
    position: fixed;
    left: 0;
    top: 90px;
    height: 70px;
}

.page-title {
    font-weight: 600;
    margin: 0;
    font-size: 48px;
    color: #525252;
    text-align: left;
    font-style: normal;
    text-transform: none;
    line-height: 1.6;
    border-bottom: 1px solid;
    margin-bottom: 20px;
    width: 100%;
    position: fixed;
    top: 90px;
    z-index: 66;
    background: #fff;
    max-width: 1280px;
    /* left: 0; */
}

.content-wrapper {
    display: flex;
    min-height: 600px;
    /* margin-left: 280px; */
    /* margin-top: 70px; */
    position: relative;
    /* height: 1600px; */
    /* height: 100vh; */
    /* overflow-y: auto; */
}

.category-sidebar {
    width: 208px;
    background-color: white;
    /* border-right: 1px solid var(--border-color); */
    padding: 80 0 0;
    margin-right: 100px;
    align-self: flex-start;
    top: 140px;
    margin-left: 15px;
    height: calc(100vh - 120px);
    /* overflow-y: auto; */
    position: fixed;
    /* left: 0; */
    /* top: 0; */
}

.category-header {
    font-weight: 600;
    color: #525252;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #525252;
    font-size: 1.1rem;
    font-weight: 500;
    font-size: 24px;
    color: #525252;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-items {
    display: none;
}

.sub-category.category-items {
    padding: 7px 0;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    font-weight: 500;
    font-size: 18px;
    color: #525252;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.sub-category.category-items:hover {
    color: var(--primary-color);
    /* background-color: #f9f9f9; */
    /* padding-left: 5px; */
}

.sub-category.category-items.active {
    color: var(--primary-color);
    font-weight: 600;
}

.sub-category.category-items.active:before {
    color: var(--primary-color);
}

/* Ã¤Â¸Â»Ã¥â€ â€¦Ã¥Â®Â¹Ã¥Å’ÂºÃ¥Å¸Å¸ */
.products-section {
    flex: 1;
    margin-left: 280px;
    /* /* margin-top: 70px; */
}

.products-container {
    background-color: white;
    border-radius: 0;
    padding: 40px 10px 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    row-gap: 50px;
    column-gap: 20px;
    border-radius: 0;
}

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    background: white;
}

.product-card:hover {
    /* transform: translateY(-5px); */
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
}

.product-image {
    /* height: 200px; */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ee 100%); */
    /* padding: 10px; */
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    /* transform: scale(1.05); */
}

.rob_solutions .product-info {
    padding: 20px 0;
}

.product-name {
    font-weight: 500;
    font-size: 18px;
    color: #525252;
    text-align: left;
    font-style: normal;
    text-transform: none;
    padding: 5px;
}

.product-brand {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.product-brand:before {
    content: "Ã°Å¸ÂÂ·Ã¯Â¸Â";
    margin-right: 5px;
}

.product-description {
    color: #6c757d;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.pagination-container {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background-color: #e9f1fb;
    border-radius: 6px;
    font-size: 0.9rem;
}

.product-count {
    font-weight: 600;
    color: #2c3e50;
}

.sort-select {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.35rem 0.75rem;
    font-size: 0.9rem;
}


@media (max-width: 576px) {}

/* Ã¥Å¸ÂºÃ§Â¡â‚¬Ã¦Â Â·Ã¥Â¼Â */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-items {
    padding: 10px;
    /* border-bottom: 1px solid #eee; */
    cursor: pointer;
}

.category-items:hover {
    /* background-color: #f5f5f5; */
}

.active {
    /* background-color: #e0f0ff; */
    font-weight: bold;
}

/* Ã§Â§Â»Ã¥Å Â¨Ã§Â«Â¯Ã¦Â Â·Ã¥Â¼Â */
.mobile-category-wrapper {
    display: none;
}

.mobile-category-select {
    display: none;
}



/* details */

.prod-container {
    color: #000;
    padding-bottom: 50px;
    margin-top: 10px;
}

.top-image {
    width: 100vw;
    height: auto;
    object-fit: cover;
    z-index: 2;
    position: relative;
    /* position: fixed;
    top: -213px; */
}

.top-image-title {
    position: absolute;
    right: 10%;
    bottom: 20%;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.top-image img {
    width: 100%;
    object-fit: cover;
}

.header-nav {
    display: flex;
    font-weight: 500;
    font-size: 18px;
    color: #0A63BF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top: 130px;
    background: #F7F8F8;
    height: 80px;
    align-content: center;
    align-items: center;
}


.header-nav .nav-item {
    position: relative;
    line-height: 1;
    color: #0A63BF;
    margin: 10px;
}

.header-nav .nav-item:before {
    /* content: ''; */
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 12px solid #379cc8;
}

.header-nav .nav-item-span {
    margin-left: 10px;
    color: #379cc8;
    font-weight: 100;
}

.prod-main-img {
    width: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.prod-detail-imgs {
    width: 100%;
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.prod-detail-imgs img {
    width: calc(33.33% - 6.7px);
    cursor: pointer;
    transition: transform 0.2s;
}

.product-info .product-info {
    /* padding-top:54px; */
    width: 100%;
    overflow-y: auto;
}

.prod-no {
    font-size: 15px;
    font-weight: 300;
}

.prod-no-span {
    color: #0A63BF;
    font-weight: 500;
}

.desc-price {
    display: flex;
    justify-content: space-between;
}

.prod-desc {
    font-weight: 600;
    font-weight: normal;
    font-size: 32px;
    color: #525252;
    text-align: left;
    font-style: normal;
    text-transform: none;
    line-height: 1.5;
    min-height: 96px;
}

.prod-span {
    width: 20%;
}

.price-contact {
    width: 205px;
}

.price-contact .btn {
    width: 100%;
    /* height: 36px; */
    /* border-radius: 18px; */
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.price-title {
    font-size: 14px;
    font-weight: 300;
}

.contact-btn {
    background-color: #379cc8;
    margin: 14px 0;
    color: #fff;
}

.chat-btn {
    background-color: #000;
}

.prod-introduction .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 22px;
}

.prod-introduction {
    display: flex;
    height: 226px;
    align-items: center;
}

.prod-introduction .content {
    line-height: 1.5;
    font-weight: 500;
    font-size: 20px;
    color: #525252;
    text-align: left;
    font-style: normal;
    text-transform: none;
    /* height: 206px; */
}

.prod-features {
    width: 100%;
    margin: 30px 0
}

.feature-item {
    width: 100%;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #A0AEC0;
    padding: 10px 0;
    min-height: 62px;
    font-size: 14px;
    font-weight: 500;
    /* line-height: 40px; */
}

.feature-item:first-child {
    border-top: 1px solid #A0AEC0;
}

.feature-item-title {
    width: 40%;
    font-size: 18px;
    /* font-family: none; */
    /* font-weight: 600; */
    color: #525252;
}

.feature-item-value {
    width: 60%;
    font-size: 18px;
    line-height: 1.5;
    color: #525252;
}

.prod-media img {
    width: 100%
}

.prod-media {
    width: 100%;
    margin-top: 48px;
    overflow: auto;
}

.prod-media video,
.prod-media img {
    max-width: 100%;
}

.prod-media .title {
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;

}

.prod-media .media-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prod-media .media-content img {
    width: 100%;
    object-fit: cover;
}

@media (min-width: 1280px) {
    .header-nav {
        position: sticky;
        top: 130px;
        /* z-index: 100;
        background-color: #fff; */
        z-index: 9;
    }

    .prod-detail-img-content {
        position: sticky;
        top: 169px;
    }
}

/* Ã¨Ââ€Ã§Â³Â»Ã¨Â¡Â¨Ã¥Ââ€¢Ã¦Â Â·Ã¥Â¼Â */
.prod-contact {
    position: relative;
}

span.text-danger {
    color: #FF6D00 !important;
    font-size: 20px;
    position: relative;
    top: 6px;
}

.prod-contact .hide-contact:after {
    pointer-events: auto;
    content: '×';
    position: absolute;
    text-align: center;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    line-height: 16px;
    color: #525252;
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    z-index: 999;
}

.contact-form {
    margin-top: 15px;
    margin-bottom: 60px;
    padding: 25px 20px;
    background: #F7F8F8;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #A0AEC0;
}

.contact-form h4 {
    text-align: center;
    margin-bottom: 20px;
}

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

.contact-form label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    color: #525252;
}

.contact-form .form-control[readonly] {
    background: #A0AEC050;
}

.contact-form .form-control {
    width: 100%;
    padding: 15px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-height: 52px;
}

.contact-form textarea.form-control {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

.text-danger {
    color: #dc3545;
}

.text-muted.small {
    color: #525252 !important;
    font-size: 16px;
}

.text-muted {}

.small {
    font-size: 12px;
}

/* Ã¨Â¡Â¨Ã¥Ââ€¢Ã©ÂªÅ’Ã¨Â¯ÂÃ¦Â Â·Ã¥Â¼Â */
.error-message {
    color: red;
    font-size: 12px;
    line-height: 1;
    display: none;
    margin-top: 4px;
}

.error {
    border: 1px solid red !important;
}

.show {
    display: block;
}

.details_bg {
    background: #F7F8F8;
    padding: 68px 0;
}

.details_bg .d_l img {
    max-height: 560px;
    max-width: 100%;
}

.dt_title {
    font-weight: 600;
    font-size: 36px;
    margin-top: 20px;
    height: 50px;
    color: #525252;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

@media (max-width: 768px) {
    .dt_title{
        color: #525252;
        font-size: 1.5rem;
        font-weight: 500;
        margin-top: 30px;
    }
    .page-title>p{
        top:109px;
        text-align: center;
        font-size: 24px;
        left: 0;
    }
    .feature-item-title {
        width: 38%;
        font-size: 14px;
    }

    .feature-item-value {
        width: 60%;
        font-size: 14px;
    }

    .mobile-category-select {
        display: block;
    }

    .product-info {
        padding: 5px;
    }

    .product-name {
        font-weight: 400;
        font-size: 14px;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 30px;
        column-gap: 10px;
    }

    .main-container {
        margin: 1rem;
        padding: 0 !important;
    }
    .banner_top .flex{
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        align-content: center;
    }
    .page-title {
        font-weight: normal;
        font-size: 32px;
        color: #525252;
        text-align: center;
        font-style: normal;
        text-transform: none;
        margin: 00px 2%;
        min-width: 360px;
        top: 109px;
        left: 0;
        right: 0;
        max-width: 620px;
        width: 375px;
        width: 96%;
    }

    .mobile-category-wrapper {
        display: block;
        position: relative;
        margin-bottom: 15px;
    }

    .mobile-category-select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background-color: #fff;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 16px;
        background: #F7F8F8;
        border-radius: 4px 4px 4px 4px;
        border: 2px solid #134972;
    }

    .category-list {
        display: none;
    }

    .category-list.show-on-mobile {
        display: block;
        position: absolute;
        width: 100%;
        background: white;
        z-index: 100;
        border: 1px solid #ddd;
        max-height: 300px;
        overflow-y: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .content-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .category-header {
        border-bottom: none;
        margin-bottom: 10px;
        margin-top: 10px;
        font-size: 18px;
    }

    .category-sidebar {
        width: 100%;
        margin-right: 30px;
        align-self: flex-start;
        top: 72px;
        height: 130px;
        overflow-y: auto;
        position: fixed;
        border: none;
        background: #fff;
        z-index: 99;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0 15px !important;
    }

    .products-section {
        width: 100%;
        margin: 0;
        margin-top: 151px;
    }
}

@media (max-width: 768px) {
    .prod-contact .hide-contact{
        display: none;
    }
    .contact-form    {
        border: none;
    }
    .prod-desc{
        font-size:20px;
    }
    .prod-media{
        margin:5px;
    }
    .header-nav .nav-item{
        font-size:14px;
        margin: 5px !important;
    }
    .header-nav {
        gap: 10px;
        margin-top: 110px;
        height: 60px;
    }
    .prod-introduction{
        height:auto
    }
    .prod-introduction .content{
        font-size:16px
    }
}