/* =====================================
   AV BAZAR BD - STYLE.CSS (CORRECTED)
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:SolaimanLipi,"Hind Siliguri","Segoe UI",Arial,sans-serif;
    background:#f5f5f5;
    color:#222;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:95%;
    max-width:1200px;
    margin:auto;
}

/* ================= TOP BAR ================= */

.top-bar{
    background:#1f1f1f;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:8px 30px;
    font-size:14px;
    flex-wrap:wrap;
}

.top-left{
    display:flex;
    align-items:center;
    gap:12px;
}

.top-left a{
    color:#fff;
    font-weight:500;
}

.top-left a:hover{
    color:#f7a400;
}

.top-right{
    display:flex;
    gap:18px;
}

.top-right a{
    color:#fff;
    font-size:18px;
    transition:.3s;
}

.top-right a:hover{
    color:#f7a400;
}

/* ================= HEADER ================= */

header{
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
    gap:20px;
}

/* ================= LOGO ================= */

.logo{
    display: flex;
    align-items: center;
}

.logo img{
    height: 60px;
    width: auto;
    display: block;
}

.search-box{
    flex:1;
    display:flex;
}

.search-box input{
    width:100%;
    height:45px;
    border:2px solid #ff9800;
    border-right:none;
    padding:0 15px;
    border-radius:6px 0 0 6px;
    outline:none;
    font-size:15px;
}

.search-box button{
    width:60px;
    border:none;
    background:#ff9800;
    color:#fff;
    font-size:18px;
    border-radius:0 6px 6px 0;
    cursor:pointer;
}

.header-icons{
    display:flex;
    gap:25px;
}

.header-icons a{
    display:flex;
    flex-direction:column;
    align-items:center;
    font-size:13px;
    color:#333;
}

.header-icons i{
    font-size:22px;
    margin-bottom:4px;
}

/* ================= MENU ================= */

.navbar{
    background:#ff9800;
}

.menu{
    display:flex;
    list-style:none;
}

.menu>li{
    position:relative;
}

.menu>li>a{
    display:block;
    color:#fff;
    padding:15px 18px;
    font-weight:600;
    transition:.3s;
}

.menu>li:hover{
    background:#e68900;
}

/* ================= DROPDOWN ================= */

.submenu{
    position:absolute;
    left:0;
    top:100%;
    background:#fff;
    min-width:240px;
    display:none;
    list-style:none;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    z-index:999;
}

.submenu li a{
    display:block;
    padding:12px 18px;
    color:#333;
    border-bottom:1px solid #eee;
    transition:.3s;
}

.submenu li a:hover{
    background:#fff5e6;
    color:#ff9800;
}

.dropdown:hover .submenu{
    display:block;
}

/* ================= HERO SECTION ================= */

.hero{
    width:95%;
    max-width:1200px;
    margin:25px auto;
}

.hero-wrapper{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:20px;
}

.hero-left{
    width:100%;
}

.hero-slider{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    height:430px;
    background:#eee;
}

.slide{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:none;
}

.slide.active{
    display:block;
}

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

/* ===== Right Offer Banner ===== */

.hero-right{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.offer-box{
    display:block;
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.10);
}

.offer-box img{
    width:100%;
    height:133px;
    object-fit:cover;
    transition:.3s;
}

.offer-box:hover img{
    transform:scale(1.03);
}

.hero-content{
    position:absolute;
    left:60px;
    top:50%;
    transform:translateY(-50%);
    color:#fff;
    max-width:500px;
}

.hero-content h1{
    font-size:40px;
    margin-bottom:18px;
}

.hero-content p{
    font-size:18px;
    line-height:1.7;
    margin-bottom:25px;
}

.hero-btn{
    display:inline-block;
    background:#ff9800;
    color:#fff;
    padding:14px 35px;
    border-radius:6px;
    font-weight:bold;
    transition:.3s;
}

.hero-btn:hover{
    background:#222;
}

/* Slider Button */

.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,.45);
    color:#fff;
    cursor:pointer;
    font-size:22px;
}

.prev{
    left:20px;
}

.next{
    right:20px;
}

/* Dots */

.slider-dots{
    position:absolute;
    left:50%;
    bottom:20px;
    transform:translateX(-50%);
}

.dot{
    display:inline-block;
    width:12px;
    height:12px;
    border-radius:50%;
    background:#fff;
    margin:0 5px;
    opacity:.5;
}

.dot.active{
    opacity:1;
    background:#ff9800;
}

/* ================= SECTION TITLE ================= */

.section-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.section-title h2{
    font-size:28px;
    color:#222;
}

.section-title a{
    color:#ff9800;
    font-weight:600;
}

.section-title a:hover{
    text-decoration:underline;
}

/* ================= CATEGORIES ================= */

.categories{
    padding:40px 0;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.category-card{
    background:#fff;
    border-radius:12px;
    padding:30px 20px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.category-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.12);
}

.category-card .category-icon {
    font-size:55px;
    margin-bottom:20px;
}

.category-card h3{
    font-size:22px;
    margin-bottom:10px;
    color:#222;
}

