/* vitrine/assets/css/style.css */
:root {
    --bg-creme: #FAF9F6;
    --wood-dark: #3b2818;
    --wood-medium: #5c4033;
    --slate-gray: #708090;
    --pastel-accent: #e2c2a4;
    --text-dark: #2c2c2c;
    --text-light: #f5f5f5;
}

body {
    background-color: var(--bg-creme);
    background-image: url('../img/bkg_vitrine.webp');
    background-repeat: repeat;
    color: var(--text-dark) !important;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Custom padding for cards as requested (4px internal border) */
.card {
    padding: 4px;
    background-color: #fff !important;
    color: var(--text-dark) !important;
    border: none; /* Removing default border as we use shadows and background */
}

/* Prevenir que o texto fique branco nos cards dentro do dark theme do bootstrap */
[data-bs-theme="dark"] .card .text-muted, 
[data-bs-theme="dark"] .card .text-dark,
[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .bg-white .text-muted,
[data-bs-theme="dark"] .bg-white .text-dark,
[data-bs-theme="dark"] .card {
    color: var(--text-dark) !important;
}

/* Ensure images in cards respect the padding and look centered */
.card-img-top {
    border-radius: calc(var(--bs-border-radius) - 2px) !important;
}

/* Custom shadow/hover for cards to give a premium feel beyond standard Bootstrap */
.product-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.product-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

/* Specific styling for the brand-themed navbar */
.navbar-brand {
    color: var(--pastel-accent) !important;
}

/* Ensure images maintain aspect ratio in cards */
.card-img-top {
    object-fit: cover;
}

/* Custom responsiveness tweaks if needed */
@media (max-width: 768px) {
    h1.display-5 {
        font-size: 2.2rem;
    }
}

/* Placeholder styling for missing images */
.img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #adb5bd;
    border-radius: inherit;
    width: 100%;
    height: 100%;
    border: 1px solid #eee;
    text-align: center;
    padding: 20px;
}

.img-placeholder i {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.5;
}

.img-placeholder span {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Logo specific placeholder */
.logo-placeholder {
    background: #ffffff;
    border: 2px dashed #dee2e6;
    color: #6c757d;
}

.logo-placeholder i {
    font-size: 2.5rem;
}
