.hv3-tvdh {

    container-type: inline-size;
    clear: both;
    margin-top: 18px;
    padding: 16px 20px 18px;

    border: 1px solid rgba(32, 127, 93, .3);
    border-radius: 12px;

    background: linear-gradient(180deg, #F3FDF7 0%, #FFFFFF 100%);
}

.hv3-tvdh__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.hv3-tvdh__title {
    font-family: 'Arial Web Head', var(--hv3-font, Arial, sans-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--hv3-button-green, #207F5D);
}

.hv3-tvdh__all {
    color: var(--hv3-muted, #8a8a8f);
    text-decoration: none;
    cursor: pointer;
}

.hv3-tvdh__all:hover {
    color: var(--hv3-button-green, #207F5D);
}

.hv3-tvdh__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hv3-tvdh__body > .hv3-tvdh-hours {
    flex: 0 1 auto;
    flex-wrap: nowrap;
}

.hv3-tvdh__body .hv3-tvdh-hours__cell {
    flex: 0 1 auto;
}

.hv3-tvdh__body .hv3-tvdh-hours__cell strong,
.hv3-tvdh__body .hv3-tvdh-hours__cell.is-sat span,
.hv3-tvdh__body .hv3-tvdh-hours__cell.is-off span {
    white-space: nowrap;
}

.hv3-tvdh-hours {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 5px;
    border: 1px solid #e6ebe8;
    border-radius: 10px;
    background: #fff;
}

.hv3-tvdh-hours__cell {
    display: flex;
    flex: 1 1 110px;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 6px 8px;
    border-radius: 8px;
    text-align: center;
}

.hv3-tvdh-hours__cell.is-week {
    flex: 3 1 250px;
    background: #f0f9f4;
}

.hv3-tvdh-hours__cell.is-sat { background: #fff7e8; }
.hv3-tvdh-hours__cell.is-off { background: #fdeeee; }

.hv3-tvdh-hours__cell strong {

    font-family: 'Arial Web Head', var(--hv3-font, Arial, sans-serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.hv3-tvdh-hours__cell.is-week strong { color: var(--hv3-button-green, #207F5D); }
.hv3-tvdh-hours__cell.is-sat strong  { color: #eeaa2b; }
.hv3-tvdh-hours__cell.is-off strong  { color: #e5484d; }

.hv3-tvdh-hours__cell span {
    font-size: 13px;
    line-height: 1.45;
    color: var(--hv3-ink-soft, #666);
}

.hv3-tvdh-hours__cell span b {
    font-weight: inherit;
    white-space: nowrap;
}

.hv3-tvdh__avatars {
    position: relative;
    display: flex;
    flex: none;
    cursor: pointer;
}

.hv3-tvdh__avatars img {
    width: 46px;
    height: 46px;
    margin-left: -14px;
    border: 3px solid #e9eeeb;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
}

.hv3-tvdh__avatars img:first-child {
    margin-left: 0;
}

.hv3-tvdh__avatars::after,
.hv3-tvdh__avatars::before {
    content: "";
    position: absolute;
    top: 2px;
    right: 1px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
}

.hv3-tvdh__avatars::after {
    border: 2px solid #fff;
    background: var(--hv3-button-green, #207F5D);
}

.hv3-tvdh__avatars::before {
    background: #16a34a;
    opacity: .6;
    animation: hv3-tvdh-pulse 1.3s cubic-bezier(.24, .6, .35, 1) infinite;
    pointer-events: none;
}

@keyframes hv3-tvdh-pulse {
    0%   { transform: scale(1);   opacity: .6; }
    55%  { transform: scale(2.4); opacity: 0; }
    100% { transform: scale(2.4); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hv3-tvdh__avatars::before {
        animation: none;
        opacity: 0;
    }
}

.hv3-tvdh {
    padding: 10px 20px 12px 20px;
}

.hv3-tvdh .hv3-tvdh__head {
    margin-bottom: 8px;
}

.hv3-tvdh .hv3-tvdh__title {
    font-size: 16px;
    line-height: 1.3;
}

.hv3-tvdh .hv3-tvdh__all {
    font-size: 14px;
}

.hv3-tvdh .hv3-tvdh-hours {
    gap: 5px;
    padding: 4px 5px;
}

.hv3-tvdh__body .hv3-tvdh-hours__cell.is-week {
    flex: 0 1 auto;
}

.hv3-tvdh .hv3-tvdh-hours__cell {
    min-width: 88px;
    padding: 5px 6px;
}

.hv3-tvdh .hv3-tvdh-hours__cell strong {
    font-size: 13px;
    line-height: 18px;
}

.hv3-tvdh .hv3-tvdh-hours__cell span {
    margin-top: 4px;
    font-size: 11px;
    line-height: 15px;
}

.hv3-tvdh .hv3-tvdh__avatars img {
    width: 48px;
    height: 48px;
    margin-left: -14px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e3e9e5, 0 2px 6px rgba(16, 24, 40, .08);
}

.hv3-tvdh .hv3-tvdh__avatars img:first-child {
    margin-left: 0;
}

.hv3-tvdh .hv3-tvdh__avatars::after,
.hv3-tvdh .hv3-tvdh__avatars::before {
    top: 1px;
    right: 3px;
    width: 9px;
    height: 9px;
}

@container (min-width: 600px) {

    #sanpham-inan-quote-simple .hv3-tvdh__body > .hv3-tvdh-hours {
        flex-grow: 1;
        max-width: calc(100% - 116px - 70px);
    }

    .hv3-tvdh__body .hv3-tvdh-hours .hv3-tvdh-hours__cell {
        flex-grow: 1;
    }
}

@container (max-width: 470px) {
    .hv3-tvdh__body {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hv3-tvdh__body > .hv3-tvdh-hours {
        flex: 1 1 100%;
        flex-wrap: wrap;
    }

    .hv3-tvdh__body .hv3-tvdh-hours__cell {
        flex: 1 1 110px;
        white-space: normal;
    }

    .hv3-tvdh__body .hv3-tvdh-hours__cell.is-week {
        flex-basis: 100%;
    }
}

@media (max-width: 599px) {
    .hv3-tvdh {
        padding: 14px;
    }

    .hv3-tvdh__body {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hv3-tvdh__body > .hv3-tvdh-hours {
        flex: 1 1 100%;
        flex-wrap: wrap;
    }

    .hv3-tvdh__body .hv3-tvdh-hours__cell {
        flex: 1 1 110px;
        white-space: normal;
    }

    .hv3-tvdh__body .hv3-tvdh-hours__cell.is-week {
        flex-basis: 100%;
    }

    .hv3-tvdh .hv3-tvdh__avatars img {
        width: 44px;
        height: 44px;
        margin-left: -12px;
    }
}

#hv3-modal-consult#hv3-modal-consult.hv3-tvdh-modal {
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-x: hidden;
    background: transparent;
}

#hv3-modal-consult#hv3-modal-consult.hv3-tvdh-modal[style*="display: block"] {
    display: flex !important;
}

#hv3-modal-consult#hv3-modal-consult.hv3-tvdh-modal .modal-dialog {
    width: min(660px, 100%);
    max-width: 100%;
    max-height: calc(100dvh - 32px);
    margin: 0;
    transform: translateY(var(--hv3-modal-rise, 22px)) !important;
    opacity: 0;
    transition: transform var(--hv3-modal-dur, .34s) var(--hv3-modal-ease, cubic-bezier(.16, 1, .3, 1)),
                opacity .18s ease-out !important;
}

#hv3-modal-consult#hv3-modal-consult.hv3-tvdh-modal.in .modal-dialog,
#hv3-modal-consult#hv3-modal-consult.hv3-tvdh-modal.show .modal-dialog {
    transform: translateY(0) !important;
    opacity: 1;
}

#hv3-modal-consult#hv3-modal-consult.hv3-tvdh-modal .modal-content {
    position: relative;
    max-height: calc(100dvh - 32px);
    overflow: auto;
    border: 1px solid var(--hv3-modal-border, #DCEFE5);
    border-radius: var(--hv3-modal-radius, 20px);
    background: var(--hv3-modal-bg, linear-gradient(180deg, #E4F7EC 0%, #FFFFFF 52%));
    box-shadow: var(--hv3-modal-shadow, 0 28px 64px -22px rgba(16, 76, 55, .38));
    color: var(--hv3-ink-soft, #666);
}

#hv3-modal-consult#hv3-modal-consult.hv3-tvdh-modal .close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--hv3-modal-x-size, 26px);
    height: var(--hv3-modal-x-size, 26px);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--hv3-modal-x-bg, #fff);
    color: var(--hv3-modal-x-color, #A4A4A5);
    font-size: 19px;
    line-height: 1;
    opacity: var(--hv3-modal-x-opacity, .8);
    text-shadow: none;
    transition: color .15s, opacity .15s;
}

#hv3-modal-consult#hv3-modal-consult.hv3-tvdh-modal .close:hover {
    color: var(--hv3-modal-x-color-hover, #207F5D);
    opacity: 1;
}

#hv3-modal-consult#hv3-modal-consult.hv3-tvdh-modal .modal-body {
    padding: 30px 26px 26px;
    font-size: 15px;
    line-height: 1.5;
}

.hv3-tvdh-modal__title {
    margin: 0 36px 20px 0;
    font-family: 'Arial Web Head', var(--hv3-font, Arial, sans-serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--hv3-button-green, #207F5D);
}

.hv3-tvdh-modal__staff {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 19px;
}

.hv3-tvdh-modal__card {
    display: flex;
    align-items: center;
    gap: 17px;
    min-width: 0;
    padding: 11px 15px;
    border: 1px solid #d3e8dc;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.hv3-tvdh-modal__card:hover,
.hv3-tvdh-modal__card:focus-visible {
    border-color: var(--hv3-button-green, #207F5D);
    box-shadow: 0 6px 16px rgba(29, 128, 87, .12);
    text-decoration: none;
}

.hv3-tvdh-modal__card img {
    flex: none;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 0 0 1px #e3e8e5;
}

.hv3-tvdh-modal__who {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hv3-tvdh-modal__name {
    overflow: hidden;
    font-size: 15px;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--hv3-ink-soft, #666);
}

.hv3-tvdh-modal__phone {
    font-family: 'Arial Web Head', var(--hv3-font, Arial, sans-serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    white-space: nowrap;
    color: var(--hv3-button-green, #207F5D);
}

.hv3-tvdh-modal__label {
    margin: 20px 0 8px;
    font-family: 'Arial Web Head', var(--hv3-font, Arial, sans-serif);
    font-weight: 700;
    color: var(--hv3-ink-soft, #666);
}

.hv3-tvdh-modal .hv3-tvdh-hours__cell strong {
    font-size: 18px;
}

.hv3-tvdh-modal .hv3-tvdh-hours__cell span {
    font-size: 15px;
}

@media (max-width: 599px) {
    #hv3-modal-consult#hv3-modal-consult.hv3-tvdh-modal {
        padding: 10px;
    }

    #hv3-modal-consult#hv3-modal-consult.hv3-tvdh-modal .modal-body {
        padding: 24px 16px 18px;
    }

    .hv3-tvdh-modal__title {
        font-size: 20px;
    }

    .hv3-tvdh-modal__staff {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hv3-tvdh-modal__card {
        flex-direction: column;
        gap: 8px;
        padding: 14px 8px 12px;
        text-align: center;
    }

    .hv3-tvdh-modal__card img {
        width: 52px;
        height: 52px;
    }

    .hv3-tvdh-modal__who {
        align-items: center;
        width: 100%;
    }

    .hv3-tvdh-modal__name {
        max-width: 100%;
        font-size: 14px;
    }

    .hv3-tvdh-modal__phone {
        font-size: 14px;
    }
}

.hv3-tvdh .hv3-tvdh-hours,
.hv3-tvdh-modal .hv3-tvdh-hours {
    align-items: center;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
}

.hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell,
.hv3-tvdh-modal .hv3-tvdh-hours .hv3-tvdh-hours__cell {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-width: 0;
    padding: 2px 14px;
    border-radius: 0;
    background: none;
    text-align: left;
}

.hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell + .hv3-tvdh-hours__cell,
.hv3-tvdh-modal .hv3-tvdh-hours .hv3-tvdh-hours__cell + .hv3-tvdh-hours__cell {
    border-left: 1px solid #e1e8e4;
}

.hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell:first-child,
.hv3-tvdh-modal .hv3-tvdh-hours .hv3-tvdh-hours__cell:first-child {
    padding-left: 0;
}

.hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell:last-child,
.hv3-tvdh-modal .hv3-tvdh-hours .hv3-tvdh-hours__cell:last-child {
    padding-right: 0;
}

.hv3-tvdh-hours__ic {
    flex: none;
    width: 33px;
    height: 33px;
    max-width: none;
}

.hv3-tvdh-hours__txt {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hv3-tvdh .hv3-tvdh-hours__cell .hv3-tvdh-hours__txt strong {
    font-size: 13px;
    line-height: 17px;
}

.hv3-tvdh .hv3-tvdh-hours__cell .hv3-tvdh-hours__txt span {
    margin-top: 1px;
    font-size: 11px;
    line-height: 14px;
    white-space: nowrap;
}

.hv3-tvdh-hours__cell.is-week .hv3-tvdh-hours__txt strong { color: #207F5D; }
.hv3-tvdh-hours__cell.is-sat  .hv3-tvdh-hours__txt strong { color: #F58900; }
.hv3-tvdh-hours__cell.is-off  .hv3-tvdh-hours__txt strong { color: #E33A51; }

@container (min-width: 600px) {
    #sanpham-inan-quote-simple .hv3-tvdh__body > .hv3-tvdh-hours {
        flex-grow: 0;
        max-width: none;
    }

    .hv3-tvdh__body .hv3-tvdh-hours .hv3-tvdh-hours__cell {
        flex-grow: 0;
    }
}

.hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell {
    gap: 8px;
    padding-right: 10px;
    padding-left: 10px;
}

.hv3-tvdh-modal .hv3-tvdh-hours__ic {
    width: 40px;
    height: 40px;
}

.hv3-tvdh-modal .hv3-tvdh-hours .hv3-tvdh-hours__cell {
    flex: 1 1 auto;
    gap: 10px;
}

.hv3-tvdh-modal .hv3-tvdh-hours__cell .hv3-tvdh-hours__txt strong {
    font-size: 16px;
    line-height: 21px;
}

.hv3-tvdh-modal .hv3-tvdh-hours__cell .hv3-tvdh-hours__txt span {
    margin-top: 1px;
    font-size: 13px;
    line-height: 17px;
    white-space: nowrap;
}

@container (min-width: 520px) and (max-width: 599px) {
    .hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell {
        gap: 7px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .hv3-tvdh .hv3-tvdh__avatars img {
        width: 40px;
        height: 40px;
        margin-left: -12px;
    }
}

@container (max-width: 519px) {
    .hv3-tvdh .hv3-tvdh__body {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "week week" "sat off";
        gap: 0;
    }

    .hv3-tvdh .hv3-tvdh__body > .hv3-tvdh-hours {
        display: contents;
    }

    .hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-week {
        grid-area: week;
        padding: 0 126px 10px 0;
        border: 0;
    }

    .hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-sat,
    .hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-off {
        padding-top: 10px;
        padding-bottom: 0;
        border-top: 1px solid #e1e8e4;
    }

    .hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-sat {
        grid-area: sat;
        padding-left: 0;
        border-left: 0;
    }

    .hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-off {
        grid-area: off;
        padding-left: 14px;
        border-left: 0;
        background: linear-gradient(#e1e8e4, #e1e8e4) 0 10px / 1px calc(100% - 10px) no-repeat;
    }

    .hv3-tvdh .hv3-tvdh-hours__cell .hv3-tvdh-hours__txt span {
        white-space: normal;
    }

    .hv3-tvdh .hv3-tvdh__avatars {
        position: absolute;
        top: 8px;
        right: 0;
    }
}

@media (max-width: 599px) {
    .hv3-tvdh .hv3-tvdh__body {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "week week" "sat off";
        gap: 0;
    }

    .hv3-tvdh .hv3-tvdh__body > .hv3-tvdh-hours {
        display: contents;
    }

    .hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-week {
        grid-area: week;
        padding: 0 116px 10px 0;
        border: 0;
    }

    .hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-sat,
    .hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-off {
        padding-top: 10px;
        padding-bottom: 0;
        border-top: 1px solid #e1e8e4;
    }

    .hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-sat {
        grid-area: sat;
        padding-left: 0;
        border-left: 0;
    }

    .hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-off {
        grid-area: off;
        padding-left: 12px;
        border-left: 0;
        background: linear-gradient(#e1e8e4, #e1e8e4) 0 10px / 1px calc(100% - 10px) no-repeat;
    }

    .hv3-tvdh .hv3-tvdh-hours__cell .hv3-tvdh-hours__txt span {
        white-space: normal;
    }

    .hv3-tvdh .hv3-tvdh__avatars {
        position: absolute;
        top: 8px;
        right: 0;
    }

    .hv3-tvdh .hv3-tvdh-hours .hv3-tvdh-hours__cell {
        gap: 8px;
    }

    .hv3-tvdh .hv3-tvdh-hours__ic {
        width: 30px;
        height: 30px;
    }

    .hv3-tvdh-modal .hv3-tvdh-hours {
        flex-wrap: wrap;
    }

    .hv3-tvdh-modal .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-week {
        flex: 1 1 100%;
        padding: 0 0 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid #e1e8e4;
    }

    .hv3-tvdh-modal .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-sat {
        flex: 1 1 0;
        padding-left: 0;
        border-left: 0;
    }

    .hv3-tvdh-modal .hv3-tvdh-hours .hv3-tvdh-hours__cell.is-off {
        flex: 1 1 0;
    }
}
