/* Styles généraux */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.main-content {
    flex: 1;
    margin-top: 8px !important;
}

.container, .premium-main-content {
    margin-top: 8px !important;
}

/* Style de la navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    background-color: #ffffff !important;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

/* Barre de recherche */
.search-form {
    width: 100%;
}

.search-form .input-group {
    width: 100%;
}

.search-form input {
    border-radius: 20px 0 0 20px;
    border: 1px solid #ddd;
    padding-left: 1.5rem;
}

.search-form button {
    border-radius: 0 20px 20px 0;
    padding: 0.5rem 1.5rem;
}

/* Style des cartes produits */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    border-radius: 10px;
    overflow: hidden;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.card-text {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Prix */
.price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 1rem;
}

/* Boutons */
.btn-primary {
    background-color: #ffb300;
    border: none;
    padding: 0.5rem 1.5rem;
    transition: background-color 0.2s;
    border-radius: 20px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #ff9800;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: #ffb300;
    color: #ffb300;
    transition: all 0.2s;
    border-radius: 20px;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: #ffb300;
    color: white;
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    margin-top: 2rem;
    gap: 0.5rem;
}

.page-link {
    color: #ffb300;
    border: none;
    margin: 0 0.2rem;
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.page-link:hover {
    background-color: #ffb300;
    color: white;
}

/* Panier */
.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
}

/* Jumbotron */
.jumbotron {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    padding: 3rem 2rem;
}

.jumbotron h1 {
    color: #333;
    font-weight: 600;
}

.jumbotron .lead {
    color: #666;
}

/* Catégories */
.category-card {
    text-align: center;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: transform 0.2s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card i {
    font-size: 2.5rem;
    color: #ffb300;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: #343a40;
    color: #ffffff;
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #f1c40f;
}

.main-premium-layout {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    padding: 0 16px 16px 16px;
    margin: 0 auto 0 auto;
    overflow-x: auto;
}

.copyright-muted { color: #bbbbbb !important; }

.cart-img-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
}
.cart-input-qty {
    width: 70px;
}
.cart-input-group {
    width: 120px;
}
.product-input-qty {
    width: 100px;
}
.about-fine-print {
    font-size: 0.95em;
}
.text-teal { color: #009688; }
.text-green { color: #43a047; }
.text-orange { color: #ff3d00; }
.text-yellow { color: #ffb300; }
.text-white { color: #fff; }
.text-gray { color: #888; }
.bg-white { background: #fff; }
.bg-orange { background: #ff3d00; }
.bg-light { background: #f6f8fa; }
.bg-yellow-light { background: #fffbe6; }
.rounded-6 { border-radius: 6px; }
.rounded-8 { border-radius: 8px; }
.rounded-12 { border-radius: 12px; }
.p-24-18-14-18 { padding: 24px 18px 14px 18px; }
.p-22-18-18-18 { padding: 22px 18px 18px 18px; }
.p-32-22-22-22 { padding: 32px 22px 22px 22px; }
.p-6-18 { padding: 6px 18px; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.font-large-1-1 { font-size: 1.1rem; }
.font-large-1-07 { font-size: 1.07em; }
.font-large-0-97 { font-size: 0.97em; }
.shadow-yellow-07 { box-shadow: 0 2px 12px rgba(255,179,0,0.07); }
.shadow-yellow-10 { box-shadow: 0 2px 12px rgba(255,179,0,0.10); }
.shadow-black-05 { box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.maxw-220 { max-width: 220px; }
.img-thumb-100 { width: 100px; height: 100px; object-fit: cover; }
.d-none { display: none !important; }
.flex-1 { flex: 1; }
.maxw-500 { max-width: 500px; }
.w-90 { width: 90px; }
.top-0 { top: 0; }
.left-340 { left: 340px; }
.list-unstyled { list-style: none; }
.pl-0 { padding-left: 0; }
.mt-8 { margin-top: 8px; }
.maxw-100 { max-width: 100%; }
.rounded-6 { border-radius: 6px; }
.bg-none { background: none; }
.border-none { border: none; }
.font-large-1-2 { font-size: 1.2rem; }
.mr-14 { margin-right: 14px; }
.outline-none { outline: none; }
.pointer { cursor: pointer; }
.mr-18 { margin-right: 18px; }
.text-dark { color: #222; }
.font-large-1-05 { font-size: 1.05rem; }
.bg-yellow-light { background: #fffbe6; }
.border-b-yellow { border-bottom: 1px solid #ffe066; }
.p-10-24 { padding: 10px 24px; }
.pos-rel { position: relative; }
.trans-maxh-03 { transition: max-height 0.3s; }
.maxh-60 { max-height: 60px; }
.overflow-hidden { overflow: hidden; }


/* Messages flash */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Formulaires */
.form-control {
    border-radius: 20px;
    padding: 0.75rem 1.5rem;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(255,179,0,.25);
    border-color: #ffb300;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .search-form {
        margin: 1rem 0;
    }

    .card-img-top {
        height: 150px;
    }

    .jumbotron {
        padding: 2rem 1rem;
    }

    .jumbotron h1 {
        font-size: 2rem;
    }
}
