.product-info .price-wrapper{
	display:none !important;
}
.image-width,.upload-status{
	color: #5d5d5d;
    background-color: #ffffffc4;
    padding: 3px 20px;
    border-radius: 5px;
    position: relative;
    top: -10px;
    border: 1px solid #ddd;
    font-weight: bold;
    font-size: 12px;

}
.mainpricing{
	border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    padding: 6px;
    font-weight: bold;
    margin-bottom: 20px;
    background-color: #f7f7f7;
}
.mainpricing .woocommerce-Price-currencySymbol {

    font-size: unset !important;
    vertical-align: unset !important;
}
/* Overlay styling to cover the full screen */
#fotobehang-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.5);
	z-index: 9998;
}
/* Popup styling: centered on screen with a white background */
#fotobehang-popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	padding: 40px;
	z-index: 9999;
	max-width: 90%;
	width:90%;
	height:90%;
	max-height: 90%;
	overflow: auto;
	border-radius: 10px;
}
/* Close button: positioned absolutely in the top right corner of the popup */
#fotobehang-close-btn {
position: absolute;
top: -35px;
right: -35px;
font-size: 24px;
font-weight: bold;
color: #6d6d6d;
box-shadow: 0px 0px 9px 0px #b5b5b5;
height: 30px;
width: 30px;
line-height: 30px;
text-align: center;
border-radius: 37px;
cursor: pointer;
	z-index: 9999999;
background-color: #fff;

}
/* Popup header styling */
.fotobehang-popup-header {
	margin-bottom: 10px;
	position: relative;
}
#fotobehang-draggable-image {
  pointer-events: auto !important;
}
/* Container for the draggable image */
.fotobehang-draggable-container {
	
	width: 300px; /* Example width - adjust as necessary */
	height: 200px; /* Example height - adjust as necessary */
	border: 1px solid #000;
	position: relative;
	margin:auto;
}
/* The draggable image styling */
#fotobehang-draggable-image {
	position: absolute;
	border-radius:0px;
	top: 0;
	left: 0;
	
	
	max-width: unset;
	touch-action: none;            /* cruciaal voor Pointer/Touch -> geen panning/zoom */
	  -webkit-user-drag: none;       /* iOS Safari: default img-drag uit */
	  user-select: none;             /* geen text/image selecties */
	  -webkit-touch-callout: none;
	  pointer-events: auto;          /* zekerheidje als er overlays zijn */
	  position: relative;            /* jQuery UI gebruikt top/left; dit helpt */
	  cursor: grab;                  /* UX hint */
}

#fotobehang-draggable-image:active { cursor: grabbing; }
/* Default container styling */
.fotobehang-draggable-container {
	position: relative;
	
}

.fotobehang-draggable-container {
  touch-action: none;
}


/* Overlays for horizontal dragging */
.fotobehang-draggable-overlay-left,
.fotobehang-draggable-overlay-right {
	position: absolute;
	top: 0;
	width: 500px;
	height: 100%;
	background: rgba(255, 255, 255, 0.5);
	pointer-events: none;
	z-index: 10;
}
.fotobehang-draggable-overlay-left {
	left: -500px; /* Extends 50px outside the container */
}
.fotobehang-draggable-overlay-right {
	right: -500px;
}

/* Overlays for vertical dragging */
.fotobehang-draggable-overlay-top,
.fotobehang-draggable-overlay-bottom {
	position: absolute;
	left: 0;
	width: 100%;
	height: 500px;
	background: rgba(255, 255, 255, 0.5);
	pointer-events: none;
	z-index: 10;
}
.fotobehang-draggable-overlay-top {
	top: -500px;
}
.fotobehang-draggable-overlay-bottom {
	bottom: -500px;
}




/* Container that centers the draggable wrapper */
.fotobehang-draggable-wrapper-container {
	text-align: center;
	margin: 0 auto;
}

