* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    width: 100%;
    min-width: 100vw;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    padding-top: var(--header-height); /* Push content down by header height */
    line-height: 1.6;
    color: #333;
}

.quote-block {
    background-color: #f9f9f9;
    padding: 20px;
    text-align: center;
    font-size: 1.1em;
    border: 2px solid #ccc;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1200px;
}

.quote-block a {
    color: #0000ff;
    text-decoration: none;
}

.quote-block a:hover {
    text-decoration: underline;
}



/* Header and Desktop Menu */
header#main-header {
    position: sticky; /* Use sticky positioning instead of fixed */
    top: 0; /* Sticks to the top of the viewport */
    background-color: #fff;
    color: #000;
    padding: 10px 20px;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for visual separation */
    transition: top 0.3s ease-in-out; /* Smooth transition for hide/show */
}

.header-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    width: 300px;
    height: auto;
    margin-top: 10px;
}

nav {
    width: 100%;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    flex-wrap: nowrap; /* Prevent wrapping of parent menu items */
}

.nav-menu li {
    position:  relative;
}

.nav-menu li a,
.nav-menu li span {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

/* Style the dropdown container */
.dropdown {
    position: relative;
    display: inline-block; /* Ensure it only takes up the necessary width */
}

/* Updated Dropdown Content - Hidden by default */
.second-level-menu {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 1000;
    padding: 0;
    opacity: 0; /* Начальная непрозрачность */
    transform: translateY(-10px); /* Начальный сдвиг вверх */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Плавный переход */
}

/* Состояние при отображении */
.second-level-menu.visible {
    display: block;
    opacity: 1; /* Полная видимость */
    transform: translateY(0); /* Возвращаем в исходное положение */
}

/* Псевдоэлемент для фона */
.second-level-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: -1;
}

/* Контейнер контента */
.second-level-menu .dropdown-content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start; /* Align columns to the top */
    padding: 15px;
    gap: 40px;
}

/* Reset margins and padding for the dropdown item container */
.dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to the top-left within each item */
    text-align: center;
    flex: 0 0 auto;
    width: 200px;
    max-width: 200px;
    margin: 0; /* Remove any margin */
    padding: 0; /* Remove any padding */
}

/* Ensure the image is the anchor point */
.dropdown-image {
    width: 200px;
    height: 100px;
    object-fit: cover;
    margin: 0; /* Remove any margin */
    padding-bottom: 20px; /* Remove any padding */
    display: block;
}

/* Reset list styling to avoid extra spacing */
.dropdown ul {
    text-align: left;
    list-style-type: none;
    margin: 0; /* Remove default margins */
    padding: 0; /* Remove default padding */
    width: 100%; /* Ensure it takes full width of the container */
}

/* Reset list items to avoid extra spacing */
.dropdown li {
    list-style-type: none;
    font-weight: 500;
    text-transform: none !important;
    margin: 0; /* Remove default margins */
}

/* Ensure text alignment is consistent */
.dropdown-item p {
    margin: 5px 0; /* Minimal margin for spacing */
    padding: 0;
    font-size: 14px;
}

.dropdown-link {
    list-style-type: none !important;   
    font-weight: 500 !important;
    text-transform: none !important;
    padding-bottom: 0px!important;
    padding-top: 0px!important;
}

.second-level-menu a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.second-level-menu a:hover {
    background-color: transparent;
    text-decoration: none;
}

/* Style the dropbtn wrapper */
.dropbtn-wrapper {
    display: flex;
    align-items: center;
    padding: 10px;
}

/* Style the arrow button */
.arrow-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 0 5px;
}

/* Ensure consistent alignment for no-dropdown items */
.no-dropdown .dropbtn-wrapper {
    display: flex;
    align-items: center;
    padding: 10px;
}

.hero {
    position: relative;
    margin-top: 0;
    width: 100%;
}

.hero-image {
    width: 100%;
    object-fit: cover;
    display: block;
}

