/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #212529;    /* Dark color */
    --secondary-color: #f48221;  /* Orange color */
    --accent-color: #ff9c3a;     /* Lighter orange */
    --dark-color: #151515;       /* Darker shade */
    --light-color: #f9f9f9;      /* White */
    --gray-color: #e9e9e9;
    --text-color: #212529;
    --text-light: #ffffff;
    --bg-color: #ffffff;
    --border-color: #e3e3e3;
    --footer-bg: #212529;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #28a745;
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', 'Open Sans', arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Open Sans', arial, sans-serif;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}
.section-subtitle {
    font-size: 2.25rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    color: var(--white);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.btn-dark {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-dark:hover {
    background-color: var(--dark-color);
}

/* Header */
header {
    background-color: var(--dark-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--white);
}

.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--white);
    transition: color 0.3s ease;
    margin-right: 0.5rem;
    margin-left: 2.5rem;
    order: 3;
}

.search-toggle:hover {
    color: var(--secondary-color);
}

/* Search Panel */
.search-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--light-color);
    box-shadow: -5px 0 10px var(--shadow-color);
    z-index: 1000;
    padding: 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.search-panel.active {
    right: 0;
}

.search-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.search-panel-overlay.active {
    display: block;
}

.search-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-panel-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.search-panel-close {
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.search-panel-close:hover {
    color: var(--secondary-color);
}

.search-panel-form {
    position: relative;
    /* margin-bottom: 2rem; */
}

.search-panel-input {
    width: 100%;
    padding: 0.8rem 3rem 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-panel-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.search-panel-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* .search-panel-btn:hover {
    color: var(--secondary-color);
} */

.search-result{
    /* padding-top: 1rem; */
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-top: none;
    overflow-y: auto;
    max-height: 80%;
}
.search-result::-webkit-scrollbar{
    width: 6px;
    background: #ededed;
}
.search-result::-webkit-scrollbar-thumb{
    border: none;
    border-radius: 0;
    background-color: var(--secondary-color);
}
.search-item{
    padding: 1rem 0.5rem;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.search-item:hover{
    color: var(--accent-color);
}

/* Desktop Navigation */
.desktop-nav ul {
    display: flex;
    align-items: center;
}

.desktop-nav li {
    margin-left: 2rem;
    position: relative;
}

.desktop-nav a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.desktop-nav a.active,
.desktop-nav a:hover {
    color: var(--secondary-color);
}

.desktop-nav a.active::after,
.desktop-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    max-height: 450px;
    overflow-y: auto;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-color);
    min-width: 250px;
    border-radius: 4px;
    /* padding: 0.5rem 0; */
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1;
}
.dropdown-content::-webkit-scrollbar{
    width: 6px;
    background: #ededed;
}
.dropdown-content::-webkit-scrollbar-thumb{
    border: none;
    border-radius: 0;
    background-color: var(--secondary-color);
}
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--white);
    padding: 0.75rem 1.5rem;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
}

.dropdown-content a::after {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    display: block;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
    background-color: var(--dark-color);
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100vh;
    z-index: 1000;
    padding: 2rem;
    padding-top: 0.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}
.mobile-nav::-webkit-scrollbar{
    width: 6px;
    background: #ededed;
}
.mobile-nav::-webkit-scrollbar-thumb{
    border: none;
    border-radius: 0;
    background-color: var(--secondary-color);
}
.mobile-panel-close{
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--white);
    transition: color 0.3s ease;
    text-align: right;
}
.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    /* margin-top: 2rem; */
}

.mobile-nav li {
    margin-bottom: 1rem;
}

.mobile-nav a {
    display: inline-block;
    color: var(--white);
    font-size: 1.2rem;
    padding: 0.5rem 0;
}