/* Draggable wrapper — display as inline-block to allow centering */
.fotobehang-draggable-wrapper {
	display: inline-block;
	position: relative;
	overflow: visible; /* allow the vertical indicator to be visible */
}

/* Draggable container itself */
.fotobehang-draggable-container {
	position: relative;
	overflow: hidden;
}

/* Vertical size indicator: positioned 30px to the left of the wrapper */
.fotobehang-size-indicator-vertical {
	position: absolute;
	top: 0;
	left: -30px;  /* 30px outside the wrapper edge */
	width: 30px;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* Horizontal size indicator: positioned at the bottom of the popup or wrapper */
.fotobehang-size-indicator-horizontal {
	position: absolute;
	bottom: 0px; /* 30px below the container */
	left: 50%;
	transform: translateX(-50%);
	width: 100%;  /* optionally, adjust to match container width */
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Shared styles for indicator lines and text */
.fotobehang-size-indicator .fotobehang-line {
	background: #000;
}

.fotobehang-size-indicator-horizontal .fotobehang-line {
	height: 1px;
	flex: 1;
}

.fotobehang-size-indicator-horizontal .fotobehang-size-text {
	margin: 0 5px;
	font-size: 14px;
	color: #000;
	width: 60px;
	background-color: #fff;
	text-align: center;
}

.fotobehang-size-indicator-vertical .fotobehang-line {
	width: 1px;
	flex: 1;
}

.fotobehang-size-indicator-vertical .fotobehang-size-text {
	margin: 5px 0;
	font-size: 14px;
	color: #000;
	/* Uncomment the next line to rotate the vertical text, if desired */
	 transform: rotate(-90deg); 
	 width: 60px;
	 background-color: #fff;
}


.fotobehang-stroke-line {
	position: absolute;
	width: 1px;
	background: rgb(0, 255, 0);
	pointer-events: none;
	z-index: 9999;
}



/* Popup Footer Container */
.fotobehang-popup-footer {
  display: flex;
  justify-content: space-around;  /* Even spacing between buttons */
  align-items: center;
  padding: 10px;
  border-top: 1px solid #ddd;
  margin-top: 10px;
  width:70%;
}

/* Optional styling for buttons */
.fotobehang-popup-footer button {
    padding: 0px 13px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 20px;
    background-color: #eee9e3;
    width: 29%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-transform: none;
}
.fotobehang-popup-footer button i{
	margin-right:20px;
}
.fotobehang-popup-footer button{
	margin-bottom:0px !important;
}
/* Adjust the draggable wrapper container so it is centered */
.fotobehang-draggable-wrapper-container {
  text-align: center;
  margin: 0 auto;
}

/* Draggable wrapper for positioning the vertical indicator */
.fotobehang-draggable-wrapper {
  display: inline-block;
  position: relative;
  overflow: visible; /* Allows vertical indicator to appear outside */
}

/* Vertical size indicator positioned adjacent to the container */
.fotobehang-size-indicator-vertical {
  position: absolute;
  top: 0;
  left: -30px;  /* 30px to the left of the container */
  width: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Horizontal indicator at the bottom (customize as desired) */
.fotobehang-size-indicator-horizontal {
  position: relative;
  bottom: 0px;  /* 30px below the container */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Shared styling for size indicator lines and text */
.fotobehang-size-indicator .fotobehang-line {
  background: #000;
}
.fotobehang-size-indicator-horizontal .fotobehang-line {
  height: 1px;
  flex: 1;
}
.fotobehang-size-indicator-horizontal .fotobehang-size-text {
  margin: 0 5px;
  font-size: 14px;
  color: #000;
}
.fotobehang-size-indicator-vertical .fotobehang-line {
  width: 1px;
  flex: 1;
}
.fotobehang-size-indicator-vertical .fotobehang-size-text {
  margin: 5px 0;
  font-size: 14px;
  color: #000;
}

/* Add a class for mirrored images */
#fotobehang-draggable-image.mirrored {
  transform: scaleX(-1);
}

#fotobehang-dim-popup {
	position: fixed;
	z-index: 9999999;
	top: 50%;
	display: none;
	background-color: #fff;
	padding: 40px;
	left: 0;
	right: 0;
	margin: auto;
	width: 400px;
	border-radius: 20px;
	box-shadow: 1px 1px 5px 1px #00000066;
}
#add-wallpaper-to-cart{
	background-color: #ea005f;
	padding: 0px;
	border-radius: 30px;
	color: #fff;
	width:100%;
	margin-bottom:0px !important;
}

.cart-box{
	padding:20px;
}
/* Container around the newly styled dimension UI */
.fotobehang-design-container {
border-radius: 15px;
padding: 30px;
max-width: 400px;
box-shadow: 1px 1px 10px 1px #ddd;
  
  
}
.fotobehang-design-container button{
	margin-bottom:0px !important;
	font-size:14p !important;
}
/* Heading style for "Afmetingen behang invoeren" */
.fotobehang-heading {
  font-size: 20px;
  margin-bottom: 15px;
  
  align-items: center;
}
.fotobehang-heading i {
  margin-right: 8px;
  color: #333; /* icon color */
}

/* Row to hold width/height fields side by side */
.fotobehang-dimension-row {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

/* Each dimension field (Breedte/Hoogte) */
.fotobehang-dimension-field label {
  display: block;
  font-weight: 300;
  margin-bottom: 5px;
}
.fotobehang-dimension-field label i{
	font-size:10px;
}
.fotobehang-dimension-field .fotobehang-input-wrap {
  position: relative;
}
.fotobehang-dimension-field input {
	width: 100%;
border: 1px solid #ccc !important;
border-radius: 20px;
font-size: 14px;
padding-left: 20px !important;
background-color:#fff !important;
}
.fotobehang-unit {
  position: absolute;
  right: 18px;
  top: 9px;
  font-size: 14px;
  color: #666;
}

/* Example note about m² area */
.fotobehang-area-note {
  
  margin-bottom: 5px;
  color: #555;
  
  padding: 5px 15px;
  border-radius: 10px;
  display: inline-block;
  background-color: #efeae4;
  width: 100%;
  text-align: center;
  font-size: 13px;
}

/* Margin info text */
.fotobehang-margin-info {
  font-size: 13px;
  color: #777;
  margin-bottom: 15px;
}

/* Big main button for "Prijs tonen en aanpassen" */
.fotobehang-main-btn {
	display: inline-block;
background: #ea005f;
color: #fff;
padding: 10px 20px;
border-radius: 4px;
border: none;
cursor: pointer;
font-weight: 600;
font-size: 14px;
text-decoration: none;
width: 100%;
border-radius: 20px !important;
}
.fotobehang-main-btn i {
  margin-right: 8px;
}

/* Features list (shipping, guarantee, etc.) */
.fotobehang-features-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  font-size: 14px;
  color: #444;
}
.fotobehang-features-list li {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}
.fotobehang-features-list li i {
  margin-right: 6px;
  color: #666;
}

/* Base styling for all corner lines */
.corner {
  position: absolute;
  width: 70px;       /* length of the diagonal line */
  height: 0.5px;       /* thickness */
  background: #000;  /* color (black) */
  z-index: 9999;     /* ensure it’s on top */
}

/* Top-left corner: rotate 45°, anchor top-left corner */
.corner-top-left {
	top: -49px;
	left: -49px;
  transform: rotate(45deg);
  transform-origin: 0 0; /* i.e., left top */
  background: #000;
  background: linear-gradient(270deg, rgba(0, 0, 0, 1) 0%, rgba(221, 221, 221, 1) 93%, rgba(255, 255, 255, 1) 100%);
}

/* Top-right corner: rotate -45°, anchor top-right corner */
.corner-top-right {
top: -49px;
right: -49px;
transform: rotate(-45deg);
transform-origin: 100% 0;
background: #000;
background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(221, 221, 221, 1) 93%, rgba(255, 255, 255, 1) 100%);
}

