@media (max-width: 768px) { body { padding-bottom: 120px !important; } }
html, body { min-height: 100vh; } .main-content { min-height: calc(100vh - 120px); }
/* QDIXE Custom Styles */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.navbar {
    transition: all 0.3s ease;
}

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.btn {
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.badge {
    padding: 6px 12px;
    border-radius: 6px;
}

/* Shop Styles */
.product-price {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Admin Sidebar */
.sidebar .nav-link {
    border-radius: 8px;
    margin: 2px 15px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* ===== Category Image Overlay Fix ===== */
.category img,
.category-item img,
.category-box img {
    position: relative !important;
    z-index: 1 !important;
   /* height: 107px !important;   /* +7px height */
    object-fit: cover;
}

.category .overlay,
.category-item .overlay,
.category-box .overlay,
.category .icon,
.category-item .icon,
.category-box .icon {
    display: none !important;
}

/* Prevent text or icon over image */
.category,
.category-item,
.category-box {
    position: static !important;
}


/* ===== Home Category Height Increase ===== */

.category,
.category-item,
.category-box {
    height: 107px !important;   /* আগের থেকে +7px */
}

.category img,
.category-item img,
.category-box img {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
}


/* ===== Reduce category text white space ===== */

.category,
.category-item,
.category-box {
    padding-bottom: 0 !important;
    margin-bottom: 2px !important;
}

/* Category text */
.category h6,
.category-item h6,
.category-box h6 {
    margin: 3px 0 !important;
    padding: 0 !important;
    font-size: 13px;
    line-height: 1.2;
}
/* ===== Category White Area Height Reduce (Home) ===== */
.category-card-tiktok .text-center {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
}

.category-card-tiktok span {
    font-size: 12px !important;
}

/* ===== Reduce Category Bottom White Space ===== */
.category-text {
    padding: 2px 0 !important;
    margin: 0 !important;
    line-height: 1.1 !important;
}

.category-text span {
    font-size: 12px !important;
}

/* ===== TikTok Style Category Spacing ===== */
.category-card-tiktok {
    padding-bottom: 6px !important;
}

.category-text {
    padding-top: 6px !important;
    padding-bottom: 4px !important;
    line-height: 1.2 !important;
}

.category-text span {
    font-size: 13px !important;
    font-weight: 600;
}

.category-card-tiktok img {
    margin-bottom: 2px !important;
}


/* ===== FINAL CATEGORY RADIUS FIX (Auto Added) ===== */

.category-box,
.category-card-tiktok,
.col-6 > div {
    border-radius: 9px !important;
    overflow: hidden !important;
    background: #fff !important;
}

/* Image follow card radius */
.category-box img,
.category-card-tiktok img,
.col-6 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 !important;
}

/* ===== SHOP INNER SPACE FIX ===== */
.container, .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
}
.row {
    margin-left: -4px !important;
    margin-right: -4px !important;
}
.row > [class*="col"] {
    padding-left: 4px !important;
    padding-right: 4px !important;
}
/* ===== END SHOP FIX ===== */
/* ===== SHOP TOP SPACE REMOVE ===== */
body .container.mt-4 {
    margin-top: 5px !important;
}
h2.mb-4 {
    margin-bottom: 10px !important;
}
/* ===== END SHOP TOP FIX ===== */

/* Product title one line fix */
.card-title {
    font-size: 14px;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block;
    width: 100%;
    margin-bottom: 2px !important;
}

/* Fix price hidden issue */

/* ===== FINAL PRODUCT CARD FIX ===== */

/* Product name one line */
.card-title {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

/* Card body layout */
.card-body {
    padding: 8px !important;
    min-height: 80px;
    display: block;
}

/* Price always visible */
.card-body .text-primary {
    font-size: 15px;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}


/* Mobile footer overlap fix */
@media (max-width: 768px) {
    body {
        padding-bottom: 90px !important;
    }
}
