/*!
Theme Name: Elitaservice
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: elitaservice
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Elitaservice is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.navcardssec_mainpage_content img {
	width: 100%;
}

.mb__new {
	margin-bottom: 50px;
}



.firstsec_mainpage.firstsec_catalogpage {
    position: relative;
    width: 100%;
    height: 100%;
}

.firstsec_mainpage.firstsec_catalogpage video {
    width: 100%;
    height: 100vh; 
    object-fit: cover;
    pointer-events: none; 
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7); 
    pointer-events: none;
	z-index: 9;
}

.garant_deliverypage_content {
	position: relative;
    width: 100%;
    height: 100%;
}

.video-background-frame {
	width: 100%;
    height: 100%;
    object-fit: cover;
}


.firstsec_itempage {
	position: relative;
	height: 628px;
	min-height: 628px;
	max-height: 628px;
	background: #000;
}

.firstsec_itempage_content {
	position: relative;
	z-index: 999999;
}

.firstsec_itempage .full_container {
	position: relative;
	z-index: 11;
	height: 100%;
	min-height: 628px;
	max-height: 628px;
}

.firstsec_itempage .video-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	pointer-events: none;
	z-index: 1;
}

.firstsec_itempage .video-background-iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-width: 1116px;
	min-height: 628px;
	transform: translate(-50%, -50%);
	border: 0;
	pointer-events: none;
	z-index: 0;
}

.firstsec_itempage.firstsec_itempage_imagehero .firstsec_itempage_content,
.firstsec_itempage.firstsec_itempage_imagehero .firstsec_itempage_content h1,
.firstsec_itempage.firstsec_itempage_imagehero .firstsec_itempage_content h3,
.firstsec_itempage.firstsec_itempage_imagehero .firstsec_itempage_content p,
.firstsec_itempage.firstsec_itempage_imagehero .firstsec_itempage_content strong {
	color: #000000 !important;
}

.firstsec_itempage.firstsec_itempage_imagehero .firstsec_itempage_content .hero-image-secondary-button {
	color: #000000 !important;
	border-color: #000000 !important;
}

.catalog-dual-video {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.catalog-dual-video__item iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}

.catalog-single-image {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.catalog-single-image img {
	display: block;
	max-width: 100%;
	height: auto;
}

.catalog-extra-media {
	margin-top: 40px;
}

@media (max-width: 767px) {
	.catalog-dual-video {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}



.basketfixed {
    display: none;
}

.successModal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.successModal.active {
    opacity: 1;
    pointer-events: auto;
}

.successModal .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.successModal .modal-window {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);

    max-width: 450px;
    width: 90%;
    text-align: center;
}

#tildaformsuccesspopupclose-new {
	position: absolute;
    right: 10px;
    top: 10px;
    border: unset;
    background: transparent;
	cursor: pointer;
}

.t-form-success-popup__content-icon {
	margin-bottom: 15px;
}

.successModal h3 {
    font-size: 24px;
    line-height: 1.23;
    margin-bottom: 10px;
	font-family: 'Ubuntu-700';
}

.successModal p {
	font-size: 16px;
    line-height: 1.45;
    margin-bottom: 10px;
    padding-top: 0;
    word-break: break-word;
	font-family: 'Ubuntu-400';
}

.successModal .close-btn {
	background-color: #000;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-top: 15px;
    min-width: 130px;
    padding: 18px 44px;
    text-decoration: none;
	display: inline-block;
	font-family: 'Ubuntu-400';
	cursor: pointer;
}


#modalOverlay {
    pointer-events: none; 
    opacity: 0;
    transition: opacity 0.3s ease;
}

#modalOverlay.show {
    opacity: 1;
    pointer-events: auto; 
}
