/* 
Theme Name: Deep Blue Sea Holistic
Theme URI: https://deepblueseaholistic.co.uk/
Author: Freelance-Creator
Author URI: https://www.freelance-creator.com/
Template: astra
Version: 1.0.0
*/

/* Astra Header/Footer */
#ast-desktop-header, #ast-mobile-header {
	position: fixed;
	top: 0;
	left: 0;
	padding: 0;
	width: 100%;
	-webkit-transition: all ease-out .5s;
	-moz-transition: all ease-out .5s;
	-o-transition: all ease-out .5s;
	transition: all ease-out .5s;
}

#ast-desktop-header.active, #ast-mobile-header.active {
	background-color: rgba(255, 255, 255, 0.8)!important;
	box-shadow: 5px 3px 20px 0 rgba(0, 0, 0, .1);
	padding: 0;
}

#ast-desktop-header.active img.custom-logo, #ast-mobile-header.active img.custom-logo {
	width: 160px!important;
	-webkit-transition: all ease-out .5s;
	-moz-transition: all ease-out .5s;
	-o-transition: all ease-out .5s;
	transition: all ease-out .5s;
}

/* Content */
.blog #content, .error404 #content {
	margin-top: 100px;
}

.woocommerce-page #content {
	margin-top: 40px;
}

@media (max-width: 544px) {
	.blog #content, .error404 #content {
		margin-top: 60px;
	}
}

/* Testimonials */
.wp-block-quote.testimonial {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 40px 0;
	background: linear-gradient(135deg, #FFFFFF 0%, #FDF2F8 100%);
	border: none;
	border-left: 8px solid #E777AF!important;
	padding: 44px 40px 32px 64px;
	box-shadow: 0 6px 24px rgba(1, 63, 135, 0.08);
}

.wp-block-quote.testimonial::before {
	content: "\201C";
	position: absolute;
	top: 4px;
	left: 22px;
	font-family: Georgia, serif;
	font-size: 80px;
	line-height: 1;
	color: #E777AF;
	opacity: 0.9;
}

.wp-block-quote.testimonial p {
	font-size: 18px;
	line-height: 1.7;
	color: #243673;
	font-style: italic;
	margin: 0 0 20px 0;
}

.wp-block-quote.testimonial p.testimonial-name {
	display: flex;
	align-items: center;
	font-style: normal;
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #013F87;
	margin: 0;
}

.wp-block-quote.testimonial p.testimonial-name::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 3px;
	background: #E777AF;
	margin-right: 12px;
}

