body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    margin: 0;
    overflow-x: hidden;
    padding-top: 60px;
}

a {
    text-decoration: none;
}

header {
    border-bottom: 1px solid #ddd;
    position: fixed; /* Thêm thuộc tính này */
    top: 0; /* Thêm thuộc tính này */
    width: 100%; /* Thêm thuộc tính này để header chiếm toàn bộ chiều rộng */
    z-index: 1000; /* Thêm thuộc tính này để đảm bảo header luôn ở trên các phần tử khác */
    background-color: white; /* Đảm bảo rằng header có nền trắng */
}

header .header-content {
    max-width: 1200px;
    margin: auto;
    padding: 15px 10px;
}

header .header-content .img {
    height: 30px;
}

header .header-content .img img {
    height: 100%;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.content {
    display: flex;
}

.content .buycard {
    width: 60%;
}

.content .separator {
    width: 1px;
    margin: 0 10px;
}

.content .payment {
    width: 40%;
}

.title {
    color: #d4288a;
    font-weight: bold;
    font-size: 18px;
    width: 100%;
    margin: 5px 0px;
}

.listcard {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    gap: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.listcard .item {
    flex: 1 1 calc(33.33% - 10px);
    border: 1px solid #d8b9cb;
    border-radius: 10px;
    box-sizing: border-box;
    max-width: calc(33.33% - 10px);
    max-height: 60px;
    margin-bottom: 5px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.listcard .item img {
    max-width: 100%;
    /* Đảm bảo ảnh không vượt quá chiều rộng của .item */
    max-height: 100%;
    /* Đảm bảo ảnh không vượt quá chiều cao của .item */
}


.listamount {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    gap: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.listamount .item {
    flex: 1 1 calc(33.33% - 10px);
    border: 1px solid #d8b9cb;
    border-radius: 10px;
    box-sizing: border-box;
    max-width: calc(33.33% - 10px);
    margin-bottom: 5px;
    cursor: pointer;
}

.listamount .item .amount {
    text-align: center;
    font-size: 18px;
    margin: 5px auto;
    padding: 5px 0px;
    border-bottom: 1px solid #d8b9cb;
    color: #d4288a;
    font-weight: 500;
}

.listamount .item .price {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 10px;
    padding: 0px 0px 5px 0px;
}

.listamount .item .gb {
    text-wrap: nowrap;
    padding-left: 8px;
}

.listamount .item .st {
    text-wrap: nowrap;
    font-weight: bold;
    padding-right: 8px;
    color: #d4288a;
}

.nhanthe {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 10px;
}

.nhanthe .des {
    color: red;
    font-size: 13px;
    font-style: italic;
    margin-top: 10px;
}

.nhanthe .mailphone {
    margin: 10px 0px;
}

.nhanthe .mailphone label {
    display: block;
    margin: 5px 0px;
}

.nhanthe .mailphone input {
    width: 100%;
    border: 1px solid #ddd;
    padding: 10px;
    outline: none;
    box-sizing: border-box;
}

.btn-thanhtoan {
    margin: 10px 0px;
    width: 100%;
    padding: 13px;
    background-color: #d4288a;
    font-size: 14px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-thanhtoan:hover {
    background-color: #e72995;
}

.selected {
    border: 2px solid red;
}

.chitiet {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 10px;
}

.tt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
}

.tt .ct {}

.tt .if {
    color: #d4288a;
    font-weight: 500;
}

.soluong {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.soluong .text {
    margin-right: 10px;
}

.quantity-input {
    display: flex;
    align-items: center;
}

.quantity-input button,
.quantity-input input {
    height: 30px; /* Đặt chiều cao chung cho cả button và input */
}

.quantity-input button {
    background-color: #d4288a;
    border: none;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: white;
}

.btn-left {
    border-radius: 5px 0 0 5px;
}

.btn-right {
    border-radius: 0 5px 5px 0;
}

.quantity-input input {
    width: 40px; /* Điều chỉnh chiều rộng của input để cân đối */
    text-align: center;
    border: 1px solid #d4288a;
    margin: 0;
    font-size: 16px;
    box-sizing: border-box; /* Đảm bảo padding và border không làm thay đổi chiều rộng và chiều cao */
    border-radius: none;
}

.quantity-input button:focus,
.quantity-input input:focus {
    outline: none;
}


.tongtienthanhtoan {
    color: #d4288a;
    font-size: 16px;
    font-weight: bold;
}

.thongbao {
    font-size: 12px;
    margin-bottom: 0px;
    color: red;
    width: 100%;
    display: none;
}

footer {
    display: flex;
    flex-direction: column;
    margin-top: 100px;
}

.footer-top {
    background-color: #171717;
    color: #d1d1d1;
    padding: 20px 0px;
}

.tieude {
    font-weight: bold;
    font-size: 16px;
}

.footer-top a {
    text-decoration: none;
    color: #8b8b8b;
}

.section {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 20px;
}

.layout1 {
    width: calc(20% - 15px);
    box-sizing: border-box;
}
.layout2 {
    width: calc(20% - 15px);
    box-sizing: border-box;
}
.layout3 {
    width: calc(35% - 15px);
    box-sizing: border-box;
}

.layout4 {
    width: calc(25% - 15px);
    box-sizing: border-box;
}

.item-services {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.item-services img {
    height: 24px;
}

.item-services a {
    margin-left: 8px;
}

.layout3 p {
    color: #8b8b8b;
    margin: 8px 0px;
}

.layout3 p span {
    color: #d1d1d1;
}

.layout3 .img-ad {
    margin: 10px 0px 10px 0px;
}

.layout3 .img-ad img {
    height: 50px;
    border-radius: 5px;
    border: 1px solid #fff;
    cursor: pointer;
}

.social {
    display: flex;
    justify-content: start;
    margin: 20px 0px;
    gap: 20px;
}

.social div {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.social div img {
    width: 100%;
}

.download-app {
    margin: 10px 0px;
}

.download-app div {
    height: 110px;
}

.download-app div img {
    height: 100%;
    cursor: pointer;
}

.footer-bottom {
    background-color: #262626;
}

.footer-bottom .content-foot {
    max-width: 1200px;
    margin: auto;
    display: flex;
    padding: 20px;
    align-items: center;
}

.footer-bottom .content-foot .logo {
    height: 50px;
}

.footer-bottom .content-foot .logo img {
    height: 100%;
}

.footer-bottom .content-foot .company-info {
    padding: 2px;
    margin-left: 8px;
    display: flex;
    flex-wrap: wrap;
}
.footer-bottom .content-foot .company-info .company-name {
    width: 100%;
    color: #d1d1d1;    
}
.footer-bottom .content-foot .company-info .address {
    color: #8b8b8b;
    width: 100%;
}

@media (max-width: 1023px) {
    .layout1,
    .layout2,
    .layout3,
    .layout4 {
        width: calc(50% - 10px);
    }
}

@media (max-width: 639px) {
    footer {
        display: flex;
        flex-direction: column-reverse; /* Đảo ngược thứ tự của các phần tử con */
    }

    .footer-bottom .content-foot .logo {
        height: 80px;
    }

    .layout1,
    .layout2 {
        width: calc(50% - 10px);
        /* Chỉnh lại width để trừ đi khoảng cách giữa các phần tử */
    }

    .layout3,
    .layout4 {
        width: 100%;
        /* Chiều rộng 100% cho layout3 và layout4 */
    }
}

@media (min-width: 768px) {
    .listcard .item {
        flex: 1 1 calc(25% - 10px);
        max-width: calc(25% - 10px);
    }

    .listamount .item {
        flex: 1 1 calc(25% - 10px);
        max-width: calc(25% - 10px);
    }
}

@media (min-width: 1200px) {
    .listcard .item {
        flex: 1 1 calc(16.66% - 10px);
        max-width: calc(16.66% - 10px);
    }

    .listamount .item {
        flex: 1 1 calc(16.66% - 10px);
        max-width: calc(16.66% - 10px);
    }
}

@media (max-width: 575px) {
    .content {
        display: block;
    }

    .content .buycard,
    .content .separator,
    .content .payment {
        width: 100%;
        margin: 0;
    }

    .content .separator {
        display: none;
    }
}

.h2title {
    font-weight: bold;
    text-align: center;
    font-size: 25px;
    color: #cb2a83;
    padding: 10px;
}