@import url('https://fonts.googleapis.com/css2?family=Crimson+Text&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
    font-family: 'Prompt', sans-serif !important;
    font-size: 15px;
    position: relative;
}

.crimson {
    font-family: 'Crimson Text', serif !important;
}

a,
a:focus,
a:active,
a:hover {
    color: inherit;
    text-decoration: inherit;
}

hr.white {
    border-color: white;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    background-color: white;
    transition: .5s;
    box-shadow: 0px 10px 12px rgba(000, 000, 000, 0.2);
    padding: 0px 18px;
}

.nav-bar.top {
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.4) 20%);
    background: -webkit-linear-gradient( 0deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.4) 20%);
    background: linear-gradient( 0deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.4) 20%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#000000", GradientType=1);
    padding-top: 6px;
    padding-bottom: 6px;
    box-shadow: none;
    color: white;
}

.nav-layer {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 6px;
    display: table;
    width: 100%;
}

.nav-logo {
    display: table-cell;
    width: 150px;
    vertical-align: middle;
}

.nav-bar.top .nav-logo img.normal {
    display: none;
}

.nav-bar.top .nav-logo img.white {
    display: inline-block;
}

.nav-bar .nav-logo img.normal {
    display: inline-block;
}

.nav-bar .nav-logo img.white {
    display: none;
}

.nav-bar.top .nav-logo img {
    height: 50px;
}

.nav-logo img {
    height: 50px;
    transition: .5s;
}

.nav-menu {
    display: table-cell;
    width: auto;
    text-align: right;
    vertical-align: middle;
    transition: .5s;
}

.nav-menu-link {
    padding: 12px;
    display: inline-block;
    position: relative;
    font-size: 15px;
}

.nav-menu-link.dropdown .dropdown-nav-menu {
    display: none;
}

.nav-menu-link.dropdown:hover .dropdown-nav-menu {
    display: block;
    position: absolute;
    top: 90%;
    right: 18px;
    text-align: center;
    width: 300px;
    background-color: white;
    border-radius: 6px;
    color: black;
    box-shadow: 0px 0px 12px #000;
}

.nav-menu-link.dropdown .dropdown-nav-menu a {
    padding: 6px 12px;
    display: block;
    border-bottom: 1px solid #ccc;
}

.nav-menu-link.dropdown .dropdown-nav-menu a:last-of-type {
    border: none;
}

.nav-bars {
    display: none;
}

.main-banner {
    height: 600px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 180px;
}

.main-banner h1 {
    font-size: 100px;
}

.main-banner h2 {
    font-size: 60px;
}

