/*
 Theme Name:   TST Child Theme
 Description:  Woodmart Child Theme
 Author:       Ari Senpai
 Author URI:   https://www.ari-senpai.ninja
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

html {
		background-color: #000;
}

form.cart .single_add_to_cart_button{
	display: none !important;
}

body.woocommerce-account footer{
	margin-top: 220px;
}

.product-wrapper img.attachment-full.size-full {
    height: 300px;
    object-fit: cover;
    object-position: top;
}
.product-wrapper .woocommerce-loop-product__title{
	font-size: 1.3em;
	font-weight: 800;
	text-transform: uppercase;
}
.product-wrapper .woocommerce-loop-product__tour{
	font-weight: 400;
	font-size: 1em;
	opacity: .7;
	padding-bottom: 1em;
}
.product-wrapper .price-container{
	font-size: .9em;
}

.product-wrapper .wd-add-cart-icon{
	display: none !important;
}
#product-info hr{
	max-width: 100%;
	width:100%;
}
.wd-product.wd-hover-tiled .product-wrapper:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Adjust the shadow to your preference */
    transition: box-shadow 0.3s ease; /* Smooth transition */
		cursor: pointer;
}


/* Spotify Search */
#search-reflts{
	text-align: center;
	padding: 1em;
	border: 1px solid #0000001a;
	border-radius: 5px;
	background: #f9f9f9;
	min-height: 100px;
	max-height: 400px;
	overflow-y: scroll;
}
#search-results img.loading-spinner{
	width: 50px;
}


#search-results div.track{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin: 1em 0;
	padding: .5em;
	cursor: pointer;
	background: #090909;
	border-radius: 5px;
	text-align: left;
}
#search-results div.track:hover{
	background: #000;
}
#search-results div.track img{
	height: 65px;
	width: 65px;
	border-radius: 90px;
	margin-right: .5em;
}
#search-results div.track p{
	margin-bottom:0 !important;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
#search-results div.track p.track_name{
	color: #fff;
	font-weight: 600;
	font-size: 1.1em;
}



.selection-card{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin: 1em 0;
	padding: .5em;
	cursor: pointer;
	background: #000;
	border-radius: 5px;
	text-align: left;
	position: relative;
}
.selection-card img{
	height: 65px;
	width: 65px;
	border-radius: 90px;
	margin-right: .5em;
}
.selection-card p{
    margin-bottom: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 35ch;
}
.selection-card p.selection-card-title{
	color: #fff;
	font-weight: 600;
	font-size: 1.1em;
}
img.selection-card-remove{
	padding: 0;
	border-radius: 30px;
	height: 20px;
	width: 20px;
	position: absolute;
	right: -5px;
	top: -7px;
	margin-right: 0;
	-webkit-filter: invert(1);
	filter: invert(1);
}
img.selection-card-remove:hover{
	opacity: .7;
}


body.woocommerce-checkout .woocommerce-message{
	display: none;
}

.woocommerce-additional-fields{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	flex-direction: column;
}
.woocommerce-additional-fields .wooccm-additional-fields{
	order:1;
}
.woocommerce-additional-fields .custom_checkout_field{
	order:0;
}

.stripe-gateway-stripelink-modal-trigger{
	display: none !important;
}
.statcontainer{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: .5em 0em;
}
.statcontainer p{
	margin-bottom: 12px;
	font-size: 17px;
	font-weight: 600;
}
.statcontainer .stat{
	color:rgba(255, 255, 255, .7);
}
.statcontainer .value{
	color:#fff;
}
.statcontainer .stat-caption{
    font-weight: 800;
    font-size: 18px;
    line-height: 28px;

}
body.single-product button.wd-buy-now-btn,
body.single-product #wd-add-to-cart{
	display: none !important;
}

