/*#region header*/
body {
    background-color: #ffffff;
}

.catalog-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 90px;
    background-color: #ffffff;
    border-bottom: 1px solid #EBEBEB;
}

.catalog-header .header-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 0 32px;
    border-right: 1px solid #EBEBEB;
}

.catalog-header > .header-item:last-of-type {
    border-right: none;
}

.catalog-header .company-info-section {
    gap: 24px;
    width: min-content;
    max-width: 500px;
}

.catalog-header .company-info-section .logo {
    height: 25px;
    width: auto;
    max-width: 110px;
}

.catalog-header .company-info-section .company-name {
    width: max-content;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: rgba(17, 19, 23, 0.5);
}

.catalog-header .search-section {
    width: 100%;
}

.catalog-header .search-section .search-form {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 12px;
}

.catalog-header .search-section .product-search-input,
.mobile-search-bar .product-search-input {
    border: none;
    outline: none;
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: rgba(17, 19, 23, 0.5);
    padding: 12px 0;
    width: 100%;
    background-color: #ffffff;
}

.catalog-header .search-section .product-search-input:focus {
    border: none;
    outline: none;
}

.mobile-search-bar .product-search-input:focus {
    transition: border-color 0.2s;
    border-color: #dadcdf;
}

.catalog-header .search-section .product-search-input::placeholder,
.mobile-search-bar .product-search-input::placeholder {
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: rgba(17, 19, 23, 0.5);
}

.mobile-search-bar {
    display: none;
    padding: 8px 20px;
    margin: 12px 0;
}

.catalog-header .menu-section {
    width: 200px;
}

.catalog-header .menu-section .search-btn-mobile {
    all: unset;
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8px;
}

.catalog-header .menu-section .category-menu-btn {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    height: max-content;
    gap: 8px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #111317;
}

.sidebar-menu {
    height: 100vh;
    background: #ffffff;
    width: 280px;
    z-index: 2000;
    position: fixed;
    top: 0;
    right: 0;
    margin-right: -280px;
    transition: 0.1s ease all;
}

.sidebar-menu.open {
    margin-right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background-color: rgb(0, 0, 0, 0.5);
}

.sidebar-overlay.active {
    display: block;
}

.sidebar-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 90px;
    border-bottom: 1px solid #EBEBEB;
}

.sidebar-header > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    border-right: 1px solid #EBEBEB;
    height: 100%;
}

.sidebar-header > div:last-of-type {
    border-right: none;
}

.sidebar-header .header-text .btn-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #111317;
}

.sidebar-header .header-text {
    width: 100%;
    padding: 0 32px;
}

