/*
Theme Name: Hello Elementor Child - World of Films
Theme URI: https://worldoffilms.com/
Description: Child theme for high-converting WooCommerce product pages for World of Films.
Author: World of Films
Author URI: https://worldoffilms.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

:root {
	--wof-font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
	--wof-font-display: "Sora", "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

/* WOF image slices: match product-page glass depth language */
#wof-slices-1 {
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 22px 46px rgba(3, 8, 16, 0.34),
		0 8px 18px rgba(0, 0, 0, 0.2);
	transition: box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#wof-slices-1:hover,
#wof-slices-1:focus-within {
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.07),
		0 26px 54px rgba(3, 8, 16, 0.38),
		0 10px 22px rgba(0, 0, 0, 0.24);
}

.wof-archive-filters {
	display: grid;
	gap: 0.9rem;
	padding: 1rem;
	position: relative;
	top: auto;
	z-index: 20;
	background: rgba(16, 21, 30, 0.56);
	border: 1px solid rgba(227, 233, 244, 0.12);
	border-radius: 10px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 18px 36px rgba(3, 8, 16, 0.28);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.wof-archive-filters.is-sticky-fixed {
	position: fixed;
	z-index: 50;
}

.wof-archive-filters__placeholder {
	width: 100%;
}

.wof-archive-filters__title {
	margin: 0;
	font-family: var(--wof-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	color: #eef2f7;
}

.wof-archive-filters__group {
	border: 0;
	margin: 0;
	padding: 0;
}

.wof-archive-filters__group-title {
	margin: 0 0 0.4rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #9ea8b8;
}

.wof-archive-filters__options {
	display: grid;
	gap: 0.35rem;
}

.wof-archive-filters__option {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.38rem 0.5rem;
	border: 1px solid rgba(227, 233, 244, 0.1);
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.02);
	color: #eef2f7;
	cursor: pointer;
}

.wof-archive-filters__option input {
	margin: 0;
	accent-color: #e09a3a;
}

.wof-archive-filters__option-text {
	font-size: 0.88rem;
	line-height: 1.2;
}

.wof-archive-filters__count {
	margin-left: auto;
	padding: 0.08rem 0.42rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 0.72rem;
	color: #c7d0de;
}

.wof-archive-filters__empty {
	margin: 0;
	font-size: 0.82rem;
	color: #9ea8b8;
}

.wof-archive-filters__search {
	width: 100%;
	height: 2.45rem;
	padding: 0 0.72rem;
	border: 1px solid rgba(227, 233, 244, 0.16);
	border-radius: 7px;
	background: rgba(6, 11, 20, 0.72);
	color: #eef2f7;
}

.wof-archive-filters__actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.wof-archive-filters__reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.35rem;
	padding: 0 0.9rem;
	border-radius: 7px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.wof-archive-filters__reset {
	border: 1px solid rgba(227, 233, 244, 0.22);
	color: #eef2f7;
	background: rgba(255, 255, 255, 0.03);
}

.wof-archive-filters__notice {
	padding: 0.6rem 0.8rem;
	border: 1px dashed rgba(227, 233, 244, 0.26);
	border-radius: 6px;
	color: #c7d0de;
	font-size: 0.85rem;
}

body,
button,
input,
select,
textarea {
	font-family: var(--wof-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title {
	font-family: var(--wof-font-display);
}

/* Global Elementor mini-cart/drawer theme alignment */
body .elementor-widget-woocommerce-menu-cart {
	--divider-color: rgba(227, 233, 244, 0.14);
	--product-price-color: #c7d0de;
	--menu-cart-subtotal-color: #eef2f7;
	--subtotal-divider-color: rgba(227, 233, 244, 0.14);
	--cart-close-button-color: #c7d0de;
	--cart-close-button-hover-color: #eef2f7;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__container {
	background: rgba(5, 9, 15, 0.6);
	overflow: visible !important;
}

body .elementor-widget-woocommerce-menu-cart.elementor-menu-cart--cart-type-mini-cart .elementor-menu-cart__container {
	position: fixed !important;
	inset: 0 !important;
	width: 100vw !important;
	height: 100dvh !important;
	min-width: 0 !important;
	background: rgba(5, 9, 15, 0.6) !important;
}

body .elementor-menu-cart__container.elementor-lightbox {
	position: fixed !important;
	inset: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	min-height: 100vh !important;
	display: flex !important;
	align-items: stretch !important;
	justify-content: flex-end !important;
	background: rgba(5, 9, 15, 0.6) !important;
	overflow: visible !important;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main {
	font-family: var(--wof-font-body);
	color: #eef2f7;
	background:
		linear-gradient(146deg, rgba(15, 23, 36, 0.95) 0%, rgba(10, 16, 27, 0.93) 52%, rgba(9, 14, 24, 0.94) 100%) !important;
	border: 1px solid rgba(227, 233, 244, 0.17) !important;
	border-radius: 10px !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 22px 46px rgba(3, 8, 16, 0.44) !important;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

body .elementor-widget-woocommerce-menu-cart.elementor-menu-cart--cart-type-mini-cart .elementor-menu-cart__main {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: auto !important;
	width: min(430px, 100vw) !important;
	height: 100dvh !important;
	max-height: 100dvh !important;
	margin-top: 0 !important;
	border-radius: 0 !important;
	overflow-y: auto !important;
}

body .elementor-menu-cart__container.elementor-lightbox .elementor-menu-cart__main {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	width: min(430px, 100vw) !important;
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	border-radius: 0 !important;
	overflow-y: auto !important;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main .widget_shopping_cart_content {
	gap: 0.3rem;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button {
	margin-bottom: 0.8rem;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__products {
	max-height: min(66vh, 560px);
	scrollbar-width: thin;
	scrollbar-color: rgba(227, 233, 244, 0.3) transparent;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__products::-webkit-scrollbar {
	width: 8px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__products::-webkit-scrollbar-thumb {
	background: rgba(227, 233, 244, 0.24);
	border-radius: 999px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product {
	align-items: center;
	padding: 0.9rem 2.1rem 0.9rem 0;
	border-bottom: 1px solid rgba(227, 233, 244, 0.14);
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image a,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image img {
	border-radius: 7px;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image img {
	border: 1px solid rgba(227, 233, 244, 0.16);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-price,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product .variation,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal strong,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal .amount,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal .woocommerce-Price-currencySymbol,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-price .amount,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-price .woocommerce-Price-currencySymbol {
	color: #eef2f7 !important;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name a {
	font-family: var(--wof-font-display);
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: #eef2f7 !important;
	text-decoration: none;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name a:hover,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name a:focus-visible {
	color: #ffffff !important;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-price {
	font-family: var(--wof-font-body);
	font-size: 0.94rem;
	font-weight: 600;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product .variation,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product .variation p {
	color: #9ea8b8 !important;
	font-family: var(--wof-font-body);
	font-size: 0.82rem;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove {
	border: 1px solid rgba(227, 233, 244, 0.3);
	background: rgba(255, 255, 255, 0.04);
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove:before,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove:after {
	background: #c7d0de;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove:hover {
	border-color: rgba(231, 168, 79, 0.8);
	background: rgba(231, 168, 79, 0.18);
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove:hover:before,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove:hover:after {
	background: #ffffff;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.95rem 0;
	border-top: 1px solid rgba(227, 233, 244, 0.14);
	border-bottom: 1px solid rgba(227, 233, 244, 0.14);
	font-family: var(--wof-font-display);
	font-size: 1.12rem;
	font-weight: 700;
	text-align: left;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal strong {
	font-family: var(--wof-font-body);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons {
	margin-top: 0.35rem;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button {
	min-height: 2.9rem;
	padding: 0.75rem 0.9rem;
	border-radius: 7px;
	border: 1px solid transparent;
	font-family: var(--wof-font-body);
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.1;
	transition:
		transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
		box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
		background-color 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button--view-cart {
	background: linear-gradient(160deg, rgba(242, 245, 251, 0.22) 0%, rgba(228, 235, 247, 0.11) 100%);
	border-color: rgba(227, 233, 244, 0.28);
	color: #eef2f7;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 8px 18px rgba(0, 0, 0, 0.22);
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button--view-cart:hover,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button--view-cart:focus-visible {
	transform: translateY(-1px);
	border-color: rgba(227, 233, 244, 0.44);
	background: linear-gradient(160deg, rgba(242, 245, 251, 0.28) 0%, rgba(228, 235, 247, 0.16) 100%);
	color: #ffffff;
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button--checkout {
	background:
		linear-gradient(155deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.12) 28%, rgba(255, 255, 255, 0.03) 42%),
		linear-gradient(150deg, #e7a84f 0%, #e09a3a 40%, #ca8930 100%);
	border-color: transparent;
	color: #ffffff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		inset 0 -1px 0 rgba(0, 0, 0, 0.15),
		0 10px 22px rgba(224, 154, 58, 0.32);
}

body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button--checkout:hover,
body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button--checkout:focus-visible {
	transform: translateY(-1px);
	background:
		linear-gradient(155deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.05) 44%),
		linear-gradient(150deg, #efb862 0%, #e7a84f 42%, #d29136 100%);
	color: #ffffff;
}

body .elementor-widget-woocommerce-menu-cart .woocommerce-mini-cart__empty-message {
	font-family: var(--wof-font-body);
	color: #c7d0de;
}

@media (max-width: 767px) {
	body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main {
		border-radius: 0 !important;
	}

	body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons {
		grid-template-columns: 1fr;
	}
}

/* WooCommerce product loop card treatment (replaces inline styles). */
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
	display: block;
	box-shadow: 0 0 3px #000;
	padding: 20px;
	background-color: #000;
	border-radius: 5px;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}
