/*
Theme Name:   Yellow Owls
Theme URI:    https://www.yellowowls.com
Description:  Child theme for Storefront. Dark storefront for selling sound effects, LUTs and transitions, with audio players, before/after LUT sliders and transition previews.
Author:       Yellow Owls
Template:     storefront
Version:      2.5.1
Text Domain:  fluvotv
*/

:root {
	--fl-bg: #0B0D17;
	--fl-bg-2: #121526;
	--fl-card: #171B30;
	--fl-line: rgba(255, 255, 255, .08);
	--fl-text: #F5F7FF;
	--fl-muted: #9AA0B8;
	--fl-cyan: #22D3EE;
	--fl-violet: #8B5CF6;
	--fl-pink: #EC4899;
	--fl-grad: linear-gradient(110deg, var(--fl-cyan), var(--fl-violet) 55%, var(--fl-pink));
	--fl-radius: 18px;
}

/* ---------- Base ---------- */
body,
body.custom-background {
	background: var(--fl-bg) !important;
	color: var(--fl-text);
	font-family: "Inter", system-ui, -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .site-title, .fl-display {
	font-family: "Poppins", sans-serif;
	color: var(--fl-text);
	letter-spacing: -.02em;
}
a { color: var(--fl-cyan); }
a:hover, a:focus { color: var(--fl-text); }
p, li { color: var(--fl-muted); }
.site-content { background: transparent; }
hr { background: var(--fl-line); }

/* ---------- Header ---------- */
.site-header {
	background: rgba(11, 13, 23, .85) !important;
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--fl-line);
	padding-top: 1.2em !important;
	margin-bottom: 0 !important;
	position: sticky; top: 0; z-index: 100;
}
.site-header .site-branding img,
.site-header .custom-logo { max-height: 46px; width: auto; }
.site-header .site-search, .storefront-handheld-footer-bar,
.secondary-navigation { display: none !important; }
.main-navigation ul li a, .site-header-cart .cart-contents {
	color: var(--fl-text) !important;
	font-weight: 500;
}
.main-navigation ul li a:hover { color: var(--fl-cyan) !important; }
.storefront-primary-navigation { background: transparent !important; }
.site-header-cart .widget_shopping_cart { background: var(--fl-card) !important; }
.menu-toggle { color: var(--fl-text) !important; border-color: var(--fl-line) !important; background: transparent !important; }
.handheld-navigation { background: var(--fl-bg-2); }

/* ---------- Buttons ---------- */
button, .button, input[type="submit"], .added_to_cart, .wc-block-components-button,
.single_add_to_cart_button, .fl-btn {
	background: var(--fl-grad) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: "Poppins", sans-serif;
	font-weight: 600 !important;
	padding: .9em 1.8em !important;
	box-shadow: 0 10px 30px -10px rgba(139, 92, 246, .6);
	transition: transform .15s ease, box-shadow .15s ease;
}
button:hover, .button:hover, .fl-btn:hover, .single_add_to_cart_button:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -10px rgba(236, 72, 153, .6);
}
.fl-btn--ghost {
	background: transparent !important;
	border: 1px solid var(--fl-line) !important;
	box-shadow: none;
}