/* Bottom-left corner: rotate -45°, anchor bottom-left corner */
.corner-bottom-left {
  bottom: 0;
  left: 0;
  transform: rotate(-45deg);
  transform-origin: 0 100%; /* i.e., left bottom */
  bottom: -49px;
  left: -49px;
  background: linear-gradient(270deg, rgba(0, 0, 0, 1) 0%, rgba(221, 221, 221, 1) 93%, rgba(255, 255, 255, 1) 100%);
}

/* Bottom-right corner: rotate 45°, anchor bottom-right corner */
.corner-bottom-right {
  bottom: -49px;
  right: -49px;
  transform: rotate(45deg);
  transform-origin: 100% 100%; /* i.e., right bottom */
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(221, 221, 221, 1) 93%, rgba(255, 255, 255, 1) 100%);
}

#close-dim-popup{
border: 1px solid #ddd;
border-radius: 20px;
background-color: #fff;
padding: 5px 15px;
width: 100%;
}

.fotobehang-popup-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 10px; /* controls spacing between buttons */
  }
  
  
/* Container */
.fotobehang-accordion {
position: absolute;
  bottom: 0px;
  right: 0px;
  width: 350px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-top-left-radius: 10px;
  z-index: 999999;
  }
  

  /* Titles */
  .fb-accordion-title {
	width: 100% !important;
	text-align: left !important;
	background: none !important;
	border: none !important;
	outline: none !important;
	font-weight: bold !important;
	cursor: pointer !important;
	padding: 10px 10px !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	  font-size:13px !important
		  margin-bottom:0px !important;
  }
  
  /* Icon */
  .fb-accordion-title .fa-circle-check {
	color:#061
  }
  
  /* Content panels */
  .accordion-content {
	display: none;
	padding: 20px;
	font-size: 0.9rem;
	line-height: 1.3;
	color: #333;
  }