.mobile-nav i {
    color: var(--white);
    margin-left: 5px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.mobile-dropdown-content {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-dropdown-content.active {
    display: block;
}

.mobile-dropdown-content li {
    margin-bottom: 0.5rem;
}

.mobile-dropdown-content a {
    font-size: 1rem;
    padding: 0.25rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/static/static_images/home_picture.db96ed98c31b.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 10rem 0;
}
.hero .container{
    max-width: 1500px;
}
.hero-content{
    padding: 30px 10%;
}

.hero-content h2 {
    font-size: 4.25rem;
    text-transform: uppercase;
    color: var(--white);
    text-align: left;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    /* max-width: 800px;
    margin: 0 auto 2.5rem; */
    opacity: 0.9;
    text-align: left;
}

.hero .btn {
    text-align: left;
    margin-top: 1.25rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* Advantages Section */
.advantages {
    padding: 5rem 0;
    background-color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.advantage-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* About Preview Section */
.about-preview {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.about-preview-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-preview .section-title {
    color: var(--white);
}

.about-preview .section-title::after {
    background-color: var(--secondary-color);
}

.about-preview p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.map-container{
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}
.map-container div{
    position: relative;
    overflow: hidden;
    display: flex;
    width: 90%;
    margin: auto;
}
.map-container iframe{
    position: relative;
    margin: auto;
    border: none;
    width: 100%;
    height: 500px;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
}
.map-container{
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}
.map-container div{
    position: relative;
    overflow: hidden;
    display: flex;
    width: 90%;
    margin: auto;
}
.map-container iframe{
    position: relative;
    margin: auto;
    border: none;
    width: 100%;
    height: 500px;
}

/* Contact Social Links */
.contact-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-social a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    padding-left: 5px;
    color: var(--secondary-color);
}

.contact-social i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Form Styling */
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--dark-color);
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}
.btn-center{
    text-align: center;
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.25rem;
}
.form-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}
.form-checkbox label {
    font-weight: normal;
    font-size: 0.9rem;
    line-height: 1.4;
}
textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Product Detail Page */
.product-detail {
    padding: 5rem 0;
}

.product-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-gallery {
    position: relative;
}

.product-main-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-main-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    max-height: 360px;
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-thumbnail.active {
    border-color: var(--secondary-color);
}

.product-thumbnail:hover {
    transform: translateY(-3px);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.product-meta div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-meta i {
    color: var(--secondary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-rating .stars {
    display: flex;
}

.product-rating .stars i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.product-rating span {
    color: var(--gray-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.old-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: var(--gray-color);
}

.product-discount {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.product-description {
    margin-bottom: 2rem;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features h3 {
    margin-bottom: 1rem;
}

.feature-list {
    padding-left: 1.5rem;
}

.feature-list li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    max-width: 140px;
    border: 1px solid var(--gray-light-color);
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: var(--gray-light-color);
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--gray-light-color);
    border-right: 1px solid var(--gray-light-color);
    text-align: center;
    font-weight: 600;
}

.quantity-input:focus {
    outline: none;
}

.add-to-cart {
    flex-grow: 1;
}

.add-to-wishlist {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border: 1px solid var(--gray-light-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.add-to-wishlist:hover {
    background-color: #ffebef;
    color: #e5294e;
    border-color: #ffcbd5;
}

.product-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-share span {
    font-weight: 600;
}

.share-links {
    display: flex;
    gap: 0.5rem;
}

.share-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--gray-color);
    transition: all 0.3s ease;
}

.share-links a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.product-tabs {
    margin-top: 5rem;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--gray-light-color);
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.tab-content {
    display: none;
    line-height: 1.7;
}

.tab-content.active {
    display: block;
}
.tab-content caption{
    font-size: 1.6rem;
    margin: 1.5rem 0 1rem;
    text-align: left;
}
.tab-content h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.5rem;
}

.tab-content h2 {
    font-size: 2rem;
    margin: 1.8rem 0 1.2rem;
}

.tab-content h3 {
    font-size: 1.6rem;
    margin: 1.5rem 0 1rem;
}

  /* Абзацы */
.tab-content p {
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    text-align: justify;
}

  /* Списки */
.tab-content ul, ol {
    font-size: 1.1rem;
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.tab-content ul {
    list-style-type: none;
}

.tab-content ul li::before {
    content: "•";
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.tab-content ol {
    counter-reset: list-counter;
}

.tab-content ol li {
    counter-increment: list-counter;
    margin-bottom: 0.8rem;
}

.tab-content ol li::before {
    content: counter(list-counter) ".";
    font-weight: bold;
    margin-right: 0.8rem;
}

.tab-content table{
    width: 100%;
    border-collapse: collapse; 
    overflow-x: auto;
    display: block;
}
.tab-content  tr:nth-child(even) {
    background-color: #f5f5f5;
}

.tab-content th,
.tab-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-light-color);
}

.tab-content th {
    font-weight: 600;
    width: 40%;
}

/* Related Products */
.related-products {
    margin-top: 5rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav h3,
.footer-contacts h3,
.footer-social h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--white);
}

.footer-nav h3::after,
.footer-contacts h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-nav ul li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: var(--gray-light-color);
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-contacts p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer-contacts p:hover {
    color: var(--accent-color);
}

.footer-contacts i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Catalog Page */
.catalog-section {
    padding: 5rem 0;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.catalog-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.catalog-item-img {
    height: 220px;
    overflow: hidden;
}

.catalog-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;

}

.catalog-item:hover .catalog-item-img img {
    transform: scale(1.05);
}

.catalog-item-content {
    padding: 1.5rem;
}

.catalog-item-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.catalog-item-content p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}
.modal-overlay{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal{
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(1);
    opacity: 1;
    transition: all 0.4s ease;
}

/* .modal.active{
    transform: scale(1);
    opacity: 1;
} */
.modal-body {
    padding: 30px;
    padding-top: 0px;
}
.modal-header{
    background: #4361ee;
    color: white;
    padding: 20px;
    position: relative;
}

.modal-title{
    font-size: 24px;
    font-weight: 600;
}
.modal-close {
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
    text-align: right;
    padding: 2px 15px;
}

.modal-close:hover {
    color: var(--secondary-color);
}
/* About Page */
.about-section {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.about-feature-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Contacts Page */
.contacts-section {
    padding: 5rem 0;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Results Page */
.search-results {
    padding: 5rem 0;
}

.search-header {
    margin-bottom: 3rem;
}

.search-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.search-header p {
    color: var(--gray-color);
}

.search-result-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light-color);
}

.search-result-img {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
}

.search-result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.search-result-content p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.search-highlight {
    background-color: rgba(244, 130, 33, 0.2);
    padding: 0 2px;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero{
        padding: 8rem 0;
    }
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .product-info {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    .search-toggle {
        margin-left: 0rem;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero .btn{
        padding: 1.25rem 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
        align-items: start;
    }
    
    .quantity-selector {
        max-width: 100%;
        width: 100%;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .search-panel {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .header-wrapper {
        padding: 0.75rem 0;
    }
    .mobile-nav{
        max-width: 100%;
        min-width: 80%;
    }
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .hero .btn{
        padding: 0.75rem 1.75rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .advantages,
    .about-preview,
    .catalog-section,
    .about-section,
    .contacts-section,
    .map-section {
        padding: 3rem 0;
    }
    .advantage-item {
        padding: 1rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    .product-detail {
        padding: 1rem 0;
    }
    .product-info {
        gap: 1rem;
    }
    .product-main-img img {
        max-height: 320px;
    }
    .product-content h1 {
        font-size: 1.7rem;
    }
    .product-tabs{
        margin-top: 0rem;
    }
    .product-thumbnails {
        gap: 0.5rem;
    }
    .product-meta{
        margin-bottom: 0.5rem;
    }
    .product-thumbnail {
        width: 60px;
        height: 60px;
    }
    .tab-content p {
        text-align: left;
        font-size: 0.9rem;
    } 
    .tab-content li{
        font-size: 0.9rem;
    }   
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
} 
@media (max-width: 330px) {
    .hero .btn{
        padding: 0.7rem 1.6rem;
        font-size: 0.8rem;
    }
}