/* Bắt đầu các kiểu CSS riêng cho child theme */
:root {
    --secondary-c-color: #ea8025;
    --tertiary-c-color: #f8eedd;
}

@font-face {
    font-family: "Julietta-Messie";
    src: url("../fonts/julietta-messie/Julietta-Messie.woff2") format("woff2"), url("../fonts/julietta-messie/Julietta-Messie.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Allura";
    src: url("../fonts/Allura/Allura-Regular.woff2") format("woff2"), url("../fonts/Allura/Allura-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/*Menu*/
.nav-line-bottom>li>a:before,
.nav-line-grow>li>a:before,
.nav-line>li>a:before {
    top: unset !important;
    bottom: 0 !important;
}

.header-wrapper .header-inner .nav-left {
    justify-content: center;
}

/*Search*/
.header-nav .header-search a:before {
    content: unset !important;
}

.header-nav .header-search a.current-lightbox-clicked {
    opacity: 1 !important;
    transform: unset;
}

.mfp-bg.mfp-ready {
    opacity: .8 !important;
}

/*Cart*/
.header-nav .cart-icon strong {
    width: 1.8em;
    height: 1.8em;
    font-size: 0.9em;
    line-height: 1.5em;
}

/*About*/
.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-family: "Allura", cursive;
    line-height: 1.2;
}

.about-text h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-text p {
    margin-bottom: 5px;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
}

.section-banner-title .section-bg {
    background-attachment: fixed;
}

.section-banner-title .row > col {
    padding-bottom: 0;
}

.section-banner-title .title-banner h2 {
    margin-bottom: 0px;
    overflow: hidden;
    text-align: center;
    display: block;
    color: var(--secondary-c-color);
    position: relative;
    font-family: 'Allura';
    font-size: 5rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    font-style: italic;
}

.section-banner-title:before {
    content: "";
    display: block;
    width: 100%;
    height: 14px;
    position: absolute;
    left: 0;
    top: -9px;
    background: url('../images/border-wave.svg') top left repeat-x;
    z-index: 1;
}

.section-banner-title:after {
    content: "";
    display: block;
    width: 100%;
    height: 14px;
    position: absolute;
    left: 0;
    bottom: -6px;
    background: url('../images/border-wave.svg') top left repeat-x;
    z-index: 1;
}

.btn-more {
    background-color: var(--secondary-c-color) !important;
    color: #fff !important;
    display: flex !important;
    padding: 12px 30px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: normal !important;
    text-transform: uppercase !important;
    letter-spacing: .2em !important;
    -webkit-transition: all 0.15s !important;
    transition: all 0.15s !important;
    border-radius: 3px !important;
    min-height: auto !important;
    margin: auto !important;
    width: fit-content;
    margin-top: 20px !important;
}

.btn-more span {
    line-height: unset !important;
}

.section-menu .div-text .col-inner {
    border-bottom: 2px solid #d8d8d8;
    padding-bottom: 40px;
}

.text-menu h2 {
    font-family: 'Allura';
    color: var(--secondary-c-color);
    font-size: 2rem;
}

.img-menu {
    border-radius: 10px;
    overflow: hidden;
}

/*Products*/
.product-small.box {
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-variation-price del,
.product-small.box del {
    text-decoration: none;
}

.product-small.box del .woocommerce-Price-amount.amount {
    font-size: 12px;
}

.product-small.box ins .woocommerce-Price-amount.amount {
    font-size: 14px;
}

.woocommerce-message.message-wrapper,
.badge-container,
.woocommerce span.onsale,
.badge-container .onsale,
.badge-container .new,
.badge-container .badge-new {
    display: none !important;
}

.product-page-price del {
    text-decoration: unset
}

.woocommerce-Price-amount.amount {
    color: #333333;
    font-weight: 600;
}

.woocommerce-price-suffix,
del .woocommerce-Price-amount.amount {
    color: #888888;
    font-weight: 400;
    font-size: 14px;
}

del .woocommerce-Price-amount.amount {
    text-decoration: line-through;
    margin-right: 12px;
}

ins .woocommerce-Price-amount.amount {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
}

.single_add_to_cart_button {
    background-color: var(--primary-color) !important;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 24px;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 6px 12px rgba(180, 95, 6, 0.4) !important;
}

.single_add_to_cart_button:hover {
    box-shadow: 0 8px 16px rgba(140, 68, 0, 0.6) !important;
}

.woocommerce div.product form.cart {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.woocommerce div.product form.cart button {
    margin-bottom: 0;
}

.product-title.woocommerce-loop-product__title {
    font-size: 1rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 25px;
    -webkit-line-clamp: 2;
    height: 50px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item),
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {
    color: unset !important;
    box-shadow: unset !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item {
    padding: 5px 15px !important;
    border: 1px solid #333;
    color: #333 !important;
    margin-right: 10px !important;
    margin-bottom: 10px !important;
    display: inline-block !important;
    text-transform: none;
    cursor: pointer !important;
    position: relative !important;
    border-radius: 4px !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item::before {
    content: "" !important;
    background: url('../images/check.svg') top left no-repeat;
    position: absolute !important;
    width: 20px;
    height: 20px;
    top: -1px !important;
    right: -1px !important;
    display: none !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item.selected {
    border: 1px solid #2e9ed5 !important;
    background: #e5f2ff !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item.selected::before {
    display: block !important;
}

/*From đặt bàn*/
.wpcf7 p:last-of-type {
    margin-bottom: 10px;
}

.form-dat-ban .wpcf7-form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff !important;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    min-height: 45px;
    padding: .5rem 1rem;
    font-size: 1.2rem;
    box-shadow: unset !important;
}

.form-dat-ban textarea.wpcf7-form-control {
    height: auto;
    max-height: 170px;
    min-height: 170px;
    min-width: 100%;
}

.form-dat-ban input.btn-more,
.form-dat-ban .form-dat-ban-submit input.btn-more {
    background-color: var(--secondary-c-color) !important;
    display: flex !important;
    padding: 12px 30px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: normal !important;
    text-transform: uppercase !important;
    letter-spacing: .2em !important;
    -webkit-transition: all 0.15s !important;
    transition: all 0.15s !important;
    min-height: auto !important;
    margin: auto !important;
    width: fit-content;
    border: 0;
}

.row-form > *:nth-child(1) {
    padding-right: 0.75rem;
}

.row-form > *:nth-child(2) {
    padding-left: 0.75rem;
}

.form-dat-ban > * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.my-2 {
    margin-top: .5rem !important;
    margin-bottom: .5rem !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.form-dat-ban .form-dat-ban-submit,
.form-dat-ban .form-dat-ban-submit p {
    margin: auto;
}

.form-dat-ban .wpcf7-spinner {
    display: none;
}

.form-dat-ban,
.form-dat-ban .row-form {
    display: flex;
    flex-wrap: wrap;
}

.form-dat-ban > *,
.form-dat-ban h2 {
    color: var(--secondary-c-color);
}

.form-dat-ban .title-form {
    width: 100%
}

.form-12 {
    flex: 0 0 auto;
    width: 100%;
}

.form-6 {
    flex: 0 0 auto;
    width: 50%;
}

@media (min-width:768px) {
    .form-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .form-md-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .form-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .form-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }

}

/* Album ảnh */
.row.album-nha-hang {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 10px;
    width: 100%;
    margin: auto;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.row.album-nha-hang:after {
    content: unset !important;
}

.row.album-nha-hang .gallery-col {
    border-radius: 15px;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.album-nha-hang .gallery-col .col-inner,
.album-nha-hang .gallery-col .col-inner > a,
.album-nha-hang .gallery-col .gallery-box,
.album-nha-hang .gallery-col .box-image {
    width: 100%;
    height: 100%;
    display: block;
}

.row.album-nha-hang .gallery-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row.album-nha-hang .gallery-col:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.row.album-nha-hang .gallery-col:nth-child(2) {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
}

.row.album-nha-hang .gallery-col:nth-child(3) {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
}

.row.album-nha-hang .gallery-col:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.row.album-nha-hang .gallery-col:nth-child(5) {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
}

.row.album-nha-hang .gallery-col:nth-child(6) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.row.album-nha-hang .gallery-col:nth-child(7) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.row.album-nha-hang .gallery-col:nth-child(8) {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
}

.row.album-nha-hang .gallery-col:nth-child(n+9) {
    grid-column: span 1;
    grid-row: auto;
    border-radius: 8px;
    background-color: #333;
}

/*Footer*/
.section.section-footer {
    padding-top: 50px !important;
}

.section.section-footer,
.section.section-footer h3 {
    color: #fff;
}

.section.section-footer h3 {
    font-size: 1.5rem;
}

.section.section-footer .icon-box-img {
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.section.section-footer .icon-box-img img {
    padding: 0;
    transform: translateY(-50%);
    transition: all ease-in-out .3s;
}

.section.section-footer .icon-box:hover img {
    transform: translateY(0%);
}

.section.section-footer .icon-box {
    align-items: center;
    margin-bottom: 15px;
}

.section.section-footer .icon-box .icon-box-text b,
.section.section-footer .icon-box .icon-box-text strong {
    transition: all ease-in-out .3s;
}

.section.section-footer .icon-box:hover .icon-box-text b,
.section.section-footer .icon-box:hover .icon-box-text strong {
    color: var(--secondary-c-color);
}

.section.section-footer .copy-right {
    padding: 10px 0 !important;
    border-top: 1px solid #dcdcdc;
}

.section.section-footer .copy-right p {
    margin-bottom: 0;
    font-size: .8rem;
}

/*Liên hệ*/
.form-lien-he form {
    display: flex;
    flex-wrap: wrap;
}

.form-lien-he .form-control-text {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.form-lien-he .form-control.form-control-50:nth-child(odd) {
    padding-left: 10px;
}

.form-lien-he .form-control.form-control-50:nth-child(even) {
    padding-right: 10px;
}

.form-lien-he .form-control {
    width: 100%;
}

.form-lien-he .form-control.form-control-50 {
    width: 50%;
}

.form-lien-he .wpcf7 .wpcf7-not-valid-tip {
    display: none;
}

.form-lien-he .wpcf7-response-output {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.form-lien-he .form-control label {
    position: relative;
}

.form-lien-he .form-submit {
    text-align: center;
}

.form-lien-he .form-submit input[type="submit"] {
    margin: auto;
    width: 100%;
    border-radius: 10px;
}

.form-lien-he .form-submit p,
.form-lien-he .form-submit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.form-lien-he .form-control label strong {
    position: absolute;
    line-height: 22px;
    font-weight: normal;
    color: #888;
    left: 25px;
    top: 9px;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
}

.form-lien-he .form-control strong.focusIn {
    font-size: 14px;
    top: -10px;
    left: 30px;
    background-color: #fff;
    padding: 0 5px;
    color: var(--primary-color);
}

.form-lien-he .form-control strong.focusIn1 {
    font-size: 14px;
    top: -10px;
    left: 30px;
    background-color: #fff;
    padding: 0 5px;
    color: var(--primary-color);
}

.form-lien-he .form-control .input-text {
    border-radius: 20px;
    padding-left: 25px;
    height: 44px;
    margin-bottom: 25px;
    color: #888;
}

.form-lien-he .form-control .input-text.input-img {
    width: 100%;
    border-style: solid;
    border-width: 1px;
    border-color: #ddd;
    font-size: 12px;
    padding-top: 12px;
}

.form-lien-he .form-control .input-text:hover,
.form-lien-he .form-control .input-text:focus,
.form-lien-he .form-control .input-text:active {
    border-color: var(--primary-color);
    box-shadow: none;
    color: var(--primary-color) !important;
}

/*Nút Contact*/
.contact-fixed {
    position: fixed;
    bottom: 75px;
    right: 22px;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    gap: 25px;
}

.contact-fixed a {
    position: relative;
    display: flex;
    align-items: center;
}

.contact-fixed img {
    width: 40px;
    height: 40px;
}

.contact-fixed a span {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #ff2147;
    color: #fff;
    height: 40px;
    min-width: 120px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-fixed a.zalo-btn span {
    background: #0084ff;
}

.contact-fixed a:hover span {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.contact-fixed a span::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #ff2147;
}

.contact-fixed a.zalo-btn span::after {
    border-color: transparent transparent transparent #0084ff;
}

.hotline-btn::before,
.hotline-btn::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(229, 57, 53, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: wave 2s infinite;
}

.hotline-btn::after {
    animation-delay: 1s;
}

@keyframes oscillate-rotation {
    0% {
        transform: rotate(0) scale(1) skew(0deg);
    }

    10% {
        transform: rotate(-25deg) scale(1) skew(0deg);
    }

    20% {
        transform: rotate(25deg) scale(1) skew(0deg);
    }

    30% {
        transform: rotate(-25deg) scale(1) skew(0deg);
    }

    40% {
        transform: rotate(25deg) scale(1) skew(0deg);
    }

    50% {
        transform: rotate(0) scale(1) skew(0deg);
    }

    100% {
        transform: rotate(0) scale(1) skew(0deg);
    }

}

.hotline-btn img {
    box-sizing: border-box;
    animation: oscillate-rotation 1s infinite ease-in-out;
    transform-origin: 50% 50%;
}

@keyframes wave {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }

}

.contact-fixed a.zalo-btn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(0, 132, 255, 0.4);
    animation: pulse 1.8s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.6);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }

}

.zalo-btn::before {
    background: rgba(229, 57, 53, 0.4);
}

/*Breadcrumb*/
.section-breadcrumb {
    position: relative;
    z-index: 2;
}

.section-breadcrumb:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(90 100 109 / 80%);
    z-index: 9;
}

.section-breadcrumb .title-breadcrumb h2 {
    font-size: 3rem;
    color: var(--tertiary-c-color);
    font-family: "Allura", cursive;
}

.section-breadcrumb .section-content {
    z-index: 99;
}

@media screen and (max-width:992px) {
    .header-wrapper .header-inner .nav-left {
        justify-content: left;
    }

    .row.album-nha-hang {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .row.album-nha-hang .gallery-col {
        grid-column: span 1;
        grid-row: span 1;
    }

    .row.album-nha-hang .gallery-col:nth-child(4n+1),
    .row.album-nha-hang .gallery-col:nth-child(4n+2) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .row.album-nha-hang .gallery-col:nth-child(4n+3),
    .row.album-nha-hang .gallery-col:nth-child(4n+4) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .section-banner-title .title-banner h2 {
        font-size: 4rem;
    }

    .form-lien-he .form-control.form-control-50 {
        width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

}

@media screen and (max-width:767.98px) {
    .section-banner-title .title-banner h2 {
        font-size: 3rem;
    }

}
