@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital@1&family=Quicksand:wght@400;500&display=swap');

:root {
    --light-red: #ef070726;
    --blue-cyan: #00A7D3;
    --red-bordeaux: #BB1F3D;
    --red-fresh: #EE3224;
    --green-fresh: #6EBE45;
    --purple-fresh: #9E3B96;
    --orange-fresh: #f68925;
    --header-gray: #D3D3D3;
    --body-gray: #E8E8E8;
    --body-light-gray: #F2F2F2;
    --dark-gray: #85888B;
    --light-yellow: #FFF3CD;
    --font-black: #231F20;
    --content-bg: white;
    --height-3: 3em;
    --height-3_5: 3.5em;
    --height-2_5: 2.5em;
    --height-2: 2em;
    --height-1_5: 1.5em;
    --border-color: #999;
    --text-color-white: white;
    --link-color: #00A7D3;
    --trans-body-gray: rgba(232, 232, 232, 0.7);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Quicksand;
    font-weight: 400;
    color: var(--font-black);
    font-size: 15px;
}
html {
    height: 100%;
}
body {
    height: 100%;
    display: grid;
    background-color: var(--content-bg);
    justify-items: center;
}
a {
    text-decoration: none;
}
.no-default-appearance {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}
.common-border {
    border: 1px solid var(--border-color);
}
.mother {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-rows: 54px 1fr min-content;
    padding-bottom: 1em;
    background-color: var(--body-gray);
    max-width: 1024px;
}
.header {
    display: grid;
    background-color: var(--header-gray);
}
.header-bar {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 36px 1fr 36px;
    padding: 0em 1em;
    column-gap: 1em;
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 36px;
    align-self: center;
}

.hamburger .bar {
    height: 4px;
    background-color: var(--blue-cyan);
    margin-bottom: 6px;
}
.greeting {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1em;
}
#spanNotifMsg {
    font-size: 1.2em;
    color: var(--content-bg);
    white-space: nowrap;
}
.notif {
    position: fixed;
    align-items: center;
    z-index: 4;
    width: 14em;
    display: flex;
    left: calc((100% - 14em)/2);
    top: calc((100% - 3em)/2);
    padding: 1.5em;
    justify-content: center;
    border-radius: 0.5em;
    color: white;
    font-size: 1.1em;
}
.notifOk{
    background-color: var(--blue-cyan);
}
.notifError {
    background-color: var(--blue-cyan);
}
.notifShow {
    animation-name: aniNotif;
    animation-iteration-count: 1;
}
.notifShow-shortTime {
    animation-duration: 2s;
}
.notifShow-longTime {
    animation-duration: 6s;
}
@keyframes aniNotif {
    0% {opacity: 0.0;}
    50% {opacity: 1.0;}
    100% {opacity: 0.0;}
}
.greeting * {
    font-size: 0.8em;
}

.oneline {
    white-space: nowrap;
}

.sc-icon {
    display: flex;
    justify-content: end;
    align-items: flex-start;
    background-image: url(../img/sc_v3.png);
    background-repeat: no-repeat;
    align-self: center;
    justify-self: center;
    width: 36px;
    height: 36px;
    background-size: 36px;
}

.menu-bar {
    display: flex;
    flex-direction: column;
    /*row-gap: 0.5em;*/
    position: absolute;
    z-index: 3;
    top: 54px;
    padding: 1em;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0);
}

.menu-bar a {
    background-color: var(--content-bg);
    padding: 0.7em;
    font-size: var(--textfield-font-size);
    background-image: url(/img/right_arrow.png);
    background-repeat: no-repeat;
    background-position-x: calc(100% - 1em);
    background-position-y: center;
    background-size: 0.8em;
}
.hide {
    display: none !important;
}

