/*
Theme Name:     Test Child Theme
Theme URI:      https://diy-shop.my-digital-journey.com
Template:       kadence
Author:         My Digital Journey
Author URI:     https://my-digital-journey.com
Description:    A modern eCommerce child theme, build with the Kadence WP suite.
Version:        1.01
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
/*Fix Layout Issues for Adv Header Block over 1024px*/
/*
@media(max-width:1200px){
	ul.kb-navigation{
		flex-direction:column;
		align-items:flex-start!important;
		margin-block:2rem 4rem!important;
	}
	
	ul.kb-navigation a.kb-nav-link-content{
		padding-inline:0!important;
	}
	
	ul.kb-navigation ul.kb-query-grid-wrap{
		display:flex!important;
	overflow-x:auto;
	flex-wrap:nowrap!important;
	scroll-snap-type:x mandatory;
	}
	
	ul.kb-navigation ul.kb-query-grid-wrap > li{
		flex-direction:column!important;
	}
}
*/

.single-product-accordion .kt-blocks-accordion-title p{
	margin:0;
	display:flex;
	align-items:center;
}

:root{
	--global-md-spacing:1.5rem;
}

/* CSS für die Navigationspfeile */

/*
.horizontal-scrolling-all-screensizes {
    position: relative;
}
*/
.nav-arrows-container {
    position: absolute;
    top: -3rem;
    right: 0;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.nav-arrow {
    background:var(--global-palette9);
    border: 1px solid var(--global-palette6);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.5rem;
		line-height:1;
		color:var(--global-palette4);
	  padding:0.1rem 0.7rem 0.3rem;
   	transition: scale 0.4s ease;
    z-index: 10;
}

.nav-arrow:hover {
    background: var(--global-palette2);
    border-color: var(--global-palette2);
	  scale:1.05;    
}

.nav-arrow:focus {
	background:var(--global-palette2);;
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow:disabled:hover {
   color: var(--global-palette4);
	 background:var(--global-palette8);
   scale:1;
}




.button-price{font-size:0.9rem;
	margin-right:2rem;color:var(--global-palette6);display:inline-flex;flex-direction:row-reverse;gap:0.3rem;align-items:center;
}

.button-price del{font-size:0.75rem;
}

/*Modal Search Background*/
.kb-search-modal{
	backdrop-filter:blur(3px);
}

/*Header Carousel*/

.header-carousel{
	max-width:400px;
	height:2rem;
	overflow:hidden;
}

.header-carousel .kb-advanced-slide-inner-wrap{
	padding-left:0;
}

.header-carousel .splide__arrow{
	display:none!important;
}

@media(max-width:1200px){
	.header-carousel{
		height:3rem;	
	}
}



/* Styling for navigation arrows */
.product-card-gallery-slider .carousel-prev,
.product-card-gallery-slider .carousel-next {
    position: absolute;
    top: 50%;
   	transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: var(--global-palette9);
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 10;
    font-size: 0.9rem;
    line-height: 1;
    transition: opacity 0.3s ease, background 0.3s ease; /* Smooth transition for disabled state */
}

.product-card-gallery-slider .carousel-prev:hover,
.product-card-gallery-slider .carousel-next:hover{
	background: rgba(0, 0, 0, 0.7);
}

/* Disabled arrow state */
.product-card-gallery-slider .carousel-prev.disabled,
.product-card-gallery-slider .carousel-next.disabled {
    opacity: 0.4; /* Transparent when disabled */
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.3);
}

/* Arrow positioning */
.product-card-gallery-slider .carousel-prev {
    left: 0.5rem;
}

.product-card-gallery-slider .carousel-next {
    right: 0.5rem;
}

/* Show arrows only on non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .product-card-gallery-slider .carousel-prev,
    .product-card-gallery-slider .carousel-next {
        display: block;
    }
}

@media (hover: none) and (pointer: coarse) {
    .product-card-gallery-slider .carousel-prev,
    .product-card-gallery-slider .carousel-next {
        display: none;
    }
}

/*WooCommerce Gallery Images in Loop*/

.product-card-gallery-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  max-width: 410px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.product-card-gallery-slider .product-gallery-link {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
}

.product-card-gallery-slider .product-gallery-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}





/*Product Rating Styling*/

