/* ========================================
   MAGNETIC BLOCKS - MAIN STYLES
   ======================================== */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #22c55e;
    --yellow: #facc15;
    --orange: #f97316;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    --pink: #ec4899;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    color: inherit;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-cube {
    width: 36px;
    height: 36px;
    position: relative;
    transform-style: preserve-3d;
    animation: logoSpin 8s infinite linear;
}

@keyframes logoSpin {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(180deg); }
}

.cube-face {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    opacity: 0.9;
}

.c-front {
    background: linear-gradient(135deg, var(--cyan), #0891b2);
    transform: translateZ(18px);
}

.c-back {
    background: linear-gradient(135deg, var(--yellow), #eab308);
    transform: translateZ(-18px) rotateY(180deg);
}

.c-left {
    background: linear-gradient(135deg, var(--orange), #ea580c);
    transform: translateX(-18px) rotateY(-90deg);
}

.c-right {
    background: linear-gradient(135deg, var(--purple), #7c3aed);
    transform: translateX(18px) rotateY(90deg);
}

.c-top {
    background: linear-gradient(135deg, var(--green), #16a34a);
    transform: translateY(-18px) rotateX(90deg);
}

.logo-text {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--purple);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdf4 0%, #fefce8 50%, #fce7f3 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    top: -150px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--cyan), var(--green));
    bottom: -100px;
    left: -50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-text .gradient {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.4);
}

.btn-hero {
    font-size: 1.1rem;
    padding: 16px 40px;
}

.hero-visual {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#three-container {
    width: 100%;
    height: 100%;
}

#three-container canvas {
    margin: 0 auto;
}

/* ========================================
   SECTION TITLES
   ======================================== */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
}

/* ========================================
   POPULAR MODELS
   ======================================== */

.popular-models {
    padding: 80px 0;
    background: var(--bg);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.model-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--purple);
}

.model-card.featured {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    border-color: var(--purple);
}

.hot-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.model-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Magnetic Star */
.magnet-star {
    position: relative;
    width: 100px;
    height: 100px;
}

.star-arm {
    position: absolute;
    width: 14px;
    height: 50px;
    border-radius: 8px;
    left: 50%;
    top: 50%;
    transform-origin: center bottom;
}

.star-arm.arm-1 {
    background: linear-gradient(180deg, var(--green), #16a34a);
    transform: translate(-50%, -100%) rotate(0deg);
}

.star-arm.arm-2 {
    background: linear-gradient(180deg, var(--green), #16a34a);
    transform: translate(-50%, -100%) rotate(72deg);
}

.star-arm.arm-3 {
    background: linear-gradient(180deg, var(--green), #16a34a);
    transform: translate(-50%, -100%) rotate(144deg);
}

.star-arm.arm-4 {
    background: linear-gradient(180deg, var(--green), #16a34a);
    transform: translate(-50%, -100%) rotate(216deg);
}

.star-arm.arm-5 {
    background: linear-gradient(180deg, var(--green), #16a34a);
    transform: translate(-50%, -100%) rotate(288deg);
}

.star-center {
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--yellow), #eab308);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Magnetic Cube */
.magnet-cube {
    width: 80px;
    height: 80px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeSpin 10s infinite linear;
}

@keyframes cubeSpin {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.m-cube-face {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    opacity: 0.85;
}

.m-cube-face.front {
    background: linear-gradient(135deg, var(--cyan), #0891b2);
    transform: translateZ(40px);
}

.m-cube-face.back {
    background: linear-gradient(135deg, var(--yellow), #eab308);
    transform: translateZ(-40px) rotateY(180deg);
}

.m-cube-face.left {
    background: linear-gradient(135deg, var(--orange), #ea580c);
    transform: translateX(-40px) rotateY(-90deg);
}

.m-cube-face.right {
    background: linear-gradient(135deg, var(--purple), #7c3aed);
    transform: translateX(40px) rotateY(90deg);
}

.m-cube-face.top {
    background: linear-gradient(135deg, var(--green), #16a34a);
    transform: translateY(-40px) rotateX(90deg);
}

/* Magnetic Sphere */
.magnet-sphere {
    width: 120px;
    height: 120px;
    position: relative;
}

.sphere-block {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.sphere-block.b1 { background: var(--purple); top: 10px; left: 44px; }
.sphere-block.b2 { background: var(--green); top: 25px; left: 20px; }
.sphere-block.b3 { background: var(--cyan); top: 25px; right: 20px; }
.sphere-block.b4 { background: var(--yellow); top: 50px; left: 5px; }
.sphere-block.b5 { background: var(--orange); top: 50px; left: 44px; }
.sphere-block.b6 { background: var(--pink); top: 50px; right: 20px; }
.sphere-block.b7 { background: var(--cyan); top: 75px; left: 20px; }
.sphere-block.b8 { background: var(--green); top: 75px; right: 20px; }
.sphere-block.b9 { background: var(--yellow); bottom: 10px; left: 44px; }
.sphere-block.b10 { background: var(--purple); top: 15px; left: 70px; }
.sphere-block.b11 { background: var(--orange); top: 55px; right: 5px; }
.sphere-block.b12 { background: var(--pink); bottom: 25px; right: 35px; }

/* Magnetic Combo */
.magnet-combo {
    width: 100px;
    height: 100px;
    position: relative;
}

.combo-outer {
    position: absolute;
    width: 80px;
    height: 80px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.combo-star-small {
    width: 80px;
    height: 80px;
    position: relative;
}

.cs-arm {
    position: absolute;
    width: 10px;
    height: 35px;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--purple), var(--pink));
    left: 50%;
    top: 50%;
    transform-origin: center bottom;
}

.cs-arm.arm-1 { transform: translate(-50%, -100%) rotate(0deg); }
.cs-arm.arm-2 { transform: translate(-50%, -100%) rotate(72deg); }
.cs-arm.arm-3 { transform: translate(-50%, -100%) rotate(144deg); }
.cs-arm.arm-4 { transform: translate(-50%, -100%) rotate(216deg); }
.cs-arm.arm-5 { transform: translate(-50%, -100%) rotate(288deg); }

.combo-inner {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    border-radius: 4px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.model-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.model-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    padding: 70px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.icon-safety {
    background: linear-gradient(135deg, var(--green), #16a34a);
}

.icon-growth {
    background: linear-gradient(135deg, var(--cyan), #0891b2);
}

.icon-quality {
    background: linear-gradient(135deg, var(--yellow), #eab308);
}

.icon-creative {
    background: linear-gradient(135deg, var(--purple), var(--pink));
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   COLLECTIONS SECTION
   ======================================== */

.collections-section {
    padding: 80px 0;
    background: var(--bg);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.collection-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.collection-card.featured {
    border-color: var(--purple);
}

.popular-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    color: white;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
}

.collection-visual {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-visual.bg-green {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.collection-visual.bg-purple {
    background: linear-gradient(135deg, #ddd6fe, #c4b5fd);
}

.collection-visual.bg-orange {
    background: linear-gradient(135deg, #fed7aa, #fdba74);
}

.collection-models {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mini-cube {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.mini-cube.mc-1 { background: linear-gradient(135deg, var(--green), #16a34a); }
.mini-cube.mc-2 { background: linear-gradient(135deg, var(--cyan), #0891b2); }
.mini-cube.mc-3 { background: linear-gradient(135deg, var(--purple), #7c3aed); }
.mini-cube.mc-4 { background: linear-gradient(135deg, var(--pink), #db2777); }

.mini-star {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.mini-house {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, var(--purple), #7c3aed);
    border-radius: 8px 8px 0 0;
    position: relative;
}

.mini-house::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid var(--orange);
}

.mini-car {
    width: 55px;
    height: 30px;
    background: linear-gradient(135deg, var(--cyan), #0891b2);
    border-radius: 8px;
    position: relative;
}

.mini-car::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 20px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

.mini-car::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 8px;
    width: 12px;
    height: 12px;
    background: var(--text);
    border-radius: 50%;
    box-shadow: 28px 0 0 var(--text);
}

.collection-content {
    padding: 24px;
}

.collection-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.collection-content > p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.collection-features {
    list-style: none;
    margin-bottom: 20px;
}

.collection-features li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.collection-features li:last-child {
    border-bottom: none;
}

.collection-btn {
    color: var(--purple);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
}

.collection-btn:hover {
    text-decoration: underline;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */

.reviews-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.review-stars {
    color: #fbbf24;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-photo {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
}

.review-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text);
}

.author-city {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.logo-cube-small {
    width: 32px;
    height: 32px;
    position: relative;
    transform-style: preserve-3d;
}

.lc-face {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    opacity: 0.9;
}

.lc-face.front {
    background: linear-gradient(135deg, var(--cyan), #0891b2);
    transform: translateZ(16px);
}

.lc-face.back {
    background: linear-gradient(135deg, var(--yellow), #eab308);
    transform: translateZ(-16px) rotateY(180deg);
}

.lc-face.left {
    background: linear-gradient(135deg, var(--green), #16a34a);
    transform: translateX(-16px) rotateY(-90deg);
}

.lc-face.right {
    background: linear-gradient(135deg, var(--purple), #7c3aed);
    transform: translateX(16px) rotateY(90deg);
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--purple);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: white;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text);
    font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .models-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collections-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .models-grid,
    .features-grid,
    .collections-grid,
    .reviews-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* === Product Page Styles === */

/* Breadcrumb */
.breadcrumb {
    padding: 60px 0 20px;
    background: var(--bg-light);
}
.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--purple);
}

/* Product Page */
.product-page {
    padding: 60px 0;
    background: var(--bg);
}
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 20px;
}
.main-image {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.main-product-img {
    width: 100%;
    height: auto;
    display: block;
}
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.thumbnail {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 3px solid transparent;
}
.thumbnail:hover {
    transform: scale(1.05);
}
.thumbnail.active {
    border-color: var(--purple);
}

/* Product Details */
.product-details {
    display: flex;
    flex-direction: column;
}
.product-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.stars {
    color: #fbbf24;
    font-size: 1.2rem;
}
.rating-count {
    color: var(--text-light);
}

/* Price */
.price-section-large {
    margin: 24px 0;
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.5rem;
}
.current-price-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--purple);
}
.discount-badge {
    background: #ef4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Product Specs */
.product-specs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}
.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.spec-icon {
    font-size: 1.5rem;
}

/* DUO Package */
.duo-offer {
    background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(236,72,153,0.05));
    border: 2px solid var(--purple);
    border-radius: 20px;
    padding: 24px;
    margin: 24px 0;
}

/* Order Section */
.order-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.order-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
/* When there's only form (no order-info), center it */
.order-container > .order-form-wrapper:only-child {
    margin: 0 auto;
    max-width: 600px;
}
.order-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-box {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 20px;
}
.feature-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    .order-container {
        grid-template-columns: 1fr;
    }
    .order-container > .order-form-wrapper:only-child {
        max-width: 100%;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .product-title {
        font-size: 1.8rem;
    }
    .current-price-large {
        font-size: 2rem;
    }
}

/* === Additional Product Page Styles === */

/* Badges */
.product-badge.bestseller {
    background: linear-gradient(135deg, var(--yellow), var(--orange));
}
.product-badge.new {
    background: linear-gradient(135deg, var(--cyan), var(--green));
}
.product-badge.premium {
    background: linear-gradient(135deg, var(--purple), var(--pink));
}

/* Product Description */
.product-full-desc {
    margin: 20px 0;
    line-height: 1.7;
    color: var(--text);
    font-size: 1.05rem;
}

/* Product Price Section */
.product-price-section {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}
.price-display {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.price-label {
    color: var(--text-light);
    font-size: 1rem;
}
.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--purple);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}
.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}
.btn-full {
    width: 100%;
    text-align: center;
}

/* Product Features List */
.product-features-list {
    margin: 30px 0;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 16px;
}
.product-features-list h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
    color: var(--text);
}
.product-features-list ul {
    list-style: none;
    padding: 0;
}
.product-features-list li {
    padding: 8px 0;
    color: var(--text);
    font-size: 1rem;
}

/* Order Form */
.order-info h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--text);
}
.order-info p {
    color: var(--text-light);
    margin-bottom: 24px;
}
.order-benefits {
    list-style: none;
    padding: 0;
}
.order-benefits li {
    padding: 10px 0;
    color: var(--text);
}

.order-form-wrapper {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-weight: 600;
    color: var(--text);
}
.form-group input[type="text"],
.form-group input[type="tel"] {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus {
    outline: none;
    border-color: var(--purple);
}
.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
}

/* Package Selector */
.package-selector {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.package-option {
    flex: 1;
    min-width: 140px;
    cursor: pointer;
}
.package-option input {
    display: none;
}
.package-card {
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}
.package-option input:checked + .package-card {
    border-color: var(--purple);
    background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(236,72,153,0.05));
}
.package-name {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.package-price {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--purple);
}

/* DUO Package Styles */
.duo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.duo-badge {
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}
.duo-tag {
    background: var(--green);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
}
.duo-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: center;
}
.duo-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    color: var(--text);
}
.duo-info p {
    color: var(--text-light);
    margin-bottom: 16px;
}
.duo-features {
    list-style: none;
    padding: 0;
}
.duo-features li {
    padding: 4px 0;
    color: var(--text);
}
.duo-price {
    text-align: center;
    margin-bottom: 16px;
}
.duo-old {
    display: block;
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.1rem;
}
.duo-current {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--purple);
}
.duo-btn {
    display: block;
    text-align: center;
}

/* Product Features Section */
.product-features {
    background: var(--bg-light);
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--text);
}
.features-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-box {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.feature-box h3 {
    margin: 16px 0 8px 0;
    font-size: 1.3rem;
    color: var(--text);
}
.feature-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Spec Items */
.spec-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}
.spec-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

/* Reviews Count */
.reviews-count {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

/* Logo Icon */
.logo-icon {
    width: 40px;
    height: 40px;
}

/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}
.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--purple);
}

/* Footer */
.footer {
    background: var(--bg);
    color: var(--text);
    padding: 40px 0 20px;
    border-top: 1px solid var(--border);
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p {
    margin-top: 16px;
    color: var(--text);
}

.footer-content-simple {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}
.footer-links {
    display: flex;
    gap: 40px;
}
.footer-column h4 {
    margin-bottom: 16px;
    color: var(--text);
}
.footer-column a {
    display: block;
    padding: 8px 0;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-column a:hover {
    color: var(--purple);
}
.footer-column a.active {
    color: var(--purple);
    font-weight: 600;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text);
}

/* Modal Icon */
.modal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--green), var(--cyan));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}
.modal-content h3 {
    margin: 0 0 12px 0;
    font-size: 1.5rem;
    color: var(--text);
}
.modal-content p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Thumbnail Images */
.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Small price displays for cards */
.old-price-small {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 8px;
}
.current-price-small {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--purple);
}

/* Collection/Package Selector */
.collection-selector {
    margin: 30px 0;
}
.collection-selector h3 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 16px;
}
.collection-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.collection-option {
    cursor: pointer;
}
.collection-option input[type="radio"] {
    display: none;
}
.option-card {
    padding: 20px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.collection-option input[type="radio"]:checked + .option-card {
    border-color: var(--purple);
    background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(236,72,153,0.05));
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}
.option-card-highlighted {
    border-color: var(--pink);
    background: linear-gradient(135deg, rgba(236,72,153,0.08), rgba(139,92,246,0.08));
}
.option-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.option-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}
.option-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.option-old {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}
.option-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--purple);
}
.option-discount {
    background: linear-gradient(135deg, var(--green), var(--cyan));
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}
.option-gift {
    font-size: 0.85rem;
    color: var(--pink);
    font-weight: 600;
    margin-top: 4px;
}

/* Responsive for selector */
@media (max-width: 768px) {
    .collection-options {
        grid-template-columns: 1fr;
    }
}

/* Features list in gallery */
.product-gallery .product-features-list {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 16px;
}
.product-gallery .product-features-list h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text);
}
.product-gallery .product-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-gallery .product-features-list li {
    padding: 6px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */

.checkout-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--bg-light);
    min-height: 100vh;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header h1 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 8px;
}

.checkout-header p {
    color: var(--text-light);
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 1024px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}

/* Form Sections */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-section h3 {
    margin: 0 0 16px 0;
    font-size: 1.2rem;
    color: var(--text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--purple);
}

.form-group input::placeholder {
    color: var(--text-light);
}

/* Required field indicator */
.form-group label .required {
    color: #ef4444;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.payment-icon {
    width: 50px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.payment-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Order Summary */
.order-summary {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
}

.order-summary h3 {
    margin: 0 0 20px 0;
    font-size: 1.2rem;
    color: var(--text);
}

.summary-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    display: block;
}

/* Image container with remove button */
.image-container {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.summary-item-details {
    flex: 1;
    min-width: 0;
}

.summary-item-name {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.summary-item-variant {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.summary-item-quantity {
    display: none; /* Hide old text display */
}

/* Quantity Control Buttons */
.summary-item-quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.quantity-btn.minus {
    color: var(--pink);
}

.quantity-btn.plus {
    color: var(--purple);
}

.quantity-number {
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 24px;
    text-align: center;
}

.remove-item-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: #fee;
    color: #c00;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.remove-item-btn:hover {
    background: #fcc;
    transform: scale(1.1);
}

.summary-item-price {
    font-weight: 600;
    color: var(--text);
}

/* Price section with remove button */
.summary-item-price-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-item-price-section .remove-item-btn {
    position: static;
    transform: none;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--text);
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.2rem;
    border-top: 2px solid var(--border);
    margin-top: 12px;
    padding-top: 16px;
}

.free-shipping {
    color: var(--green);
    font-weight: 600;
}

.discount-row {
    color: var(--green);
}

.summary-divider {
    border-top: 1px solid var(--border);
    margin: 16px 0;
}

/* Coupon Input */
.coupon-input {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.coupon-input input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
}

.coupon-input button {
    padding: 12px 20px;
    background: var(--text);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.coupon-input button:hover {
    background: var(--purple);
}

/* Terms Checkbox */
.checkbox-terms {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    margin: 16px 0;
    color: var(--text);
}

.checkbox-terms input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-terms a {
    color: var(--purple);
    text-decoration: none;
}

.checkbox-terms a:hover {
    text-decoration: underline;
}

/* Checkout Button */
.btn-checkout {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.4);
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Checkout Footer */
.checkout-footer {
    margin-top: 60px;
    padding: 40px 20px;
    text-align: center;
    background: white;
    border-top: 1px solid var(--border);
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.payment-logo {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: var(--purple);
}

.legal-links .separator {
    color: var(--border);
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-cart h2 {
    color: var(--text);
    margin-bottom: 12px;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Cart Badge (for header) */
.cart-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--purple);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1000;
}

.cart-badge.hidden {
    display: none;
}

/* Error States */
.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 4px;
    display: none;
}

.error-message.visible {
    display: block;
}

.form-group.error input,
.form-group.error select {
    border-color: #ef4444;
}

/* Loading State */
.btn-checkout.loading {
    position: relative;
    pointer-events: none;
}

.btn-checkout.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========================================
   CART ICON IN NAVBAR
   ======================================== */

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    transition: color 0.2s;
}

.cart-icon-wrapper:hover {
    color: var(--purple);
}

.cart-icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.cart-badge-navbar {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 1;
}

.cart-badge-navbar.hidden {
    display: none;
}

/* ========================================
   PRODUCT REVIEWS SECTION
   ======================================== */

.product-reviews {
    padding: 80px 0;
    background: var(--bg-light);
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.reviews-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.reviews-rating-summary .stars {
    color: #fbbf24;
    font-size: 1.5rem;
}

.average-rating {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.total-reviews {
    color: var(--text-light);
    font-size: 1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid rgba(139, 92, 246, 0.08);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.review-stars {
    color: #fbbf24;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-photo {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
}

.review-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.review-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--gradient);
    border: 2px solid rgba(139, 92, 246, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
}

.author-city {
    color: var(--text-light);
    font-size: 0.875rem;
}

@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}
