* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

img {
    max-width: 100%;
}

select:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: none;
}

.btn {
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-outline {
    background-color: transparent;
    color: #1268B1;
    border: 1px solid #c5c5d3;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
}

.btn-outline:hover {
    background-color: #1268B1;
    color: #ffffff;
}

.section_padding {
    padding: 25px;
}

.primary_Title {
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    color: #474747;
}

.btn-primaryy {
    background-color: #1268B1;
    color: white;
    border-radius: 7px;
    border: 1px solid #339AF0;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
}

.btn-primaryy:hover {
    background-color: #0b7dda;
}


.secondary_Title {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: #474747;
}

.select_wrapper {
    position: relative;
    display: block;
}

.select_wrapper:after {
    content: url('../img/chevron-grey.png');
    top: 12px;
    right: 10px;
    position: absolute;
    z-index: 1;
    width: auto;
    height: auto;
}

.body_bg {
    background-color: #ffffff;
}

.main_container {
    max-width: 1300px;
    padding: 0;
    margin: 0 auto;
}

.title_tabs .tabs {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
    margin-top: 20px;
    width: 100%;
    overflow-x: auto;
}

.title_tabs .tabs .tab_link {
    display: block;
    border: 1px solid #C5C5D3;
    padding: 15px 40px;
    border-radius: 40px;
    color: #72777A;
    text-decoration: none;
    font-size: 13px;
    line-height: 20px;
    font-weight: 500;
    text-align: center;
}

.title_tabs .tabs .tab_link:hover {
    background-color: #1268B1;
    color: #ffffff;
}


.title_tabs .tabs .tab_link.selected {
    background-color: #1268B1;
    color: #ffffff;
}

.filter_search {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter_search .filter_selector {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.filter_search .filter_selector .select_wrapper:after {
    top: 22px;
}

.filter_search .filter_selector .select_wrapper .dropdown {
    font-size: 14px;
    line-height: 17px;
    font-weight: 500;
    letter-spacing: 1.5px;
    border: 1px solid #C5C5D3;
    background-color: #ffffff;
    color: #72777A;
    padding: 20px 60px 20px 15px;
    border-radius: 7px;
    cursor: pointer;
    appearance: none;
}


.filter_search .search_field {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.filter_search .search_field .search_wrapper {
    border: 1px solid #C5C5D3;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 25px;
    border-radius: 7px;
    position: relative;
}

.filter_search .search_field .search_wrapper:after {
    content: url('../img/chevron-grey.png');
    top: 22px;
    right: 10px;
    position: absolute;
    z-index: 1;
    width: auto;
    height: auto;
}

.filter_search .search_field .search_wrapper .input_field {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #979797;
    border: none;
}

.product_details {
    margin-top: 10px;
    display: block;
}


.product_details .table_body {
    width: 100%;
    height: 500px;
    overflow: auto;
}

.product_details .prouct_table {
    width: 100%;
    border-spacing: 0;
}

.product_details .prouct_table thead tr {
    border: 1px solid rgba(217, 217, 217, 5%);
}

.product_details .prouct_table thead tr .head_col {
    background-color: #EFF8FF;
    padding: 20px;
    margin: 0;
}

.product_details .prouct_table tbody td {
    border-bottom: 1px solid #c5c5d3;
}


.product_details .prouct_table tbody td .body_col {
    display: block;
    justify-content: center;
    align-items: center;
}

.product_details .prouct_table tbody td .body_col .product-options .product-title {
    color: #1268B1;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 28px;
}

.product_details .prouct_table tbody td .body_col .product-options .options-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product_details .prouct_table tbody td .body_col .product-options .options-container .option-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product_details .prouct_table tbody td .body_col .product-options .options-container .option-group .option-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-bottom: 5px;
}

.product_details .prouct_table tbody td .body_col .product-options .options-container .option-group .option-select {
    font-size: 14px;
    padding: 10px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    color: #333;
    background-color: #fff;
    width: 120px;
    cursor: pointer;
    appearance: none;
    position: relative;
}

.product_details .prouct_table tbody td .body_col .quantity-selector,
.product_details .quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #c5c5d3;
    border-radius: 20px;
    padding: 5px 10px;
    width: 100px;
    justify-content: space-between;
    font-family: Arial, sans-serif;
}

.product_details .prouct_table tbody td .body_col .quantity-selector .quantity-btn,
.product_details .quantity-selector .quantity-btn {
    border: none;
    background-color: transparent;
    font-size: 22px;
    font-weight: 700;
    color: #979797;
    cursor: pointer;
    outline: none;
}

.product_details .prouct_table tbody td .body_col .quantity-selector .quantity-btn:focus,
.product_details .quantity-selector .quantity-btn:focus {
    outline: none;
}

.product_details .prouct_table tbody td .body_col .quantity-selector .quantity-value,
.product_details .quantity-selector .quantity-value {
    font-size: 14px;
    font-weight: 500;
    color: #72777A;
}

.product_details .prouct_table tbody td .body_col .add-to-cart-btn {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1268B1;
    background-color: transparent;
    border: 1px solid #c5c5d3;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.product_details .prouct_table tbody td .body_col .add-to-cart-btn:hover {
    background-color: #1268B1;
    color: white;
    border-color: #1268B1;
}

.product_details .prouct_table tbody td .body_col .add-to-cart-btn:focus {
    outline: none;
}

.product_details .footer_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

.product_details .footer_container .pagination {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.product_details .footer_container .pagination a {
    color: #333;
    float: left;
    text-decoration: none;
    margin: 0 6px;
}

.product_details .footer_container .pagination a.active {
    background-color: #2196F3;
    color: white;
    border: 1px solid #2196F3;
    padding: 0 5px;
    border-radius: 5px;
}

.product_details .footer_container .pagination a:hover:not(.active) {
    background-color: #ddd;
}

.product_details .footer_container .cart-buttons {
    display: flex;
    gap: 10px;
}

.popup_container {
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 15%);
    width: 100%;
    z-index: 111;
}

.overlay .popup {
    border-radius: 10px;
    position: absolute;
    z-index: 111;
    overflow: hidden;
    background-color: #ffffff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 90px 70px;
    box-sizing: border-box;
    max-width: 550px;
    width: calc(100% - 35px);
    text-align: center;
    height: auto;
}

.overlay .popup .popup_title {
    font-size: 30px;
    font-weight: 600;
    line-height: 40px;
    color: #474747;
    max-width: 530px;
    margin: 40px auto 0;
}

.overlay .popup .popup_close {
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: #FEE8E7;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    cursor: pointer;
}

.filter_container {
    background-color: #EFF8FF;
    padding: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 320px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 20px;
}

.checkbox-item:last-child {
    margin-bottom: 0;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-item label {
    flex-grow: 1;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #474747;
    text-align: left !important;
}

.checkbox-item.open {
    background-color: #1268B1;
    padding: 10px 20px;
}

.checkbox-item.open label {
    color: #ffffff;
}

.dropdown-content.show .checkbox-item {
    padding: 0;
}

.dropdown-content.show .checkbox-item:last-child {
    margin-bottom: 10px;
}

.dropdown-content.show label {
    color: #979797;
    line-height: 22px;
}

.chevron {
    border: solid #888;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transition: transform 0.3s;
    cursor: pointer;
}

.checkbox-item.open .chevron {
    border-color: #ffffff;
}

.dropdown-content {
    display: none;
    padding-left: 20px;
}

.dropdown-content.show {
    display: block;
}

.checkbox-item.open .chevron {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

@media (min-width: 1281px) and (max-width: 1480px) {
    .title_tabs .tabs {
        gap: 15px;
        margin-top: 15px;
    }

    .title_tabs .tabs .tab_link {
        padding: 10px 40px;
    }

    .filter_search .filter_selector .select_wrapper .dropdown {
        padding: 15px 50px 15px 10px;
    }

    .filter_search .search_field .search_wrapper {
        padding: 7px 20px;
    }

    .filter_search .search_field .search_wrapper:after {
        top: 18px;
    }

    .filter_search .filter_selector .select_wrapper:after {
        top: 18px;
    }

    .filter_search {
        margin-top: 25px;
    }

    .product_details .prouct_table thead tr .head_col {
        padding: 15px;
    }

    .product_details .prouct_table tbody td .body_col {
        padding: 15px;
    }

    .product_details .footer_container {
        padding: 15px 0;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .title_tabs .tabs .tab_link {
        min-width: 14em;
    }

    .product_details .prouct_table thead tr .head_col {
        min-width: 14em;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .title_tabs .tabs .tab_link {
        min-width: 14em;
    }

    .product_details .prouct_table thead tr .head_col {
        min-width: 14em;
    }

    .popup {
        padding: 65px 45px;
    }

    .popup_title {
        font-size: 24px;
        line-height: 32px;
        margin: 30px auto 0;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    .btn {
        padding: 7px 14px;
    }

    .btn-outline {
        font-size: 14px;
        line-height: 22px;
    }

    .btn-primary {
        font-size: 14px;
        line-height: 24px;
    }

    .section_padding {
        padding: 15px;
    }

    .primary_Title {
        font-size: 16px;
        line-height: 20px;
    }

    .secondary_Title {
        font-size: 14px;
        line-height: 20px;
    }

    .title_tabs .tabs {
        gap: 10px;
        margin-top: 15px
    }

    .title_tabs .tabs .tab_link {
        padding: 10px 20px;
        font-size: 14px;
        line-height: 18px;
        min-width: 12em;
    }

    .filter_search {
        gap: 10px;
        margin-top: 20px;
    }

    .filter_search .search_field .search_wrapper {
        gap: 8px;
        padding: 7px 15px;
    }

    .filter_search .search_field .search_wrapper .input_field {
        font-size: 14px;
        line-height: 20px;
    }

    .product_details {
        margin-top: 10px;
    }

    .product_details .prouct_table thead tr .head_col {
        min-width: 12em;
    }

    .product_details .footer_container {
        gap: 15px;
        padding: 15px 0;
    }

    .overlay .popup {
        padding: 40px 20px;
    }

    .overlay .popup .popup_title {
        font-size: 20px;
        line-height: 28px;
        margin: 20px auto 0;
    }

    .filter_container {
        width: 100%;
        padding: 10px;
    }
}

@media screen and (min-width: 320px) and (max-width: 550px) {
    .secondary_Title {
        font-size: 12px;
        line-height: 18px;
    }

    .filter_search {
        flex-wrap: wrap;
    }

    .filter_search .search_field .search_wrapper {
        gap: 5px;
        padding: 5px 10px;
    }

    .filter_search .filter_selector .select_wrapper .dropdown {
        font-size: 12px;
        line-height: 15px;
        letter-spacing: 1px;
        padding: 10px 35px 10px 10px;
    }

    .product_details .footer_container {
        flex-direction: column;
    }
}