/* Jawlinster Conversion Kit - Frontend */

.jlck-rating{
	display:flex; gap:10px; align-items:center;
	margin: 6px 0 10px;
	font-size: 14px;
}
.jlck-stars{
	font-weight:700;
}
.jlck-rating-text{
	opacity:.9;
}

.jlck-trustbar{
	display:grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap:8px;
	margin: 10px 0 14px;
	padding: 10px;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 12px;
}
.jlck-trustitem{display:flex; gap:8px; align-items:center; font-size: 13px;}
.jlck-icon{min-width: 20px; text-align:center;}

.jlck-bundles{
	margin: 10px 0 14px;
	padding: 12px;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 12px;
}
.jlck-bundles-title{
	font-weight: 700;
	margin-bottom: 8px;
}
.jlck-bundle{
	display:flex; align-items:center; justify-content:space-between;
	gap:12px;
	padding: 10px;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 12px;
	margin-bottom: 8px;
	cursor:pointer;
}
.jlck-bundle:last-child{margin-bottom:0;}
.jlck-bundle input{margin-right:10px;}
.jlck-bundle-label{font-weight: 600;}
.jlck-badge{
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 999px;
	border: 1px solid rgba(0,0,0,.12);
}

.jlck-guarantee{
	margin-top: 12px;
	padding: 12px;
	border: 1px dashed rgba(0,0,0,.18);
	border-radius: 12px;
}
.jlck-guarantee-title{font-weight:700; margin-bottom:6px;}

.jlck-faq{
	margin-top: 24px;
	padding-top: 14px;
	border-top: 1px solid rgba(0,0,0,.08);
}
.jlck-faq-title{
	font-size: 20px;
	margin: 0 0 12px;
}
.jlck-acc-item{border: 1px solid rgba(0,0,0,.08); border-radius: 12px; margin-bottom: 10px; overflow:hidden;}
.jlck-acc-q{
	width:100%;
	text-align:left;
	padding: 12px 14px;
	background: transparent;
	border: 0;
	font-weight: 700;
	cursor: pointer;
}
.jlck-acc-a{
	padding: 0 14px 12px;
	line-height: 1.5;
	opacity: .95;
}

.jlck-sticky{
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 99999;
	transform: translateY(110%);
	transition: transform .25s ease;
	background: #fff;
	border-top: 1px solid rgba(0,0,0,.12);
	padding: 10px 12px;
}
.jlck-sticky.is-visible{transform: translateY(0);}
.jlck-sticky-inner{
	display:flex; align-items:center; justify-content:space-between; gap:12px;
	max-width: 1100px;
	margin: 0 auto;
}
.jlck-sticky-price{font-weight: 800;}
.jlck-sticky-note{font-size: 12px; opacity: .85; margin-top: 2px;}
.jlck-sticky-btn{
	padding: 10px 14px;
	border-radius: 12px;
	border: 0;
	cursor:pointer;
	font-weight: 800;
}

/* Offer shortcode */
.jlck-offer{padding: 16px; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; max-width: 520px;}
.jlck-offer-title{margin:0 0 6px;}
.jlck-offer-price{margin: 0 0 10px; font-weight:800;}
.jlck-offer-btn{display:inline-block;}

@media (min-width: 769px){
	/* sticky bar only on mobile/tablet */
	.jlck-sticky{display:none;}
}


/* Home sales section */
.jlck-home{
	margin: 18px 0 24px;
	padding: 16px;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 18px;
}
.jlck-home-inner{
	display:grid;
	grid-template-columns: 1fr;
	gap: 14px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: start;
}
.jlck-home-media img{
	width: 100%;
	height: auto;
	border-radius: 16px;
	display:block;
}
.jlck-home-title{
	font-size: 28px;
	line-height: 1.15;
	margin: 0 0 8px;
}
.jlck-home-price{
	font-weight: 900;
	font-size: 20px;
	margin: 4px 0 10px;
}
.jlck-home-sub{
	margin: 0 0 10px;
	opacity: .92;
	line-height: 1.5;
}
.jlck-home-bullets{
	list-style:none;
	padding:0;
	margin: 0 0 12px;
	display:grid;
	grid-template-columns: 1fr;
	gap: 8px;
}
.jlck-home-bullets li{
	display:flex;
	gap: 8px;
	align-items:flex-start;
}
.jlck-home-cta{
	display:flex;
	flex-wrap:wrap;
	gap: 10px;
	align-items:center;
	margin-top: 10px;
}
.jlck-home-btn{
	border-radius: 12px;
	font-weight: 800;
}
.jlck-home-cta-note{
	font-size: 12px;
	opacity: .85;
}

