/*
Theme Name: Seba-BD Ultimate Shzar Edition V2
Author: Gokul Chandra
Version: 7.2
Description: ফুল রেসপন্সিভ ব্যানার, আরজিবি নিয়ন অ্যানিমেটেড বর্ডার গ্লো এবং নতুন চেকআউট ফর্ম ফিনিশিং।
*/

:root {
    --primary-color: #e21b4f;
    --dark-color: #232f3e;
    --footer-bg: #2d3238;
    --white: #ffffff;
    --light-bg: #f7fafc;
    --success-color: #28a745;
    --orange-color: #f97316;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; scroll-behavior: smooth; }
body { background-color: var(--light-bg); padding-bottom: 70px; }

.top-notice-bar { background: linear-gradient(90deg, #1a202c, var(--dark-color)); color: white; text-align: center; padding: 8px; font-size: 14px; font-weight: 600; }
header { background: var(--white); padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.main-logo { font-size: 24px; font-weight: 800; color: var(--dark-color); text-decoration: none; }
.main-logo span { color: var(--primary-color); }

.home-slider-box { position: relative; width: 100%; height: auto; max-height: 480px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 3px solid #f1f5f9; }
.home-slider-box img { width: 100%; height: auto; object-fit: contain; display: none; }
.home-slider-box img.active { display: block; animation: fadeInEffect 0.5s ease-in-out; }

@media (max-width: 768px) {
    .home-slider-box { max-height: 220px; background: #f8fafc; border: 2px solid #e2e8f0; margin: 5px 2%; width: 96%; border-radius: 8px; }
}

@keyframes fadeInEffect { from { opacity: 0.6; } to { opacity: 1; } }

.slider-wrapper { width: 100%; position: relative; }
.main-slider-img { width: 100%; height: auto; }

.custom-title-box { text-align: center; margin: 30px 0 15px; }
.custom-title-box h2 { font-size: 22px; color: var(--dark-color); display: inline-block; position: relative; }
.custom-title-box p { font-size: 13px; color: #718096; margin-top: 5px; }

.product-grid-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 10px 4% 30px; }
@media (min-width: 768px) { .product-grid-container { grid-template-columns: repeat(4, 1fr); gap: 25px; } }

/* আরজিবি নিয়ন স্লাইডিং বর্ডার */
.glow-border-animated { position: relative; border-radius: 12px; background: #fff; z-index: 1; overflow: hidden; padding: 1px; }
.glow-border-animated::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg, transparent, #ff0055, #007fff, #22c55e, transparent); animation: rotateRGBLight 4s linear infinite; z-index: -2; }
.glow-border-animated::after { content: ''; position: absolute; inset: 3px; background: #fff; border-radius: 10px; z-index: -1; }

@keyframes rotateRGBLight { 100% { transform: rotate(360deg); } }

.custom-p-card { cursor: pointer; transition: 0.3s; display: flex; flex-direction: column; justify-content: space-between; }
.custom-p-card:hover { transform: translateY(-5px); }

/* 🎯 স্ক্রিনশটের হুবহু মূল্যছাড় ব্যাজের সাইজ ছোট (42px) করা হলো */
.discount-badge { 
    position: absolute; 
    top: 8px; 
    right: 8px; 
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; 
    z-index: 5; 
}
.spinning-circle-layer { position: absolute; inset: 0; border: 1.5px dashed var(--primary-color); border-radius: 50%; z-index: 1; background: white; }
.spin-active { animation: spinBadgeWheel 6s linear infinite; }

.badge-inside-text { position: relative; z-index: 2; text-align: center; font-size: 9px; font-weight: 800; color: var(--primary-color); line-height: 1.1; }

@keyframes spinBadgeWheel { 100% { transform: rotate(360deg); } }

.p-img-box { width: 100%; height: 180px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid #f1f5f9; }
.p-img-box img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

.p-info-box { padding: 14px; text-align: center; }
.p-info-box h3 { font-size: 14px; height: 38px; overflow: hidden; color: #1a202c; font-weight: 600; line-height: 1.4; }
.rating-stars { color: #ecc94b; font-size: 11px; margin: 4px 0; font-weight: bold; }

.p-price-row { margin-top: 5px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.p-sale-price { font-size: 17px; font-weight: 700; color: var(--primary-color); }
.p-reg-price { font-size: 13px; color: #94a3b8; text-decoration: line-through; }

.p-order-action-btn { background: var(--dark-color); color: var(--white); border: none; width: 100%; padding: 13px; font-weight: bold; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 0 0 12px 12px; }

/* প্রোডাক্ট পেজ */
.product-details-layout { max-width: 950px !important; background: #fff; border-radius: 12px; padding: 30px !important; }
.details-split-container { display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 768px) { .details-split-container { flex-direction: row; } }

.slider-container-box { flex: 1; display: flex; flex-direction: column; align-items: center; }
.details-content-box { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding-left: 10px; }

.shzar-slider { position: relative; width: 100%; height: 350px; background: #fff; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.shzar-slider img { width: 100%; height: 100%; object-fit: contain; display: none; padding: 15px; }
.shzar-slider img.active { display: block; }

.slider-nav { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); padding: 0 10px; box-sizing: border-box; pointer-events: none; }
.slider-arrow { background: rgba(0,0,0,0.4); color: #fff; border: none; padding: 8px 12px; cursor: pointer; border-radius: 50%; pointer-events: auto; font-weight: bold; transition: 0.2s; }
.slider-arrow:hover { background: var(--primary-color); }

.slider-dots { display: flex; gap: 8px; margin-top: 12px; justify-content: center; }
.slider-dots .dot { width: 9px; height: 9px; background: #cbd5e0; border-radius: 50%; cursor: pointer; transition: 0.2s; }
.slider-dots .dot.active { background: var(--primary-color); width: 11px; }

.detail-rating-style { color:#6b7280; font-size:13px; margin-bottom:15px; background:#f8fafc; padding:8px 12px; border-radius:6px; border:1px solid #e2e8f0; display:inline-block; }
.save-badge-tag { background: #fee2e2; color: var(--primary-color); padding: 4px 10px; font-size: 12px; border-radius: 4px; font-weight: bold; border: 1px solid #fca5a5; margin-left: 10px; display: inline-block; }
.qty-btn-calc { width: 32px; height: 32px; background: #edf2f7; border: 1px solid #cbd5e0; font-weight: bold; cursor: pointer; border-radius: 4px; font-size: 16px; }

.action-buttons-stack { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.action-btn-trigger { width: 100%; padding: 14px; border-radius: 8px; border: none; font-size: 16px; font-weight: bold; text-align: center; text-decoration: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.2s; }

.buy-now-orange { background: var(--orange-color); color: white; }
.buy-now-orange:hover { background: #ea580c; }
.call-green { background: #059669; color: white !important; }
.wa-bright { background: #22c55e; color: white !important; }

/* ৩. ফ্লোটিং ইনপুট টেক্সট ট্যাগ বক্স */
.floating-input-group { position: relative; margin-bottom: 25px; margin-top: 10px; }
.floating-label-tag { position: absolute; top: -12px; left: 20px; background: #fff; padding: 0 8px; font-size: 13px; font-weight: 800; color: #000; z-index: 10; border-radius: 4px; }

.floating-input-group input, .floating-input-group textarea {
    width: 100% !important; padding: 16px 20px !important; border: 1px solid #e4e8f0 !important; border-radius: 14px !important; background: #f1f5fd !important; font-size: 15px !important; color: #4a5568 !important; outline: none !important; box-shadow: none !important; transition: 0.2s;
}
.floating-input-group input:focus, .floating-input-group textarea:focus { border-color: #007fff !important; background: #fff !important; }

.checkout-cart-item-box { display: flex; gap: 15px; background: #fff; padding: 15px; border-radius: 10px; margin-bottom: 20px; align-items: center; }
.checkout-cart-img { width: 85px; height: 80px; object-fit: contain; background: #f8fafc; border-radius: 8px; padding: 3px; border: 1px solid #f1f5f9; }
.checkout-cart-details { flex: 1; }
.checkout-cart-details h4 { font-size: 15px; color: var(--dark-color); margin-bottom: 4px; font-weight: 700; line-height: 1.3; }
.checkout-qty-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }

.page-section { display: none; max-width: 750px; margin: 20px auto 40px; padding: 25px 20px; background: white; border-radius: 10px; border: 1px solid #edf2f7; }
.form-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; border-bottom: 2px solid #edf2f7; padding-bottom: 10px; color: var(--dark-color); }

footer { background: var(--footer-bg); color: #cbd5e0; padding: 40px 6% 35px; font-size: 14px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 25px; text-align: left; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-widget h3 { color: white; margin-bottom: 15px; font-size: 16px; position: relative; padding-bottom: 5px; }
.footer-widget h3::after { content: ""; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary-color); }
.footer-widget p { margin-bottom: 8px; line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { color: #cbd5e0; text-decoration: none; transition: 0.2s; }

.mobile-bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--white); display: flex; justify-content: space-around; align-items: center; padding: 8px 0; box-shadow: 0 -3px 10px rgba(0,0,0,0.06); z-index: 2000; }
.nav-item { text-align: center; color: #4a5568; text-decoration: none; font-size: 11px; font-weight: 600; flex: 1; cursor: pointer; }
.nav-item i { font-size: 18px; display: block; margin-bottom: 2px; }
.nav-item.active { color: var(--primary-color); }
@media (min-width: 1024px) { .mobile-bottom-nav { max-width: 480px; left: 50%; transform: translateX(-50%); border-radius: 20px 20px 0 0; } }