/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* ===== MAIN CONTAINER ===== */
.ex-product-wrapper {
    max-width: 1200px;
    margin: 4rem auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* ===== PRODUCT GRID LAYOUT ===== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* ===== LEFT COLUMN - PRODUCT VISUAL ===== */
.product-left {
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-right: 1px solid #e2e8f0;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.product-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.02);
}

/* Category Bubbles */
.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-bubble {
    background: #e2e8f0;
    color: #4a5568;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.category-bubble:hover {
    background: #cbd5e0;
    transform: translateY(-1px);
}

/* ===== RIGHT COLUMN - PRODUCT DETAILS ===== */
.product-right {
    padding: 40px 30px;
    background: #fff;
}

.desc-block {
    margin-bottom: 40px;
}

.desc-block:last-child {
    margin-bottom: 0;
}

.desc-header {
    font-size: 1.375rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.desc-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #4a90e2;
}

.desc-text {
    color: #4a5568;
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ===== RELATED PRODUCTS ===== */
.related-products {
    margin-top: 3rem;
}

.related-title {
    font-size: 1.5rem;
    color: #1E3D7B;
    margin-bottom: 1rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
    justify-content: center;
    gap: 1.5rem;
}

.related-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #FDFDFF;
    max-width: 150px;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.related-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.8rem;
    background: #f0f0f0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.related-card:not(:has(img))::before {
    content: '';
    display: block;
    width: 100%;
    height: 120px;
    margin-bottom: 0.8rem;
    border-radius: 6px;
    background: #f0f0f0;
}

.related-card-title a {
    font-size: 1rem;
    color: #1E3D7B;
    text-decoration: none;
}

.related-card-title a:hover {
    text-decoration: underline;
}

/* ===== YOUTUBE CAROUSEL ===== */
.youtube-carousel-section {
    margin: 20px 0 0 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.youtube-carousel-title {
    text-align: center;
    font-size: 1.5rem;
    color: #1E3D7B;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

.youtube-carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 415px;
    margin: 0 auto;
}

.youtube-carousel {
    display: flex;
    transition: transform 0.3s ease;
    gap: 15px;
    width: max-content;
}

.youtube-video-item {
    flex: 0 0 200px;
    position: relative;
    max-width: 100%;
}

.video-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.video-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.video-thumbnail img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.video-play-button:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button svg {
    width: 48px;
    height: 34px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.carousel-arrow:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.carousel-arrow:disabled:hover {
    background: rgba(0,0,0,0.7);
    transform: translateY(-50%);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.carousel-dot:hover {
    background: #999;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #1E3D7B;
    transform: scale(1.2);
}

/* ===== ANIMATIONS ===== */
@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
/* Large desktop (1024px and up) */
@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr 2fr; /* Right side becomes even larger on big screens */
    }
    
    .product-left {
        padding: 50px 40px;
    }
    
    .product-right {
        padding: 50px 40px;
    }
    
    .product-title {
        font-size: 2.5rem;
    }
      
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
        gap: 1.5rem;
    }
}
@media (max-width: 1024px) {
     .youtube-carousel-container{
        max-width: 400px;
    }
    .product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
}
/* YouTube carousel mobile fix */
@media (max-width: 600px) {
 
}

/* Small mobile devices (480px and down) */
@media (max-width: 480px) {

}



</style>
  