/* ============================================
   PRODUCT PROMO COMPONENT
   Styled to match existing site design
   ============================================ */

.product-promo {
    background: var(--card);   
                margin-top: 32px;
            padding-top: 24px;
                        padding-bottom: 24px;
    background: var(--card);
                border-radius: 16px;
            border: 1px solid var(--border, #e9ecef);
}

.promo-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* ============================================
   GALLERY
   ============================================ */

.promo-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promo-gallery-main {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-main-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.2s;
}

.promo-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.promo-video-container iframe {
    width: 100%;
    height: 100%;
}

.promo-gallery-thumbs {
    display: flex;
    gap: 8px;
}

.promo-thumb {
    width: 64px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
    background: var(--card);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.promo-thumb:hover {
    border-color: var(--primary);
}

.promo-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.promo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-thumb-video {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text);
}

.promo-thumb-video .play-icon {
    color: white;
    font-size: 18px;
}

/* ============================================
   DETAILS
   ============================================ */

.promo-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 100px;
    width: fit-content;
}

.promo-title {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--text);
    margin: 0;
    line-height: 1.2;
}

.promo-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.promo-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 8px 0;
}

.promo-features {
    list-style: none;
    padding: 0;
    margin: 8px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.promo-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
}

.promo-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: var(--green);
    border-radius: 50%;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ============================================
   CTA
   ============================================ */

.promo-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.promo-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
}

.promo-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.promo-buy-btn:hover {
    background: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.4);
}

/* ============================================
   DARK MODE
   ============================================ */

body.dark-mode .product-promo {
    background: linear-gradient(135deg, var(--bg) 0%, rgba(30, 41, 59, 0.8) 100%);
}

body.dark-mode .promo-thumb-video {
    background: var(--border);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .product-promo {
        padding: 32px 16px;
    }

    .promo-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .promo-gallery {
        order: 1;
    }

    .promo-details {
        order: 2;
        text-align: center;
        align-items: center;
    }

    .promo-title {
        font-size: 24px;
    }

    .promo-features {
        text-align: left;
        align-items: flex-start;
    }

    .promo-cta {
        flex-direction: column;
        width: 100%;
    }

    .promo-buy-btn {
        width: 100%;
    }

    .promo-gallery-thumbs {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .promo-thumb {
        width: 56px;
        height: 42px;
    }

    .promo-title {
        font-size: 22px;
    }

    .promo-price {
        font-size: 22px;
    }
}