.woocommerce-product-rating {
    visibility: hidden;
}
.woocommerce-product-rating.js-enhanced {
    visibility: visible;
}

.woocommerce-review-link, .star-rating{
	display:flex;
	align-items:center;
	line-height:1;
	text-decoration:none;
}



.rating-number{
	font-size:0.85rem;
	color:var(--global-palette5);
	margin-right:0.2rem;
}

.rating-count{
	font-size:0.8rem;
	color:var(--global-palette5);
}



/*Disable Default Woocommerce Login/Register Form*/
#customer_login{
	display:none;
}


/*Mobile Logo Fix*/

.kb-identity .kb-identity-layout-container.kb-identity-layout-logo-left{
	justify-content:flex-start;
}

/*Mobile Mega Menu*/

.wp-block-kadence-navigation .menu .menu-item--toggled-on>.sub-menu{
	margin-left:0!important;
}

/*Wishlist Icon*/

.tinvwl_add_to_wishlist_button{right:1rem;top:0.5rem;
}
 .tinvwl_add_to_wishlist_button:before{
	 background:#fff;
	 padding:0.2em;
	 border-radius:50%;
	 
}


.kwt-gallery-wrap img{
	border-radius:var(--border-radius);
}

/*Customize Woo Badge*/
.kt-woo-badge{
	z-index:100;
	background:rgba(10,10,10,0.4)!important;
	backdrop-filter:blur(3px);
	line-height:1;
	padding:0.5rem 0.75rem!important;
}

#alpha-accordion{
	border-bottom:2px solid var(--global-palette6);
}

#alpha-accordion .kb-svg-icon-wrap{
	padding-right:1.5rem;
}


/*Check out*/

.wc-block-components-address-card__edit{
	  padding: 0.2rem 1rem;
    border-radius: var(--border-radius);
}

.wc-block-components-address-card__edit:hover{
	background:var(--global-palette2);
	color:var(--global-palette9);
}



/*Input Styling*/

input, textarea{background:var(--global-palette7)!important;
border:none!important;

}

textarea::placeholder, input::placeholder{
	color:var(--global-palette5);
}

select{
	appearance:none!important;
background:var(--global-palette7) url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiNiYmIiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==) no-repeat 98% 50%!important;
border:none!important;
}

.select2-selection {
	background:var(--global-palette7)!important;
	border:none!important;
}

.wc-blocks-components-select .wc-blocks-components-select__expand{
	display:none!important;
}


input:focus, textarea:focus, select:focus, .select2-selection:focus{
	outline:1px solid var(--global-palette6)!important;
}

input[type=submit]{
	background:linear-gradient(135deg, var(--global-palette1), var(--global-palette2))!important;
}


input[type=submit]:hover{
	background:linear-gradient(135deg, var(--global-palette1), var(--global-palette2) 30%)!important;
}

/*.woocommerce-variation-add-to-cart .quantity, .kwt-add-to-cart-wrap .quantity*/

.quantity, .qty{
	background:var(--global-palette9)!important;
}

.quantity{
	border:2px solid var(--global-palette5)!important;
}



.quantity:hover{
	border-color:var(--global-palette2);
}

.quantity input[type=button]{
	background:var(--global-palette9)!important;
	color:var(--global-palette5)!important;
}

.quantity input[type=button]:hover, .quantity input[type=button]:focus{
	background:var(--global-palette7)!important;
	color:var(--global-palette2)!important;
	outline:none!important;
}


/*Style Show Password Button*/

.woocommerce form .show-password-input, .woocommerce-page form .show-password-input{
	top:50%!important;
	transform:translatey(-50%);
	padding:0.3rem;
	border-radius:50px;
}

/*End Input Styling*/

/*Product Reviews Styling*/

.kt-ajax-load-more-reviews{
	background:var(--global-palette8);
	color:var(--global-palette4);
	outline:2px solid var(--global-palette1);
	border-radius:var(--border-radius);
}

.kt-ajax-load-more-reviews:hover{
	background:var(--global-palette2);
	color:var(--global-palette9);
}

#review_form_wrapper{
	position:sticky;
	top:100px;
	margin-bottom:55px;
}

#review_form .comment-form-rating, #review_form .comment-form-title, #review_form .comment-form-comment, #review_form .comment-form-author, #review_form .comment-form-email{
	flex-direction:column;
	gap:0.5rem;
	margin: 0 0 1rem 0!important;
	font-weight:600;
}

