/* ============================================
   SILKY FUSION — Inner Pages Common Styles
   Shared across about, testimonials, community,
   contact, reviews, blog, login, register, etc.
   ============================================ */

/* --- Page Hero (Dark Banner) --- */
.page-hero {
    background: var(--color-primary);
    padding: 160px 0 80px; /* Increased top padding for the new 142px fixed header */
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--color-bg));
    z-index: 2;
}
.page-hero .parallax-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.page-hero .container {
    position: relative;
    z-index: 3;
}
.page-hero .eyebrow {
    color: var(--color-secondary);
    font-family: var(--font-accent);
    font-size: 16px;
    font-style: italic;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.page-hero h1 {
    color: white;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.15;
    font-weight: 400;
}
.page-hero p {
    color: rgba(255,255,255,0.5);
    max-width: 600px;
    margin: 0 auto;
    font-size: var(--text-md);
    line-height: 1.7;
}

/* --- Premium Section Spacing --- */
.page-section {
    padding: 100px 0;
}
.page-section.dark {
    background: var(--color-primary);
    color: white;
}
.page-section.cream {
    background: var(--color-cream);
}
.page-section.light {
    background: var(--color-bg);
}

/* --- Section Header --- */
.page-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.page-section-header .eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secondary-dark);
    margin-bottom: 16px;
}
.page-section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
    margin-bottom: 16px;
    line-height: 1.15;
}
.page-section.dark .page-section-header h2 { color: white; }
.page-section-header p {
    color: var(--color-text-light);
    font-size: var(--text-md);
    line-height: 1.8;
}

/* --- Content Card (used across pages) --- */
.content-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

/* --- Pillar Cards (About page) --- */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.pillar-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(212,165,116,0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}
.pillar-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-8px);
    border-color: rgba(212,165,116,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.pillar-card:hover::before { opacity: 1; }

.pillar-card .pillar-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(212,165,116,0.1);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    transition: transform 0.5s;
}
.pillar-card:hover .pillar-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-secondary);
    color: var(--color-primary);
}
.pillar-card h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 500;
}
.pillar-card p {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    line-height: 1.8;
}

/* --- Team Grid --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.team-member {
    padding: 32px 20px;
}
.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary), #c9915e);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 24px rgba(212,165,116,0.3);
}
.team-member h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}
.team-member .role {
    color: var(--color-secondary-dark);
    font-size: 13px;
    font-weight: 500;
}

/* --- Testimonial Cards --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    position: relative;
    display: flex;
    flex-direction: column;
}
.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    font-family: var(--font-heading);
    color: rgba(212,165,116,0.1);
    line-height: 1;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border-color: rgba(212,165,116,0.2);
}
.testimonial-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.testimonial-card p {
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: normal;
    font-weight: 400;
    flex: 1;
    position: relative;
    z-index: 2;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.testimonial-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary), #c9915e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(212,165,116,0.3);
}
.testimonial-author-info .name {
    font-weight: 700;
    font-size: 15px;
    color: var(--color-primary);
    margin-bottom: 2px;
}
.testimonial-author-info .location {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 48px 40px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.contact-form-card .subtitle {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}
.contact-info-card {
    background: var(--color-primary);
    border-radius: 20px;
    padding: 48px 40px;
    color: white;
}
.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 32px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(212,165,116,0.15);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-item h5 {
    color: white;
    font-size: 14px;
    margin-bottom: 4px;
}
.contact-info-item p,
.contact-info-item a {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    text-decoration: none;
    line-height: 1.6;
}
.contact-info-item a:hover { color: var(--color-secondary); }

/* --- Form Inputs (common) --- */
.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--color-primary);
    background: #fafafa;
    transition: all 0.3s;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 16px;
}
.form-input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(212,165,116,0.12);
    background: white;
}
.form-input::placeholder { color: #bbb; }
textarea.form-input { resize: vertical; min-height: 140px; }

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

/* Submit Button */
.btn-submit {
    padding: 16px 40px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}
.btn-submit:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,165,116,0.3);
}

/* --- Login / Register Cards --- */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 60px 24px;
}
.auth-card {
    background: white;
    border-radius: 24px;
    padding: 56px 48px;
    max-width: 460px;
    width: 100%;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.auth-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    text-align: center;
}
.auth-card .auth-subtitle {
    color: var(--color-text-muted);
    font-size: 14px;
    text-align: center;
    margin-bottom: 36px;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--color-text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.08);
}
.auth-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--color-text-muted);
}
.auth-link a {
    color: var(--color-secondary-dark);
    font-weight: 600;
    text-decoration: none;
}
.auth-link a:hover { text-decoration: underline; }

