/**
* Theme Name: Cosmetsy Child
* Description: This is a child theme of Cosmetsy, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>
* Template: cosmetsy
* Version: 2.0.4
*/

.site-header--content .container > .row {
    height: 80px;
}
span.badge.hot {
    display: none;
}
div#tab-description ul li {
    font-size: .9em;
    line-height: 1.6em;
}
.product-single .product-details .woocommerce-product-details__short-description{
font-weight: 600 !important;
      background: #ffffff26;
    backdrop-filter: blur(16px);
    padding: 10px 10px 1px 10px !important;
    border-radius: 6px !important;
    color: #000000 !important;
        border: none;
box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}
.woocommerce-product-details__short-description p {
    font-size: .9em;
    line-height: 1.6em;
}
.product-single .product-details .cart {
    margin-top: 1.1875rem;
}

div#reviews {
    padding: 15px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 10px;
    margin-top: 20px;
}
.woocommerce-tabs.wc-tabs-wrapper {
    background: #f8f9fa78;
    padding: 15px 10px;
    border-radius: 12px;
    margin-top: 10px !important;box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}
span.ingredients-labels {
    font-weight: 600;
    font-size: .9em;
}
.woocommerce-tabs ul.tabs.wc-tabs li.active a {
    font-weight: 800 !important;
}

.product-single .product-details .woocommerce-product-rating {
    display: flex;
}
.product-single .product-details .woocommerce-product-rating .woocommerce-review-link {
    font-size: 0.85rem;
    color: currentColor;
    font-weight: 700;margin-left: 10px;
}

.product_title.entry-title {
    font-size: 1.5em !important;
    font-weight: 600;
}