.category-card p{
    color:#777;
    font-size:15px;
}

/* ================= FEATURED PRODUCTS ================= */

.featured-products{
    padding:40px 0;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.product-card{
    position:relative;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    border:1px solid #ececec;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 25px rgba(0,0,0,.15);
}

.product-image{
    height:260px;
    padding:15px;
    background:#f2f2f2;
    overflow:hidden;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:.4s;
}

.product-card:hover img{
    transform:scale(1.08);
}

.product-info{
    padding:18px;
}

.product-title{
    font-size:18px;
    margin-bottom:10px;
    color:#222;
}

.price-box {
    margin-bottom:15px;
}

.new-price{
    color:#ff9800;
    font-size:22px;
    font-weight:bold;
}

.old-price{
    color:#999;
    text-decoration:line-through;
    font-size:16px;
    margin-right:8px;
}

.product-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.buy-btn{
    display:block;
    width:100%;
    background:#ff9800;
    color:#fff;
    text-align:center;
    padding:12px;
    font-size:14px;
    border-radius:6px;
    font-weight:bold;
    transition:.3s;
}

.buy-btn:hover{
    background:#222;
}

.whatsapp-btn {
    display: block;
    width: 100%;
    background: #25D366;
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    border-radius: 6px;
    font-weight: bold;
    transition: .3s;
}

.whatsapp-btn:hover {
    background: #20ba5a;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e53935;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: none;
    color: #ccc;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 10;
    transition: .3s;
}

.wishlist-btn:hover {
    color: #e53935;
}

.stock {
    font-size: 13px;
    margin-top: 5px;
}

/* ================= OFFER BANNER ================= */

.offer-banner{
    padding:40px 0;
}

.offer-content{
    background:linear-gradient(135deg,#ff9800,#ffb74d);
    color:#fff;
    border-radius:15px;
    padding:60px;
    text-align:center;
}

.offer-content h2{
    font-size:38px;
    margin-bottom:18px;
}

.offer-content p{
    font-size:18px;
    margin-bottom:30px;
    line-height:1.8;
}

.offer-content .hero-btn{
    background:#fff;
    color:#ff9800;
}

.offer-content .hero-btn:hover{
    background:#222;
    color:#fff;
}

/* ================= FOOTER ================= */

.footer{
    background:#1f1f1f;
    color:#fff;
    margin-top:40px;
}

.footer-container{
    max-width:1200px;
    margin:auto;
    padding:50px 20px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:35px;
}

.footer-col h3{
    color:#f8a31b;
    margin-bottom:20px;
    font-size:22px;
}

.footer-col p{
    line-height:1.8;
    color:#ddd;
}

.footer-col ul{
    list-style:none;
    padding:0;
}

.footer-col ul li{
    margin:12px 0;
    color:#ddd;
}

.social-icons{
    margin-top:20px;
}

.social-icons a{
    display:inline-flex;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#333;
    color:#fff;
    align-items:center;
    justify-content:center;
    margin-right:10px;
    font-size:20px;
    transition:.3s;
}

.social-icons a:hover{
    background:#f8a31b;
}

.footer-trust{
    background:#262626;
    border-top:1px solid #3a3a3a;
    border-bottom:1px solid #3a3a3a;
    padding:18px 20px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:35px;
    flex-wrap:wrap;
}

.footer-trust span{
    color:#ffffff;
    font-size:15px;
    font-weight:600;
}

.footer-trust span:hover{
    color:#f8a31b;
}

.footer-bottom{
    text-align:center;
    padding:20px;
    border-top:1px solid #444;
    color:#ccc;
    line-height:1.8;
}

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

@media(max-width:992px){
    .footer-container{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .header{
        flex-direction:column;
    }

    .search-box{
        width:100%;
    }

    .menu{
        flex-direction:column;
    }

    .menu>li{
        width:100%;
    }

    .submenu{
        position:static;
        display:none;
        box-shadow:none;
    }

    .dropdown:hover .submenu{
        display:block;
    }

    .hero-wrapper{
        grid-template-columns:1fr;
    }

    .hero-slider{
        height:250px;
    }

    .slide img{
        height:250px;
    }

    .hero-content{
        left:20px;
        right:20px;
        max-width:100%;
    }

    .hero-content h1{
        font-size:28px;
    }

    .hero-content p{
        font-size:15px;
    }

    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .social-icons{
        justify-content:center;
    }

    .footer-trust{
        gap:18px;
    }

    .footer-trust span{
        font-size:14px;
    }
}

html{
    scroll-behavior:smooth;
}

/* ===================================================
   MODAL & ADMIN DASHBOARD STYLES
=================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 15px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.modal-box.small-modal {
    max-width: 380px;
}

.modal-box.large-modal {
    max-width: 950px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: #f1f5f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #475569;
    transition: 0.2s;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.modal-header {
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.modal-header h2 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 4px;
}

/* Order Modal Custom Styles */
.order-product-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 18px;
    border: 1px solid #e2e8f0;
}

.order-product-preview img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.order-prod-details h3 {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 4px;
}

.order-prod-price {
    display: flex;
    gap: 10px;
    align-items: center;
}

.order-prod-price .new-price {
    color: #ff9800;
    font-weight: 700;
    font-size: 18px;
}

.order-prod-price .old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 14px;
}

/* Form inputs */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.15);
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-pill {
    padding: 6px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.variant-pill.active,
.variant-pill:hover {
    background: #ff9800;
    color: #fff;
    border-color: #ff9800;
}

.qty-control {
    display: flex;
    align-items: center;
    width: 130px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
}

.qty-control button {
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.qty-control button:hover {
    background: #e2e8f0;
}

.qty-control input {
    width: 54px;
    text-align: center;
    border: none !important;
    font-weight: 700;
}

.order-summary-box {
    background: #fff7ed;
    border: 1px dashed #fdba74;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 13px;
    color: #7c2d12;
}

.order-summary-box p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.order-summary-box .total-row {
    font-size: 15px;
    border-top: 1px solid #fed7aa;
    padding-top: 6px;
    margin-top: 6px;
}

.submit-order-btn {
    width: 100%;
    background: #22c55e;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.submit-order-btn:hover {
    background: #16a34a;
}

.admin-btn {
    width: 100%;
    background: #3b82f6;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 11px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 8px;
}

.admin-btn:hover {
    background: #2563eb;
}

.admin-hint {
    font-size: 12px;
    color: #64748b;
    margin: 10px 0;
}

/* ADMIN DASHBOARD STYLES */
.admin-top-bar {
    background: #0f172a;
    color: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-title h2 {
    font-size: 18px;
}

.admin-badge {
    background: #22c55e;
    color: #fff;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 12px;
    font-weight: 700;
}

.admin-top-actions {
    display: flex;
    gap: 10px;
}

.close-dash-btn,
.logout-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.close-dash-btn {
    background: #334155;
    color: #fff;
}

.logout-btn {
    background: #ef4444;
    color: #fff;
}

.admin-tabs {
    display: flex;
    background: #1e293b;
    padding: 0 16px;
    border-bottom: 1px solid #334155;
}

.tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.active {
    color: #ff9800;
    border-bottom-color: #ff9800;
    background: rgba(255, 152, 0, 0.08);
}

.badge {
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
}

.admin-tab-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background: #f8fafc;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Orders List */
.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.order-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.order-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.order-id {
    font-weight: 700;
    color: #0f172a;
}

.order-date {
    font-size: 12px;
    color: #64748b;
}

.order-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;

    @media (max-width: 640px) {
        grid-template-columns: 1fr;
    }
}

.cust-info h4, .order-item-info h4 {
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.status-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.status-pending {
    background: #fef3c7;
    color: #b45309;
}

.status-confirmed {
    background: #d1fae5;
    color: #047857;
}

.status-rejected {
    background: #fee2e2;
    color: #b91c1c;
}

.order-card-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.confirm-btn {
    background: #10b981;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.reject-btn {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

/* Admin Add Form Grid */
.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.or-text {
    display: block;
    margin: 8px 0 4px;
    font-size: 12px;
    color: #64748b;
}

.admin-submit-btn {
    background: #ff9800;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}

.admin-submit-btn:hover {
    background: #e68900;
}

.admin-prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.admin-prod-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.admin-prod-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.admin-prod-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.admin-delete-btn {
    width: 100%;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    padding: 6px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

.admin-delete-btn:hover {
    background: #dc2626;
    color: #fff;
}

/* ===================================================
   MULTI-IMAGE UPLOAD AREA
=================================================== */
.multi-upload-area {
    background: #0f172a;
    border: 2px dashed #334155;
    border-radius: 12px;
    padding: 16px;
    width: 100%;
}

.upload-drop-zone {
    text-align: center;
    padding: 24px 16px;
    border-radius: 8px;
    color: #94a3b8;
    background: #1e293b;
    cursor: pointer;
    transition: background 0.2s;
}

.upload-drop-zone:hover { background: #263348; }

.upload-icon { font-size: 36px; display: block; margin-bottom: 8px; }

.upload-choose-btn {
    margin-top: 12px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}
.upload-choose-btn:hover { opacity: 0.85; }

/* Gallery Preview Grid */
.img-preview-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.preview-thumb-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #334155;
    background: #1e293b;
}

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

.preview-thumb-wrap .remove-thumb {
    position: absolute;
    top: 3px;
    right: 3px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
}

.preview-thumb-wrap .main-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 152, 0, 0.9);
    color: #fff;
    font-size: 9px;
    text-align: center;
    padding: 2px 0;
    font-weight: 700;
}

/* ===================================================
   PRODUCT CARD IMAGE SLIDER (Multiple Images)
=================================================== */
.product-img-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-img-slider .slide-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-img-slider .slide-img.active {
    opacity: 1;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.slider-nav-btn:hover { background: rgba(0,0,0,0.8); }
.slider-nav-btn.prev { left: 4px; }
.slider-nav-btn.next { right: 4px; }

.slider-dots {
    position: absolute;
    bottom: 5px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    z-index: 10;
}

.slider-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s;
}
.slider-dot.active { background: #ff9800; }