* {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        color: #fff;
        line-height: 1.6;
        min-height: 100vh;
        background: #050c1a; /* Backup գույն */
        overflow-x: hidden;
    }

    body::before {
        content: "";
        position: fixed;
        top: -5%;
        left: -5%;
        width: 110%;
        height: 110%;
        background: linear-gradient(rgba(5, 12, 26, 0.75), rgba(5, 12, 26, 0.85)), 
                    url('/assets/images/product.webp') no-repeat center center;
        background-size: cover;
        z-index: -1;
        animation: liveBackground 40s infinite alternate ease-in-out;
    }

    @keyframes liveBackground {
        0% { transform: scale(1) translate(0, 0); }
        100% { transform: scale(1.1) translate(-2%, -2%); }
    }

    .container {
        max-width: 1200px;
        margin: 40px auto 80px;
        padding: 0 25px;
    }

    .back-link {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 30px;
        color: #94a3b8;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 8px 16px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
    }

    .back-link:hover {
        color: #22c55e;
        background: rgba(34, 197, 94, 0.08);
        border-color: rgba(34, 197, 94, 0.3);
        transform: translateX(-5px);
    }

    .product-wrapper {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
        align-items: start;
    }

    .product-gallery, .product-info {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 32px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }

    .product-gallery {
        padding: 20px;
        position: sticky;
        top: 100px;
    }

    .product-main-image {
        width: 100%;
        height: 550px;
        object-fit: contain; 
        border-radius: 24px;
        background: radial-gradient(circle at center, rgba(34, 197, 94, 0.05) 0%, rgba(15, 23, 42, 0.2) 100%);
        display: block;
        transition: transform 0.5s ease;
    }

    .product-gallery:hover .product-main-image {
        transform: scale(1.02);
    }

    .product-info {
        padding: 40px;
    }

    .product-badge {
        display: inline-block;
        padding: 6px 14px;
        background: rgba(34, 197, 94, 0.1);
        border: 1px solid rgba(34, 197, 94, 0.2);
        color: #4ade80;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .product-brand {
        color: #22c55e;
        font-size: 14px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .product-title {
        margin: 0 0 20px;
        font-size: 48px;
        font-weight: 900;
        line-height: 1.1;
        color: #f8fafc;
        letter-spacing: -1px;
    }

    .product-price {
        font-size: 38px;
        font-weight: 800;
        margin-bottom: 25px;
        color: #fff;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .stock-row { margin-bottom: 30px; }
    .stock-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 700;
    }

    .in-stock {
        background: rgba(34, 197, 94, 0.15);
        color: #4ade80;
        border: 1px solid rgba(34, 197, 94, 0.2);
    }

    .out-stock {
        background: rgba(239, 68, 68, 0.15);
        color: #f87171;
        border: 1px solid rgba(239, 68, 68, 0.2);
    }

    .product-description {
        color: #94a3b8;
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 35px;
        border-left: 3px solid rgba(34, 197, 94, 0.3);
        padding-left: 20px;
    }

    .product-meta {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }

    .meta-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 20px;
        padding: 20px;
        transition: 0.3s;
    }

    .meta-card:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(34, 197, 94, 0.3);
        transform: translateY(-3px);
    }

    .meta-label {
        color: #64748b;
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 700;
        margin-bottom: 6px;
        letter-spacing: 0.5px;
    }

    .meta-value {
        color: #f1f5f9;
        font-size: 16px;
        font-weight: 700;
    }

    .product-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .btn {
        padding: 18px;
        border-radius: 16px;
        text-decoration: none;
        font-weight: 800;
        text-align: center;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }

    .btn-primary {
        background: #22c55e;
        color: #050c1a;
        box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
    }

    .btn-primary:hover {
        background: #16a34a;
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(34, 197, 94, 0.4);
    }

    .btn-secondary {
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-3px);
    }

    @media (max-width: 1024px) {
        .product-wrapper { grid-template-columns: 1fr; }
        .product-gallery { position: static; }
        .product-main-image { height: 400px; }
    }

    @media (max-width: 640px) {
        .product-title { font-size: 32px; }
        .product-meta { grid-template-columns: 1fr; }
        .product-info { padding: 25px; }
    }