.main-banner h1,
.main-banner h2 {
    background: -webkit-linear-gradient(left, #fff, #9a9a9a, #fff, #9a9a9a, #fff);
    background: -o-linear-gradient(left, #fff, #9a9a9a, #fff, #9a9a9a, #fff);
    background: linear-gradient(to right, #fff, #9a9a9a, #fff, #9a9a9a, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-black {
    background-color: #000;
}

.owl-carousel {
    position: relative;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    opacity: 0;
    font-weight: 900;
    font-size: 36px !important;
    transition: .5s;
}

.owl-prev {
    left: 0;
}

.owl-next {
    right: 0;
}

.owl-carousel:hover .owl-prev,
.owl-carousel:hover .owl-next {
    opacity: .3;
}

.owl-prev:hover,
.owl-next:hover {
    opacity: .6 !important;
}

.box-product {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.box-product a.add-cart {
    position: absolute;
    bottom: -30px;
    left: 0px;
    width: 100%;
    padding: 4px 16px;
    background-color: #505050;
    color: white;
    height: 30px;
    opacity: .8;
    transition: .3s;
}

.box-product:hover a.add-cart {
    bottom: 0;
}

.box-product .sale-price {
    position: absolute;
    top: 15px;
    right: -22px;
    width: 100px;
    background-color: red;
    display: block;
    transform: rotate(45deg);
    padding: 4px;
    vertical-align: bottom;
    color: white;
    font-size: 10px;
}

h1.title-content {
    font-size: 2.5rem;
    position: relative;
}

h1.title-content::before {
    content: "";
    display: inline-block;
    position: relative;
    vertical-align: middle;
    background-color: #aaa;
    height: 1px;
    right: 30px;
    width: 200px;
}

h1.title-content::after {
    left: 30px;
    width: 200px;
    content: "";
    display: inline-block;
    position: relative;
    vertical-align: middle;
    background-color: #aaa;
    height: 1px;
}

footer {
    background-color: #525252;
    color: white;
}

.price::before {
    content: '฿';
}

.price.discount {
    text-decoration: line-through;
}

.price.sale {
    color: red;
    text-decoration: blink;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.8s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
}

.md-p-5 {
    padding: 3rem;
}

.df-pt {
    padding-top: 74px;
}

.carousel-indicators {
    position: inherit;
}

.carousel-indicators li {
    width: 50px;
    height: auto;
}

.cart-product {
    position: relative;
}

.cart-product .cart-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    color: white;
    border-radius: 50%;
    background-color: red;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    padding: 2px;
}

.link-cart {
    position: relative;
}

.link-cart .product-amount {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: red;
    width: 16px;
    height: 16px;
    text-align: center;
    border-radius: 50%;
    color: white;
    font-size: 10px;
    padding: 1px;
}

.vdo-box {
    width: 100%;
    height: 500px;
}

.flash-sale {
    font-size: 1.25rem;
}

@media (max-width:1024px) {
    .nav-logo {
        display: block;
        width: 20%;
        float: left;
        padding-top: 10px;
    }
    .nav-logo img {
        height: 30px;
    }
    .nav-bar.top .nav-logo img {
        height: 32px;
    }
    .nav-bars {
        display: block;
        font-size: 20px;
        text-align: right;
        float: left;
        width: 80%;
    }
    .nav-menu {
        display: none;
    }
    .nav-menu.active {
        display: block;
        float: left;
        width: 100%;
        text-align: center;
        padding-top: 18px;
    }
    .nav-bar.top .nav-menu.active {
        padding-bottom: 24px;
    }
    .nav-menu.active .nav-menu-link {
        padding: 12px 18px;
        display: block;
        width: 100%;
        position: relative;
    }
    .nav-menu-link.dropdown .dropdown-nav-menu {
        display: none !important;
    }
    .nav-menu-link.dropdown.active .dropdown-nav-menu {
        display: block !important;
        position: absolute;
        top: 60%;
        right: 0;
        text-align: center;
        width: 100%;
        background-color: black;
        border-radius: 6px;
        color: white;
        box-shadow: none;
        margin-top: 8px;
        z-index: 999999;
    }
    .nav-menu-link.dropdown.active i {
        transform: rotate(180deg);
        transition: .3s;
    }
}

.mobile-nav {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    display: none;
    z-index: 9999;
    border-top: 1px solid #ccc;
}

.mobile-nav img {
    width: 26px;
}

.mobile-nav a {
    font-size: 12px;
}

.review-box {
    border-radius: 18px;
    background-color: white;
    /* margin-bottom: 12px; */
    border: 1px solid #ccc;
}

@media (max-width:768px) {
    .main-banner {
        padding-top: 180px;
    }
    .main-banner h1 {
        font-size: 80px;
    }
    .main-banner h2 {
        font-size: 40px;
    }
    .owl-prev,
    .owl-next {
        opacity: .2;
    }
    .vdo-box {
        height: 250px;
    }
}

@media (max-width:425px) {
    body {
        font-size: 12px;
        padding-bottom: 38px;
    }
    .nav-bar.top {
        background: rgb(255, 255, 255);
        background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.8) 30%);
        background: -webkit-linear-gradient( 0deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.8) 30%);
        background: linear-gradient( 0deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.8) 30%);
        padding-bottom: 24px;
    }
    .main-banner {
        padding-top: 200px;
    }
    .main-banner h1 {
        font-size: 60px;
    }
    .main-banner h2 {
        font-size: 30px;
        line-height: 1.5;
    }
    h1.title-content {
        font-size: 1.5rem !important;
    }
    h1.title-content::before,
    h1.title-content::after {
        content: none;
    }
    .box-product a.add-cart {
        bottom: 0;
    }
    .md-p-5 {
        padding: 0;
    }
    .sm-p-0 {
        padding: 0;
    }
    .sm-pr-5 {
        padding-right: 3rem;
    }
    .sm-pl-5 {
        padding-left: 3rem;
    }
    .df-pt {
        padding-top: 54px;
    }
    .link-cart .product-amount {
        top: -4px;
        right: -8px;
    }
    .flash-sale {
        font-size: 0.8rem !important;
    }
    .mobile-nav {
        display: block;
    }
    .box-product .sale-price {
        top: 11px;
        right: -31px;
        font-size: 8px;
        padding: 2px;
    }
}

@media (max-width:425px) {
    .hide-sm {
        display: none !important;
    }
    .center-sm {
        text-align: center !important;
    }
}

@media (min-width:426px) and (max-width:768px) {
    .hide-md {
        display: none !important;
    }
}

@media (min-width:768px) {
    .hide-lg {
        display: none !important;
    }
    .review-box {
        height: 160px;
    }
}

@-webkit-keyframes blinker {
    from {
        opacity: 1.0;
    }
    to {
        opacity: 0.0;
    }
}

.blink {
    text-decoration: blink;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.8s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
}

