/* Reset & base */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar-dark {
    background-color: #1f1f1f !important;
    box-shadow: 0 2px 6px rgba(198, 40, 40, 0.7); /* vermelho */
}



.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
    color: #e0e0e0;
    transition: color 0.3s;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
    color: #ef5350;
}

/* Hero / Banner */
.bg-dark.text-white.p-5 {
    background: linear-gradient(135deg, #2b0d0d, #1a0000); /* mais quente */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(198, 40, 40, 0.3);
}

/* Buttons */
.btn-light {
    background-color: #c62828;
    border-color: #c62828;
    color: #fff;
}
.btn-light:hover,
.btn-light:focus {
    background-color: #b71c1c;
    border-color: #b71c1c;
    color: #fff;
}

.btn-outline-dark {
    color: #c62828;
    border-color: #c62828;
}
.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background-color: #c62828;
    color: #fff;
    border-color: #b71c1c;
}

/* Cards */
.card {
    background-color: #1f1f1f;
    color: #e0e0e0;
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(255, 171, 64, 0.6);
}

.card-img-top {
    border-radius: 12px 12px 0 0;
    object-fit: cover;
    height: 200px;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #777;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* Container */
.container {
    max-width: 1140px;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .card-img-top {
        height: 150px;
    }
}







/* --- Products List (products.php) --- */







/* Category Filter Pills */
.nav-pills .nav-link {
    color: #e0e0e0;
    background-color: #2a2a2a;
    border-radius: 30px;
    margin-right: 8px;
    transition: background-color 0.3s;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background-color: #c62828;
    color: #121212;
    text-decoration: none;
}




/* Product Cards - Enhanced */




/* --- Single Product Detail (product.php) --- */

/* Carousel */
.carousel-inner {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(255, 171, 64, 0.3);
}

.carousel-item img {
    height: 400px;
    object-fit: contain;
    background-color: #121212;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(100%);
    opacity: 0.8;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    opacity: 1;
}

/* Product Info */
h2 {
    color: #c62828;
    font-weight: 700;
}

p {
    color: #ddd;
}

strong {
    color: #ffb347;
}

/* Forms 
.form-label {
    color: #e0e0e0;
    font-weight: 600;
}

.form-select,
.form-control {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.form-select:focus,
.form-control:focus {
    border-color: #c62828;
    box-shadow: 0 0 6px #c62828;
    outline: none;
    color: #fff;
}
*/
.btn-dark {
    background-color: #c62828;
    border-color: #c62828;
    color: #fff;
}
.btn-dark:hover,
.btn-dark:focus {
    background-color: #b71c1c;
    border-color: #b71c1c;
}













/* Cart Page (cart.php) - Dark Theme */

/* Table Styling */
.table-dark {
    background-color: #121212;
    color: #ddd;
}

.table-dark th,
.table-dark td {
    border-color: #2a2a2a;
    vertical-align: middle;
}

.table-dark thead th {
    border-bottom: 2px solid #c62828;
    color: #c62828;
}

.table-dark tbody tr:hover {
    background-color: #2a2a2a;
    color: #fff;
    transition: background-color 0.3s ease;
}

/* Product Image */
.table img {
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(255, 171, 64, 0.4);
    max-height: 60px;
}

/* Quantity Input */
input[type="number"] {
    background-color: #1e1e1e;
    border: 1px solid #444;
    color: #ddd;
    border-radius: 6px;
    padding: 5px 8px;
    width: 70px;
    text-align: center;
    transition: border-color 0.3s;
}

input[type="number"]:focus {
    outline: none;
    border-color: #c62828;
    box-shadow: 0 0 6px #c62828;
}

/* Buttons */
.btn-warning {
    background-color: #c62828;
    border-color: #c62828;
    color: #121212;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: #e59400;
    border-color: #e59400;
    color: #fff;
}

.btn-danger {
    background-color: #d9534f;
    border-color: #d9534f;
    color: #fff;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: #c9302c;
    border-color: #c9302c;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

/* Alerts */
.alert-success {
    background-color: #2a2f2a;
    color: #b5e7a0;
    border: 1px solid #7fc97f;
    border-radius: 8px;
    padding: 10px 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px #7fc97f44;
}

/* General Page */
/* Links */
a {
    color: #ef5350;
}
a:hover {
    color: #d32f2f;
}

/* Tabela e alertas */
.table-dark thead th {
    border-bottom: 2px solid #e53935;
    color: #e53935;
}








/* order.php - Dark Theme */

/* General body background and text */
body {
    background-color: #121212;
    color: #ddd;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding: 20px;
}

/* Headings */
h1,
h2 {
    color: #FFF;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Alert messages */
.alert {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px #c62828;
}

.alert-success {
    box-shadow: 0 0 10px #c6282844;
}

.alert-danger {
    background-color: #3a1e1e;
    color: #f28b82;
    border: 1px solid #d9534f;
}

/* Order summary list */
.list-group {
    background-color: #1c1c1c;
    border-radius: 8px;
    box-shadow: 0 0 12px #c6282844;
    margin-bottom: 2rem;
}

.list-group-item {
    background-color: transparent;
    border: none;
    color: #ddd;
    padding: 12px 20px;
    border-bottom: 1px solid #333;
    font-size: 1rem;
}

.list-group-item:last-child {
    border-bottom: none;
    font-weight: 700;
    color: #c62828;
}

/* Buttons */
.btn-success {
    background-color: #c62828;
    color: #121212;
    font-weight: 700;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #e59400;
    color: #fff;
    outline: none;
}

