:root {
    --color-primary-sky: rgb(33, 150, 243);
    --color-primary-sky-hover: rgb(33, 128, 249);
    --color-muted: rgb(75, 75, 75);
    --color-muted-hover: rgb(112, 112, 112);

    --shadow-medium: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

}

s { text-decoration: line-through; } 

.fs-xxs {
    font-size: 0.6rem !important;
}

.fs-xs {
    font-size: 0.7rem !important;
}

.fs-sm {
    font-size: 0.8rem !important;
}

.fs-md {
    font-size: 0.9rem !important;
}

.fs-lg {
    font-size: 1.1rem !important;
}

.fs-xl {
    font-size: 1.4rem !important;
}

.fs-xxl {
    font-size: 1.8rem !important;
}

.fw-xs {
    font-weight: 300 !important;
}

.fw-sm {
    font-weight: 400 !important;
}

.fw-md {
    font-weight: 500 !important;
}

.fw-lg {
    font-weight: 600 !important;
}

.fw-xl {
    font-weight: 700 !important;
}


.animate-none {
    animation: none;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-zooming {
    animation: zoomInOut 2s ease-in-out infinite;
}

.animate-flash {
    animation: flash 500ms ease infinite alternate;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes ping {
    30% {
        transform: scale(1.2);
    }

    40%,
    60% {
        transform: rotate(-20deg) scale(1.2);
    }

    50% {
        transform: rotate(20deg) scale(1.2);
    }

    70% {
        transform: rotate(0deg) scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1.2);
    }
}

@keyframes bounce {
    70% {
        transform: translateY(0%);
    }

    80% {
        transform: translateY(-15%);
    }

    90% {
        transform: translateY(0%);
    }

    95% {
        transform: translateY(-7%);
    }

    97% {
        transform: translateY(0%);
    }

    99% {
        transform: translateY(-3%);
    }

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

@keyframes zoomInOut {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}

@keyframes flash {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


.cursor-pointer {
    cursor: pointer;
}

.icon-circle-md {
    padding: 0.4rem 0.7rem;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: "Noto Sans Thai", sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    font-size: 0.968rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

main {
    padding: 5rem 0;
}

footer {
    padding-top: 4rem;
}

/* preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-align: center;
}


.avatar-sxs { max-width: 1.24rem; }
.avatar-xxs {
    max-width: 2rem;
}

.avatar-xs {
    max-width: 3rem;
}

.avatar-sm {
    max-width: 4rem;
}

.avatar-md {
    max-width: 6rem;
}

.avatar-lg {
    max-width: 8rem;
}

.avatar-xl {
    max-width: 10rem;
}

.avatar-xxl {
    max-width: 12rem;
}

.text-icon {
    display: flex;
    align-items: center;
    align-content: center;
}

.modal-content {
    padding-left: 6px;
    padding-right: 6px;
}

.heading-primary {
    font-size: 1.68rem;
}

.navbar a {
    color: var(--color-muted);
}

.navbar a:hover {
    color: var(--color-muted-hover);
}

.navbar-content-start,
.navbar-content-center,
.navbar-content-end {
    padding: 4px;
}

.navbar-brand-img {
    width: auto;
    height: auto;
    max-width: 210px;
    max-height: 32px;
}

.navbar-items-ms {
    margin-left: 1.24rem;
}


.menu-mobile {
    position: fixed;
    left: 0;
    bottom: 0;
    display: grid;
    align-content: center;
    width: 100%;
    height: 4rem;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    box-shadow: var(--shadow-medium);
}

.menu-list {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-left: -2rem;
}

.menu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    padding-top: 6px;
    color: var(--color-black);
}

.menu-link.is-active {
    position: relative;
    color: var(--color-teal-800);
    transition: all 0.35s ease;
}

.menu-icon {
    font-size: 1.35rem;
    line-height: 1;
    color: inherit;
}

.menu-name {
    display: none;
    padding-top: 4px;
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.25;
    visibility: hidden;
    text-transform: capitalize;
}

@media only screen and (min-width: 360px) {
    .menu-name {
        display: block;
        visibility: visible;
    }
}

@media only screen and (min-width: 576px) {
    .menu-list {
        justify-content: center;
        -moz-column-gap: 3rem;
        column-gap: 3rem;
    }
}

@media only screen and (min-width: 768px) {
    .menu-mobile {
        position: relative;
        top: 0;
        right: 0;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
    }

    .menu-link.is-active::before {
        position: absolute;
        content: "";
        left: 0;
        bottom: 0;
        width: 2rem;
        height: 2px;
        border: none;
        outline: none;
        background: var(--color-teal-800);
    }

    .menu-link:hover {
        color: var(--color-teal-800);
        transition: all 0.35s ease;
    }

    .menu-icon {
        display: none;
        visibility: hidden;
    }

    .menu-name {
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.5;
        margin-bottom: 0.2rem;
    }
}

.signup-form {
    max-width: 45rem;
    width: 100%;
}

.floating-input-login {
    padding-left: 1.8rem !important;
}

.input-icon {
    position: absolute;
    top: 1.2rem;
    right: 2rem;
    color: #323232;
}

.input-icon-signup {
    position: absolute;
    top: 0.8rem;
    right: 1.4rem;
    color: #323232;
}

.input-icon-password {
    cursor: pointer;
}

.form-btn-custom {
    padding: 1rem 2rem;
    border: none;
    background: var(--color-primary-sky);
    color: #fff;
    border-radius: 1rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.24rem;
}

.btn-signup {
    align-self: flex-end;
    width: 100%;
    margin-top: 2rem;
    box-shadow: 0 1rem 2rem #00000025;
}

.btn-signup:active {
    box-shadow: none;
}

.btn-signup:hover {
    background: var(--color-primary-sky-hover);
}

.header-hr {
    margin-bottom: 3rem;
    color: var(--color-muted);
}

.header-subtitle {
    margin-bottom: .625rem;
    font-size: 1.1rem;
    color: var(--color-muted);
}

.heading-secondary {
    font-size: 1.8rem;
}

.footer {
    width: 100%;
}

.footer section {
    align-items: center;
    justify-content: center;
}

.footer section a {
    margin: 1rem 1.4rem;
    color: var(--color-muted);
    opacity: 0.6;
}

.footer section a:hover {
    color: var(--color-muted-hover);
}

.footer-link {
    margin: 1rem 2rem;
}

.footer a.social-link {
    font-size: 1.48rem;
    color: #222222;
}

.footer a.social-link:hover {
    color: #030303;
}

.footer .copyright {
    font-size: 0.865rem;
}

@media (max-width:620px) {
    .footer section {
        justify-content: left;
        display: block !important;
        padding: 0 1rem;
    }

    .footer section:nth-child(2) a {
        display: block;
    }

    .footer section .copyright {
        margin: 0 20px;
    }

}


/*--------------------------------------------------------------
# Shop items
--------------------------------------------------------------*/
.items-shop-list .shop-item {
    border-radius: 10px;
    border: 1px solid #eef0ef;
}

.shop-item img {
    border-radius: 10px 10px 0 0;
}

.shop-content {
    padding: 15px;
}

.shop-content h3 {
    font-weight: 600;
    font-size: 1.12rem;
}

.shop-content h3 a {
    color: #37423b;
    transition: 0.3s;
}

.shop-content h3 a:hover {
    color: var(--color-muted-hover);
}

.shop-content p {
    font-size: 0.825rem;
    color: var(--color-muted);
}

.shop-content h4 {
    padding: 7px 14px;
    color: #fff;
    margin: 0;
}

.shop-content .price,
.shop-content .points {
    margin: 0;
    font-weight: 600;
    font-size: .96rem;
    color: #353535;
}

.shop-content .price span {
    display: block;
}

.shop-content .small {
    font-weight: 400;
}

.btn-pricing {
    border: none;
    background: var(--color-primary-sky);
    color: #fff;
    padding: .1rem .8rem;
    border-radius: 1rem;
    cursor: pointer;
    font-weight: 500;
}

.btn-pricing:active {
    box-shadow: none;
}

.btn-pricing:hover {
    background: var(--color-primary-sky-hover);
}

.btn-disabled,
.btn-disabled:hover,
.btn-disabled:active {
    background: #c8c8c8;
    color: #1e1e1e;
}


/*--------------------------------------------------------------
# Hero Header
--------------------------------------------------------------*/
.hero {
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: -180px bottom, center, center;
    background-size: cover, cover, auto;
    padding: 2rem 0rem;
}

.hero-subtitle {
    color: hsl(39, 100%, 52%);
    font-size: 1.8rem;
    margin-block-end: 15px;
}

.hero-title {
    font-size: 2.8rem;
    margin-block-end: 20px;
}

.hero-text {
    font-size: 1.5rem;
    margin-block-end: 30px;
}

.btn-hero {
    background: var(--gradient-2);
    background-size: 200%;
    padding: 12px 35px;
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 0 25px;
    transition: var(--transition-2);
}

.btn-hero:hover,
.btn-hero:focus {
    background-position: right;
}



.dz-clickable {
    border-radius: 5px;
    border: 1px dashed rgb(0, 115, 255) !important;
}

.dz-remove {
    margin-top: 4px;
    color: #fff !important;
    background-color: var(--color-danger);
    border-radius: 15px;
    border-color: var(--color-danger);
    box-shadow: unset;
    font-size: 0.78rem;
}

.dropzone_image_preview {
    width: 100%;
    max-width: 136px !important;
}


/* ---------- LIST GROUP RADIO ---------- */
.list-group-radio .list-group-item {
    cursor: pointer;
    border-radius: .5rem;
}

.list-group-radio .form-check-input {
    z-index: 2;
    margin-top: -.5em;
}

.list-group-radio .list-group-item:hover,
.list-group-radio .list-group-item:focus {
    background-color: var(--bs-secondary-bg);
}

.list-group-radio .form-check-input:checked+.list-group-item {
    background-color: var(--bs-body);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary);
}

.list-group-radio .form-check-input[disabled]+.list-group-item,
.list-group-radio .form-check-input:disabled+.list-group-item {
    pointer-events: none;
    filter: none;
    opacity: .5;
}

.list-group-radio-img {
    margin-top: 4px;
    max-width: 48px;
}

.form-check-input:checked+.form-checked-content {
    opacity: .5;
}

.form-check-input-placeholder {
    border-style: dashed;
}

[contenteditable]:focus {
    outline: 0;
}

.form-select-custom {
    border-radius: 0.4rem !important;
    padding: 0rem 0.4rem !important;
    border: 1px solid #e8e8e8;
}

.form-select-custom select:focus {
    outline: none;
    border: none !important;
    border-width: 0 !important;
    background-color: none !important;
    background: none !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -o-box-shadow: none !important;
    -ms-box-shadow: none !important;
}

.form-checkbox-custom {
    display: block;
    padding: 4px 0px;
}

.form-checkbox-custom input {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

.form-checkbox-custom label {
    position: relative;
    cursor: pointer;
}

.form-checkbox-custom label:before {
    content: '';
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid #0079bf;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding: 0.64rem;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 5px;
}

.form-checkbox-custom input:checked+label:after {
    content: '';
    display: block;
    position: absolute;
    top: 0.18rem;
    left: 0.56rem;
    width: 0.4rem;
    height: 1rem;
    border: solid #0079bf;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check-label {
    margin-top: 0.24rem;
    margin-left: 0.4rem;
}

.form-check-input {
    cursor: pointer;
    border: 1px solid #a8a8a8;
    padding: 0.7rem;
}

.form-check-input:checked {
    background-color: #3387ee;
    border-color: #a8a8a8;
}

.quantity-input-wmax {
    max-width: 7rem;
    padding: 0.45rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

.quantity-input-w100 {
    width: 100%;
    padding: 0.45rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}


/**
* ----------
* TAGS
* ---------- */
.tags {
  list-style: none;
  margin: 0;
  overflow: hidden; 
  padding: 0;
}

.tags li {
  float: left; 
}

.tag {
  background: #eee;
  border-radius: 3px 0 0 3px;
  color: #585858;
  display: inline-block;
  height: 1.6rem;
  line-height: 1.6rem;
  padding: 0 20px 0 23px;
  position: relative;
  margin: 0 10px 10px 0;
  text-decoration: none;
  transition: color 0.2s;
  -webkit-transition: color 0.2s;
}

.tag::before {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
  content: '';
  height: 6px;
  left: 10px;
  position: absolute;
  width: 6px;
  top: 10px;
}

.tag::after {
  background: #fff;
  border-bottom: 13px solid transparent;
  border-left: 10px solid #eee;
  border-top: 13px solid transparent;
  content: '';
  position: absolute;
  right: 0;
  top: 0;
}

.tag:hover {
  background-color: rgb(191, 199, 222);
  color: rgb(28, 28, 28);
}

.tag:hover::after {
   border-left-color: rgb(191, 199, 222);
}

.themed-grid-col {
    padding-top: .75rem;
    padding-bottom: .75rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 0.25rem;
    border: 1px solid rgba(85, 44, 249, 0.3);
}


.boxselect {
    width: 100% !important;
}

.border-dot {
    border: 1px dotted #4e45ae !important;
}

.border-dot-light {
    border: 1px dotted hsla(245, 43%, 48%, 0.25) !important;
}

.cartsidebar-img {
    max-width: 48px;
}

.list-shop-img-sm {
    max-width: 6rem;
}

.list-shop-img-lg {
    max-width: 12rem;
}

.list-shop-img {
    max-width: 8rem;
}

.tab-nav-custom {
    margin-bottom: 0.44rem;
}

.toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 52px;
    height: 25px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
    cursor: pointer;
}

.form-switch-toggle {
    position: relative;
}

.switch-toggle-checkbox {
    max-width: 60px !important;
}

.toggle-switch:before,
.toggle-switch:after {
    content: "";
}

.toggle-switch:before {
    display: block;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    width: 20px;
    height: 20px;
    position: absolute;
    top: 2px;
    left: 1px;
    transition: left 0.25s;
}

.form-switch-toggle:hover .toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.switch-toggle-checkbox:checked+.toggle-switch {
    background: #56c080;
}

.switch-toggle-checkbox:checked+.toggle-switch:before {
    left: 30px;
}

.switch-toggle-checkbox {
    position: absolute;
    visibility: hidden;
}

.switch-toggle-label {
    margin-left: 5px;
    position: relative;
    top: 2px;
}