#success_add_to_cart {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    width: 180px;
    height: 100px;
    text-align: center;
    color: white;
    padding: 24px;
    display: none;
}

.vdo-box {
    width: 100%;
    height: 500px;
}

@media (max-width: 768px) {
    .vdo-box {
        height: 250px;
    }
    h1 {
        font-size: 1.8em;
        font-weight: 500;
    }
}



        .m-start {
            margin-top: 100px;
        }

        .display {
            position: relative;
        }

        .box-content-lb {
            position: absolute;
            bottom: -2.5rem;
            left: 3rem;
            background-color: white;
            padding: 18px;
            box-shadow: 0px 10px 12px rgb(0 0 0 / 20%);
        }

        .box-content-rb {
            position: absolute;
            bottom: -2.5rem;
            right: 3rem;
            background-color: white;
            padding: 18px;
            box-shadow: 0px 10px 12px rgb(0 0 0 / 20%);
        }

        .box-content-lt {
            position: absolute;
            top: -2.5rem;
            left: 3rem;
            background-color: white;
            padding: 18px;
            box-shadow: 0px 10px 12px rgb(0 0 0 / 20%);
        }

        .box-content-detail {
            border: 2px solid #ccc;
            width: 280px;
            /* height: 150px; */
            padding: 1.5rem 1rem;
        }

        .block-title {
            margin: 0 0 20px;
            text-align: center;
        }

        .block-title h1,.block-title h2 {
            display: inline-block;
            font-size: 1.5rem;
            text-transform: uppercase;
            position: relative;
            background: #fff;
            display: inline-block;
            font-weight: 400;
            margin: 0 5rem;
            padding: 0 1.5rem;
            position: relative;
            z-index: 1;
        }

        .block-title h1:after,.block-title h2:after {
            border-bottom: 1px solid #000;
            content: '';
            left: 1.2rem;
            position: absolute;
            right: 1.2rem;
            top: 40%;
        }


        element.style {}

        .block .block-title .title {
            margin-bottom: 0;
        }

        .block .title {
            margin-bottom: 10px;
        }

        .block-title h1 span,.block-title h2 span {
            background: #fff;
            display: inline-block;
            font-weight: 400;
            margin: 0 5rem;
            padding: 0 1.5rem;
            position: relative;
            z-index: 1;
        }

        .book-row {
            display: table;
            width: 100%;
        }

        .book-image {
            display: table-cell;
            vertical-align: middle;
            width: 50%;
            padding: 18px;
        }

        .book-content {
            display: table-cell;
            vertical-align: middle;
            width: 50%;
        }

        .book-content .book-detail {
            width: 100%;
            /* height: 275px; */
            /* box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%); */
            padding: 30px;
        }
        @media (max-width:500px) {
            .book-image,.book-content {
                display: block;
                width: 100%;
                padding: 0;
                padding-bottom: 12px;
            }
            h1.title-content {
                font-size: 1.5rem !important;
            }
            h1.title-content::before,
            h1.title-content::after {
                content: none;
            }
            h5 {
                font-size: 0.8rem;
            }
            .add-cart {display: none;}

        }

        .owl-next {
            font-size: 42px !important;
            position: absolute;
            color: #000 !important;
            font-weight: 300 !important;
            top: 40%;
            right: -30px !important;
            transform: translate(0%,-50%);
            -ms-transform: translate(0%,-50%);
            opacity: 1;
        }
        .owl-prev {
            font-size: 42px !important;
            position: absolute;
            color: #000 !important;
            font-weight: 300 !important;
            top: 40%;
            left: -30px !important;
            transform: translate(0%,-50%);
            -ms-transform: translate(-0%,-50%);
            opacity: 1;
        }
        .owl-dots {
            text-align: center;
        }
        .home-product h5 {
            height: 20px;
        }


        .box-select-product {
            cursor: pointer;
            margin-bottom: 6px;
            border: 1px solid #e4e1e1;
            border-radius: 4px;
            display: table;
            width: 100%;
            opacity: 0.5;
            transition: .3s;
        }
        .box-select-product.active {
            border: 2px solid #000;
            opacity: 1;
        }
        .box-select-product .select-product-iamge {
            width: 80px;
            padding: 4px;
            display: table-cell;
        }
        .box-select-product .select-product-iamge img {
            aspect-ratio: 1 !important;
            width: 100%;
            object-fit: cover;
            filter: grayscale(100%);
            transition: .3s;
        }
        .box-select-product.active .select-product-iamge img {
            filter: grayscale(0%);
        }
        .box-select-product .select-product-content {
            width: auto;
            padding: 4px;
            display: table-cell;
        }
        .box-select-product .select-product-price {
            width: auto;
            padding: 4px;
            display: table-cell;
        }