.hero-text {
    position: absolute;
    bottom: 30px;
    right: 400px;
    text-align: right;
    margin-bottom: 10px;
    color: #fff;
    padding: 20px;
    font-size: 1.3em;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 2.8em;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-text .btn {
    margin-top: 10px;
    font-size: 16px;
}

.hero-text .subtitle {
    margin-bottom: 10px;
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0000ff;
    color: #fff!important;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 700!important;
    text-transform: uppercase;
}

.new-in-stock {
    padding: 40px 20px;
    text-align: center;
    max-width: 1500px; /* Increased to allow more space */
    margin: 0 auto;
    width: 100%; /* Ensure it takes full available width */
}

.new-in-stock h2 {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-grid {
    display: flex;
    justify-content: space-around; /* Use space-around for even distribution */
    gap: 15px; /* Reduced gap to fit more space */
    margin-bottom: 20px;
    width: 100%; /* Ensure it uses the full width of the container */
    max-width: 1500px; /* Match the parent max-width */
}

.product {
    text-align: center;
    flex: 1 1 calc(20% - 12px); /* flex-grow, flex-shrink, flex-basis */
    min-width: calc(20% - 12px); /* Minimum width to maintain 5 items */
    max-width: calc(20% - 12px); /* Maximum width to prevent over-expansion */
    position: relative;
    box-sizing: border-box; /* Include padding and border in width */
}

.product p {
    margin: 10px 0;
    font-size: 1.1em;
    line-height: 1.2;
    text-transform: uppercase;
    color: #000;
    font-weight: 400;
    text-decoration: none!important;
}

.product a {
    text-decoration: none;
    color: #000;
    font-weight: 400;
}


.image-container {
    position: relative;
    width: 100%;
    height: auto;
}

.product-image {
    width: 100%;
    height: auto;
    transition: opacity 0.3s;
    display: block;
    object-fit: contain;
}

.product-image:hover {
    opacity: 0;
}

.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s;
    display: block;
    object-fit: contain;
}

.image-container:hover .hover-image {
    opacity: 1;
}

.buy-button {
    display: none;
    position: absolute;
    top: 88%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    background-color: #0000ff;
    color: #fff!important;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 700!important;
    text-transform: uppercase;
    z-index: 1;
}

.image-container:hover .buy-button {
    display: inline-block;
}


.banners {
    display: flex;
    justify-content: space-between; /* Ensures exact spacing */
    gap: 20px; /* Set the gap between banners to 20px */
    margin-top: 20px;
    padding: 40px 20px;
    max-width: 1500px; /* Increased max-width */
    width: 100%; /* Ensure it takes the full available width up to max-width */
    margin: 0 auto;
}

.banner {
    position: relative;
    width: calc(50% - 10px); /* 50% width minus half the gap (20px / 2) */
    overflow: hidden;
}

.banner img {
    width: 100%;
    object-fit: cover;

}

.banner-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    text-align: left;
    padding: 10px;
}

.banner-name {
    font-size: 2.2em;
    font-weight: 900;
}

.banner-text h3 {
    font-size: 1.5em;
    font-weight: 700;
}

.banner-text p {
    font-size: 1.2em;
    font-weight: 400;
    margin-bottom: 10px;
}

.banner-subtitle {
    margin-bottom: 15px !important;
    text-transform: uppercase;
}

.best-sellers {
    padding: 40px 20px;
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
}

.best-sellers h2 {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Blog Section */
.blog {
    width: 100% !important;
}

.blog-content {
    width: 100% !important;
    position: relative !important; /* Positioning context for absolute children */
    overflow: hidden !important; /* Prevent overflow from the image */
}

/* Image Styling */
.blog-image {
    width: 100% !important; /* Adjust width with screen size */
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
    z-index: 1 !important; /* Image below the text */
}

/* Text Overlay Styling */
.blog-content .blog-text-overlay-narrow {
    font-size: 1.1em;
    width: 25%;
    max-width: 30%;
    margin: 3%;
    padding: 20px;
    background-color: #fff !important;
    text-align: left !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 2 !important;
    color: #333 !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-text-overlay-narrow h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.blog-text-overlay-narrow h4 {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-text-overlay-narrow p {
    font-size: 1em;
    margin-bottom: 20px;
}



.additional-image-section {
    position: relative;
    margin: 0;
}

.additional-text-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30%; /* Narrower width to match the reference image */
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
}

.additional-text-overlay h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.additional-text-overlay p {
    font-size: 1em;
    margin-bottom: 20px;
}

/* Footer Styles */
.site-footer {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    padding: 40px 20px; /* Padding for spacing */
    font-size: 1em;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px; /* Match your site’s max-width */
    margin: 0 auto;
    flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
}

.footer-column {
    flex: 1;
    min-width: 200px; /* Ensure columns don’t get too narrow */
    margin-bottom: 20px; /* Space between columns on wrap */
}

.footer-column h3 {
    font-size: 1.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
}

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    margin-top: 0; /* Remove margin between image and footer */
}

footer p {
    font-size: 1em;
}

/* Hide mobile elements on desktop */
.menu-toggle,
.menu-icon,
.checkbox,
.close-icon,
.arrow,
.smm-icon,
.menu-overlay,
.arrow-button {
    display: none !important;
}