.how-to{
	z-index: 999999999;
	position: absolute;
	background-color: #fff;
	padding: 20px;
	width: 400px;
	margin: auto;
	left: 0;
	right: 0;
	bottom:20px;
}
.how-to button{
	width:400px;
	margin-left:-20px;
	margin-right:-20px;
	position: relative;
	bottom:-20px;
}
.area-span,.total-span{
	box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 10%);
	padding: 5px 15px;
	border-radius: 10px;
	display: inline-block;
	background-color:#fff;
	width:60%;
	text-align: center;
	font-size:13px;
}
.total-span{
	float:right;
	font-weight:bold;
	width:38%;
}
.storefront-handheld-footer-bar{
	display: none !important;
}

.price-box{
	background-color:#efeae4;
	padding:20px;
}


#measurement-info-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10000;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background-color: rgba(0, 0, 0, 0.5);

}

#measurement-info-modal.active {
	display: flex;
}


.wp-modal-inner-ctn {
	background: #fff;
	border-radius: 35px;
	width: 90%;
	height:90%;
	overflow-y: auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	margin: auto;
	top:5%;
	position:relative;
}


.wp-modal-btn-ctn {
	padding: 1rem 1.5rem 0.5rem;
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 1;
	text-align: right;
	border-bottom: 1px solid #eee;
}