body.single-product #tst-open-tour-modal{
	background: #02982c;
	font-weight: 800;
	font-size: 17px;
	width: 100%;
	color: #f2f2f2 !important;
	text-transform: uppercase;
	border-radius: 10px;
	padding: 14px 16px;
	border: none !important;
	transition: background .2s ease, box-shadow .2s ease, transform .12s ease;
	margin-top: 12px;


}
body.single-product #tst-open-tour-modal:hover{
	background: #22cb52;
}
/* Sold out state */
body.single-product #tst-open-tour-modal.is-sold-out,
body.single-product #tst-open-tour-modal:disabled{
	background: #222222;
	color: #bfbfbf !important;
	cursor: not-allowed;
	box-shadow: none;
}
body.single-product #tst-open-tour-modal.is-sold-out:hover,
body.single-product #tst-open-tour-modal:disabled:hover{
	background: #222222;
}
body.single-product .product_title{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
body.single-product .product_title span{
	color: #22cb52;
}
h2.tour-name{
	font-weight: 600 !important;
	opacity: .8;
	font-size: 1.3em;
}
.gform-theme--foundation .gform_fields{
	row-gap: 20px !important;
}

.datepicker.gform-datepicker{
	width: 100% !important;
}
.stock.in-stock.wd-style-default{
	display: none !important;
}

.product-tabs-wrapper{
	display: none !important;
}

.locations-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* Adds space between items */
}

.location {
    flex: 1 1 calc(50% - 1rem); /* Adjusts the items to be 50% width */
    box-sizing: border-box;
}

.location p {
    margin: 0;
    padding: 0.5rem;
    background-color: #222222; /* Optional background for styling */
    border-radius: 4px; /* Optional rounded corners */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}
.content-title{
	font-size: 1.9em;
	font-weight: 800;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	margin: 1.5em 0;
}


/* Product Cards */

.product-wrapper .woocommerce-Price-amount.amount, 
.product-wrapper .price{
	color:rgba(255,255,255,1);
	font-size: 1.2em;
}
.product_title .amount{
	color: #22cb52 !important;
}
.artists{
	overflow: hidden;
  max-height: calc(1 * var(--title-line-height, 1.4em));
}
.supporting.artists{
    font-size: .85em;
}

.product-wrapper h3.wd-entities-title{
	font-size: 1.3em;
}
.product-wrapper p{
	line-height: 1;
}
.product-wrapper .headliners{
	color: #fff;
	font-weight: 600;
	font-size: 1.1em;
}

.price-container{
	color:rgba(255,255,255,1);
	font-size: 1.2em;
}
.unit {
	font-size: .6em !important;
	color:rgba(255,255,255,.8);
}
.unit .woocommerce-Price-amount.amount{
	color:rgba(255,255,255,.8);
}
.wd-product :where(.product-wrapper,.product-element-bottom){
	gap: 0px !important;
}
/* Add Your Song button */
.product-wrapper a.button.add-your-song{
	display: block;
	width: 100%;
	background: #000;
	color: #fff !important;
	font-weight: 800;
	font-size: 17px;
	padding: 14px 16px;
	border-radius: 10px;
	text-align: center;
	border: none !important;
	transition: background .2s ease, box-shadow .2s ease, transform .12s ease;
	margin-top: 12px;
}
.product-wrapper a.button.add-your-song:hover{
	background: #ff6b70;
	box-shadow: 0 8px 18px rgba(241,72,79,.45);
	transform: translateY(-1px);
}
.product-wrapper a.button.add-your-song:active{
	transform: translateY(0);
	box-shadow: 0 4px 10px rgba(241,72,79,.3);
}
.product-wrapper a.button.add-your-song:focus{
	outline: 2px solid #ff9fa3;
	outline-offset: 2px;
}
#analytics-intro{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
#analytics-intro h2{
	margin-bottom: 0px;
	width: 50%;
}
#analytics-intro select{
	width: 50%;
}
.wd-my-account-links div.analytics-link a:before {
    content: "\f201";
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
}

/* Stat container */
#statcontainer {
		display: flex;
		flex-wrap: wrap;
		gap: 1rem; /* Adds space between items */
		margin-top: 1.5em;
}
#statcontainer .stat {
		flex: 1 1 calc(33% - 1rem); /* Makes each item take 50% width */
		box-sizing: border-box;
    background-color: #0f0f0f; /* Optional background */
		border-radius: 4px; /* Rounded corners */
		padding: 1rem;
		text-align: center;
		border-radius: 5px;
}
#statcontainer .stat h2 {
		font-size: 1.2em;
		font-weight: 800;
		color: #fff;
		margin: .2em 0 1em 0;
}
#statcontainer .stat p {
		margin: 0;
		padding: 0.5rem;
		font-size: 1.5em;
		color: #fff;
		font-weight: bold;
}

/* Container Styles */
#playlistcontainer {
    min-height: 600px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
		align-items: flex-start;
    padding: 20px;
		margin-left: auto;
		margin-right: auto;
}

