html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f5f5f5;
    color: #333;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}


main {
    max-height:90vh; 
    overflow: scroll; 
}


a {
    text-decoration: none;
}


.navbar {
    background: #fff !important;
    border-bottom: 1px solid #e9e9e9 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f68b1e !important;
}

.nav-link {
    color: #444 !important;
    font-weight: 500;
}

    .nav-link:hover {
        color: #f68b1e !important;
    }


.list-group {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 14px 18px;
    color: #444;
    transition: .2s;
}

    .list-group-item:last-child {
        border-bottom: none;
    }

    .list-group-item:hover {
        background: #fff7ef;
        color: #f68b1e;
    }


.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    transition: .25s;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    height: 100%;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,.12);
    }

.card-body {
    padding: 18px;
}

.card-footer {
    background: white;
    border-top: 1px solid #f1f1f1;
}


.image-container {
    overflow: hidden;
    background: white;
}

.product-image {
    width: 100%;
    height: 230px;
    object-fit: contain;
    padding: 15px;
    transition: transform .3s;
}

.card:hover .product-image {
    transform: scale(1.05);
}


.card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.card p {
    color: #666;
    font-size: .92rem;
}

.text-muted {
    font-size: .85rem;
}

.price {
    color: #f68b1e;
    font-size: 1.2rem;
    font-weight: bold;
}


.btn-primary {
    background: #f68b1e;
    border-color: #f68b1e;
    border-radius: 6px;
    font-weight: 600;
}

    .btn-primary:hover {
        background: #df7d18;
        border-color: #df7d18;
    }

.btn-outline-primary {
    border-color: #f68b1e;
    color: #f68b1e;
    border-radius: 6px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: #f68b1e;
    border-color: #f68b1e;
    color: white;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}


.footer {
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 20px 0;
    margin-top: 40px;
}


@media (max-width: 768px) {

    .product-image {
        height: 180px;
    }

    .list-group {
        margin-bottom: 20px;
    }
}