.wp-modal-btn-ctn button {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.wp-modal-btn-ctn svg {
	width: 24px;
	height: 24px;
	stroke: #333;
}

.wp-modal-content-ctn {
	padding: 1.5rem;
	width:700px;
	margin:auto;
	text-align: center;
}

.wp-modal-content-ctn h1 {
	font-size: 1.25rem;
	font-weight: bold;
	margin-bottom: 1rem;
}

.wp-modal-content-ctn p {
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

.wp-modal-content-ctn img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto 1rem;
}

.swiper-ctn {
	margin-top: 1rem;
}

.swiper {
	width: 100%;
}

.swiper-slide {
	text-align: center;
	font-size: 14px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 1rem;
}

.text-wp-md {
	font-size: 1rem;
	line-height: 1.6;
	padding:20px;
}
.modalinfotext{
	background-color: #F7F7F7;
	padding: 5px 20px;
	border-radius: 24px;
	
}
.margininfo{
	cursor: pointer;
}
.swiper-button-next,
.swiper-button-prev {
	color: #333;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
	top: 50%;
	transform: translateY(-50%);
}

.swiper-button-next {
	right: 10px;
}

.swiper-button-prev {
	left: 10px;
}

.swiper-pagination-bullet {
	background: #999;
	opacity: 0.7;
}

.swiper-pagination-bullet-active {
	background: #333;
	opacity: 1;
}
.swiper-button-next:after, .swiper-button-prev:after{
	font-size:10px;
}
.fb-accordion-title.active {
  
  background-color: rgba(39, 154, 59, 0.2) !important;
}


@media (max-width: 767px) {
	.wp-modal-inner-ctn {
		border-radius: 20px 20px 0 0;
		height:100%;
	}
}



@media only screen and (max-width: 768px) {
	#fotobehang-popup{
		overflow:hidden;
	}
	.wp-modal-content-ctn {
		width:unset;
		padding:10px;
	}
	.text-wp-md{
		padding:10px;
	}
	.modalinfotext{
		font-size:14px;
	}
	.how-to{
	width:300px;
	}
	.how-to button{
		width:300px;
	}
  #fotobehang-popup {
	padding: 10px;
	max-width: 99%;
	width: 99%;
	height: 99%;
	max-height: 99%;
  }
  .fotobehang-accordion{
	  width:100%;
  }
  .cart-box,.price-box{
	  padding:10px;
  }
  .fb-accordion-title{
	  padding:5px 20px !important;
	  font-size:14px !important;
	  margin-bottom:0px !important
  }
  .fotobehang-popup-footer button {
  padding: 5px 10px;
  width:100%;
	  margin-bottom:0px !important;
  }
  #fotobehang-close-btn {
	position: absolute;
	top: -9px;
	right: -9px;
	z-index: 999999;
	background-color: #fff;
  }
 
  .fotobehang-popup-footer button i {
	margin-right: 1px;
  }
  .fotobehang-popup-footer button{
	  font-size:12px;
  }

  
	.fotobehang-popup-footer {
	  /* switch to grid for an exact 2×2 */
	  display: grid;
	  grid-template-columns: repeat(1, 1fr);
	  grid-gap: 10px;
	  width:100%;
	  
		  padding: 10px;
		  border-top: none;
		  margin-top: 0px; 
		  
		  padding-top: 5px !important;
	  }
	  .fotobehang-popup-footer button {
		width: 100%;
	  }
	}
  

 
}

/* Hide hint everywhere by default (incl. desktop) */
.fb-accordion-title .mobile-hint {
  display: none !important;
}

/* ===== Desktop vs Mobile items ===== */

/* Desktop (>=769px): show everything */
@media (min-width: 769px) {
  .fotobehang-accordion .accordion-item,
  .fotobehang-accordion .fb-accordion-item {
	display: block;
  }
}

/* Mobile (<=768px): only active item visible by default */
@media (max-width: 768px) {
  .fotobehang-accordion .accordion-item,
  .fotobehang-accordion .fb-accordion-item {
	display: none;
  }
  .fotobehang-accordion .accordion-item.is-active,
  .fotobehang-accordion .fb-accordion-item.is-active {
	display: block;
  }
  .fotobehang-accordion.list-open .accordion-item,
  .fotobehang-accordion.list-open .fb-accordion-item {
	display: block;
  }

  /* Mobile hint: show only on active, and only when list is collapsed */
  .fb-accordion-title.active .mobile-hint {
	display: inline !important;
	font-size: 10px !important;
	font-weight: 400;
	color: #555;
	margin-left: 6px;
	vertical-align: middle;
	pointer-events: none;
  }
  .fotobehang-accordion.list-open .fb-accordion-title .mobile-hint {
	display: none !important;
  }
}
