/* Child theme styles */

:root {
	--theme-border-color: #000;
	--theme-border-radius: 0;
	--theme-form-field-border-radius: 0;
	--theme-form-field-border-width: 1px;
	--floating-bar-height: 0px !important;
}

/* Single product: description under the price. */
.nai33-product-description {
	margin-block: 1.5em;
}

.nai33-product-description > :last-child {
	margin-bottom: 0;
}

/* Single product: note between the two dividers under Add to cart.
   Bottom spacing mirrors the divider above (set inline per device). */
.entry-summary-items > .nai33-product-cart-note {
	margin-top: 0;
	margin-bottom: var(--nai33-note-spacing-desktop, 35px);
	font-size: 0.9375rem;
}

.nai33-product-cart-note > * {
	margin-block: 0;
}

.nai33-product-cart-note > * + * {
	margin-top: 0.5em;
}

@media (max-width: 999.98px) {
	.entry-summary-items > .nai33-product-cart-note {
		margin-bottom: var(--nai33-note-spacing-tablet, var(--nai33-note-spacing-desktop, 35px));
	}
}

@media (max-width: 689.98px) {
	.entry-summary-items > .nai33-product-cart-note {
		margin-bottom: var(--nai33-note-spacing-mobile, var(--nai33-note-spacing-tablet, var(--nai33-note-spacing-desktop, 35px)));
	}
}

/* Custom Hero page template. */
.nai33-custom-hero-page {
	position: relative;
	padding-top: 0;
	/* The absolutely positioned hero image must not spill past the page content
	   (it would add empty scroll space below the footer). */
	overflow: clip;
}

.nai33-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(230px, calc(22vw - 30px), 350px);
	padding-top: var(--header-height, 100px);
}

/* Show the whole image at its natural ratio; it may extend below the hero
   and sits behind the page content. */
.nai33-hero__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	max-width: none;
	z-index: 0;
	pointer-events: none;
}

.nai33-hero-content {
	position: relative;
	z-index: 1;
}

.nai33-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: 40px;
}

.nai33-hero__title {
	margin: 0;
	/* Same look as Blocksy's h1, so the title still matches when it is a div (product pages). */
	font-size: 40px;
	font-weight: 700;
	line-height: 1.5;
	color: #000;
}

/* Header language switcher: "/" between languages */
.ct-language-switcher[data-type="inline"] ul li {
	display: flex;
	align-items: center;
}

.ct-language-switcher[data-type="inline"] ul li + li::before {
	content: "/";
	margin-inline-end: var(--items-spacing, 20px);
	opacity: 0.9;
}

[data-header*="type-1"] .ct-header [data-id="language-switcher"] {
	--items-spacing: 5px;
}

/* Product selector block: side gutters on tablet/mobile */
@media (max-width: 800px) {
	.nai33-ps,
	.nai33-ps.wp-block-nai33-product-selector {
		max-width: 100%;
		padding-inline: 20px;
	}
}

textarea {
	--theme-form-field-border-radius: 20px;
}

#footer [data-id="text"] h3 {
	font-size: 17px;
	margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
.select2-selection {
	border-width: 1px;
	border-style: solid;
	border-radius: 0;
}

textarea {
	border-width: 1px;
	border-style: solid;
}

.ff-el-form-control {
	border-width: 1px !important;
	border-style: solid !important;
	border-radius: 0 !important;
}

.product.type-product.product-type-simple,
.ct-product-gallery-container .ct-media-container,
.ct-acount-nav {
	border-radius: 0;
}

.iar-text-align-center {
	text-align: center;
}

footer.ct-footer {
	padding: 30px 0;
}
