:root {
    --brand-orange: #ff6a00;
    --brand-dark: #1a1a1a;
    --brand-light: #f8f9fa;
}

/* ==========================================
   1. GLOBAL LAYOUT
========================================== */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--brand-light);
}

.container {
    flex: 1;
}

/* ==========================================
   2. BRAND UTILITIES
========================================== */
.bg-orange {
    background-color: var(--brand-orange) !important;
    color: #fff !important;
}

.text-orange {
    color: var(--brand-orange) !important;
}

/* ==========================================
   3. BUTTONS
========================================== */
.btn-primary {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
}

.btn-primary:hover {
    background-color: #e65c00;
    border-color: #e65c00;
}

.btn-orange {
    background-color: var(--brand-orange);
    color: #fff;
}

.btn-orange:hover {
    background-color: #e65c00;
    color: #fff;
}

.btn-outline-orange {
    border: 1px solid var(--brand-orange);
    color: var(--brand-orange);
    background-color: transparent;
    transition: 0.3s ease;
}

.btn-outline-orange:hover {
    background-color: var(--brand-orange);
    color: #fff;
}

/* ==========================================
   4. NAVIGATION
========================================== */
.navbar-nav .nav-link {
    color: var(--brand-dark);
    padding: 10px 15px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--brand-orange);
    color: #fff !important;
}

/* ==========================================
   5. HERO SECTION
========================================== */
.hero-section {
    background: 
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.85)),
        url('/educanstore/img/hero-bg2.png') center/cover no-repeat;

    color: #fff;
    padding: 120px 20px;
    text-align: center;
}

.hero-section h1 {
    font-weight: 700;
    font-size: 2.8rem;
}

.hero-section p {
    opacity: 0.85;
}

/* ==========================================
   6. SEARCH
========================================== */
.search-container {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ==========================================
   7. PRODUCT CARDS (CLEAN VERSION)
========================================== */

/* Base card */
.product-card {
    padding: 8px;
}

/* Image */
.card-img-top {
    height: 130px;
    object-fit: contain;
}

/* Description */
.product-card p {
    font-size: 12px;
    line-height: 1.3;
    max-height: 30px;
    overflow: hidden;
}

/* Card body spacing */
.product-card .card-body {
    padding: 10px;
}

/* Button */
.product-card .btn {
    padding: 6px;
    font-size: 13px;
}

/* =======================
   MOBILE (≤576px)
======================= */
@media (max-width: 5px) {
    .card-img-top {
        height: 120px;
    }

    .product-card h6 {
        font-size: 13px;
    }

    .product-card p {
        font-size: 11px;
        max-height: 32px;
    }

    .product-card h5 {
        font-size: 13px;
    }

    .product-card .btn {
        font-size: 11px;
        padding: 5px;
    }
}

/* =======================
   DESKTOP (≥992px)
======================= */
@media (min-width: 992px) {
    .product-card h6 {
        font-size: 14px;
    }

    .product-card p {
        font-size: 12px;
    }
}

/* ==========================================
   8. CATEGORY LIST
========================================== */
.category-title {
    background-color: var(--brand-orange);
    color: #fff;
    font-weight: 600;
}

.list-group-item:hover {
    background-color: #f1f1f1;
}

/* ==========================================
   9. PRODUCT GALLERY (THUMBNAILS)
========================================== */
#thumbCol .img-thumbnail {
    border-color: #ddd;
    transition: 0.3s ease;
}

#thumbCol .img-thumbnail:hover,
#thumbCol .img-thumbnail.active-thumb {
    border-color: var(--brand-orange) !important;
    border-width: 2px;
    box-shadow: 0 0 6px rgba(255, 106, 0, 0.4);
}

.vertical-thumb {
    padding: 0.25rem;
}

.logo {  
    width: 40px; 
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
}

/* Just in case Bootstrap or something tries nonsense */
.navbar-brand img {
    max-width: 40px;
    height: auto;
}
.thumb-col img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: 0.2s;
}

.thumb-col img:hover,
.thumb-col img.active-thumb {
    border-color: var(--brand-orange);
    box-shadow: 0 0 6px rgba(255, 106, 0, 0.3);
}

.main-product-img {
    max-height: 420px;
    object-fit: contain;
}

.product-desc {
    line-height: 1.6;
    font-size: 0.95rem;
}
.btn-orange {
    background-color: var(--brand-orange);
    color: #fff;
    border: none;
    transition: 0.3s ease;
}

.btn-orange:hover {
    background-color: #e65c00;
    color: #fff;
}
/* Custom Orange Button */
.btn-orange {
    background-color: #ff6600 !important;
    color: #ffffff !important;
    border: none;
    transition: background 0.3s ease;
}

.btn-orange:hover {
    background-color: #e65c00 !important; /* Slightly darker on hover */
    color: #ffffff !important;
}
.table thead {
    background-color: #ff6600; /* Your brand orange */
    color: white;
}
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
}
/* MOBILE */
@media (max-width: 576px) {
    .card-img-top {
        height: 120px !important;
    }

    .product-card h6 {
        font-size: 13px;
    }

    .product-card p {
        font-size: 11px;
        max-height: 32px;
    }

    .product-card h5 {
        font-size: 13px;
    }

    .product-card .btn {
        font-size: 11px;
        padding: 5px;
    }
}

/* DESKTOP */
@media (min-width: 962px) {
    .product-card h6 {
        font-size: 14px;
    }

    .product-card p {
        font-size: 12px;
    }
}