/* ---------- Forms (checkout) ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
textarea, select, .select2-container .select2-selection {
	background: var(--fl-bg-2) !important;
	color: var(--fl-text) !important;
	border: 1px solid var(--fl-line) !important;
	border-radius: 12px !important;
	box-shadow: none !important;
}
label { color: var(--fl-text); }
table, table th, table td { background: transparent !important; border-color: var(--fl-line) !important; color: var(--fl-text); }
#payment, .woocommerce-checkout-review-order { background: var(--fl-card) !important; border-radius: var(--fl-radius); }
#payment .payment_methods > li, #payment .payment_box { background: var(--fl-bg-2) !important; color: var(--fl-muted); }
.woocommerce-info, .woocommerce-message, .woocommerce-error {
	background: var(--fl-card) !important; color: var(--fl-text) !important;
	border-left: 3px solid var(--fl-violet) !important; border-radius: 12px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--fl-bg) !important; border-top: 1px solid var(--fl-line); color: var(--fl-muted) !important; }
.site-footer a { color: var(--fl-muted) !important; }
.site-info { display: none; }
.fl-footer { padding: 2.5em 0 1em; display: flex; flex-wrap: wrap; gap: 1.5em; align-items: center; justify-content: space-between; }
.fl-footer img { height: 34px; width: auto; }
.fl-footer nav a { margin-left: 1.2em; font-size: .9em; }

/* ---------- Homepage ---------- */
.fl-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.fl-hero {
	position: relative; overflow: hidden; text-align: center;
	padding: 6.5em 0 5em;
}
.fl-hero::before {
	content: ""; position: absolute; inset: -40% -20% auto; height: 120%;
	background: radial-gradient(closest-side, rgba(139, 92, 246, .35), transparent 70%),
	            radial-gradient(closest-side at 20% 60%, rgba(34, 211, 238, .25), transparent 70%),
	            radial-gradient(closest-side at 80% 60%, rgba(236, 72, 153, .22), transparent 70%);
	filter: blur(20px); z-index: 0;
}
.fl-hero > * { position: relative; z-index: 1; }
.fl-eyebrow {
	display: inline-block; font-size: .78em; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	color: var(--fl-text); border: 1px solid var(--fl-line); border-radius: 999px; padding: .5em 1.1em;
	background: rgba(255, 255, 255, .03);
}
.fl-hero h1 { font-size: clamp(2.4em, 6vw, 4.4em); line-height: 1.05; margin: .45em 0 .35em; font-weight: 700; }
.fl-grad-text { background: var(--fl-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fl-hero p.fl-lead { font-size: 1.15em; max-width: 620px; margin: 0 auto 2em; }
.fl-hero-cta { display: flex; gap: .8em; justify-content: center; flex-wrap: wrap; }
.fl-trust { margin-top: 2.2em; font-size: .88em; color: var(--fl-muted); display: flex; gap: 1.6em; justify-content: center; flex-wrap: wrap; }
.fl-trust span::before { content: "✓ "; color: var(--fl-cyan); }

.fl-section { padding: 4.5em 0; }
.fl-section-head { text-align: center; margin-bottom: 2.6em; }
.fl-section-head h2 { font-size: clamp(1.8em, 4vw, 2.6em); margin-bottom: .3em; }

/* Pack cards */
.fl-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.fl-pack {
	background: var(--fl-card); border: 1px solid var(--fl-line); border-radius: var(--fl-radius);
	padding: 1.8em; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.fl-pack::after {
	content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--fl-grad);
}
.fl-pack-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(139, 92, 246, .12); margin-bottom: 1.1em; }
.fl-pack-icon svg { width: 26px; height: 26px; stroke: var(--fl-cyan); }
.fl-pack h3 { font-size: 1.45em; margin: 0 0 .2em; }
.fl-pack-count { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.05em; margin-bottom: .6em; background: var(--fl-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fl-pack ul { margin: 1em 0 1.6em 1.1em; font-size: .95em; }
.fl-pack ul li { margin-bottom: .35em; }
.fl-price { font-family: "Poppins", sans-serif; font-size: 2.3em; font-weight: 700; color: var(--fl-text); margin-top: auto; }
.fl-price small { font-size: .38em; font-weight: 500; color: var(--fl-muted); margin-left: .3em; }
.fl-pack .fl-btn { margin-top: 1em; text-align: center; }

/* ---------- Preview components ---------- */
.fl-stack { display: grid; gap: 14px; max-width: 780px; margin: 0 auto; }
.fl-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.fl-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

/* Audio player */
.fl-sfx {
	display: flex; align-items: center; gap: 14px;
	background: var(--fl-card); border: 1px solid var(--fl-line); border-radius: 14px; padding: 12px 16px;
}
.fl-sfx-play {
	flex: 0 0 44px; height: 44px; width: 44px; padding: 0 !important; border-radius: 50% !important;
	display: grid; place-items: center; box-shadow: none !important;
}
.fl-sfx-play svg { width: 16px; height: 16px; fill: #fff; }
.fl-sfx-meta { flex: 1; min-width: 0; }
.fl-sfx-title { color: var(--fl-text); font-weight: 600; font-size: .95em; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-sfx-wave { height: 34px; width: 100%; display: block; cursor: pointer; }
.fl-sfx-time { font-size: .78em; color: var(--fl-muted); font-variant-numeric: tabular-nums; }

/* Before / after slider */
.fl-ba, .fl-tr { margin: 0; }
.fl-ba { border-radius: 14px; overflow: hidden; background: var(--fl-card); border: 1px solid var(--fl-line); }
.fl-ba-stage { position: relative; aspect-ratio: 16 / 10; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.fl-ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.fl-ba-after { clip-path: inset(0 0 0 50%); }
.fl-ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.fl-ba-handle::after {
	content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	background: #fff; color: var(--fl-bg); font-size: 12px; font-weight: 700; padding: 8px 10px; border-radius: 999px; white-space: nowrap;
}
.fl-ba-tag { position: absolute; top: 12px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: rgba(0, 0, 0, .55); color: #fff; padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.fl-ba-tag--before { left: 12px; }
.fl-ba-tag--after { right: 12px; }
.fl-ba-title, .fl-tr-title { padding: 12px 16px; color: var(--fl-text); font-weight: 600; font-size: .95em; }

/* Transition preview */
.fl-tr { border-radius: 14px; overflow: hidden; background: var(--fl-card); border: 1px solid var(--fl-line); }
.fl-tr video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }

/* FAQ */
.fl-faq details { background: var(--fl-card); border: 1px solid var(--fl-line); border-radius: 14px; padding: 1.1em 1.4em; margin-bottom: 12px; }
.fl-faq summary { cursor: pointer; color: var(--fl-text); font-weight: 600; font-family: "Poppins", sans-serif; }
.fl-faq details p { margin: .8em 0 0; }

/* ---------- Single product ---------- */
.single-product div.product { color: var(--fl-text); }
.single-product div.product .product_title { font-size: 2.4em; }
.single-product div.product p.price { color: var(--fl-text) !important; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 2em; }
.single-product div.product .woocommerce-product-gallery { display: none; }
.single-product div.product .summary { width: 100% !important; float: none !important; }
.single-product .quantity, .single-product .product_meta,
.woocommerce-tabs .tabs, .related.products, .upsells.products { display: none !important; }
.woocommerce-tabs { padding-top: 1em !important; border: 0 !important; }
.woocommerce-tabs .panel { width: 100% !important; float: none !important; }
.woocommerce-tabs .panel h2:first-of-type { display: none; }
.fl-product-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.4em; }
.fl-product-badges span { font-size: .82em; border: 1px solid var(--fl-line); border-radius: 999px; padding: .4em .9em; color: var(--fl-muted); }

/* Shop loop */
ul.products li.product { background: var(--fl-card); border: 1px solid var(--fl-line); border-radius: var(--fl-radius); padding: 1.4em; }
ul.products li.product .woocommerce-loop-product__title { color: var(--fl-text); }
ul.products li.product .price { color: var(--fl-text); font-weight: 700; }

@media (max-width: 767px) {
	.fl-hero { padding: 4em 0 3.5em; }
	.fl-section { padding: 3em 0; }
	.fl-footer nav a { margin: 0 1.2em 0 0; }
}

/* Hide Storefront prev/next product arrows */
.storefront-product-pagination { display: none !important; }

/* ---------- v2: access passes, popup, library ---------- */
.fl-section--tight { padding: 0 0 1em; }
.fl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: st; }
.fl-steps li { counter-increment: st; background: var(--fl-bg-2); border: 1px solid var(--fl-line); border-radius: 14px; padding: 1.1em 1.2em 1.1em 3.4em; position: relative; }
.fl-steps li::before { content: counter(st); position: absolute; left: 1em; top: 1em; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--fl-grad); color: #fff; font: 700 .9em/1.7em "Poppins", sans-serif; text-align: center; }
.fl-steps b { display: block; color: var(--fl-text); font-family: "Poppins", sans-serif; margin-bottom: .2em; }
.fl-steps span { color: var(--fl-muted); font-size: .92em; }

.fl-pack--featured { border-color: rgba(139, 92, 246, .55); box-shadow: 0 20px 60px -30px rgba(139, 92, 246, .7); }
.fl-pack-flag { position: absolute; top: 16px; right: 16px; font-size: .72em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--fl-grad); border-radius: 999px; padding: .3em .8em; }
.fl-price small { font-size: .38em; font-weight: 500; color: var(--fl-muted); margin-left: .3em; }
.fl-pack-more { display: block; text-align: center; margin-top: .9em; font-size: .88em; color: var(--fl-muted); }
.fl-packs-note { text-align: center; margin-top: 1.6em; }
.fl-per { color: var(--fl-muted); font-weight: 500; font-size: .45em; }

.fl-btn--sm { padding: .55em 1.2em !important; font-size: .85em; box-shadow: none !important; }
.fl-checkout-note { margin: 0 0 1em; color: var(--fl-muted); }
.fl-checkout-note strong { color: var(--fl-text); }

/* Footer legal line */
.fl-footer nav { display: flex; flex-wrap: wrap; gap: .4em 1.2em; }
.fl-footer nav a { margin-left: 0; }
.fl-footer-legal { border-top: 1px solid var(--fl-line); padding: 1em 0 2em; font-size: .82em; }
.fl-footer-legal p { margin: 0 0 .3em; }

/* Library */
.fl-library { display: grid; gap: 22px; margin: 1em 0 3em; }
.fl-lib-pack { background: var(--fl-card); border: 1px solid var(--fl-line); border-radius: var(--fl-radius); padding: 1.4em; }
.fl-lib-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6em 1em; margin-bottom: 1em; }
.fl-lib-head h2 { margin: 0; font-size: 1.4em; flex: 1 1 auto; }
.fl-pill { font-size: .8em; font-weight: 600; border-radius: 999px; padding: .35em .9em; }
.fl-pill--ok { background: rgba(34, 211, 238, .12); color: var(--fl-cyan); }
.fl-pill--off { background: rgba(236, 72, 153, .12); color: var(--fl-pink); }
.fl-lib-list { list-style: none; margin: 0; padding: 0; }
.fl-lib-list li { display: grid; grid-template-columns: auto 1fr auto auto; gap: .8em; align-items: center; padding: .7em 0; border-top: 1px solid var(--fl-line); }
.fl-lib-ext { font: 700 .7em/1 "Poppins", sans-serif; color: var(--fl-violet); background: rgba(139, 92, 246, .12); border-radius: 6px; padding: .5em .6em; min-width: 3.4em; text-align: center; }
.fl-lib-name { color: var(--fl-text); min-width: 0; overflow-wrap: anywhere; }
.fl-lib-meta { color: var(--fl-muted); font-size: .85em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fl-new { font-style: normal; font-size: .7em; font-weight: 700; color: #fff; background: var(--fl-pink); border-radius: 999px; padding: .15em .6em; margin-left: .4em; vertical-align: middle; }
.fl-lib-empty { margin: 0; }
.fl-lib-login, .fl-thanks { background: var(--fl-card); border: 1px solid var(--fl-line); border-radius: var(--fl-radius); padding: 1.6em; margin: 1em 0 2em; }
@media (max-width: 640px) {
	.fl-lib-list li { grid-template-columns: auto 1fr; }
	.fl-lib-meta { grid-column: 2; }
	.fl-lib-list .fl-btn { grid-column: 1 / -1; text-align: center; }
}

/* Welcome popup */
.fl-pop { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 20px; background: rgba(5, 6, 12, .72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s ease; }
.fl-pop.is-open { opacity: 1; }
.fl-pop[hidden] { display: none; }
.fl-pop-card { position: relative; width: min(420px, 100%); background: var(--fl-card); border: 1px solid rgba(139, 92, 246, .45); border-radius: 22px; padding: 2em 1.8em 1.6em; text-align: center; box-shadow: 0 30px 80px -20px rgba(139, 92, 246, .55); transform: translateY(10px); transition: transform .2s ease; }
.fl-pop.is-open .fl-pop-card { transform: none; }
.fl-pop-card h2 { font-size: 2em; line-height: 1.1; margin: .5em 0 .4em; }
.fl-pop-card p { margin: 0 0 1.2em; }
.fl-pop-code { display: flex; align-items: center; justify-content: space-between; gap: .6em; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 12px; padding: .5em .5em .5em 1em; margin-bottom: 1.1em; }
.fl-pop-code code { font: 700 1.2em "Poppins", sans-serif; letter-spacing: .12em; color: var(--fl-text); background: none; }
.fl-pop-copy, .fl-pop-later, .fl-pop-x { background: transparent !important; box-shadow: none !important; border: 0 !important; color: var(--fl-muted) !important; padding: .5em .9em !important; font-weight: 500 !important; }
.fl-pop-copy { border: 1px solid var(--fl-line) !important; border-radius: 10px !important; color: var(--fl-text) !important; }
.fl-pop-card .fl-btn { display: block; width: 100%; text-decoration: none; }
.fl-pop-later { display: block; margin: .6em auto 0; font-size: .85em; }
.fl-pop-x { position: absolute; top: .4em; right: .4em; font-size: 1.6em !important; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .fl-pop, .fl-pop-card { transition: none; } }

/* Full-width layout everywhere (no sidebar) */
.content-area, .site-main { width: 100% !important; float: none !important; margin-right: 0 !important; }
.widget-area, #secondary { display: none !important; }
.site-content > .col-full, .site-header > .col-full, .storefront-primary-navigation > .col-full, .site-footer > .col-full { max-width: 1200px; }
.fl-price { white-space: nowrap; }

.fl-btn, a.fl-btn { text-decoration: none !important; }

.fl-lib-locked { margin: 1em 0 0; padding: .8em 1em; border-radius: 12px; background: rgba(236, 72, 153, .08); color: var(--fl-text); font-size: .92em; }

/* New this month + locked items */
.fl-newmonth-counts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 1.4em; }
.fl-newmonth-counts a { text-decoration: none; color: var(--fl-text); border: 1px solid var(--fl-line); border-radius: 999px; padding: .45em 1em; font-size: .9em; background: var(--fl-bg-2); }
.fl-newmonth-counts b { color: var(--fl-cyan); }
.fl-newmonth-list { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 8px; }
.fl-newmonth-list li { display: grid; grid-template-columns: auto 1fr auto; gap: .8em; align-items: center; background: var(--fl-card); border: 1px solid var(--fl-line); border-radius: 12px; padding: .7em 1em; }
.fl-lib-list li.is-locked { opacity: .78; }
.fl-lib-list li.is-locked .fl-lib-name { color: var(--fl-muted); }
@media (max-width: 640px) { .fl-newmonth-list li { grid-template-columns: auto 1fr; } .fl-newmonth-list .fl-lib-meta { grid-column: 2; } }

/* Upsell: top bar, owned notice, cross-sell */
.fl-topbar { background: var(--fl-grad); color: #fff; text-align: center; font-size: .9em; font-weight: 500; padding: .6em max(16px, env(safe-area-inset-left, 0px)); }
.fl-topbar a { color: #fff; font-weight: 700; text-decoration: underline; margin-left: .4em; white-space: nowrap; }
.fl-owned { background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .3); color: var(--fl-text); border-radius: 12px; padding: .8em 1em; margin: 0 0 1.2em; font-size: .92em; }
.fl-xsell { margin: 2em 0 3em; }
.fl-xsell > h2 { margin-bottom: .2em; }
.fl-xsell-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 1.2em; }
.fl-xsell-card { background: var(--fl-card); border: 1px solid var(--fl-line); border-radius: var(--fl-radius); padding: 1.2em; display: flex; flex-direction: column; }
.fl-xsell-card h3 { margin: 0 0 .3em; font-size: 1.15em; }
.fl-xsell-card p { flex: 1; font-size: .92em; }
.fl-xsell-foot { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.fl-xsell-foot b { font-family: "Poppins", sans-serif; color: var(--fl-text); font-size: 1.2em; }
.fl-xsell--single { background: var(--fl-card); border: 1px solid rgba(139, 92, 246, .45); border-radius: var(--fl-radius); padding: 1.6em; }

/* Real LUT showcase: one side-by-side image split into a slider */
.fl-ba--split .fl-ba-stage { aspect-ratio: 8 / 9; max-width: 100%; }
.fl-ba-half { position: absolute; inset: 0; background-size: 200% 100%; background-repeat: no-repeat; }
.fl-ba-half--before { background-position: 0% 50%; }
.fl-ba-half--after { background-position: 100% 50%; clip-path: inset(0 0 0 50%); }
/* Transitions showreel */
.fl-tr--hero { max-width: 960px; margin: 0 auto; }
.fl-tr--hero video { aspect-ratio: 16 / 9; max-width: 100%; }

.fl-lut-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: 0; }

/* Real LUT before/after pairs (960x~995) */
.fl-luts-real .fl-ba-stage { aspect-ratio: 960 / 995; }
.fl-luts-real .fl-ba-stage img { object-position: center top; }

/* Slider: no native image drag/select */
.fl-ba-stage { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.fl-ba-stage img { pointer-events: none; -webkit-user-drag: none; user-drag: none; }
.fl-ba-title { user-select: none; }