#review_form .comment-form-rating, #review_form .comment-form-title, #review_form .comment-form-comment{
	display:flex;
}

#review_form .comment-form-author, #review_form .comment-form-email{
	display:inline-flex;
	width:calc(50% - .6rem);
	max-width:450px;
}

#review_form .comment-form-author{
	margin:0 1rem 1rem 0!important;
}



#review_form .comment-form-author input, #review_form .comment-form-email input{
width:100%;
}

#review_form #comment{
	min-height:150px;
	resize:vertical;
}

#review_form .comment-form-cookies-consent{display:flex;
	gap:0.5rem;
	align-items:flex-start;
	margin-block: 0.75rem 1.75rem!important;
	font-size:0.8rem;
}

#review_form .comment-form-cookies-consent label{margin-top:-0.2rem;}

/*End Product Reviews Styling*/

/*Single Posts Comments Styling*/

.wp-block-comments{
	width:100%;
	max-width:700px;
}

.wp-block-comments .comment-input-wrap{
	display:flex;
	flex-wrap:wrap;
	gap:1rem;
}

.wp-block-comments .comment-form-comment{
	display:flex;
	flex-direction:column-reverse;
	gap:0.5rem;
	font-weight:600;
}

.wp-block-comments .comment-form-author, .wp-block-comments .comment-form-email{
	display:inline-flex;
	flex-direction:column-reverse;
	flex:1 1 0;
	margin:0;
	font-weight:600;
}

.wp-block-comments .comment-form-url{
	display:flex;
	flex-direction:column-reverse;
	flex:1 1 100%;
	font-weight:600;
}

.wp-block-comments .comment-form-cookies-consent{
	margin-block:1.5rem!important;
	gap:0.5rem!important;
	font-size:0.8rem;
}

.wp-block-comments #wp-comment-cookies-consent{
	margin-top:0!important;
}


/*End Single Posts Comments Styling*/

li::marker{
	color:var(--global-palette5); font-size:1.1rem;
font-weight:700;
}	


.woocommerce a.added_to_cart{
	display:none;
}

.kwt-add-to-cart-loop{
	background:var(--global-palette1);
	color:var(--global-palette9);
	padding:var(--spacing-xs) var(--spacing-l);
	border-radius:var(--border-radius);
}

.kwt-add-to-cart-loop:hover{
		background:var(--global-palette2);
}

.kwt-add-to-cart-loop a{
	text-transform:inherit!important;
	padding:0!important;
	line-height:1;
	font-size:0.8rem!important;

}




/*Cart*/

.wc-block-cart__empty-cart__title{text-align: left!important;
margin:3rem 0!important;}

/*Single product page*/



.kt_reviews_stats_total h3{
	text-transform:none;
	font-size:1.3rem;
	font-weight:500;
}

.comment-text{
	background:var(--global-palette9);
	border:none!important;
	box-shadow:var(--box-shadow);
	border-radius:var(--border-radius)!important;
}

textarea#comment, input#title{
border:1px solid var(--global-palette6);
	
	border-radius:var(--border-radius);
}

.kadence-sticky-add-to-cart-footer{
	box-shadow:0 0 10px -4px var(--global-palette6);
}





@media(min-width:1024px){

/*Span add to cart button over 2 header rows*/
.site-header-main-section-right{
	position:relative;
}

.kadence-header-cart{
	position:absolute;
	right:0;
	bottom:.25rem;
}

.header-cart-button{
	height:120px;
	width:120px;
	display:flex;
	justify-content:center;
}
}

/*Loops Equal Height Fix*/
.loop-entry{
	background:var(--global-palette9);/*
	box-shadow:var(--box-shadow)!important;*/
}


				





/*Product Category Buttons*/

.product-taxonomy-buttons .kb-dynamic-list-item{
	padding:0.35rem 1.5rem!important;
	margin-bottom:0!important;
	border-radius:3px!important;
	border:2px solid var(--global-palette6);
	
}

.product-taxonomy-buttons .kb-dynamic-list-item:hover{
	border-color:var(--global-palette2);
}


.single-product-tabs .kwt-accordion-title{
	box-shadow:var(--box-shadow);
}


.wp-block-kadence-header-row-top .kadence-header-row-inner{
	position:relative;
}







  
