:root {
    --divine-white: #ffffff;
    --divine-silver: #dce8f1;
    --divine-gold: #f7c842;
    --quantum-space: #0a0e1a;
    --quantum-void: #050811;
    --quantum-glow: #0ff;
    --hologram-purple: #9d4edd;
}

/* Banner */
.background-banner {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.background-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 2rem;
}

.background-title h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--divine-gold), var(--quantum-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 128, 55, 0.4);
    letter-spacing: 2px;
    line-height: 1.2;
}

/* Structure */
.structure {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

main {
    flex: 3;
    min-width: 300px;
}

aside {
    flex: 1;
    min-width: 290px;
}

/* Single Product Container */
.single_container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.single_card {
    flex: 1;
    min-width: 300px;
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.single_card img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.single_card .title {
    font-size: 1.5rem;
    color: var(--divine-gold);
    margin-bottom: 1.5rem;
}

.single_card .title b {
    color: var(--divine-white);
}

.single_card .desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--divine-silver);
}

/* Related Products */
header {
    text-align: center;
    margin: 3rem 0;
}

header h1 {
    font-size: 2rem;
    color: var(--divine-white);
    text-shadow: 0 0 10px rgba(220, 232, 241, 0.3);
}

.slider {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
    margin-bottom: 3rem;
}

.owl-carousel {
    display: flex;
    gap: 1.5rem;
}

.bg-card {
    background: rgba(10, 14, 26, 0.7);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.bg-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.2);
    border: 1px solid var(--quantum-glow);
}

.bg-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.bg-card .title {
    padding: 1rem;
    font-size: 1.2rem;
    color: var(--divine-gold);
    text-align: center;
}

.bg-card .desc {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: var(--divine-silver);
}

.read_more {
    display: block;
    margin: 1rem auto;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(to right, var(--quantum-space), var(--quantum-void));
    color: var(--divine-gold);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid var(--divine-gold);
    text-align: center;
    width: max-content;
}

.read_more:hover {
    background: linear-gradient(to right, var(--divine-gold), var(--quantum-glow));
    color: var(--quantum-space);
    box-shadow: 0 0 20px var(--divine-gold);
}

/* Sidebar */
.sidebar {
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 20px;
}

.sidebar h1 {
    font-size: 1.5rem;
    color: var(--divine-gold);
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(247, 200, 66, 0.3);
}

/* Error Message */
.error {
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 50, 50, 0.3);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.error p {
    color: #ff6666;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .background-title h1 {
        font-size: 1.8rem;
    }

    .single_container {
        flex-direction: column;
    }

    .single_card {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .background-banner {
        height: 200px;
    }

    .structure {
        padding: 1rem;
        flex-direction: column;
    }

    aside {
        order: -1;
        margin-bottom: 2rem;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    .background-title h1 {
        font-size: 1.5rem;
    }

    .single_card {
        padding: 1.5rem;
    }

    .single_card .title {
        font-size: 1.3rem;
    }

    .single_card .desc {
        font-size: 1rem;
    }

    header h1 {
        font-size: 1.5rem;
    }
}
