:root {
    --sd-primary: #F97415;
    --sd-primary-dark: #EA580C;
    --sd-slate-900: #0f172a;
    --sd-slate-700: #334155;
    --sd-slate-600: #475569;
    --sd-slate-500: #64748b;
}

.sd-details-page { 
    font-family: 'Inter', sans-serif; 
    color: #1e293b; 
    background: #fff; 
    line-height: 1.6; 
}

/* ── Hero Section ── */
.sd-hero {
    position: relative;
    height: 50vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sd-slate-900);
}

.sd-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) blur(1px);
    transform: scale(1.1);
    animation: sdHeroSlowZoom 30s infinite alternate;
    transition: opacity 0.8s ease;
}

@keyframes sdHeroSlowZoom { 
    from { transform: scale(1); } 
    to { transform: scale(1.15); } 
}

.sd-hero-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to top, #000, transparent); 
}

.sd-hero-container { 
    position: relative; 
    z-index: 10; 
    text-align: center; 
    color: #fff; 
    max-width: 1200px; 
    padding: 0 20px; 
    width: 100%; 
}

.sd-title { 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    font-weight: 900; 
    font-family: 'Lora', serif; 
    margin-top: 15px; 
    text-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    line-height: 1.2; 
}

/* ── Breadcrumbs ── */
.sd-breadcrumbs {
    display: flex; gap: 12px; justify-content: center; align-items: center;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(15px);
    padding: 8px 20px; border-radius: 99px; width: fit-content; margin: 0 auto 10px;
    border: 1px solid rgba(255,255,255,0.2);
}
.sd-breadcrumbs a { color: #fff; font-weight: 700; text-decoration: none; transition: 0.3s; font-size: 0.9rem; }
.sd-breadcrumbs a:hover { color: var(--sd-primary); }
.sd-breadcrumbs i { font-size: 9px; color: rgba(255,255,255,0.5); }
.sd-breadcrumbs span { color: var(--sd-primary); font-weight: 700; font-size: 0.9rem; }

/* ── Layout ── */
.sd-wrap { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 60px 20px; 
    display: flex; 
    gap: 50px; 
    align-items: flex-start;
}

/* IMAGE SIZING FIX */
.sd-img-panel { 
    flex: 0 0 520px; 
    position: sticky; 
    top: 100px; 
}

.sd-main-view { 
    border-radius: 24px; 
    overflow: hidden; 
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); 
    background: #000; 
    aspect-ratio: 4/3;
    width: 100%;
}
.sd-main-view img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease; }

.sd-thumbs { display: flex; gap: 12px; margin-top: 20px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.sd-thumbs::-webkit-scrollbar { display: none; }
.sd-thumb { width: 75px; height: 75px; flex-shrink: 0; border-radius: 12px; overflow: hidden; border: 3px solid transparent; transition: 0.3s; opacity: 0.6; cursor: pointer; }
.sd-thumb:hover { opacity: 1; transform: translateY(-3px); }
.sd-thumb.active { opacity: 1; border-color: var(--sd-primary); transform: translateY(-5px); box-shadow: 0 10px 15px rgba(249, 116, 21, 0.2); }
.sd-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Content ── */
.sd-content { flex: 1; min-width: 0; }
.sd-meta-row { display: flex; align-items: center; margin-bottom: 25px; gap: 20px; flex-wrap: wrap; }
.sd-badge { background: var(--sd-primary); color: #fff; padding: 6px 18px; border-radius: 99px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 0.75rem; }
.sd-meta { font-weight: 700; color: var(--sd-slate-500); font-size: 0.9rem; display: flex; align-items: center; }
.sd-meta i { color: var(--sd-primary); margin-right: 8px; }

.sd-description { font-size: 1.1rem; line-height: 1.8; color: var(--sd-slate-700); }
.sd-description p { margin-bottom: 1.5rem; }

.sd-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.sd-feature-card { background: #f8fafc; padding: 25px; border-radius: 20px; border: 1px solid #e2e8f0; transition: 0.3s; }
.sd-feature-card h4 { font-family: 'Lora', serif; font-weight: 800; color: #0f172a; margin-bottom: 8px; font-size: 1.15rem; }
.sd-feature-card p { color: var(--sd-slate-600); font-size: 0.9rem; line-height: 1.6; }
.sd-feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-color: var(--sd-primary); }

.sd-cta-box { background: #f8fafc; padding: 40px; border-radius: 30px; border: 1px solid #e2e8f0; margin-top: 50px; text-align: center; }
.sd-cta-box h3 { font-family: 'Lora', serif; font-size: 1.8rem; font-weight: 900; margin-bottom: 12px; color: #0f172a; }
.sd-cta-box p { color: var(--sd-slate-500); margin-bottom: 25px; font-size: 1rem; }
.sd-cta-box a { display: inline-block; background: var(--sd-primary); color: #fff; padding: 15px 40px; border-radius: 99px; text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; box-shadow: 0 10px 20px rgba(249, 116, 21, 0.3); }

.sd-video-section { background: var(--sd-slate-900); padding: 80px 20px; margin-top: 60px; }
.sd-video-section h2 { text-align: center; font-size: 2.8rem; font-weight: 900; color: #fff; font-family: 'Lora', serif; margin-bottom: 50px; }
.sd-video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.sd-video-card { background: #1e293b; border-radius: 25px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); }

.sd-fading { opacity: 0.3; }

@media (max-width: 1024px) {
    .sd-wrap { flex-direction: column; padding: 30px 20px; gap: 30px; }
    .sd-img-panel { flex: none; width: 100%; position: static; }
    .sd-hero { height: 40vh; }
    .sd-title { font-size: 2.2rem; }
    .sd-video-grid { grid-template-columns: 1fr; }
}
