/* 
Theme Name: NTPMM
Theme URI: #
Description: Những Thành Phố Mơ Màng
Author: Những Thành Phố Mơ Màng
Author URI: https://ntpmm.com
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ticket */
.ticket-bottom:before,
.ticket-bottom:after {
	content: '';
	position: absolute;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fefff1;
	border: 1px solid #052507;
}
.ticket-bottom:before {
	left: -21px;
	top: -21px;
	border-bottom-color: #fefff1!important;
	border-left-color: #fefff1!important;
	transform: rotate(48deg);
}
.ticket-bottom:after {
	right: -21px;
	top: -21px;
	border-top-color: #fefff1!important;
	border-right-color: #fefff1!important;
	transform: rotate(42deg);
}

/* festival aftermovie layout */
.aftermovie-wrapper.three-video .video{
  width: 40%;
}
@media (max-width: 740px) {
	.aftermovie-wrapper.three-video .video{
		width: 100%;
	}
}

/*menu sub arrow*/
.sub-arrow > svg{
	display: none;
}
.sub-arrow:before{
	content: '';
	background-image: url("/wp-content/themes/ntpmm/assets/dropdown-arrow.svg");
	width: 10px;
	height: 10px;
	background-size: 10px;
	background-repeat: no-repeat;
	background-position: bottom;
	transition: transform .3s;
}
.highlighted > .sub-arrow:before{
	transform: rotate(180deg);
}
.elementor-nav-menu--dropdown .elementor-item.elementor-item-active, .elementor-nav-menu--dropdown .elementor-item.highlighted, .elementor-nav-menu--dropdown .elementor-item:focus, .elementor-nav-menu--dropdown .elementor-item:hover, .elementor-sub-item.elementor-item-active, .elementor-sub-item.highlighted, .elementor-sub-item:focus, .elementor-sub-item:hover{
	background-color: transparent;
}

/* swiper pagination dots*/
.swiper-pagination-bullet{
	margin: 0 2px!important;
	transition: all .5s;
	transform: translatey(50%);
}
.swiper-pagination-bullet-active{
	width: 6px!important;
	height: 6px!important;
}
.elementor-element .swiper .swiper-pagination-bullets.swiper-pagination-horizontal{
	bottom: 33px;
}

@media (max-width: 740px) {
	.elementor-element .swiper .swiper-pagination-bullets.swiper-pagination-horizontal{
		bottom: 13px;
	}
}

/* marquee */
.marquee {
	max-width: max-content!important;
	width: max-content;
	animation: marquee 25s linear infinite;
}
.marquee:hover, .marquee-reverse:hover {
    animation-play-state: paused;
}
.marquee-reverse {
	max-width: max-content!important;
	width: max-content;
	animation: marquee-reverse 15s linear infinite;
}
@keyframes marquee {
	 0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% + 100vw)); }
}
@keyframes marquee-reverse {
	 0% { transform: translateX(calc(-100% + 100vw)); }
    100% { transform: translateX(0); }
}

/* quantity */
form.cart .quantity{
	display: flex;
	margin-left: auto;
	width: max-content;
	border: 1px solid #052507;
	border-radius: 4px;
}
.mini-cart-prod-info .quantity{
	display: flex;
	width: max-content;
	border: 1px solid #052507;
	border-radius: 4px;
}
.mini-cart-prod-info .quantity span img{
	width: 12px !important;
    margin-left: 0 !important;
    float: none !important;
}
form.cart .qty-btn{
	height: 30px;
	width: 30px;
	display: inline-block;
	cursor: pointer;
	text-align: center;
	align-content: center;
}
.mini-cart-prod-info .qty-btn{
	height: 20px;
	width: 20px;
	display: inline-block;
	cursor: pointer;
	text-align: center;
	align-content: center;
}
form.cart .qty-btn img, .mini-cart-prod-info .qty-btn img{
	margin-bottom: -2px;
}
form.cart .qty{
	border: none!important;
	width: 30px!important;
	height: 30px!important;
	max-height: 30px!important;
	text-align: center!important;
	padding: 0!important;
}
.mini-cart-prod-info .qty{
	border: none!important;
	width: 20px!important;
	height: 20px!important;
	max-height: 30px!important;
	text-align: center!important;
	padding: 0!important;
	font-size: 12px;
}
form.cart .qty::-webkit-outer-spin-button,
form.cart .qty::-webkit-inner-spin-button,
.mini-cart-prod-info .qty::-webkit-outer-spin-button,
.mini-cart-prod-info .qty::-webkit-inner-spin-button{
	-webkit-appearance: none;
}

