/* Header  */
.header-pc {
    padding: 5px 15px;
}

.header-pc .logo img {
    max-width: 75px;
}

.header-pc .header-right svg {
    width: 25px;
    height: 25px;
}

.header-pc .header-right svg path {
    stroke: var(--color-2);
}

.header-pc .header-right .text {
    font-weight: 700;
}

.header-pc .header-right .link {
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 7px;
    /* padding: 10px 0; */
}

.header-pc .favourite-button {
    position: relative;
}

.header-pc .favourite-button:hover .list-favourite-wrap {
    display: block;
}

.header-pc .list-favourite-wrap {
    display: none;
    position: absolute;
    width: 400px;
    background: #FFF;
    border-radius: 8px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    box-shadow: 0px 8px 20px rgba(182, 182, 182, 0.42);
}

.header-pc .list-favourite-wrap .title-favourite {
    font-size: 16px;
    font-weight: 700;
    padding: 12px 10px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.header-pc .list-favourite-wrap .wrap-img {
    padding-bottom: 65%;
}

.header-pc .list-favourite-wrap .item {
    padding: 0 10px 10px;
    margin-top: 10px;
}

.header-pc .list-favourite-wrap .item:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

.header-pc .list-favourite-wrap .item .content h3 {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 5px;
}

.header-pc .list-favourite-wrap .item .content .des {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.header-pc .list-favourite-wrap .footer-favourite {
    padding: 12px 10px;
    text-align: center;
    border-top: 1px solid #ddd;
}

.header-pc .header-right {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
}

.header-pc .menu .level1 {
    display: flex;
    gap: 34px;
    /* padding-left: 30px; */
}

.header-pc .menu .level1 .title-level1 {
    font-size: 15px;
    font-weight: 700;
    position: relative;
}

.header-pc .menu .level1 .title-level1::before {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    position: absolute;
    bottom: -3px;
    left: 0;
    background-color: #ed9945;
    transition: width .3s;
}

.header-pc .menu .level1 .title-level1:hover::before {
    width: 100%;
}

.header-pc .menu .item-level1 {
    position: relative;
    padding: 22px 0 15px;
}

.header-pc .menu .item-level1:hover .level2 {
    display: block;
}

.header-pc .menu .level2 {
    position: absolute;
    top: 100%;
    left: 0;
    padding: 8px 0;
    min-width: 240px;
    border-radius: 8px;
    box-shadow: 0px 8px 20px rgba(182, 182, 182, 0.3);
    background: #fff;
    z-index: 3;
    display: none;
}

.header-pc .menu .level2 .title-level2 {
    padding: 6px 16px;
    white-space: nowrap;
    display: block;
}

.header-pc .menu .item-level2:hover .title-level2 {
    background-color: #F2F2F2;
}

.overlay-menu-mb {
    background: #000;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
}

.overlay-menu-mb.active {
    opacity: .3;
    visibility: visible;
}

.menu-mb {
    background: #FFF;
    border-color: rgba(0, 0, 0, 0.1);
    color: #fff;
    width: 80%;
    max-width: 440px;
    position: fixed;
    z-index: 10;
    right: 0;
    top: 0;
    bottom: 0;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.menu-mb.active {
    transform: translateX(0%);
    opacity: 1;
    visibility: visible;
}

.menu-mb .menu-navbar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
}

.menu-mb .level1 .item-level1 {
    display: block;
    padding: 10px 50px 10px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.menu-mb .level1 {
    height: 100%;
    overflow-y: scroll;
}

.menu-mb .level1 .arrow svg {
    width: 15px;
    height: 15px;
}

.menu-mb .level1 .arrow {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .2s;
}

.menu-mb .level1 .arrow.active {
    transform: rotate(180deg);
}

.menu-mb .level1 .level2 {
    padding-left: 15px;
    margin-top: 10px;
    display: none;
}

.menu-mb .level1 .item-level2 {
    padding: 5px 0;
    font-size: 14px;
}

.menu-mb .close-menu-mb {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-mb .close-menu-mb svg {
    width: 20px;
    height: 20px;
}

.header-pc.affix {
    width: 100%;
    background-color: #FFF;
    top: 0;
    box-shadow: 1px 2px 7px rgba(0, 0, 0, 0.15);
    animation: slide-down .5s linear forwards;
    z-index: 8;
}

.affix {
    position: fixed;
}

.search-m {
    display: none;
    margin-bottom: 10px;
}

.search-m .form-search {
    padding: 8px;
    border: 1px solid #ccc;
    background-color: #F2F2F2;
    border-radius: 8px;
    height: 48px;
    padding-left: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-m .form-search span {
    font-weight: 700;
}

.search-m .icon-search-wrap {
    display: flex;
    padding: 8px;
    background: #096831;
    border-radius: 4px;
    height: 32px;
    width: 32px;
    justify-content: center;
    align-items: center;
}

.search-m .icon-search-wrap path {
    stroke: #FFF;
}

.box-search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #FFF;
    z-index: 15;
}

.box-search .close svg {
    width: 25px;
    height: 25px;
    top: 13px;
    right: 10px;
    position: absolute;
}

.box-search .title-box {
    padding: 16px;
    font-weight: 700;
    font-size: 18px;
    border-bottom: 1px solid #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.box-search .content-city {
    padding: 16px;
    overflow-y: auto;
    height: calc(100vh - 58px);
}

.box-search .content-city .title {
    color: #2C2C2C;
    font-weight: 700;
    margin-bottom: 16px;
}

.box-search .city-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 12px;
    margin-bottom: 16px;
}

.box-search .city-featured .item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.box-search .city-featured .item img {
    height: 72px;
    width: 100%;
    object-fit: cover;
}

.box-search .city-featured .item::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.box-search .city-featured .item span {
    position: absolute;
    width: 100%;
    color: #FFF;
    display: block;
    text-align: center;
    z-index: 2;
    left: 0;
    bottom: 8px;
    font-size: 15px;
    font-weight: 700;
}

.box-search .danhsach ul li {
    padding: 10px 0;
}

.box-search.step-2 .title-box {
    justify-content: start;
}

.box-search.step-2 .title-box .city-select {
    color: #096831;
}

.box-search.step-2 .input-wrap {
    position: relative;
    margin-bottom: 16px;
}

.box-search.step-2 input {
    font-size: 14px;
    line-height: 20px;
    padding: 8px 12px 8px 40px;
    background: #F2F2F2;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
}

.box-search.step-2 .input-wrap svg {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

.box-search.step-2 .title-box svg {
    width: 15px;
    height: 15px;
}

.box-search.step-2 .submit-form {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background-color: #FFF;
}

.box-search.step-2 .submit-form button {
    color: #FFF;
    background: #096831;
    width: 100%;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 16px;
}

.box-search.step-2 .content-city {
    height: calc(100vh - 140px);
}

.box-search.step-2 .list-district li {
    background: #F2F2F2;
    border-radius: 50px;
    display: inline-flex;
    padding: 10px 15px;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.box-search.step-2 .list-district li svg {
    width: 15px;
    height: 15px;
    transform: translateY(3px);
}

.d-none {
    display: none;
}

.post-news-user {
    border-radius: 30px;
    padding: 5px 20px !important;
    animation: bg-spin 3s linear infinite;
    --border-angle: 0turn;
    --main-bg: conic-gradient(from var(--border-angle), #dc831b, #dc831b 5%, #dc831b 60%, #dc831b 95%);
    border: solid 2px transparent;
    /* --gradient-border: conic-gradient(from var(--border-angle), transparent 25%, #FFC7C3, #FFC7C3 99%, transparent); */
    --gradient-border: conic-gradient(from var(--border-angle), transparent 25%, #009688, #FFF 99%, transparent);
    background: var(--main-bg) padding-box, var(--gradient-border) border-box, var(--main-bg) border-box;
    background-position: center center;
    color: #FFF !important;
}

@keyframes bg-spin {
    100% {
        --border-angle: 1turn;
    }
}

@property --border-angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0turn;
}

@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-edit-product {
    background: #F00;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    padding: 10px;
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.btn-edit-product svg {
    width: 20px;
    height: 20px;
    fill: #FFF;
}

.modal-overlayyy {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    /* display: flex; */
}

.modal-overlayyy .modal-content {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    width: 90%;
    animation: fadeIn 0.3s ease;
    position: relative;

    height: 90%;
    overflow: auto;
}

.modal-overlayyy .modal-content h2 {
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}

.modal-overlayyy .modal-content h4 {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.modal-overlayyy .close-btn-modal {
    padding: 0;
    position: absolute;
    top: 10px;
    right: 10px;
}

.modal-overlayyy .close-btn-modal svg {
    width: 20px;
    height: 20px;
}

.modal-overlayyy .form-group {
    margin-bottom: 10px;
}

.modal-overlayyy input {
    width: 100%;
    padding: 10px 20px;
    background: #FFF;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    height: 40px;
}

.modal-overlayyy .submit {
    font-size: 14px;
    margin: 15px auto;
    display: block;
    font-weight: 700;
    border-radius: 30px;
    background: #096831;
    color: #FFF;
    text-transform: uppercase;
    padding: 10px 35px;
}

/* Hiá»‡u á»©ng hiá»‡n */
@keyframes fadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media(max-width: 1200px) {
    .header-pc .menu .level1 {
        padding-left: 0px;
        gap: 25px;
    }

    .header-pc .header-right {
        gap: 14px;
    }
}

@media(max-width: 992px) {
    .header-pc .menu {
        display: none;
    }

    .header-pc {
        padding: 5px 0px;
    }
}


@media(max-width: 550px) {
    .header-pc .header-right svg {
        width: 20px;
        height: 20px;
    }

    .header-pc .header-right .link {
        font-size: 12px;
    }

    .header-pc .header-right .link-user .text {
        display: none;
    }

    .header-pc .logo img {
        max-width: 100%;
    }

    .search-m {
        display: block;
    }

    .header-pc .favourite-button svg {
        transform: translateY(2px);
    }

    .header-pc .favourite-button:hover .list-favourite-wrap {
        display: none;
    }

    .post-news-user {
        padding: 5px 10px !important;
    }
}