@media (min-width: 900px){
	.jlck-home-inner{ grid-template-columns: 0.95fr 1.05fr; gap: 18px; }
	.jlck-home-title{ font-size: 34px; }
	.jlck-home-bullets{ grid-template-columns: 1fr 1fr; }
}


/* Home media clickable */
.jlck-home-media-link{display:block; cursor:pointer; text-decoration:none;}

/* Quantity buttons */
.quantity[data-jlck-qty="1"]{
	display:flex;
	align-items:center;
	gap:6px;
}
.quantity[data-jlck-qty="1"] input.qty{
	width: 64px;
	text-align:center;
}
.jlck-qty-btn{
	width: 36px;
	height: 36px;
	border-radius: 12px;
	border: 1px solid rgba(0,0,0,.12);
	background: transparent;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
@media (max-width: 420px){
	.jlck-qty-btn{width: 32px; height: 32px; border-radius: 10px;}
	.quantity[data-jlck-qty="1"] input.qty{width: 56px;}
}

/* Mobile: bundles look too big -> shrink */
@media (max-width: 520px){
	.jlck-bundles{padding: 10px;}
	.jlck-bundle{padding: 8px; border-radius: 12px; gap:10px;}
	.jlck-bundle input{transform: scale(0.95);}
	.jlck-bundle-label{font-size: 13px;}
	.jlck-badge{font-size: 11px; padding: 3px 7px;}
	.jlck-guarantee{padding: 10px; border-radius: 12px;}
	.jlck-rating{font-size: 13px;}
	.jlck-trustbar{padding: 8px; border-radius: 12px; gap:6px;}
	.jlck-trustitem{font-size: 12px;}
}



/* Extra mobile tweaks (product page blocks) */
@media (max-width: 520px){
	.jlck-bundles,
	.jlck-guarantee{
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.jlck-bundles-title{font-size: 13px;}
	.jlck-guarantee-title{font-size: 14px;}
	.jlck-guarantee-text{font-size: 13px; line-height: 1.45;}
	.jlck-sticky{padding: 8px 10px;}
	.jlck-sticky-btn{padding: 9px 12px; border-radius: 12px; font-size: 14px;}
	.jlck-sticky-price{font-size: 14px;}
}



/* Mobile compact mode for product blocks */
@media (max-width: 520px){
	/* Force our blocks to behave nicely inside theme layouts */
	.woocommerce div.product .summary .jlck-trustbar,
	.woocommerce div.product .summary .jlck-bundles,
	.woocommerce div.product .summary .jlck-guarantee{
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}

	.jlck-trustbar{grid-template-columns: 1fr; padding: 8px; gap:6px; margin: 8px 0 10px;}
	.jlck-trustitem{font-size: 12px;}

	.jlck-bundles{padding: 8px; margin: 8px 0 10px;}
	.jlck-bundles-title{font-size: 13px; margin-bottom:6px;}
	.jlck-bundle{padding: 8px 10px; gap:10px; margin-bottom:6px;}
	.jlck-bundle-label{font-size: 13px; font-weight:700;}
	.jlck-badge{font-size: 11px; padding: 3px 7px;}

	.jlck-guarantee{padding: 10px; margin-top:10px;}
	.jlck-guarantee-title{font-size: 14px;}
	.jlck-guarantee-text{font-size: 13px; line-height:1.45;}
}

/* Quantity stepper - clearer buttons */
.quantity[data-jlck-qty="1"]{
	display:inline-flex;
	align-items:center;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 14px;
	overflow:hidden;
	gap:0;
}
.quantity[data-jlck-qty="1"] .jlck-qty-btn{
	width: 42px;
	height: 42px;
	border: 0;
	border-right: 1px solid rgba(0,0,0,.08);
	background: rgba(0,0,0,.03);
	color: rgba(0,0,0,.9);
	font-weight: 900;
	font-size: 20px;
	line-height: 1;
	display:flex;
	align-items:center;
	justify-content:center;
}
.quantity[data-jlck-qty="1"] .jlck-qty-plus{
	border-right: 0;
	border-left: 1px solid rgba(0,0,0,.08);
}
.quantity[data-jlck-qty="1"] input.qty{
	border: 0 !important;
	width: 58px;
	min-width: 58px;
	height: 42px;
	padding: 0;
	margin: 0;
	text-align:center;
	background: transparent;
	font-weight: 800;
}
@media (max-width: 420px){
	.quantity[data-jlck-qty="1"] .jlck-qty-btn{width: 38px; height: 38px; font-size: 18px;}
	.quantity[data-jlck-qty="1"] input.qty{width: 52px; min-width: 52px; height: 38px;}
}



/* Mobile: make cart form look clean (avoid side-by-side mess) */
@media (max-width: 520px){
	.woocommerce div.product .summary form.cart{
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 10px !important;
	}
	.woocommerce div.product .summary form.cart .quantity{
		width: 100% !important;
		justify-content: center !important;
	}
	.woocommerce div.product .summary form.cart .single_add_to_cart_button,
	.woocommerce div.product .summary form.cart button.single_add_to_cart_button{
		width: 100% !important;
		min-height: 48px;
		border-radius: 14px;
	}
	/* Guarantee box should never sit beside the button */
	.woocommerce div.product .summary .jlck-guarantee{
		clear: both !important;
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-top: 10px !important;
	}
}



/* VAT row visibility */
.jlck-vat-row th{font-weight:700;}
.jlck-vat-row td{text-align:right;}



/* Hide "Gönderim" (WooCommerce shipping method/destination) block in cart totals */
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals,
body.woocommerce-cart .cart_totals tr.shipping,
body.woocommerce-cart .cart_totals .woocommerce-shipping-totals,
body.woocommerce-cart .cart_totals .woocommerce-shipping-calculator,
body.woocommerce-cart .cart_totals .shipping-calculator-form,
body.woocommerce-cart .cart_totals #shipping_method,
body.woocommerce-cart .cart_totals .shipping-calculator-button{
	display:none !important;
}



/* Hide JLCK guarantee box (requested) */
.woocommerce div.product .summary .jlck-guarantee{display:none !important;}



@media (max-width: 520px){
	.jlck-multibuy-banner{padding: 9px 10px; border-radius: 12px;}
	.jlck-multibuy-title{font-size: 13px;}
	.jlck-multibuy-text{font-size: 12.5px;}
}



/* Hide theme free shipping badge if class includes it */
[class*="free-shipping"], [class*="FreeShipping"], [class*="free_shipping"]{display:none !important;}



/* Force-hide Memnuniyet Garantisi box (requested) */
.jlck-guarantee,
.jlck-guarantee-box,
[class*="guarantee"],
[class*="Guarantee"]{
	display:none !important;
}



/* Promo Top Bar */
body.jlck-topbar-on{padding-top: 38px;}
.jlck-topbar{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	background: rgba(0,0,0,.86);
	color: #fff;
	font-size: 13px;
	line-height: 1.25;
	padding: 8px 12px;
	text-align: center;
}
.jlck-topbar-inner{max-width: 1100px; margin: 0 auto;}
.jlck-topbar-title{font-weight: 900; margin-right: 6px;}
.jlck-topbar-text{font-weight: 700; opacity: .96;}

@media (max-width: 520px){
	body.jlck-topbar-on{padding-top: 44px;}
	.jlck-topbar{font-size: 12.5px; padding: 9px 10px;}
}

/* Product promo note (under price) */
.jlck-promo-note{
	margin: 8px 0 10px;
	padding: 8px 10px;
	border: 1px dashed rgba(0,0,0,.22);
	border-radius: 12px;
	font-size: 13px;
	line-height: 1.3;
}
.jlck-promo-note-title{font-weight: 900;}
.jlck-promo-note-text{font-weight: 700; opacity:.92;}
@media (max-width: 520px){
	.jlck-promo-note{font-size: 12.5px;}
}



/* Topbar text-only tweak */
.jlck-topbar-text{display:inline-block;}



/* v1.4.8 promo layout (text-only, spaced) */
.jlck-topbar-inner{
	display:flex;
	justify-content:center;
	align-items:center;
	gap: 18px;
	flex-wrap: wrap;
}
.jlck-topbar-item{
	font-weight: 800;
	white-space: nowrap;
}

.jlck-promo-note{
	margin: 8px 0 10px;
	padding: 0;
	border: 0;
	background: transparent;
	display:flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items:center;
	font-size: 13px;
	line-height: 1.25;
}
.jlck-promo-note-item{
	font-weight: 800;
	white-space: nowrap;
}

@media (max-width: 520px){
	.jlck-topbar-inner{gap: 10px;}
	.jlck-topbar-item{font-size: 12.5px;}
	.jlck-promo-note{gap: 10px; font-size: 12.5px;}
}

