button, input {
	font-family: Manrope, serif;
}

html, body {
	overflow-x: hidden;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 16px;
}

/* Backdrop Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark, semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's above other content */
    transition: opacity 0.3s ease;
}

/* Modal Content Styling */
.popup-content {
    background-color: #1f1f1f; /* Dark background to fit dark theme */
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    color: #fff; /* White text to contrast with dark background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.popup-content h2 {
    font-size: 18px;
	text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: bold;
	line-height: 1.4;
}

.popup-content label {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 8px;
    display: block;
}

.popup-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
    border-radius: 4px;
}

.popup-content input:focus {
    border-color: #ff6b6b; /* Highlight focus with a soft red */
    outline: none;
}

.popup-content .submit-order {
    background-color: #ff6b6b; /* Accent button color */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
	width: 100%;
	text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
	font-size: 16px;
	font-family: 
}

.popup-content .submit-order:hover {
    background-color: #ff4b4b; /* Darker red on hover */
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #ff6b6b; /* Highlight the close button */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .popup-content {
        width: 90%;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Загальні стилі для чекауту */
#order_review {
    max-width: 100%;
    margin: 0 auto;
    color: #e0e0e0; /* Світлий текст */
    border-radius: 10px;
}

.wc_payment_method input {
	display: none;
}

.wc_payment_method label {
	display: flex;
	align-items: center;
	gap: 16px;
}

.wc_payment_method label img {
	width: 80px;
}

/* Таблиця з товаром */
.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.shop_table thead th {
    background-color: #333333; /* Темний фон для заголовків */
    color: #fff; /* Світлий текст */
    padding: 10px;
    text-align: left;
    font-weight: bold;
    border: 1px solid #444444;
}

.shop_table tbody td,
.shop_table tfoot td {
    padding: 10px;
    border: 1px solid #444444;
    color: #e0e0e0; /* Світлий текст */
}

.shop_table .product-name {
    font-size: 16px;
    font-weight: bold;
    color: #e0e0e0; /* Світлий текст */
}

.shop_table .product-quantity {
    color: #e0e0e0;
}

.shop_table .woocommerce-Price-amount {
    color: #a5d6a7; /* Світлий зелений для цін */
}

/* Підсвітка підсумків */
tfoot th,
tfoot td {
    font-weight: bold;
}

tfoot .product-total {
    color: #a5d6a7; /* Світлий зелений для підсумків */
}

/* Платіжна форма */
#payment {
    margin-top: 20px;
    background-color: #333333;
    padding: 20px;
    border-radius: 10px;
}

.wc_payment_methods {
    list-style: none;
    padding: 0;
}

.wc_payment_method {
    margin-bottom: 20px;
    background-color: #444444;
    padding: 15px;
    border-radius: 8px;
}

.wc_payment_method label {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.payment_box {
    margin-top: 10px;
    color: #e0e0e0;
}

/* Кнопка підтвердження */
button#place_order {
    background-color: #00796b; /* Темно-зелений фон */
    color: #fff; /* Білий текст */
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

button#place_order:hover {
    background-color: #004d40; /* Темніший зелений при наведенні */
}

button#place_order:disabled {
    background-color: #555555; /* Тьмяний фон для заблокованої кнопки */
}

/* Політика конфіденційності */
.woocommerce-privacy-policy-text p {
    color: #a5d6a7; /* Світлий текст */
    font-size: 14px;
}

.ur-frontend-form.login, #user-registration {
    padding: 0 !important;
    background: transparent !important;
}

.ur-frontend-form .ur-form-row .ur-form-grid legend, .ur-frontend-form .ur-form-row .ur-form-grid label {
    color: #fff !important;
}

.ur-frontend-form .ur-form-row .ur-form-grid {
    padding: 0!important;
}

.ur-lost-password-title, .ur-lost-password-message, .ur-frontend-form.login .ur-input-with-icon .input-icon {
    display: none !important;
}

.lang-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    padding: 36px;
    z-index: 1001;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    max-width: 280px;
	width: 100%;
    max-height: 90%;
    overflow: auto;
}

.gtranslate_wrapper {
	display: flex;
	flex-direction: column;
}

.lang-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1000;
}
.hidden {
    display: none;
}

.lang-popup-header {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
    text-align: center;
	margin-bottom: 16px;
}

.lang-popup-body {
    text-align: center;
}

a.glink span {
	font-size: 20px !important;
	color: #000 !important;
}

a.glink {
	display: block;
	margin-bottom: 8px !important;
}

#form-result {
	color: #fff;
	margin-top: 16px;
}

.button {
	text-decoration: none;
	display: inline-flex;
}

.wp-block-file {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #fff;
    margin: 30px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.wp-block-file a {
    color: #ff6600;
    text-decoration: none;
    font-weight: 500;
}

.wp-block-file__button {
    background: #ff6600;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-weight: 600;
}

.wp-block-file__button:hover {
    background: #e65c00;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #121212;
    color: #fff;
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 40px;
}

.mobile-menu.show {
    transform: translateX(0%);
}

.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.menu-backdrop.hidden,
.mobile-menu.hidden {
    display: none;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
    gap: 20px;
    margin-top: 40px;
}

.mobile-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #ff6600;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.user-registration-Button {
    text-align: center;
    justify-content: center;
}
