        :root {
            --dark-blue: #001a33;
            --accent-blue: #3498db;
            --turquoise: #40e0d0;
            --black: #0a0a0a;
            --dark-black: #000;
            --darker-black: #080808;
            --white: #f5f5f5;
            --light-gray: #a0a0a0;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Open Sans', sans-serif;
            background-color: var(--dark-black);
            color: var(--white);
            line-height: 1.6;
            min-height: 100vh;
        }

        /* Шапка сайта */
        header {
            background: linear-gradient(135deg, var(--dark-blue), var(--black));
            color: var(--white);
            padding: 2rem 1.5rem 1.2rem;
            text-align: center;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
            border-bottom: 1px solid rgba(52, 152, 219, 0.2);
        }

        header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image:
                linear-gradient(rgba(52, 152, 219, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(52, 152, 219, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
            pointer-events: none;
        }

        header h1 {
            font-family: 'Roboto', sans-serif;
            font-size: 2.8rem;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 0.8rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
            background: linear-gradient(to right, var(--accent-blue), var(--turquoise));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .back-link {
            display: inline-block;
            font-size: 1.1rem;
            font-weight: 400;
            color: var(--light-gray);
            text-decoration: none;
            margin-top: 0.5rem;
            padding: 0.5rem 1rem;
            border-radius: 30px;
            transition: var(--transition);
            position: relative;
            z-index: 1;
        }

        .back-link:hover {
            color: var(--white);
            background: rgba(52, 152, 219, 0.1);
        }

        .back-link i {
            margin-right: 8px;
            transition: var(--transition);
        }

        .back-link:hover i {
            transform: translateX(-4px);
        }

        /* Основное содержимое */
        main {
            max-width: 1200px;
            margin: 3rem auto;
            padding: 0 1.5rem;
        }

        .product-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-bottom: 4rem;
        }

        @media (max-width: 768px) {
            .product-container {
                grid-template-columns: 1fr;
            }
        }

        /* Галерея товара */
        .product-gallery {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            border: 1px solid rgba(52, 152, 219, 0.1);
            background: linear-gradient(145deg, #121212, #080808);
        }

        .main-image-container {
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        .main-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: var(--transition);
        }

        .product-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, var(--accent-blue), var(--turquoise));
            color: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: bold;
            z-index: 2;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .thumbnails {
            display: flex;
            padding: 1rem;
            gap: 0.8rem;
            background: rgba(30, 30, 30, 0.7);
            border-top: 1px solid rgba(52, 152, 219, 0.1);
        }

        .thumbnail {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: var(--transition);
            background: rgba(20, 20, 20, 0.5);
        }

        .thumbnail:hover, .thumbnail.active {
            border-color: var(--accent-blue);
            transform: translateY(-5px);
        }

        .thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Информация о товаре */
        .product-info {
            background: linear-gradient(145deg, #121212, #080808);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow);
            border: 1px solid rgba(52, 152, 219, 0.1);
            position: relative;
        }

        .product-info::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image:
                linear-gradient(rgba(52, 152, 219, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(52, 152, 219, 0.05) 1px, transparent 1px);
            background-size: 25px 25px;
            pointer-events: none;
        }

        .product-title {
            font-family: 'Roboto', sans-serif;
            font-size: 2.2rem;
            margin-bottom: 1rem;
            color: var(--white);
        }

        .product-rating {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .rating-stars {
            color: #ffc107;
            font-size: 1.2rem;
            margin-right: 1rem;
        }

        .rating-count {
            color: var(--light-gray);
            font-size: 0.95rem;
        }

        .product-description {
            color: var(--light-gray);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .specs-title {
            font-family: 'Roboto', sans-serif;
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--white);
            position: relative;
            padding-bottom: 0.5rem;
        }

        .specs-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-blue), var(--turquoise));
            border-radius: 2px;
        }

        .specs-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .spec-item {
            display: flex;
            padding: 0.8rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .spec-name {
            flex: 1;
            color: var(--light-gray);
            font-size: 0.95rem;
        }

        .spec-value {
            flex: 1;
            font-weight: bold;
            color: var(--white);
        }

        /* Блок заказа */
        .order-section {
            background: rgba(30, 30, 30, 0.7);
            border-radius: 10px;
            padding: 1.5rem;
            margin-top: 2rem;
            border: 1px solid rgba(52, 152, 219, 0.1);
        }

        .price-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .price-label {
            color: var(--light-gray);
            font-size: 1.1rem;
        }

        .price {
            font-family: 'Roboto', sans-serif;
            font-size: 2.2rem;
            font-weight: bold;
            background: linear-gradient(to right, var(--accent-blue), var(--turquoise));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .min-order {
            background: rgba(52, 152, 219, 0.1);
            padding: 0.8rem 1.2rem;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
        }

        .min-order i {
            color: var(--accent-blue);
            margin-right: 10px;
            font-size: 1.2rem;
        }

        .min-order-text {
            font-size: 1rem;
        }

        .min-order strong {
            color: var(--turquoise);
            font-weight: bold;
        }

        .quantity-selector {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .quantity-label {
            margin-right: 1rem;
            color: var(--light-gray);
        }

        .quantity-input {
            background: rgba(20, 20, 20, 0.5);
            border: 1px solid rgba(52, 152, 219, 0.2);
            color: var(--white);
            padding: 0.8rem 1rem;
            border-radius: 8px;
            width: 100px;
            text-align: center;
            font-size: 1.1rem;
            transition: var(--transition);
        }

        .quantity-input:focus {
            border-color: var(--accent-blue);
            outline: none;
        }

        .order-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--accent-blue), var(--turquoise));
            color: var(--white);
            padding: 1.2rem;
            border-radius: 10px;
            text-decoration: none;
            font-weight: bold;
            transition: var(--transition);
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            border: none;
            cursor: pointer;
            z-index: 1;
            font-size: 1.2rem;
            width: 100%;
        }

        .order-btn::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: var(--transition);
            z-index: -1;
        }

        .order-btn:hover {
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
            transform: translateY(-3px);
        }

        .order-btn:hover::before {
            left: 100%;
        }

        .order-btn i {
            margin-right: 10px;
            font-size: 1.3rem;
        }

        /* Похожие товары */
        .related-products {
            margin-top: 4rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .section-title {
            text-align: center;
            margin-bottom: 2.5rem;
            position: relative;
            font-size: 2rem;
            color: var(--white);
            font-weight: 300;
        }

        .section-title::after {
            content: "";
            display: block;
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-blue), var(--turquoise));
            margin: 0.8rem auto 0;
            border-radius: 2px;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 2rem;
        }

        .product-card {
            background: linear-gradient(145deg, #121212, #080808);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            transform: translateY(0);
            display: flex;
            flex-direction: column;
            height: 100%;
            border: 1px solid rgba(52, 152, 219, 0.1);
        }

        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 24px rgba(52, 152, 219, 0.2);
            border-color: rgba(52, 152, 219, 0.3);
        }

        .product-image-container {
            height: 180px;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(20, 20, 20, 0.5);
        }

        .product-image {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            transition: var(--transition);
        }

        .product-card-content {
            padding: 1.2rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .product-card-title {
            font-family: 'Roboto', sans-serif;
            color: var(--white);
            font-size: 1.2rem;
            margin-bottom: 0.8rem;
            min-height: 3.2rem;
        }

        .product-card-price {
            font-family: 'Roboto', sans-serif;
            font-size: 1.4rem;
            font-weight: bold;
            background: linear-gradient(to right, var(--accent-blue), var(--turquoise));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-top: auto;
        }

        /* Эффекты свечения */
        .glow {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: -1;
        }

        .glow-1 {
            position: absolute;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(52, 152, 219, 0.15) 0%, transparent 70%);
            top: 20%;
            left: 10%;
            filter: blur(80px);
        }

        .glow-2 {
            position: absolute;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(64, 224, 208, 0.1) 0%, transparent 70%);
            bottom: 10%;
            right: 10%;
            filter: blur(60px);
        }

        /* Адаптивность */
        @media (max-width: 1024px) {
            .main-image-container {
                height: 350px;
            }

            .product-title {
                font-size: 2rem;
            }
        }

        @media (max-width: 768px) {
            .product-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .main-image-container {
                height: 300px;
            }

            .thumbnails {
                overflow-x: auto;
                padding: 0.8rem;
            }

            .thumbnail {
                min-width: 70px;
            }

            .product-title {
                font-size: 1.8rem;
            }

            .price {
                font-size: 2rem;
            }

            .section-title {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 480px) {
            header h1 {
                font-size: 2.2rem;
            }

            .back-link {
                font-size: 1rem;
            }

            .main-image-container {
                height: 250px;
            }

            .product-info {
                padding: 1.5rem;
            }

            .specs-grid {
                grid-template-columns: 1fr;
            }

            .price-container {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .quantity-selector {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.8rem;
            }

            .quantity-input {
                width: 100%;
            }
        }
        a {
  text-decoration: none;
  color:#fff;
}
.btn-div{
    display: flex;
    flex-direction: column;
    gap:10px;
}

.logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2c3e50;
  color: #ecf0f1;
  text-decoration: none;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  gap: 8px;
  width: fit-content;
}

.logout-btn:hover {
  background: #34495e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.logout-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.logout-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.logout-btn:hover svg {
  transform: translateX(1px);
}