.wp-block-quote.testimonial.alt {
	background: linear-gradient(135deg, #FFFFFF 0%, #EAF9FC 100%);
	border-left: 8px solid #8CD5E3!important;
}

.wp-block-quote.testimonial.alt::before {
	color: #8CD5E3;
}

.wp-block-quote.testimonial.alt p.testimonial-name::before {
	background: #8CD5E3;
}

@media (max-width: 600px) {
	.wp-block-quote.testimonial {
		padding: 36px 24px 26px 48px;
	}
	
		.wp-block-quote.testimonial::before {
		font-size: 56px;
		left: 14px;
	}
	
		.wp-block-quote.testimonial p {
		font-size: 16px;
	}
}

/* Single Product */
body.single-product {
	--dbs-navy: #013f87;
	--dbs-aqua: #8cd5e3;
	--dbs-pink: #e777af;
	--dbs-text: #4b4b58;
}

body.single-product div.product {
	color: var(--dbs-text);
	animation: dbsFadeUp .8s ease both;
}

@keyframes dbsFadeUp {
	from { opacity: 0; transform: translateY(24px); }
	to	 { opacity: 1; transform: none; }
}

/* Summary card */
body.single-product div.product .summary {
	border: 1px solid rgba(140,213,227,.6);
	border-top: 5px solid var(--dbs-aqua);
	padding: 40px;
}

/* Category tag */
body.single-product .single-product-category a {
	display: inline-block;
	border: 1px solid var(--dbs-aqua);
	color: var(--dbs-navy);
	padding: 5px 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 12px;
	transition: border-color .25s, color .25s;
}

body.single-product .single-product-category a:hover {
	border-color: var(--dbs-pink);
	color: var(--dbs-pink);
}

/* Title */
body.single-product div.product .product_title {
	color: var(--dbs-navy);
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.2;
	margin-bottom: 16px;
}

/* Price */
body.single-product div.product p.price,
body.single-product div.product p.price .amount {
	color: var(--dbs-pink);
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 20px;
}

/* Investment box */
body.single-product .woocommerce-product-details__short-description {
	border-left: 4px solid var(--dbs-pink);
	padding: 4px 0 4px 20px;
	margin-bottom: 28px;
}

body.single-product .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

body.single-product .woocommerce-product-details__short-description strong {
	color: var(--dbs-navy);
}

/* Hide quantity and duplicate category meta */
body.single-product div.product form.cart .quantity,
body.single-product div.product .product_meta {
	display: none;
}

@media (max-width: 921px) {
	body.single-product div.product .woocommerce-product-gallery {
		margin-bottom: 30px;
	}
	body.single-product div.product .summary {
		padding: 28px 22px;
	}
}

/* MailChimp Form */
.dbs-newsletter #mc_embed_signup {
	background: transparent;
	width: 100%;
	font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.dbs-newsletter form {
	margin: 0;
}

/* Rows */
.dbs-newsletter .dbs-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}

.dbs-newsletter .dbs-half {
	flex: 1 1 calc(50% - 10px);
	min-width: 0;
}

.dbs-newsletter .dbs-full {
	flex: 1 1 100%;
}

/* Visually hidden labels (still read by screen readers) */
.dbs-newsletter .dbs-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Inputs */
.dbs-newsletter input[type="text"],
.dbs-newsletter input[type="email"] {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 12px;
	background: #fafafa;
	border: 1px solid #d5d5d5;
	border-radius: 3px;
	box-shadow: none;
	color: #333;
	font-family: inherit;
	font-size: 16px;
	line-height: 48px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dbs-newsletter input::placeholder {
	color: #666;
	opacity: 1;
}

.dbs-newsletter input[type="text"]:focus,
.dbs-newsletter input[type="email"]:focus {
	outline: none;
	border-color: #003a80;
	box-shadow: 0 0 0 2px rgba(0, 58, 128, 0.2);
}

/* Submit button */
.dbs-newsletter .dbs-submit {
	margin: 0;
}

.dbs-newsletter #mc-embedded-subscribe {
	display: inline-block;
	min-width: 127px;
	height: 42px;
	padding: 0 32px;
	margin: 0;
	background-color: #003a80;
	border: none;
	border-radius: 999px;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	line-height: 42px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.dbs-newsletter #mc-embedded-subscribe:hover,
.dbs-newsletter #mc-embedded-subscribe:focus {
	background-color: #8cd5e3;
}

/* Mailchimp validation + response messages */
.dbs-newsletter div.mce_inline_error {
	display: block;
	margin-top: 6px;
	padding: 0 !important;
	background: none !important;
	color: #fff !important;
	font-size: 14px;
	font-weight: 500 !important;
}

.dbs-newsletter input.mce_inline_error {
	background: #fafafa !important;
	border-color: #c0392b !important;
	padding: 0 12px !important;
}

.dbs-newsletter #mce-responses .response {
	margin: 0 0 20px;
	padding: 10px 14px;
	border-radius: 3px;
	font-size: 15px;
	color: #fff;
}

.dbs-newsletter #mce-error-response {
	background: rgba(192, 57, 43, 0.85);
}

.dbs-newsletter #mce-success-response {
	background: rgba(0, 58, 128, 0.85);
}

/* Mobile: stack the name fields */
@media (max-width: 600px) {
	.dbs-newsletter .dbs-half {
		flex-basis: 100%;
	}
}