.sidebar-header .hide-btn-container {
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-header .hide-btn-container {
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-header .hide-btn-container button {
    all: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.sidebar-content {
    padding: 20px 0;
    height: calc(100% - 90px);
    overflow-y: auto;
}

.sidebar-content ul {
    margin: 0;
    padding: 0;
}

.sidebar-content li {
    list-style: none;
    padding: 12px 32px;
}

.sidebar-content a {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: rgb(0, 0, 0, 0.6);
    text-decoration: none;
    width: 100%;
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .catalog-header {
        justify-content: space-between;
    }
    .catalog-header .header-item {
        border-right: none;
    }
    
    .catalog-header .company-info-section {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 12px;
        max-width: 300px;
        width: auto;
    }
    
    .catalog-header .company-info-section .company-name {
        width: 100%;
        max-width: 300px;
    }

    .catalog-header .search-section {
        display: none;
    }

    .catalog-header .menu-section {
        padding: 0 20px 0 0;
        width: unset;
    }

    .catalog-header .menu-section .search-btn-mobile {
        display: inline-flex;
    }

    .catalog-header .menu-section .search-btn-mobile img,
    .catalog-header .menu-section .category-menu-btn img {
        width: 24px;
    }
    
    .catalog-header .menu-section .category-menu-btn .btn-text {
        display: none;
    }

    .mobile-search-bar .product-search-input {
        border: 1px solid #EBEBEB;
        border-radius: 9px;
        padding-left: 20px;
        padding-right: 20px;
    }
}
/*#endregion header*/

/*#region footer*/
.catalog-footer {
    width: 100%;
    height: auto;
    /* position: fixed; */
    bottom: 0;
}

.catalog-footer .footer-footer {
    height: 62px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    font-size: 16.9842px;
    line-height: 21px;
    color: #ffffff;
    background-color: #3A80FF;
}

.footer-main {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}

.footer-main .info-section {
    flex: 2;
    height: 100%;
    padding: 60px 120px 30px 120px;
    background-color: #ECEDED
}

.footer-main .link-section {
    flex: 3;
    height: 100%;
    padding: 60px 120px 30px 120px;
    background-color: #F5F6F6;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.info-section .company-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}

.info-section .company-logo,
.info-section .company-name {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.info-section .company-logo img {
    height: 25px;
    margin-right: 12px;
}

.info-section .company-name {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: rgba(17, 19, 23, 0.5);
}

.info-section .slogan {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: rgba(17, 19, 23, 0.54);
    margin-bottom: 30px;
}

.info-section .info-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: rgba(17, 19, 23, 0.54);
    margin-bottom: 20px;
}

.info-section .info-wrapper img {
    margin-top: 4px;
    width: 18px;
}

.info-section .social-media-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
    gap: 20px;
}

.info-section .social-media-container .social-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #D9D9D9;
}

.info-section .social-media-container .social-item img {
    width: 24px;
    height: 24px;
}

.link-section .list-item-container .list-header {
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    margin-bottom: 8px;
}

.link-section .list-item-container .list-item {
    margin: 0;
    padding: 0;
}

.link-section .list-item-container .list-item li {
    list-style: none;
    padding: 8px 0;
}

.link-section .list-item-container .list-item a {
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    color: rgba(17, 19, 23, 0.54);
    text-decoration: none;
}

@media screen and (max-width: 991px) {
    .catalog-footer {
        position: unset;
    }

    .footer-main {
        flex-direction: column;
    }

    .footer-main .info-section,
    .footer-main .link-section {
        padding: 30px;
        flex: unset;
        width: 100%;
    }

    .footer-main .link-section {
        flex-wrap: wrap;
        gap: 30px;
    }

    .link-section .list-item-container {
        width: 100%;
    }

    .info-section .company-wrapper {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}
/*#endregion footer*/

/*#region carousel slider */
.product-slider-container {
    margin-bottom: 50px;
}

.carousel-item-content {
    width: 100%;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    background-color: #3a80ff0f;
    padding: 50px 120px;
}

.product-image,
.product-info {
    align-self: flex-start;
}

.product-image .image-wrapper {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image .image-wrapper img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.product-image.mobile {
    display: none;
    margin-bottom: 24px;
}

.product-info .brand-name {
    display: block;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #3A80FF;
    text-decoration: none;
    margin-bottom: 12px;
}

.product-info .product-name {
    font-weight: 500;
    font-size: 32px;
    line-height: 39px;
    color: #111317;
    margin-bottom: 20px;
}

.product-info .product-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: rgba(17, 19, 23, 0.5);
    margin-bottom: 24px;
}

.product-info .variant-group {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 12px 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.product-info .variant-group .variant-item {
    background-color: rgba(58, 128, 255, 0.12);
    border-radius: 4px;
    width: max-content;
    min-width: 70px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    border: 1px solid transparent;
}

.product-info .variant-group .variant-item.active {
    background-color: rgba(58, 128, 255, 0.23);
    border: 1px solid #3A80FF;
}

.product-info .product-price {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
}

.product-info .product-price .buy-btn {
    display: inline-block;
    height: max-content;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;
}

.product-info .product-price .price {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #3A80FF;
}

.carousel-indicators li {
    width: 100%;
    background-color: rgba(212, 223, 238, 0.67);
    margin-right: 16px;
}

.carousel-indicators li:last-of-type {
    width: 100%;
    background-color: rgba(212, 223, 238, 0.67);
    margin-right: 3px;
}

.carousel-indicators .active {
    background-color: #C2D1E7;
    height: 4px
}

.carousel-control-prev,
.carousel-control-next {
    width: 140px;
}

.carousel-prev,
.carousel-next {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background-color: rgba(58, 128, 255, 0.11);
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-prev img {
    transform: rotate(-90deg);
    width: 12px;
}

.carousel-next img {
    transform: rotate(90deg);
    width: 12px;
}

@media screen and (max-width: 991px) {
    .carousel-item-content {
        padding: 30px 54px;
        padding-bottom: 50px;
        height: auto;
    }

    .product-image {
        display: none;
    }

    .product-image.mobile {
        display: block;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 60px;
    }

    .carousel-prev,
    .carousel-next {
    width: 24px;
    height: 38px;
    }

    .product-info .variant-group .variant-item {
        padding: 8px 12px;
    }

    .product-image .image-wrapper {
        width: 100%;
    }

    .product-info .product-name {
        font-size: 24px;
        line-height: 30px;
    }
}
/*#endregion carousel slider */

/*#region product group*/
.product-group-container {
    padding: 0 120px;
    margin-bottom: 100px;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding: 0 10px;
}

.group-header .header-text {
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    color: #111111;
    margin: 0;
}

.group-header .all-products {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #2150FF;
    text-decoration-line: underline;
    text-underline-offset: 2px;
}

.product-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
}

.product-group .product-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: rgb(17, 17, 17, 0.8);
    text-decoration: none;
    padding: 20px;
    max-width: 340px;
}

.product-group .product-item:hover {
    background-color:#f8f8f8;
    border-radius: 9px;
    transition: all 0.2s;
}

.product-group .product-item .img-wrapper {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-group .product-item img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.product-group-container .divider {
    margin-top: -50px;
    width: 100%;
    border-bottom: 1px solid rgba(217, 217, 217, 0.63);
    margin-bottom: 70px;
}

@media screen and (max-width: 991px) {
    .product-group-container{
        padding: 0 24px;
        margin-bottom: 50px;
    }

    .product-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-group .product-item {
        gap: 12px;
    }

    .product-group .product-item .img-wrapper{
        height: 200px;
    }

    .product-group-container .divider {
        margin-top: -20px;
        margin-bottom: 50px;
    }
}
/*#endregion product group*/

/*#region badge*/
.info-badge-container {
    padding: 0 120px;
    margin-bottom: 100px;
}

.badge-group {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 32px;
}

.badge-group .badge-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    max-width: 260px;
}

.badge-group .badge-item .item-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: rgba(217, 217, 217, 0.24);
    margin-bottom: 24px;
}

.badge-group .badge-item .item-img img {
    width: 90px;
    height: 90px;
}

.badge-group .badge-item .item-header {
    width: 100%;
    font-weight: 500;
    font-size: 24px;
    line-height: 34px;
    color: #000000;
    margin-bottom: 16px;
    text-align: center;
}

.badge-group .badge-item .item-description {
    width: 100%;
    font-weight: 400;
    font-size: 16.9842px;
    line-height: 24px;
    color: rgba(17, 19, 23, 0.54);
    text-align: center;
}

@media screen and (max-width: 991px) {
    .info-badge-container {
        padding: 0 32px;
        margin-bottom: 50px;
    }

    .badge-group {
        justify-content: flex-start;
        overflow-x: auto;
    }
}
/*#endregion badge*/

/*#region product detail*/
.product-detail .carousel-item-content {
    background-color: #FFFFFF;
    height: auto;
    border-bottom: 1px solid #EBEBEB;
    gap: 60px;
    padding-top: 20px;
}

.product-detail .product-info .variant-group {
    width: 100%;
    padding-bottom: 32px;
    margin-bottom: unset;
    border-bottom: 1px solid #EBEBEB;
}

.price-label {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: rgba(17, 19, 23, 0.49);
    margin: 32px 0 12px 0;
}

.product-detail .product-info .product-price {
    gap: 32px;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #EBEBEB;
}

.product-detail .product-info .product-price .price {
    font-size: 32px;
    line-height: 39px;
}

.product-detail .product-info .variant-group.price {
    padding-bottom: unset;
}

.product-detail .product-info .variant-group.price .variant-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    background-color: rgba(58, 128, 255, 0.19);
    padding: 12px 16px;
}

.product-detail .product-info .variant-group.price .variant-item img {
    height: 22px;
    width: auto;
}

.product-detail .detail-buy-btn {
    display: flex;
    justify-content: start;
    align-items: center;
    border-radius: 4px 0 0 4px;
    height: 48px;
}

.product-info .product-price .detail-buy-btn .buy-btn {
    border-radius: 4px 0 0 4px;
    height: 48px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);;
}