/* Playlist Card Styles */
#playlistcontainer .playlist {
    position: relative;
    width: 290px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#playlistcontainer .playlist:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Image Styles */
#playlistcontainer .playlist-image img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #eee;
}

/* Playlist Name Styles */
#playlistcontainer .playlist-name {
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-align: center;
    background-color: #fafafa;
}

/* Link Overlay */
#playlistcontainer .playlist a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


h1.playlist-entry-title{
	color: #FFFFFF;
	font-family: "Nunito", Sans-serif;
	font-size: 50px;
	font-weight: 700;
	line-height: 50px;
	text-align: center;
	margin: 0 0 1em 0;
}
body.page-template-template-playlists .website-wrapper{
	background-color: transparent;
	background-image: linear-gradient(180deg, #000000 0%, #ff4f57 100%);
}
body.page-template-template-playlists .main-page-wrapper{
	background-color: transparent;
}
.input-checkbox.wooccm-required-field[type="checkbox"] a{
	color:#ca1300;
}
.input-checkbox.wooccm-required-field[type="checkbox"] a:hover{
	color:#720b00;
}


label[for="billing_state"] span.optional{
	display: none !important;
}
.website-wrapper :is(.woocommerce-form-coupon-toggle,.woocommerce-form-login-toggle)>div :is(.showlogin,.showcoupon){
	color:#fff !important;
}
.wd-nav-mobile li:is(.current-menu-item,.wd-active)>a{
	color: #F1484F !important;
}


.amount{
	color: #fff !important;  /* Alter for dark mode */
}


/* Responsive Design */
@media (max-width: 768px) {
    #playlistcontainer {
        flex-direction: column;
        align-items: center;
    }

    #playlistcontainer .playlist {
        width: 80%;
        max-width: 300px;
    }
		#statcontainer .stat{
			flex: 1 1 calc(100% - 1rem);
		}
}




/* Show hamburger and hide sidebar on small screens */
@media (max-width: 768px) {
    .wd-my-account-sidebar {
        display: none;
    }
}
a.scrollToTop.button-show{
	display: none !important;
}

.login-form-footer .lost_password{
	color:#fff !important;
}
.wd-my-account-links a:hover:before{
	color:#fff !important;
}

body.woocommerce-account div.container.main-footer div {
	background-color: #1a1a1a !important;
}
body.woocommerce-account div.container.main-footer .elementor-16620 .elementor-element.elementor-element-5684858:not(.elementor-motion-effects-element-type-background){
	background-color: #1a1a1a !important;
}
body.woocommerce-account div.container.main-footer a{
	color: #fff !important;
}

body.woocommerce-account div.container.main-footer .elementor-16620 .elementor-element.elementor-element-79ff62a .elementor-social-icon{
	background-color: #1a1a1a !important;
}
body.woocommerce-account .wd-my-account-links > div a{
	background-color: #0f0f0f;
}


body.product-template-default.single-product footer div.elementor-element {
	background-color: #1a1a1a !important;
}
body.product-template-default.single-product footer a{
	color: #fff !important;
}

body.product-template-default.single-product footer .elementor-social-icon{
	background-color: #1a1a1a !important;
}

body.archive .wd-shop-tools .wd-products-per-page{
	display: none !important;
}

/* Mapbox tweaks for analytics map */
#map .mapboxgl-ctrl-bottom-right {
	right: 8px;
	bottom: 8px;
}
#map .mapboxgl-ctrl-attrib.mapboxgl-compact {
	border-radius: 6px;
	overflow: hidden;
	padding: 0px;
	opacity: 0;
	display: none !important;
}
#map .mapboxgl-ctrl-attrib-button {
	background: rgba(0,0,0,0.6);
	border-radius: 6px;
}
#map .mapboxgl-ctrl-attrib-inner {
	background: rgba(0,0,0,0.6);
	color: #ccc;
}
#map .mapboxgl-ctrl-attrib-inner a {
	color: #ddd !important;
}

/* Popup styling: readable on dark theme */
.mapboxgl-popup.tst-map-popup .mapboxgl-popup-content {
	background: #111;
	color: #fff;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.4);
	padding: 10px 12px;
}
.mapboxgl-popup.tst-map-popup .mapboxgl-popup-tip {
	border-top-color: #111;
	border-bottom-color: #111;
}