/*
Theme Name: Flower Shop Child
Theme URI: http://cmsmasters.net/flower-shop-child/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: Flower Shop Child Theme
Template: flower-shop
Version: 1.0.0
License:
License URI:
Text Domain: flower-shop-child
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* The demo slides ship with an empty font-family, which falls back to Times. */
sr7-module .sr7-layer {
	font-family: 'Josefin Sans', Arial, Helvetica, sans-serif !important;
}

sr7-module h1.sr7-layer,
sr7-module h2.sr7-layer,
sr7-module h3.sr7-layer {
	font-family: 'Petit Formal Script', Georgia, serif !important;
}

/* The theme's table borders leak into the WooCommerce cart block. */
.wc-block-cart table.wc-block-cart-items,
.wc-block-cart table.wc-block-cart-items th,
.wc-block-cart table.wc-block-cart-items td {
	border: 0 !important;
}

/*
 * Hero with a background video: a Composer row with the class `pf-hero`.
 * The video comes from inc/hero-video.php. The text is a normal Composer text block,
 * so the client edits it like any other text and these styles keep it in shape.
 */
.cmsmasters_row.pf-hero {
	position: relative;
	overflow: hidden;
	background-color: #3a3735;
}

.pf-hero .cmsmasters_row_outer_parent {
	position: relative;
	z-index: 1;
}

.pf-hero__media {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

/* Darkens the left side so white text stays readable on the light video. */
.pf-hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(24, 21, 20, 0.58) 0%, rgba(24, 21, 20, 0.32) 42%, rgba(24, 21, 20, 0) 72%);
}

.pf-hero__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#page .pf-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-height: clamp(460px, 78vh, 820px);
	padding: 60px 7vw;
	box-sizing: border-box;
}

#page .pf-hero__content > * {
	margin: 0;
}

#page .pf-hero .pf-hero__title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 500;
	font-style: normal;
	font-size: clamp(40px, 6.2vw, 92px);
	line-height: 1.05;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff;
}

#page .pf-hero .pf-hero__subtitle {
	margin-top: 0.9em;
	font-family: 'Josefin Sans', Arial, sans-serif;
	font-weight: 400;
	font-size: clamp(13px, 1.35vw, 19px);
	line-height: 1.5;
	letter-spacing: 0.55em;
	text-transform: uppercase;
	color: #fff;
}

#page .pf-hero .pf-hero__actions {
	margin-top: clamp(28px, 4vw, 52px);
}

#page .pf-hero a.pf-hero__button {
	display: inline-block;
	padding: 18px 38px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	font-family: 'Josefin Sans', Arial, sans-serif;
	font-weight: 600;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	background: transparent;
	transition: background-color 0.25s ease, color 0.25s ease;
}

#page .pf-hero a.pf-hero__button:hover,
#page .pf-hero a.pf-hero__button:focus-visible {
	background: #fff;
	color: #211f1f;
}

@media (max-width: 767px) {
	#page .pf-hero__content {
		min-height: clamp(420px, 72vh, 640px);
		padding: 48px 24px;
	}

	#page .pf-hero .pf-hero__subtitle {
		letter-spacing: 0.35em;
	}

	.pf-hero__media::after {
		background: linear-gradient(90deg, rgba(24, 21, 20, 0.55) 0%, rgba(24, 21, 20, 0.35) 70%, rgba(24, 21, 20, 0.2) 100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.pf-hero__video {
		display: none;
	}

	#page .pf-hero a.pf-hero__button {
		transition: none;
	}
}