button.single_add_to_cart_button.button.alt {
    background: #fff;
    border: 1px solid #e5464c;
    color: #e5464c;font-size: .78em;
}
button.single_add_to_cart_button.button.alt:hover {
    background: linear-gradient(100deg, #fc745d 0%, #dc3545 100%);
    border: 1px solid #e5464c;
    color: #ffffff;font-size: .78em;
}
button#buynow {
    color: #ffffff;
    border: 1px solid #e5464c;
        background: linear-gradient(100deg, #fc745d 0%, #dc3545 100%);
}
button#buynow:hover {
    color: #e5464c;
    border: 1px solid #e5464c !important;background: #ffffff;}
    
.active-ingredients-wrapper{
    margin-top: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.tax-title p {
    font-size: 0.7em;
    margin-bottom: 6px;
    font-style: italic;
}

.ingredients-label{
    font-size: 14px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ingredients-value{
    position: relative;
    display: inline-block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    background: linear-gradient(115deg, #F44336, #7928ca, #FF9800, #E91E63, #FF9800);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: auroraFlow 8s ease infinite;
}
p.you-save-amount {
    margin-bottom: 0px;
    color: #008000;
    background: rgba(40, 167, 69, 0.25);
    max-width: fit-content;
    padding: 0px 10px;
    border-radius: 12px;
}

@keyframes auroraFlow {

    0%{
        background-position: 0% 50%;
    }

    25%{
        background-position: 50% 100%;
    }

    50%{
        background-position: 100% 50%;
    }

    75%{
        background-position: 50% 0%;
    }

    100%{
        background-position: 0% 50%;
    }
}

.save-percent {
    display: inline-block;
    margin-bottom: 15px;
    margin-left: 14px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
        background: linear-gradient(120deg, #fc745d 0%, #dc3545 100%);
    padding: 2px 7px;
}
.product-single .product-details .product-price-wrapper .price del {
    font-size: 60% !important;
}
.bouncy-text-wrapper{
    margin-top: 8px;
}

.bouncy-text{
    display: inline-block;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1.5;

   background: linear-gradient(115deg, #F44336, #7928ca, #E91E63, #FFC107, #ff0080);

    background-size: 400% 400%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
    color: transparent;

    animation: auroraFlow 8s ease infinite;
}

@keyframes auroraFlow{

    0%{
        background-position: 0% 50%;
    }

    25%{
        background-position: 50% 100%;
    }

    50%{
        background-position: 100% 50%;
    }

    75%{
        background-position: 50% 0%;
    }

    100%{
        background-position: 0% 50%;
    }
}

span.woocommerce-Price-amount.amount {
    font-weight: bold !important;
}
.product-single .product-details .product-price-wrapper {
    margin-top: 0.5625rem !important;
}
.product-single .product-details .product_meta {
    display: none !important;
}
span.crvw__bar-fill {
    background: #FFDE21 !important;
}
#reviews.crvw .crvw__section-title {
    font-size: 1.7rem !important;
    color: #ef4626 !important;
padding-top:20px;
}
#reviews.crvw .crvw__star--on polygon {
    fill: #ffde21 !important;
}
#reviews.crvw .crvw__cta-s--on polygon {
    fill: #ffde21;
    stroke: #ffde21 !important;
}

	.coupon-banner-wrap {
		display: flex;
		flex-direction: row;        /* always horizontal */
		align-items: stretch;
		border-radius: 14px;
		overflow: hidden;
		box-shadow: 0 6px 32px rgba(30, 90, 200, 0.18);
		width: 100%;
		max-width: 640px;
		font-family: 'Barlow', sans-serif;
		background: #fff;
		margin: 12px 0 18px 0;
		box-sizing: border-box;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
	}

	.coupon-banner-left {
		flex: 1;
		min-width: 0;               /* prevents text overflow pushing layout */
		background: linear-gradient(120deg, #fc745d 0%, #dc3545 100%);
		padding: 5px 28px 5px 16px;
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 4px;
		box-sizing: border-box;
	}

	.coupon-banner-left::after {
		content: '';
		position: absolute;
		right: -18px;
		top: 0;
		bottom: 0;
		width: 36px;
		background: linear-gradient(131deg, #fc745d 0%, #dc3545 100%);
		clip-path: ellipse(50% 100% at 0% 50%);
		z-index: 1;
	}

	.coupon-badge {
		display: inline-block;
		background: #f8f9fa;
		color: #dc3545;
		font-size: 6px;
		font-weight: 700;
		letter-spacing: 0.10em;
		text-transform: uppercase;
		padding: 3px 8px;
		border-radius: 20px;
		width: fit-content;
		margin-bottom: 5px;
		white-space: nowrap;
	}

	.coupon-discount {
		font-family: 'Barlow Condensed', sans-serif;
		font-size: 20px;
		font-weight: 800;
		color: #fff;
		line-height: 1.1;
		letter-spacing: 0.01em;
		margin: 0;
		white-space: nowrap;
	}

	.coupon-desc {
		font-size: 12px;
		font-weight: 400;
		color: rgba(255,255,255,0.88);
		margin: 0;
		margin-top: 2px;
		white-space: nowrap;
	}

	.coupon-banner-right {
		background: #fff;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 10px 16px 10px 28px;
		min-width: 120px;           /* slightly smaller on mobile but stays visible */
		flex-shrink: 0;             /* never shrinks away */
		position: relative;
		z-index: 2;
		box-sizing: border-box;
	}

	.coupon-label {
		font-size: 9px;
		font-weight: 700;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: #fc745d;
		margin-bottom: 6px;
		white-space: nowrap;
	}

	.coupon-code-box {
		border: 2.5px dashed #dc3545;
		border-radius: 7px;
		padding: 6px 12px;
		cursor: pointer;
		transition: background 0.18s, transform 0.15s;
		position: relative;
	}

	.coupon-code-box:hover {
		background: #fff0ee;
		transform: scale(1.04);
	}

	.coupon-code-box:active {
		transform: scale(0.98);
	}

	.coupon-code-text {
		font-family: 'Barlow Condensed', sans-serif;
		font-size: 15px;
		font-weight: 800;
		color: #ef4626;
		letter-spacing: 0.08em;
		display: block;
		text-align: center;
		white-space: nowrap;
	}

	.coupon-copy-hint {
		font-size: 9px;
		color: #90a4ae;
		margin-top: 4px;
		text-align: center;
		letter-spacing: 0.04em;
		white-space: nowrap;
	}

	.coupon-copied-msg {
		display: none;
		position: absolute;
		top: -28px;
		left: 50%;
		transform: translateX(-50%);
		background: #dc3545;
		color: #fff;
		font-size: 11px;
		font-weight: 600;
		padding: 3px 10px;
		border-radius: 20px;
		white-space: nowrap;
		pointer-events: none;
	}

#fb-section .fb-wrap { display:grid; grid-template-columns:1fr 1fr; gap:12px; width:100%; max-width:700px; margin:8px auto; padding:2px; box-sizing:border-box; }
#fb-section .fb-card { display:flex; align-items:center; gap:10px; background:#fff; border:1.5px solid #ef462680; border-radius:12px; padding:8px 8px; box-sizing:border-box; min-width:0; overflow:hidden; box-shadow:0 2px 8px rgba(45,130,232,0.08); }
#fb-section .fb-icon { flex-shrink:0; width:38px; height:26px; min-width:38px;     background: linear-gradient(120deg, #fc745d 0%, #dc3545 100%); border-radius:9px; display:flex; align-items:center; justify-content:center; }
#fb-section .fb-icon svg { display:block; width:18px; height:20px; }
#fb-section .fb-label { font-size:clamp(11px,1.6vw,13px); font-family: 'Crimson Text';text-transform: uppercase;font-weight:700; color:#1a2b4a; line-height:1.25; margin:0; padding:0; word-break:break-word; min-width:0; }
@media(max-width:600px){ #fb-section .fb-wrap{gap:10px;padding:0px;} #fb-section .fb-card{padding:6px 11px;gap:8px;} #fb-section .fb-icon{width:32px;height:32px;min-width:32px;} #fb-section .fb-icon svg{width:16px;height:16px;} }

	/* ── Small screens: stay horizontal, just tighten spacing ── */
	@media (max-width: 480px) {
		.coupon-banner-wrap {
			flex-direction: row;    /* keep side-by-side */
			border-radius: 10px;
		}

		.coupon-banner-left {
			padding: 10px 28px 10px 12px;
			gap: 3px;
		}

		.coupon-badge {
			font-size: 9px;
			padding: 2px 7px;
			margin-bottom: 3px;
		}

		.coupon-discount {
			font-size: 16px;
		}

		.coupon-desc {
			font-size: 10px;
		}

		.coupon-banner-right {
			padding: 10px 12px 10px 24px;
			min-width: 100px;
		}

		.coupon-label {
			font-size: 8px;
			margin-bottom: 5px;
		}

		.coupon-code-text {
			font-size: 13px;
		}

		.coupon-copy-hint {
			font-size: 8px;
		}
	}
	
	
	#sc-wrap {
    width: 100%;
    box-sizing: border-box;
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}
#sc-wrap .sc-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}
#sc-wrap .sc-title-line {
    flex: 1;
    height: 1px;
    background: #d0d0d0;
    max-width: 60px;
}
#sc-wrap .sc-title-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #555;
    text-transform: uppercase;
    white-space: nowrap;
}
#sc-wrap .sc-image {
    width: 100%;
    max-width: 375px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}
@media (max-width: 480px) {
    #sc-wrap { padding: 12px 10px; }
    #sc-wrap .sc-title-text { font-size: 10px; letter-spacing: 0.08em; }
}

	/* ── Very small screens (< 340px) ── */
	@media (max-width: 340px) {
		.coupon-discount {
			font-size: 14px;
		}

		.coupon-desc {
			font-size: 9px;
		}

		.coupon-banner-right {
			min-width: 88px;
			padding: 8px 8px 8px 20px;
		}

		.coupon-code-text {
			font-size: 12px;
			letter-spacing: 0.04em;
		}
	}


@media screen and (min-width: 62rem) {
    .site-footer .footer-widgets .site-footer--wrapper {
        padding: 2.5rem 0 !important;
    }
}

/*a++ images*/


.acf-stack-section {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
    box-sizing: border-box;
}

.acf-stack-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    box-sizing: border-box;
}

.acf-stack-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

.acf-stack-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

/* Large Screens */
@media screen and (max-width: 1200px) {
    .acf-stack-wrapper {
        gap: 35px;
    }
}

/* Tablets */
@media screen and (max-width: 992px) {
    .acf-stack-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .acf-stack-wrapper {
        gap: 30px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .acf-stack-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .acf-stack-wrapper {
        gap: 25px;
    }

    .acf-stack-image {
        width: 100%;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .acf-stack-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .acf-stack-wrapper {
        gap: 20px;
    }
}




/*tabs scroll*/

@media (max-width: 768px) {
  .woocommerce-tabs.wc-tabs-wrapper,
  .wc-tabs-wrapper,
  .woocommerce-tabs-wrapper {
    overflow: visible !important;
  }

  .wc-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    white-space: nowrap !important;
    padding-bottom: 2px;
  }

  .wc-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .wc-tabs li {
    flex-shrink: 0 !important;
    display: inline-block !important;
  }

  .wc-tabs li a {
    white-space: nowrap !important;
  }
}


/*product page mobile view*/

@media (max-width: 768px) {
.product-single--columns {
     gap: 0.375rem !important;
}
.product-template-default .woocommerce-breadcrumb{display:none !important;}
ul.a-unordered-list.a-vertical.a-spacing-mini {
    padding-inline-start: 18px;}
span.a-list-item {
    font-size: .9em;}


}

/*add to cart to quantity*/

.single-product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.single-product form.cart .quantity {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

.single-product form.cart .single_add_to_cart_button {
    flex: 1 !important;
    height: 42px !important;
    margin: 0 !important;
    width: auto !important;
    white-space: nowrap !important;
}

.single-product form.cart .buy_now_button,
.single-product form.cart .buynow,
.single-product form.cart .button.buy-now {
    flex: 0 0 100% !important;
    width: 100% !important;
    
}


@media (max-width: 64rem) {
.single-product form.cart .single_add_to_cart_button {
    height: 31px !important;
}
    .quantity .plus::before {
    top: 11px !important;
}
.quantity input.qty {
    height: 1.875rem;
}
}