/*!
Theme Name: Nạp Thẻ 360
Theme URI: http://napthe360.net/
Author: Napthe360
Author URI: http://napthe360.net/
Description: Simple and clean WordPress theme for Napthe360.
Version: 1.0.0
Text Domain: napthe360
*/

@import url('https://fonts.googleapis.com/css2?family=Signika+Negative:wght@300..700&display=swap');
:root {
    --primary-color: 111, 79, 242;
}
body {
    font-family: "Signika Negative", sans-serif;
    color: #333;
    background-color: #F3F4F6;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
    transition: all .3s ease-in-out;
}
a:hover {
    text-decoration: none;
    color: rgb(var(--primary-color));
}
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}
h1 {
    font-size: 30px;
}
h2 {
    font-size: 24px;
}
h3 {
    font-size: 20px;
}
h4 {
    font-size: 18px;
}
h5 {
    font-size: 16px;
}
h6 {
    font-size: 16px;
}
p {
    margin-bottom: 15px;
}
b, strong {
    font-weight: 600;
}
.mt-20 {
    margin-top: 20px;
}
label {
    font-weight: 600;
    margin-bottom: 8px;
}
.alert:empty {
    display: none;
}
.highlight {
    color: rgb(var(--primary-color));
}
#preloader {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
#preloader img {
    max-width: 150px;
    animation: rotate 2s infinite;
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.custom-navbar {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
}
.desktop-view {
    padding: 10px 0;
    background-color: #ffffff;
    transition: all .3s ease-in-out;
    border-bottom: 1px solid rgb(231 234 243 / 70%);
}
.desktop-view .desktop-view-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.logo {
    max-width: 200px;
    min-width: 190px;
}
.main-menu {
    flex-grow: 1;
    text-align: center;
}
.main-menu ul li {
    display: inline-block;
    position: relative;
}
.desktop-view .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #292d32;
    padding: 8px 15px;
    border-radius: 99px;
}
.desktop-view .nav-link:hover {
    background-color: rgba(112, 79, 242, 0.1);
    color: rgb(var(--primary-color));
}
.desktop-view .nav-link.active {
    color: rgb(var(--primary-color));
}
.desktop-view .custom-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}
.search-box2 {
    position: relative;
    display: flex;
    align-items: center;
}
.search-box2 .form-control {
    height: 40px;
    padding: 6px 40px 6px 12px;
}
.search-box2 .search-btn2 {
    position: absolute;
    right: 15px;
    height: calc(100% - 12px);
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    text-transform: capitalize;
    gap: 10px;
    font-size: 16px;
    transition: all .3s ease-in-out;
}
.search-box2 .search-result {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0.375rem 0.75rem rgba(140, 152, 164, .075);
    border-radius: 10px;
    z-index: 1;
    border: 1px solid rgba(231, 234, 243, .7);
    color: #403e3e;
    max-height: 346px;
    overflow: auto;
    transform-origin: 0 0;
    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
}
.search-box2.active .search-result {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.search-box2 .search-result .search-item {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
    cursor: pointer;
}
.search-box2 .search-result .search-item:hover {
    background-color: rgb(111, 79, 242, 0.1);
}
.search-box2 .search-result .search-item .img-area img {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 3px;
}
.search-box2 .search-result .search-item .title {
    font-size: 16px;
    text-transform: capitalize;
    color: rgb(41, 45, 50);
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    font-weight: 500;
}
.search-box2 .search-result .search-item:not(:last-child) {
    border-bottom: 1px solid rgba(231, 234, 243, .7);
}
.mobile-menu {
    display: none;
    position: fixed;
    width: 100%;
    background-color: #fff;
    top: 61px;
    padding: 4px 0;
    box-shadow: 0 0.375rem 0.75rem rgba(140, 152, 164, .075);
    z-index: 9999;
}
.mobile-menu nav {
    width: 100%;
    max-height: 360px;
    overflow-y: scroll;
}
.mobile-menu .vertical-menu li {
    position: relative;
    width: 100%;
}
.mobile-menu .vertical-menu li a {
    display: block;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 500;
}
.mobile-menu .vertical-menu li a:hover {
    color: rgb(var(--primary-color));
}
section {
    padding: 30px 0;
}
.section-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 30px;
}
.section-title-main h2 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.section-title-main h1 {
    margin-bottom: 0;
}
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all .3s ease-in-out;
}
.product-box {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    transition: all .3s ease-in-out;
    height: 100%;
    gap: 15px;
    position: relative;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #eee;
}
.product-box .img-box {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid rgba(231, 234, 243, .7);
    aspect-ratio: 1 / 1;
}
.product-box .img-box img {
    width: 100%;
    height: 100%;
    transition: all .3s ease-in-out;
    border-radius: 5px;
    -o-object-fit: cover;
    object-fit: cover;
}
.product-box:hover .img-box img {
    transform: scale(1.03);
}
.product-box .text-box {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product-box .text-box .title {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0;
    transition: all .3s ease-in-out;
}
.product-box:hover .text-box .title {
    color: rgb(var(--primary-color));
}
.blog-box {
    border-radius: 16px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
}
.blog-box .img-box {
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 24px;
    display: flex;
    height: 275px;
}
.blog-box .img-box img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: all .3s ease-in-out;
    -o-object-fit: cover;
    object-fit: cover;
}
.blog-box:hover .img-box img {
    transform: scale(1.1);
}
.blog-box .text-box .title {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 20px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 0;
}
.blog-box .text-box .title a {
    display: inline;
    width: 100%;
    background-repeat: no-repeat;
    background-position-y: -2px;
    background-image: linear-gradient(transparent calc(100% - 1px), rgb(var(--primary-color)) 1px);
    transition: 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    background-size: 0 100%;
    backface-visibility: hidden;
}
.blog-box .text-box .title a:hover {
    background-image: linear-gradient(transparent calc(100% - 1px), rgb(var(--primary-color)) 1px);
    background-size: 100% 100%;
}
.meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.meta .item {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    font-weight: 500;
    font-size: 14px;
    color: #757575;
    text-transform: capitalize;
}
.meta .item.tag {
    background-color: rgb(111 79 242 / 10%);
    padding: 2px 10px;
    border-radius: 4px;
}
.meta .item a {
    display: flex;
    align-items: center;
    gap: 5px;
}
.blog-details-section .blog-box-large .thumbs-area img {
    border-radius: 20px;
    max-height: 420px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.content-area {
    margin-top: -20px;
    background-color: #fff;
    padding: 50px 20px 20px 20px;
    border-radius: 0 0 20px 20px;
}
.blog-details-section .blog-box-large .content-area .entry-content {
    padding: 20px 0 0;
}
.product-details-section .entry-content {
    display: block;
    overflow: hidden;
}
.product-details-section .entry-content.collapsed {
    height: 150px;
    position: relative;
 }
.product-details-section .entry-content.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}
.toggle-btn {
    margin-top: 10px;
    color: rgb(var(--primary-color));
}
.entry-content ul, .entry-content ol {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}
.entry-content ul li, .entry-content ol li {
    margin-bottom: 5px;
}
.pagination-section {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.pagination-section nav .pagination .page-item .page-link {
    margin: 5px;
    width: 40px;
    height: 40px;
    border-radius: 8px !important;
    color: #292d32;
    background-color: rgb(111 79 242 / 10%);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgb(231 234 243 / 70%);
    box-shadow: none;
}
.pagination-section nav .pagination .page-item.active .page-link {
    background-color: rgb(var(--primary-color));
    color: #fff;
    border-color: rgb(var(--primary-color));
}
.pagination-section nav .pagination .page-item .page-link:hover, .pagination-section nav .pagination .page-item .page-link:focus {
    background-color: rgb(var(--primary-color));
    color: #fff;
    border: 1px solid rgb(var(--primary-color));
}
.product-details-header .meta {
    justify-content: initial;
}
.product-details-header .meta .item {
    color: #ff9700;
}
.product-details-section {
    background-color: #fff;
    position: relative;
    z-index: 0;
}
.product-details-section::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 400px;
    top: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(180deg, rgba(245, 245, 245, 0), #ffffff), linear-gradient(84deg, rgba(59, 179, 255, 0.2), rgba(47, 61, 187, 0.2) 70.83%, rgba(117, 47, 187, 0.2) 100%, #ffffff);
    z-index: -1;
}
.product-details-section .product-details-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    margin-bottom: 30px;
}
.product-details-section .product-details-header .img-box {
    max-width: 150px;
    aspect-ratio: 1 / 1;
}
.product-details-section .product-details-header .img-box img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}
.product-details-section .product-details-header .text-box {
    display: flex;
    flex-direction: column;
}
.card {
    border: 1px solid rgba(231, 234, 243, .7);
    box-shadow: 0 0.375rem 0.75rem rgba(140, 152, 164, .075);
    border-radius: 15px;
    background-color: #ffffff;
}
.card .card-header {
    padding: 20px;
    background-color: #ffffff;
    padding-bottom: 15px;
    border-color: rgba(231, 234, 243, .7);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.card .card-body {
    padding: 20px;
}
.sidebar-widget-area {
    padding: 25px;
    background-color: rgb(111, 79, 242, 0.05);
    border-radius: 15px;
    margin-bottom: 25px;
}
.cmn-btn {
    background-color: rgb(var(--primary-color));
    padding: 10px 20px;
    transition: all .3s ease-in-out;
    font-size: 16px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
    gap: 5px;
    border-radius: 40px;
    font-weight: 600;
    border: none;
}
.cmn-btn:hover {
    background-color: rgb(var(--primary-color), 0.8);
    color: #fff;
    gap: 10px;
}
.form-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}
.form-title label {
    margin-bottom: 0;
}
.item-vp {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 4px;
    border-radius: 8px;
    border: 1px solid rgb(231 234 243 / 70%);
    cursor: pointer;
}
.item-vp.active {
    border: 1px solid rgb(var(--primary-color));
    box-shadow: rgba(var(--primary-color), .5) 0 2px 8px 0;
}
.item-vp.active:after {
    content: "\f058";
    font-family: FontAwesome;
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-size: 16px;
    color: rgb(var(--primary-color));
    line-height: 1;
    z-index: 1;    
}
.item-vp:hover {
    border: 1px solid rgb(var(--primary-color));
}
.item-vp .item-coin {
    padding: 15px 8px;
}
.item-vp .item-coin img {
    width: 20px;
}
.item-vp .item-price {
    padding: 4px;
    font-weight: 600;
    background-color: #f5f5f5;
    border-top: 1px dashed #e3e3e3;
    border-radius: 0 0 8px 8px;
    color: #ff3535;
}
.item-pttt {
    position: relative;
    background-color: #f8f8f8;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgb(231 234 243 / 70%);
    cursor: pointer;
}
.item-pttt img {
    height: 50px;
}
.item-pttt.active {
    border: 1px solid rgb(var(--primary-color));
    box-shadow: rgba(var(--primary-color), .5) 0 2px 8px 0;
}
.item-pttt.active:after {
    content: "\f058";
    font-family: FontAwesome;
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-size: 16px;
    color: rgb(var(--primary-color));
    line-height: 1;
    z-index: 1;  
}
.item-pttt:hover {
    border: 1px solid rgb(var(--primary-color));
}
#btn-napthe {
    background-color: rgb(var(--primary-color));
    padding: 10px 20px;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 40px;
    font-weight: 600;
    border: 0;
    transition: all .3s ease-in-out;
}
#btn-napthe:hover {
    background-color: rgb(var(--primary-color), 0.8);
}
.luu-y {
    background-color: rgb(111 79 242 / 10%);
    border: 1px solid rgba(231, 234, 243, .7);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 20px;
}
.luu-y p {
    margin-bottom: 5px;
}
.luu-y ul li {
    font-size: 14px;
}
.breadcrumb-section {
    background-color: rgb(var(--primary-color));
    padding: 12px 0;
}
#breadcrumbs {
    font-size: 15px;
    color: #fff;
}
#breadcrumbs a {
    color: #fff;
}
.wp-caption {
	margin-bottom: 1rem;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption .wp-caption-text {
    font-size: 14px;
    font-style: italic;
    background-color: #fff;
    padding: 5px 15px;
}
.wp-caption-text {
	text-align: center;
}
.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}
.alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1rem;
}
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 24px;
    height: 24px;
    line-height: 24px;
}
.icon-button {
    font-size: 20px;
    color: #292d32;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    vertical-align: middle;
    transition: all .3s ease-in-out;
}
.form-group {
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #eee;
    margin-bottom: 1rem;
}
.form-control {
    font-size: 14px;
    border-radius: 99px;
    background-color: #ffffff;
    border: 1px solid rgb(231 234 243 / 70%);
    height: 45px;
}
.form-control:focus, .form-select:focus {
    box-shadow: none;
    border: 1px solid rgb(var(--primary-color));
    background-color: #fff;
}
::-webkit-scrollbar {
    width: 4px;
    height: 6px;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgb(var(--primary-color), 0.8);
    visibility: hidden;
    opacity: 0;
}
:hover::-webkit-scrollbar-thumb {
    visibility: visible;
    opacity: 1;
}
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-thumb {
    visibility: visible;
    opacity: 1;
}
body::-webkit-scrollbar-thumb:hover {
    background-color: rgb(var(--primary-color));
}
.footer-menu li {
    display: inline-block;
}
.footer-menu li:not(:last-child) {
    margin-right: 1rem;
}
.footer-menu li a {
    display: block;
    padding: 5px;
}
.copyright-section {
    background-color: rgb(111 79 242 / 10%);
    font-size: 14px;
}
.copyright-inner {
    padding: 20px 0;
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px;
    }
}
@media (min-width: 768px) {
    .headerSearch #search-input {
        width: 350px;
    }
}
@media (max-width: 575px) {
    .logo {
        max-width: 100px;
        min-width: 90px;
    }
    .product-details-section .product-details-header {
		flex-wrap: wrap;
        justify-content: center;
    }
    .product-details-section .product-details-header .text-box {
        align-items: center;
    }
    .sidebar-widget-area {
        padding: 12px;
    }    
}