/* --- CTA Section v2 (all pages) --- */
.page-cta {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    background: var(--color-primary);
}
.page-cta .cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}
.page-cta .cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}
.page-cta h2 {
    font-family: var(--font-heading);
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    line-height: 1.15;
}
.page-cta h2 em {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--color-secondary);
}
.page-cta p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 36px;
    font-size: var(--text-md);
}
.page-cta .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Community / Reviews Grid --- */
.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.review-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    transition: all 0.4s;
}
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}

/* --- Story Section --- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 60px;
}
.story-image img {
    border-radius: 30px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.story-image:hover img {
    transform: scale(1.02);
}
.story-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 30px;
    line-height: 1.2;
    color: var(--color-primary);
}
.story-content p {
    color: var(--color-text-light);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 24px;
}
.section-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-secondary-dark);
    margin-bottom: 20px;
    display: block;
}

/* --- Video Story --- */
.video-story-section {
    background: #fdfaf7;
    padding: 120px 0;
}
.video-container-centered {
    max-width: 1000px;
    margin: 0 auto;
}
.video-container-centered .testimonial-card-v2 {
    aspect-ratio: 16/9;
    border-radius: 40px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
    border: 8px solid white;
}
.video-container-centered .testimonial-video-wrap {
    height: 100%;
}
.video-container-centered img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.video-container-centered:hover img {
    transform: scale(1.05);
}

/* --- Responsive Overrides --- */
@media (max-width: 1024px) {
    .pillar-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .story-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .page-hero { padding: 120px 0 60px; }
    .page-hero h1 { 
        font-size: 2.6rem; 
        padding: 0 15px; 
        letter-spacing: -1px;
    }
    .page-hero p { font-size: 16px; padding: 0 20px; opacity: 0.7; }
    .page-section { padding: 60px 0; }
    
    .page-section-header { margin-bottom: 40px; padding: 0 20px; text-align: center; }
    .page-section-header h2 { font-size: 2.4rem; letter-spacing: -1px; }
    .page-section-header p { font-size: 16px; line-height: 1.6; color: var(--color-text-muted); }

    .story-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .story-image { order: 2; padding: 0 10px; }
    .story-image img { border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
    .story-content { order: 1; padding: 0 15px; }
    .story-content h2 { font-size: 2.2rem; margin-bottom: 20px; }
    
    .video-story-section { padding: 60px 0; }
    .video-container-centered .testimonial-card-v2 { border-radius: 20px; border-width: 3px; margin: 0 10px; }
    
    .pillar-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 15px; }
    .pillar-card { padding: 40px 30px; border-radius: 20px; }
    
    .testimonial-grid { 
        grid-template-columns: 1fr; 
        gap: 24px; 
        padding: 0 20px; 
    }
    .testimonial-card { 
        padding: 40px 30px; 
        background: white;
        border: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 15px 35px rgba(0,0,0,0.05);
        animation: fadeInUp 0.8s ease backwards;
    }
    .testimonial-card:nth-child(2) { animation-delay: 0.2s; }
    .testimonial-card:nth-child(3) { animation-delay: 0.4s; }

    .testimonial-author-avatar {
        width: 56px;
        height: 56px;
        box-shadow: 0 0 0 3px rgba(212,165,116,0.1);
    }
    
    /* Subtle background for the whole section on mobile */
    .page-section.light {
        background: #fdfaf7;
        background-image: radial-gradient(circle at 50% 0%, rgba(212,165,116,0.05) 0%, transparent 50%);
    }
    
    .review-grid { grid-template-columns: 1fr; gap: 24px; padding: 0 15px; }
    .team-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 15px; }
    
    .auth-card { padding: 40px 24px; border-radius: 20px; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Video Testimonials (Reel Marquee) --- */
.video-highlights {
    background: #FFFAF5; /* Creamy background from reference image */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.video-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: block; /* Changed from flex to block to prevent side-by-side nav on mobile */
    padding: 40px 0;
}

.video-marquee-track {
    display: flex;
    gap: 30px;
    animation: marqueeSlideLR 40s linear infinite;
    min-width: fit-content;
}

.video-marquee-container:hover .video-marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeSlideLR {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

.marquee-video-item {
    width: 320px;
    aspect-ratio: 9/16;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    cursor: pointer;
    background: #000;
}

.marquee-video-item:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    z-index: 10;
}

.marquee-video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.marquee-video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.1);
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.marquee-video-item.is-playing .testimonial-play-overlay {
    opacity: 0;
}

