/* ========== WATCH AND BUY - REELS SECTION ========== */
.reels-section { padding: 40px 0; }
.reels-section h2 { text-align: center; font-family: 'Playfair Display', Georgia, serif; color: #8B4513; font-size: 32px; font-weight: 400; margin-bottom: 30px; font-style: italic; }

.reels-carousel { display: flex; gap: 16px; overflow-x: auto; padding: 0 5px 15px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.reels-carousel::-webkit-scrollbar { display: none; }

.reel-card { flex: 0 0 210px; scroll-snap-align: start; border-radius: 16px; overflow: hidden; position: relative; cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,.12); transition: transform .3s, box-shadow .3s; background: #000; height: 360px; }
.reel-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,.2); }

.reel-card .reel-thumb { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none; }

.reel-card .reel-card-video { width: 100%; height: 100%; object-fit: cover; display: block; }

.reel-card .reel-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; background: rgba(0,0,0,.45); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 3; opacity: 0; transition: opacity .3s; backdrop-filter: blur(4px); pointer-events: none; }
.reel-card .reel-play-icon i { color: #fff; font-size: 20px; margin-left: 3px; }
.reel-card:hover .reel-play-icon { opacity: 1; }

.reel-card .reel-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.85)); padding: 70px 12px 14px; z-index: 2; }
.reel-card .reel-views { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 14px; z-index: 3; display: flex; align-items: center; gap: 5px; backdrop-filter: blur(4px); }
.reel-card .reel-product-info { display: flex; align-items: center; gap: 10px; }
.reel-card .reel-product-img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; border: 2px solid rgba(255,255,255,.7); flex-shrink: 0; }
.reel-card .reel-product-name { color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 3px rgba(0,0,0,.5); }

.reel-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid #e5e5e5; box-shadow: 0 2px 10px rgba(0,0,0,.1); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 5; font-size: 18px; color: #333; transition: .2s; }
.reel-nav-btn:hover { background: #f5f5f5; box-shadow: 0 4px 15px rgba(0,0,0,.15); }
.reel-nav-btn.prev { left: -8px; }
.reel-nav-btn.next { right: -8px; }

/* ========== REEL POPUP MODAL ========== */
.reel-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.92); z-index: 99999; display: none; }
.reel-modal-overlay.active { display: flex; align-items: center; justify-content: center; }

.reel-modal-container { display: flex; align-items: center; justify-content: center; gap: 20px; height: 100%; width: 100%; }

.reel-modal { position: relative; width: 380px; max-height: 92vh; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.5); display: flex; flex-direction: column; }

.reel-modal-video-wrap { position: relative; flex: 1; min-height: 0; background: #000; }
.reel-modal-video-wrap video { width: 100%; height: 100%; max-height: 75vh; object-fit: cover; display: block; }

.reel-modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; backdrop-filter: blur(8px); transition: .2s; }
.reel-modal-close:hover { background: rgba(255,255,255,.3); }

.reel-mute-btn { position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; backdrop-filter: blur(8px); }

.reel-modal-wishlist { position: absolute; bottom: 80px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; backdrop-filter: blur(8px); cursor: pointer; }

.reel-modal-product-bar { background: #fff; padding: 0; }
.reel-modal-product-inner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #f0f0f0; }
.reel-modal-product-inner img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; border: 1px solid #eee; }
.rmp-info { flex: 1; min-width: 0; }
.rmp-name { font-size: 13px; font-weight: 600; color: #333; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rmp-price { font-size: 14px; font-weight: 700; color: #ea1725; margin-top: 2px; }
.rmp-price .old { text-decoration: line-through; color: #aaa; font-weight: 400; margin-left: 8px; font-size: 12px; }
.rmp-btn { display: block; text-align: center; background: #C0392B; color: #fff !important; padding: 12px; font-weight: 700; font-size: 14px; letter-spacing: .5px; text-decoration: none !important; transition: .2s; }
.rmp-btn:hover { background: #A93226; }

.reel-modal-nav { width: 50px; height: 50px; border-radius: 50%; background: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #333; box-shadow: 0 4px 15px rgba(0,0,0,.2); flex-shrink: 0; transition: .2s; z-index: 10; }
.reel-modal-nav:hover { background: #f5f5f5; transform: scale(1.05); }

/* ========== MENU FIXES ========== */
.main-menu > nav > ul > li ul.sub-menu { background: #fff; z-index: 9999; }
.main-menu > nav > ul > li ul.mega-menu { background: #fff; z-index: 9999; }

/* ========== CATEGORY CAROUSEL FIX ========== */
.carausel-8-columns .card-2 { margin: 0 12px; }

/* ========== FOOTER DARK ========== */
footer.main .section-padding.footer-mid { background: #1a1a2e; }
footer.main .section-padding.footer-mid { background: #1a1a2e; }
footer.main .section-padding.footer-mid .widget-about, footer.main .section-padding.footer-mid .footer-link-widget { color: #b0b0b0; }
footer.main .section-padding.footer-mid h4.widget-title { color: #fff; }
footer.main .section-padding.footer-mid .footer-list a { color: #b0b0b0; }
footer.main .section-padding.footer-mid .footer-list a:hover { color: #ea1725; }
footer.main .section-padding.footer-mid .contact-infor li { color: #b0b0b0; }
footer.main .section-padding.footer-mid .font-lg { color: #ddd; }
footer.main .section-padding.footer-mid p { color: #b0b0b0; }
footer.main .container.pb-30 { background: #141428; padding-top: 20px; }
footer.main .container.pb-30 p { color: #888; }
footer.main .footer-bottom { border-color: rgba(255,255,255,.1); }

@media (max-width: 768px) {
    .reel-card { flex: 0 0 160px; height: 280px; }
    .reel-card .reel-product-name { font-size: 11px; }
    .reels-section h2 { font-size: 24px; }
    .reel-modal { width: 100%; max-width: 100%; border-radius: 0; max-height: 100vh; }
    .reel-modal-nav { display: none; }
    .reel-modal-container { gap: 0; }
    .reel-modal-video-wrap video { max-height: 85vh; }
}
