  <style>
    /* Стили для кнопки избранного */
.favorite-button {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #ccc;
}

.favorite-button:hover {
    background: rgba(255, 255, 255, 1);
    color: #FFD700;
}

.favorite-button.favorited {
    color: #e74c3c;
}

/* Стили для карусели в модальном окне */
.modal-image-container {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.modal-carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
    width: 100%;
}

.modal-carousel-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.modal-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #FFD700;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-carousel-btn.previous {
    left: 10px;
}

.modal-carousel-btn.next {
    right: 10px;
}
        {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: #fff;
            color: #000;
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .header-stripes {
            height: 15px;
            background: repeating-linear-gradient(
                45deg,
                #000,
                #000 10px,
                #FFD700 10px,
                #FFD700 20px
            );
        }

        header {
            background: #000;
            padding: 20px 0;
            box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .logo {
            font-size: 28px;
            font-weight: bold;
            color: #FFD700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .contact-info {
            color: #FFD700;
            font-size: 18px;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .login-btn {
            background: #FFD700;
            color: #000;
            padding: 8px 16px;
            border-radius: 20px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .login-btn:hover {
            background: #FFA500;
            transform: scale(1.05);
        }

        .search-section {
            background: rgba(255, 215, 0, 0.1);
            padding: 40px 0;
            text-align: center;
        }

        .search-title {
            font-size: 36px;
            margin-bottom: 20px;
            color: #000;
        }

        .search-toggle {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
            gap: 10px;
        }

        .toggle-btn {
            background: transparent;
            border: 2px solid #FFD700;
            color: #000;
            padding: 8px 16px;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: bold;
        }

        .toggle-btn.active {
            background: #FFD700;
            color: #000;
        }

        .search-container {
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        .search-input-wrapper {
            display: flex;
            width: 100%;
            border: 3px solid #FFD700;
            border-radius: 25px;
            overflow: hidden;
            background: #fff;
        }

        .search-box {
            flex: 1;
            padding: 15px 20px;
            font-size: 18px;
            border: none;
            outline: none;
        }

        .search-btn {
            background: #FFD700;
            border: none;
            padding: 0 25px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .search-btn:hover {
            background: #FFA500;
        }

        .map-container {
            display: none;
            margin-top: 20px;
            height: 400px;
            border-radius: 15px;
            border: 3px solid #FFD700;
            position: relative;
            overflow: hidden;
        }

        #yandex-map {
            width: 100%;
            height: 100%;
        }

        .filters {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .filter-btn {
            background: transparent;
            border: 2px solid #FFD700;
            color: #000;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: bold;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: #FFD700;
            color: #000;
        }

        .equipment-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            padding: 40px 0;
        }

        @media (max-width: 1024px) {
            .equipment-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .equipment-grid {
                grid-template-columns: 1fr;
            }
        }

        .equipment-card {
            background: #fff;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 2px solid #FFD700;
            cursor: pointer;
            position: relative;
            width: 100%;
        }

        .equipment-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
        }

        .card-image-container {
            height: 200px;
            position: relative;
            overflow: hidden;
        }

        .carousel-slides {
            display: flex;
            transition: transform 0.5s ease;
            height: 100%;
        }

        .carousel-slide {
            min-width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
        }

        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: #FFD700;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s ease;
        }

        .carousel-btn:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .carousel-btn.prev {
            left: 10px;
        }

        .carousel-btn.next {
            right: 10px;
        }

        .price-tag {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #FFD700;
            color: #000;
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 16px;
            z-index: 10;
        }

        .card-content {
            padding: 15px;
        }

        .card-title {
            font-size: 18px;
            font-weight: bold;
            color: #000;
            margin-bottom: 10px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-address {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            color: #666;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-address i {
            margin-right: 8px;
            color: #FFD700;
        }

        .rating-section {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .rating-stars {
            color: #FFD700;
            margin-right: 10px;
        }

        .rating-value {
            font-weight: bold;
            margin-right: 5px;
            font-size: 14px;
        }

        .reviews-count {
            color: #666;
            font-size: 12px;
        }

        .company-profile {
            display: flex;
            align-items: center;
            padding: 10px;
            background: #f9f9f9;
            border-radius: 8px;
            margin-bottom: 15px;
            border: 1px solid #eee;
        }

        .company-logo {
            width: 30px;
            height: 30px;
            border-radius: 8px;
            object-fit: cover;
            margin-right: 10px;
            border: 1px solid #ddd;
        }

        .company-info {
            flex: 1;
        }

        .company-name {
            font-weight: bold;
            font-size: 12px;
            margin-bottom: 3px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .company-rating {
            display: flex;
            align-items: center;
            font-size: 11px;
        }

        .company-stars {
            color: #FFD700;
            margin-right: 5px;
        }

        .rent-btn {
            width: 100%;
            background: linear-gradient(45deg, #FFD700, #FFA500);
            border: none;
            padding: 12px;
            border-radius: 20px;
            color: #000;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .rent-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
        }

        /* Модальное окно деталей */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            overflow-y: auto;
            padding: 20px;
        }

        .modal-content {
            background: #fff;
            margin: 40px auto;
            max-width: 900px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #FFD700;
            color: #000;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 1010;
            font-weight: bold;
            border: none;
        }

        .modal-image {
            height: 350px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .modal-price {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #FFD700;
            color: #000;
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 18px;
            z-index: 10;
        }

        .modal-body {
            padding: 30px;
        }

        .modal-title {
            font-size: 28px;
            color: #000;
            margin-bottom: 5px;
        }

        .modal-subtitle {
            font-size: 18px;
            color: #666;
            margin-bottom: 20px;
        }

        .modal-address {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            color: #666;
            font-size: 16px;
        }

        .modal-address i {
            margin-right: 8px;
            color: #FFD700;
        }

        .modal-rating {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .modal-rating-stars {
            color: #FFD700;
            margin-right: 10px;
            font-size: 20px;
        }

        .modal-rating-value {
            font-weight: bold;
            margin-right: 5px;
            font-size: 18px;
        }

        .modal-reviews-count {
            color: #666;
            font-size: 16px;
        }

        /* Вкладки модального окна */
        .modal-tabs {
            display: flex;
            border-bottom: 2px solid #FFD700;
            margin-bottom: 20px;
        }

        .tab-btn {
            padding: 10px 20px;
            background: none;
            border: none;
            cursor: pointer;
            font-weight: bold;
            color: #666;
            border-bottom: 2px solid transparent;
            margin-bottom: -2px;
        }

        .tab-btn.active {
            color: #000;
            border-bottom: 2px solid #FFD700;
        }

        .tab-content {
            margin-bottom: 20px;
        }

        .tab-pane {
            display: none;
        }

        .tab-pane.active {
            display: block;
        }

        .modal-specs, .modal-description, .modal-comments, .modal-company {
            margin-bottom: 20px;
        }

        .modal-specs h3, .modal-description h3, .modal-comments h3, .modal-company h3 {
            color: #000;
            margin-bottom: 15px;
            font-size: 20px;
            border-bottom: 2px solid #FFD700;
            padding-bottom: 5px;
        }

        .modal-specs ul {
            list-style: none;
        }

        .modal-specs li {
            padding: 8px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
        }

        .modal-description p {
            line-height: 1.6;
            color: #333;
        }

        .modal-comments-list {
            list-style: none;
            max-height: 300px;
            overflow-y: auto;
        }

        .modal-comment {
            padding: 15px 0;
            border-bottom: 1px solid #eee;
        }

        .modal-comment:last-child {
            border-bottom: none;
        }

        .modal-comment-header {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .modal-comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 10px;
        }

        .modal-comment-author {
            font-weight: bold;
            margin-right: 10px;
        }

        .modal-comment-date {
            color: #888;
            font-size: 14px;
        }

        .modal-comment-rating {
            color: #FFD700;
            margin-left: auto;
        }

        .modal-comment-text {
            color: #333;
            line-height: 1.5;
        }

        .modal-company {
            margin-bottom: 20px;
        }

        .modal-company-profile {
            display: flex;
            align-items: center;
            padding: 15px;
            background: #f9f9f9;
            border-radius: 10px;
            border: 1px solid #eee;
        }

        .modal-company-logo {
            width: 60px;
            height: 60px;
            border-radius: 10px;
            object-fit: cover;
            margin-right: 15px;
            border: 1px solid #ddd;
        }

        .modal-company-info {
            flex: 1;
        }

        .modal-company-name {
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 5px;
        }

        .modal-company-rating {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
        }

        .modal-company-stars {
            color: #FFD700;
            margin-right: 5px;
        }

        .modal-company-contacts {
            font-size: 14px;
            color: #666;
        }

        .modal-action {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }

        .modal-rent-btn {
            background: linear-gradient(45deg, #FFD700, #FFA500);
            border: none;
            padding: 15px 40px;
            border-radius: 25px;
            color: #000;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .modal-rent-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
        }

        /* Модальное окно бронирования */
        .booking-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1010;
            overflow-y: auto;
            padding: 20px;
        }

        .booking-modal-content {
            background: #fff;
            margin: 40px auto;
            max-width: 600px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
            position: relative;
        }

        .booking-modal-header {
            background: #000;
            color: #FFD700;
            padding: 20px;
            text-align: center;
        }

        .booking-modal-body {
            padding: 30px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #333;
        }

        .form-group input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }

        .form-group input:focus {
            border-color: #FFD700;
            outline: none;
        }

        .form-row {
            display: flex;
            gap: 15px;
        }

        .form-row .form-group {
            flex: 1;
        }

        .cost-calculation {
            background: #f9f9f9;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            text-align: center;
        }

        .cost-calculation h3 {
            margin-bottom: 10px;
            color: #000;
        }

        .total-cost {
            font-size: 24px;
            font-weight: bold;
            color: #FFD700;
        }

        .submit-booking-btn {
            background: linear-gradient(45deg, #FFD700, #FFA500);
            border: none;
            padding: 15px 30px;
            border-radius: 25px;
            color: #000;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }

        .submit-booking-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
        }

        .login-prompt {
            text-align: center;
            padding: 20px;
        }

        .login-prompt p {
            margin-bottom: 15px;
            font-size: 18px;
        }

        footer {
            background: #000;
            padding: 30px 0;
            text-align: center;
            margin-top: 50px;
        }

        .footer-content {
            color: #FFD700;
        }

        @media (max-width: 768px) {
            .header-content {
                text-align: center;
                gap: 15px;
            }
            
            .search-title {
                font-size: 28px;
            }
            
            .equipment-grid {
                grid-template-columns: 1fr;
                padding: 20px 0;
            }
            
            .filters {
                gap: 10px;
            }
            
            .filter-btn {
                padding: 8px 15px;
                font-size: 14px;
            }

            .modal-body {
                padding: 20px;
            }

            .modal-image {
                height: 250px;
            }

            .modal-tabs {
                flex-wrap: wrap;
            }

            .tab-btn {
                padding: 8px 12px;
                font-size: 14px;
            }

            .form-row {
                flex-direction: column;
                gap: 0;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 22px;
            }
            
            .contact-info {
                font-size: 16px;
                flex-direction: column;
                gap: 10px;
            }
            
            .search-title {
                font-size: 24px;
            }
            
            .search-box {
                padding: 12px 15px;
                font-size: 16px;
            }
            
            .search-btn {
                padding: 0 15px;
            }
            
            .card-content {
                padding: 15px;
            }
            
            .card-title {
                font-size: 18px;
            }
            
            .rent-btn {
                padding: 12px;
                font-size: 16px;
            }

            .modal-content {
                margin: 20px auto;
            }

            .modal-body {
                padding: 15px;
            }

            .modal-title {
                font-size: 24px;
            }

            .tab-btn {
                padding: 6px 10px;
                font-size: 12px;
            }
        }
    </style>