/* single product */
.variations th, .variations td{
	padding: 0;
	display: block;
	text-align: left;
}
.variations label{
	font-weight: 500!important;
	color: #052507;
	font-size: 16px;
}
.variations tbody>tr:nth-child(odd)>th, .variations tbody>tr:nth-child(odd)>td, .variations tbody tr:hover>td, .variations tbody tr:hover>th{
	background: transparent;
}
.reset_variations{
	display: none;
}
.quantity-lbl{
	width: 100%;
	font-weight: 500;
	color: #052507;
	margin-bottom: 10px;
}
.single-product form.cart, .woocommerce-variation-add-to-cart{
	flex-wrap: wrap!important;
}
.single-product form.cart .single_add_to_cart_button{
	display: block;
	width: 100%;
	margin: 20px 0 0 0!important;
	min-height: 32px;
}


/* product archive */
.wpc-filters-main-wrap li.wpc-term-item input[type=checkbox]:hover{
	background-color: #052507!important;
}
.wpc-filters-main-wrap {
	font-family: "Space Grotesk", Sans-serif;
}
.wpc-filter-title {
	font-weight: bold;
	font-size: 20px;
	color: #000;
}
.wpc-filters-ul-list{
	padding-left: 0!important;
}
.wpc-filters-checkboxes input {
	width: 20px;
	height: 20px;
	appearance: none;
	border: 2px solid #052507;
	border-radius: 4px;
	background-color: white;
	cursor: pointer;
	position: relative;
}
.wpc-filters-checkboxes input:checked {
	background-color: #052507;
}
.wpc-filters-checkboxes input:checked::after, .wpc-filters-checkboxes input:hover::after {
	content: "";
	display: block;
	width: 14px;
	height: 14px;
	background: url('/wp-content/uploads/2025/03/Vector-28-Stroke.svg') no-repeat center center;
	background-size: contain;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.wpc-filters-main-wrap li.wpc-term-item input[type=checkbox] {
	margin-right: 0.75em;
}
.wpc-filters-checkboxes .wpc-filter-link,
.wpc-toggle-a, .wpc-filters-range-column > span {
	font-size: 16px;
	font-weight: 500!important;
	color: #052507;
}
.wpc-toggle-a {
	border: none!important;
	text-decoration: underline;
}
.wpc-see-more-control,
.wpc-see-less-control {
	position: relative;
	padding-right: 16px;
}
.wpc-see-more-control:after,
.wpc-see-less-control:after {
	position: absolute;
	content: '';
	background-image: url("/wp-content/themes/ntpmm/assets/dropdown-arrow.svg");
	width: 10px;
	height: 10px;
	background-size: 10px;
	background-repeat: no-repeat;
	background-position: bottom;
	top: 50%;
	right: 0;
	transform: translatey(-50%);
}
.wpc-see-less-control:after {
	transform: rotate(180deg);
}
.wpc-filter-layout-range input {
	display: none;
}
.wpc-filters-range-slider-wrapper{
	margin: 1.5em 5px 10px!important;
}
.wpc-filters-range-inputs .ui-slider-horizontal{
	background: #E5ECD6!important;
}
.wpc-filters-range-inputs .ui-slider-horizontal .ui-slider-range{
	background: #052507!important;
}
.wpc-filters-range-inputs .ui-slider .ui-slider-handle {
	width: 12px!important;
	height: 12px!important;
	box-shadow: 0px 2px 4px 0px #0000001A!important;
	background-color: #fff!important;
	border: none!important;
	top: -5px!important;
	margin-left: -6px!important;
}
.wpc-filter-layout-labels .wpc-term-name{
	display: none;
}
.wpc-filter-layout-labels .wpc-filters-labels{
	justify-content: normal!important;
	gap: 12px;
	overflow: hidden;
}
.wpc-filter-layout-labels .wpc-filters-labels > .wpc-label-item{
	width: 24px!important;
	margin-bottom: 0!important;
}
li.wpc-term-item label span.wpc-term-swatch, .wpc-term-swatch-wrapper{
	width: 24px!important;
	border-radius: 4px!important;
}

/* mini-cart */
.woocommerce-mini-cart__empty-message{
	padding:20px;
}
.widget_shopping_cart_content .woocommerce-info{
	margin-bottom: 0;
}
.elementor-menu-cart__main{
  font-family: "Space Grotesk", Sans-serif;
  padding: 0;
  border-left: 1px solid #052507;
  color: #052507;
  padding-right: 2px;
}
.elementor-menu-cart__close-button-custom{
    display: flex;
    justify-content: space-between;
    align-self: inherit;
  margin: 0!important;
  padding: 12px;
}
.elementor-menu-cart__close-button-custom .menu-cart-header{
  font-family: "Space Grotesk", Sans-serif;
  color: #052507;
}
.widget_shopping_cart_content, .woocommerce-mini-cart__total{
  border-top: 1px solid #052507;
}
.woocommerce-mini-cart {
  padding: 12px!important;
  overflow-y: auto;
  max-height: 79vh;
}
.woocommerce-mini-cart-item{
  display: flex;
  gap: 10px;
  padding: 0!important;
  font-size: 13px;
}
.woocommerce-mini-cart-item:not(:first-child){
  padding-top: 10px!important;
  border-top: 1px solid #E5ECD6;
  margin-top: 10px!important;
}
.woocommerce-mini-cart-item:before, .woocommerce-mini-cart-item:after, .woocommerce-mini-cart__buttons > a:first-child{
  display: none!important;
}
.woocommerce-mini-cart-item .mini-cart-prod-img{
  width: 26%;
}
.woocommerce-mini-cart-item .mini-cart-prod-img img{
  width: 100%!important;
}
.woocommerce-mini-cart-item .mini-cart-prod-info{
  width: 52%;
  display: flex;
  flex-direction: column;
  min-height: 80px;
  justify-content: space-between;
}
.woocommerce-mini-cart-item .mini-cart-prod-info > .title-box a{
  color: #052507;
  line-height: 1.3em;
}
.woocommerce-mini-cart-item .mini-cart-prod-info > .qty-box{
  display: flex;
  gap: 10px;
}
.woocommerce-mini-cart-item .mini-cart-prod-price{
  width: 22%;
  font-weight: 600;
  text-align: right;
}
.mini-cart-foot{
  position: absolute;
  bottom: 0;
  background-color: #fff;
  width: 100%;
  padding-right: 2px;
}
.woocommerce-mini-cart__total, .woocommerce-mini-cart__buttons{
  padding: 12px;
  margin: 0;
}
.custom-cart-total{
  display: flex;
  justify-content: space-between;
}
.custom-cart-total{
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}
.woocommerce-mini-cart__buttons .checkout{
  width: 100%;
  text-align: center;
  font-size: 20px!important;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff!important;
  background-color: #052507!important;
}

/* thank you page */
.woocommerce-order{
  max-width: 600px;
  margin: auto;
  color: #052507;
	background-color: #fff;
}
.woocommerce-order > div{
  padding: 12px;
}
.woocommerce-order .thankyou-header{
  font-size: 24px;
  font-weight: bold;
  border-radius: 4px 4px 0 0;
  border: 1px solid #052507;
}
.woocommerce-order .thankyou-customer-info{
  border-width: 0 1px 1px!important;
  border: 1px solid #052507;
  font-size: 16px;
  font-weight: 500;
}
.woocommerce-order .shop_table{
  border: 1px solid #052507!important;
  border-width: 0 1px 1px!important;
  border-radius: 0!important;
  padding: 12px;

}
.woocommerce-order tr:not(:first-child) td{
  padding-top: 12px!important;
}
.woocommerce-order tr:not(:last-child) td{
  border-bottom: 1px solid #E5ECD6!important;
    padding-bottom: 12px!important;
}
.woocommerce-order td{
  padding: 0!important;
	color: #052507!important;
}
.woocommerce-order .product-image{
  width: 16%;
}
.woocommerce-order .product-name{
  vertical-align: top!important;
 padding: 0 12px!important;
}
.woocommerce-order .product-name > b, .woocommerce-order .thankyou-footer b{
   font-size: 20px;
}
.woocommerce-order .product-name > div, .woocommerce-order .thankyou-footer{
   font-size: 16px;
  font-weight: 500;
}
.woocommerce-order .product-total{
  font-size: 20px;
  width: 14%;
  text-align: right;
  font-weight: bold!important;
}
.woocommerce-order .thankyou-footer{
  display: grid;
  grid-template-columns: 2fr 1fr;
  border: 1px solid #052507;
  border-width: 0 1px 1px;
  border-radius: 0 0 4px 4px;
}
.woocommerce-order .thankyou-footer > span:last-child{
  text-align: right;
  font-size: 20px;
  font-weight: bold;
}