.testimonial-play-overlay svg {
    width: 50px;
    height: 50px;
    color: white;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

@media (max-width: 768px) {
    .video-highlights .container {
        padding-left: 0;
        padding-right: 0;
        max-width: none;
        width: 100%;
    }
    .video-highlights { padding: 60px 0 40px; background: #fffcf9; } 
    .video-marquee-container {
        padding: 0;
        display: block;
        width: 100% !important;
        position: relative;
        overflow: hidden;
        margin: 0;
    }
    .video-marquee-track {
        gap: 0 !important; 
        animation: none;
        padding-left: 0;
        display: flex !important;
        width: 100%;
    }
    .marquee-video-item {
        flex: 0 0 100% !important;
        width: 100% !important; 
        max-width: 100% !important;
        border-radius: 0;
        box-shadow: none;
        aspect-ratio: 9/16;
    }
    .testimonial-play-overlay svg {
        width: 40px;
        height: 40px;
    }
    .sf-carousel-nav {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        padding: 0 15px;
        pointer-events: none;
        z-index: 20;
    }
    .sf-carousel-prev, .sf-carousel-next {
        pointer-events: auto;
        background: rgba(255,255,255,0.9) !important;
        width: 44px !important;
        height: 44px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    }
    .sf-carousel-prev, .sf-carousel-next {
        width: 50px;
        height: 50px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border: 1px solid rgba(0,0,0,0.05);
        color: var(--color-primary);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .sf-carousel-prev:active, .sf-carousel-next:active {
        transform: scale(0.9);
        background: var(--color-secondary);
        color: white;
    }
    .sf-carousel-dots {
        margin-top: 20px;
    }
    .sf-carousel-dot {
        width: 10px;
        height: 10px;
        background: rgba(0,0,0,0.1);
    }
    .sf-carousel-dot.active {
        width: 24px;
        background: var(--color-secondary);
    }
}

/* --- Virtual Try-On Page --- */
.tryon-page {
    background: var(--color-primary, #111);
    min-height: calc(100vh - 112px);
    padding-bottom: 80px;
}
.tryon-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: stretch;
}
.camera-container {
    flex: 1;
    position: relative;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.camera-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
    z-index: 10;
    text-align: center;
    color: white;
    padding: 40px;
    backdrop-filter: blur(5px);
}
.camera-overlay h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 16px 0 12px;
}
.camera-overlay p {
    margin-bottom: 24px;
    line-height: 1.6;
}
#video, #canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#canvas {
    z-index: 2;
    pointer-events: none;
}
.hidden { display: none !important; }

.controls {
    width: 380px;
    flex-shrink: 0;
    background: #1a1a1a;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.controls h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 4px;
}
.style-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.style-option {
    padding: 16px 12px;
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    font-size: 13px;
    font-weight: 500;
    background: rgba(255,255,255,0.02);
}
.style-option .icon {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
}
.style-option:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}
.style-option.active {
    border-color: var(--color-secondary);
    background: rgba(212,165,116,0.1);
    color: var(--color-secondary);
}
.color-picker {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.color-swatch:hover {
    transform: scale(1.1);
}
.color-swatch.active {
    transform: scale(1.15);
    border-color: white;
    box-shadow: 0 0 0 2px var(--color-secondary);
}
.slider-control {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.slider-control label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--color-secondary);
    cursor: pointer;
    margin-top: -8px;
    box-shadow: 0 0 10px rgba(212,165,116,0.5);
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}
input[type=range]:focus {
    outline: none;
}
@media (max-width: 900px) {
    .tryon-container {
        flex-direction: column;
    }
    .controls {
        width: 100%;
    }
    .camera-container {
        min-height: 400px;
    }
}

/* ============================================
   SILKY FUSION — Dashboard Layout & UI
   ============================================ */

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding: 60px 24px 100px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    color: var(--color-primary);
}

/* Sidebar */
.dash-sidebar {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 32px 24px;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.dash-sidebar .user-avatar {
    width: 64px;
    height: 64px;
    background: var(--color-primary, #111);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.dash-sidebar .user-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 4px;
}
.dash-sidebar .user-email {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 32px;
}

/* Nav Links */
.dash-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 8px;
    background: transparent;
    border: none;
    border-radius: 10px;
    text-align: left;
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}
.dash-nav-link:hover {
    background: rgba(0,0,0,0.03);
    color: var(--color-primary);
    transform: translateX(4px);
}
.dash-nav-link.active {
    background: rgba(212, 165, 116, 0.1);
    color: var(--color-secondary-dark, #a37c54);
    border-left: 3px solid var(--color-secondary, #d4a574);
    border-radius: 4px 10px 10px 4px;
    font-weight: 600;
}

/* Content Area */
.dash-content {
    min-height: 500px;
}
.dash-tab > h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 16px;
    margin-bottom: 32px;
    font-weight: 400;
}

/* Cards */
.dash-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.02);
}
.dash-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Forms in Dashboard */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Responsive */
@media (max-width: 900px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 32px;
    }
    .dash-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        padding: 24px 16px;
    }
    .dash-sidebar .user-avatar, 
    .dash-sidebar .user-name, 
    .dash-sidebar .user-email {
        width: 100%;
        margin-bottom: 8px;
    }
    .dash-nav-link {
        width: auto;
        padding: 10px 16px;
        margin-bottom: 0;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