.container {
    background-color: var(--content-bg);
    margin: 1em;
    display: flex;
    flex-direction: column;
}
.content {
    flex-grow: 1;
}
.page-title {
    text-transform: uppercase;
    background-color: var(--blue-cyan);
    color: var(--text-color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.height-3 {
    height: var(--height-3) !important;
}
.height-3_5 {
    height: var(--height-3_5) !important;
}
.height-2_5 {
    height: var(--height-2_5) !important;
}
.height-2 {
    height: var(--height-2) !important;
}
.height-1_5 {
    height: var(--height-1_5) !important;
}
.weight-500 {
    font-weight: 500;
}
.w-10 {
    width: 10em;
}
.center-text {
    display: flex;
    align-items: center;
    justify-content: center;
}
.center-text-v {
    display: flex;
    align-items: center;
}
.center-text-s {
    text-align: center;
}
.align-left {
	display: flex;
	justify-content: left;
}
.pad-left-right-0_5 {
	padding: 0.5em
}
input[type="text"], input[type="password"], input[type="tel"], textarea {
    padding-left: 0.5em;
    /*height: var(--height-3_5);*/
    height: var(--height-2_5);
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--border-color);
}
.placeholder, input[type="text"]::placeholder, input[type="password"]::placeholder, input[type="tel"]::placeholder, textarea::placeholder {
    color: var(--border-color);
}
.textfield-padding-left {
    padding-left: 0.5;
}
.contact-info-item {
    display: grid;
    align-items: center;
    justify-items: stretch;
}
.btn {
    background-color: var(--red-bordeaux);
    color: var(--text-color-white);
    text-transform: uppercase;
    height: var(--height-2_5);
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    /*border: 1px solid var(--border-color);*/
    border: none;
    cursor: pointer;
}
.btn-blue-cyan {
    background-color: var(--blue-cyan);
}

.btn-through {
    background-color: rgba(0,0,0,0);
    color: var(--font-black);
}

.btn-negative {
    background-color: var(--body-gray);
    border: 1px solid var(--blue-cyan);
    color: var(--blue-cyan);
}

.div-message {
    display: flex;
    flex-direction: column;
    row-gap: 0.5em;
}
.div-message>span {
    font-size: inherit;
    color: var(--red-bordeaux);
}

.footer {
    margin: 1em;
    display: grid;
    grid-template-columns: 1fr 2.5em;
    row-gap: 1em;
}

.copyright {
    font-family: "Noto Serif";
    font-size: 0.8em;
    text-align: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    row-gap: 0.3em;
}

.shopname {
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.2em;
    font-size: 1.2em;
}

.phone, .fb, .dathang {
    padding-left: 1.7em;
    background-repeat: no-repeat;
    background-size: 1.3em 1.3em;
    height: 1.3em;
    white-space: nowrap;
}
.phone {
    background-image: url(/img/messenger.png);
}
.fb {
    background-image: url(/img/fb.png);
}
.dathang {
    background-image: url(/img/dathang.png);
}
.footer-right {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-row: span 2;
}

.zalo-ico, .phone-ico, .msg-ico {
    background-repeat: no-repeat;
    background-size: 2.5em;
    background-position: center;
}
.zalo-ico {
    background-image: url(/img/zalo-action.png);
}
.phone-ico {
    background-image: url(/img/phone-action.png);
}
.msg-ico {
    background-image: url(/img/msg-action.png);
}
.sc-qty {
    background-color: var(--orange-fresh);
    color: var(--content-bg);
    padding: 0em 0.2em;
    border-radius: 10em;
    min-width: 1.2em;
    text-align: center;
}

.div-message {
    padding: 1em;
    background-color: var(--light-red);
}

#menuPlaceHolder {
    flex-grow: 1;
    background-color: var(--trans-body-gray)
}

.menu-bar-item:not(:last-child) {
    border-bottom: 2px solid var(--body-gray);
}

input[disabled] {
    color: lightgray;
    background-color: lightgray;
}
.status_confirmed {
    background-image: url(/img/os-confirmed.png);
    background-repeat: no-repeat;
}
.status_processing {
    background-image: url(/img/os-process.png);
    background-repeat: no-repeat;
}
.status_shipped {
    background-image: url(/img/os-ship.png);
    background-repeat: no-repeat;
}
.status_received {
    background-image: url(/img/os-ok.png);
    background-repeat: no-repeat;
}
.os-list {
    display: flex;
    flex-direction: column;
    grid-column: 1/-1;
    row-gap: 0.3em;
    background-color: var(--content-bg);
    padding: 0.5em 1em;
}
.os-list span {
    padding-left: 2em;
    text-align: left;
}
.no-content-note {
    text-align: center;
}