.product-detail .detail-buy-btn .btn-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    border-radius: 0 4px 4px 0;
    background-color: #3A80FF;
    height: 48px;
}

.product-detail .detail-buy-btn .btn-logo img {
    max-height: 20px;
    width: auto;
}

.product-detail .product-image {
    width: 400px;
    height: auto;
    position: relative;
}

.product-detail .product-image .image-wrapper {
    width: 400px;
    height: 400px;
    margin-bottom: 12px;
}

.product-detail .product-image .image-wrapper img {
    border-radius: 8px;
}

.product-detail .product-image .image-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.product-detail .product-image .image-group::-webkit-scrollbar {
    height: 0px;
}

.product-detail .product-image .image-group .wrapper {
    width: 93px;
    min-width: 93px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

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

.product-detail .product-image .img-scroll {
    all: unset;
    position: absolute;
    bottom: 20px;
    background-color: #ededef;
    width: 24px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.5;
}

.product-detail .product-image .img-scroll:hover {
    opacity: 0.8;
    transition: opacity 0.2s;
}

.product-detail .product-image .img-scroll.left {
    left: -36px;
}

.product-detail .product-image .img-scroll.right {
    right: -36px;
}

.product-detail .product-image .img-scroll.left img {
    transform: rotate(-90deg);
    width: 12px;
}

.product-detail .product-image .img-scroll.right img {
    transform: rotate(90deg);
    width: 12px;
}

.product-detail .product-image.mobile {
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 768px) {
    .product-detail .carousel-item-content {
        padding: 32px;
    }

    .product-detail .product-info .product-price {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .product-detail .product-image {
        width: 300px;
    }

    .product-detail .product-image .image-wrapper {
        width: 300px;
        height: 300px; 
    }
}
/*#endregion product detail*/

/*#region product detail description*/
.description-container {
    padding: 100px 120px 90px 120px;
}

.description-container .description-header {
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    color: #111111;
    margin-bottom: 24px;
}

.description-container .description-text {
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: rgb(17, 19, 23, 0.6);
    margin-bottom: unset;
}

@media screen and (max-width: 768px) {
    .description-container {
        padding: 50px 32px
    }
}
/*#endregion product detail description*/

/*#region breadcrumb*/
.breadcrumb-container {
    padding: 0 120px;
    margin-top: 24px;
}

.breadcrumb {
    margin: unset;
    background-color: #FFFFFF;
    border-radius: unset;
    padding: unset;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

.breadcrumb-item a,
.breadcrumb-item,
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: rgb(0, 0, 0, 0.5);
}

@media screen and (max-width: 768px) {
    .breadcrumb-container {
        display: none;
    }
}

.catalog-detail .breadcrumb-container {
    padding-left: 130px;
    margin-bottom: 24px;
}
/*#endregion breadcrumb*/

/*#region catalog detail*/
.pagination-container {
    margin-bottom: 50px;
}

.catalog-detail .product-group-container {
    margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
    .catalog-detail .product-group-container {
        margin-top: 24px;
        margin-bottom: unset;
    }

    .pagination-container {
        margin-bottom: 32px;
    }
}
/*#region catalog detail*/
