/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS VARIABLES ===== */
:root {
    --card-bg: #ffffff;
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #1d3557;
    --secondary-light: #457b9d;
    --accent: #a8dadc;
    --light: #f1faee;
    --dark: #000000;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --border: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-lottie {
    height: 60px;
    width: 150px;
    transition: var(--transition);
}

.logo-lottie:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo.search-active .logo-lottie {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--accent);
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--card-bg, white);
    border-radius: 25px;
    padding: 5px 15px;
}

.search-box input {
    border: none;
    outline: none;
    padding: 8px;
    width: 200px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.search-box button {
    background: var(--primary);
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

/* ===== HERO & SECTIONS ===== */
.hero {
    background: linear-gradient(rgba(29, 53, 87, 0.8), rgba(29, 53, 87, 0.9)), url('https://images.unsplash.com/photo-1583390786285-478a0b29e3fc?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin: 5px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--secondary);
}

/* ===== GENERAL SECTIONS ===== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary);
}

/* ===== ITEMS GRID & CARDS ===== */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.item-card {
    background: var(--card-bg, white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}


.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.item-image {
    height: 200px;
    overflow: hidden;
}


.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.item-card:hover .item-image img {
    transform: scale(1.05);
}

.item-content {
    padding: 20px;
}

.item-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.item-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.item-features span {
    background: var(--light-gray);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--gray);
}

.item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 15px 0;
}

.item-link {
    display: inline-block;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.item-link:hover {
    color: var(--primary);
}

/* ===== ABOUT & FEATURES ===== */
.about {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}


.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(227,6,19,0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0,123,255,0.02) 0%, transparent 50%);
}

.about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--card-bg, white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.8);
}


.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: block;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg, white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    text-align: right;
    color: var(--primary);
}

/* ===== CONTACT INFO ===== */
.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-card i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-card img {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 20px;
    object-fit: contain;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-card p {
    font-size: 1rem;
    opacity: 0.8;
}

.contact-info {
    background: linear-gradient(135deg, var(--secondary) 0%, #2c3e50 100%);
    padding: 80px 0;
    position: relative;
    color: white;
    overflow: hidden;
}


.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(227,6,19,0.08) 0%, transparent 50%);
}

.contact-info .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Responsividade para seções */
@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

    .about-content h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-card i {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .contact-info {
        padding: 60px 0;
    }

    .contact-info h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 40px;
    }

    .contact-card {
        padding: 25px 15px;
        font-size: 0.9rem;
    }

    .contact-card i, .contact-card img {
        font-size: 2.5rem;
        width: 2.5rem;
        height: 2.5rem;
        margin-bottom: 15px;
    }

    .contact-card h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .contact-card p {
        font-size: 0.9rem;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    overflow: hidden;
}


.social-icons a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.social-icons a img.threads-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.contact-card img.threads-icon {
    filter: none;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.developer {
    margin-top: 5px;
    color: var(--accent);
    font-weight: 500;
}

/* ===== PAGE-SPECIFIC STYLES ===== */
/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.back-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: var(--transition);
}

.back-btn:hover {
    background: var(--primary-dark);
}

/* ===== FILTERS & SEARCH ===== */
.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--card-bg, white);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.filter-sidebar {
    width: 280px;
    background: var(--card-bg, white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin-right: 30px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group h3 i {
    color: var(--primary);
    font-size: 0.9rem;
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    background: var(--card-bg, white);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
    margin-bottom: 8px;
}

.filter-select:focus,
.filter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.filter-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.filter-input {
    cursor: text;
}

.filter-btn {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}

.filter-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.filter-btn.clear {
    background: transparent;
    color: var(--gray);
    border-color: var(--border);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.filter-btn.clear:hover {
    background: var(--light-gray);
    color: var(--secondary);
    transform: none;
}

.filter-btn.clear::before {
    content: '\f12d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.items-main {
    flex: 1;
}

.items-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.items-main {
    flex: 1;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Product Detail */
.product-detail {
    padding: 50px 0;
}

.product-gallery {
    display: grid;
    grid-template-columns: 1fr; /* main em cima + miniaturas embaixo */
    gap: 16px;
    margin-bottom: 40px;
}

.gallery-main img {
    width: 100%;
    border-radius: 10px;
    max-height: 520px; /* imagem bem maior */
    height: auto;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* miniaturas abaixo */
    gap: 10px;
}

.gallery-thumbs img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.gallery-thumbs img:hover {
    transform: translateY(-2px);
    border-color: rgba(230, 57, 70, 0.35);
}

.product-info h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.product-price {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.product-description {
    margin: 20px 0;
    line-height: 1.8;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.spec-item {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.spec-item .label {
    font-size: 0.8rem;
    color: var(--gray);
}

.spec-item .value {
    font-weight: 600;
    color: var(--secondary);
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
}

/* ===== ABOUT PAGE ===== */
.about-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}


.about-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(227,6,19,0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0,123,255,0.02) 0%, transparent 50%);
}

.about-page .container {
    position: relative;
    z-index: 2;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    background: var(--card-bg, white);
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.about-story h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.about-story h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.about-story p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
    font-size: 1.1rem;
}

.story-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.story-image img:hover {
    transform: scale(1.02);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.about-stat-item {
    text-align: center;
    padding: 50px 30px;
    background: var(--card-bg, white);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}


.about-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.about-stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.mission-vision-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.mvv-card {
    background: var(--card-bg, white);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}


.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.mvv-card:hover::before {
    opacity: 1;
}

.mvv-card i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: block;
    transition: all 0.3s ease;
}

.mvv-card:hover i {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.mvv-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
}

.mvv-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.team-section {
    margin-top: 80px;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: var(--card-bg, white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}


.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 20px 0 5px 0;
    padding: 0 20px;
}

.team-member p {
    color: #666;
    font-size: 1rem;
    margin: 0 0 20px 0;
    padding: 0 20px;
}

.mvv-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.mvv-card h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.team-section {
    margin-top: 50px;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary);
}

/* Map Section */
.map-section {
    margin-top: 50px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}


/* ===== ADMIN STYLES ===== */
.admin-body {
    background: var(--light-gray);
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--secondary);
    color: white;
    padding: 20px;
}

.admin-logo {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logo a {
    color: white !important;
    text-decoration: none !important;
}

.admin-logo img {
    /* O logo agora é transparente. Se necessário, ajuste o filtro para visibilidade no fundo escuro. */
    filter: brightness(0) invert(1);
}

.admin-nav ul {
    list-style: none;
    margin-top: 20px;
}

.admin-nav a {
    display: block;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--primary);
}

.admin-nav i {
    margin-right: 10px;
}

.admin-main {
    flex: 1;
    padding: 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user img {
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.recent-items {
    background: var(--card-bg, white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.recent-items h3 {
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 1.2rem;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--light-gray);
    border-radius: 5px;
    transition: var(--transition);
}

.recent-item:hover {
    background: #e0e0e0;
}

.recent-item img {
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 3px;
}

.recent-item .info {
    flex: 1;
}

.recent-item .info h4 {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary);
}

.recent-item .info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.stat-card {
    background: var(--card-bg, white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.admin-table {
    width: 100%;
    background: var(--card-bg, white);
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}


.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: var(--light-gray);
}

.admin-table img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}

.image-preview {
    max-width: 200px;
    max-height: 150px;
    margin-top: 10px;
    border-radius: 5px;
    object-fit: cover;
}

/* Multiple Images Upload */
.image-upload-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    background: var(--light);
}

.image-upload-item input[type="file"] {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card-bg, white);
}

.image-upload-item .image-preview {
    width: 60px;
    height: 45px;
    margin: 0;
    border-radius: 8px;
}

.remove-image-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 12px;
}

.remove-image-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.add-image-btn {
    background: transparent;
    border: 2px dashed var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.add-image-btn:hover {
    background: var(--primary);
    color: white;
}

.add-image-btn i {
    font-size: 0.8rem;
}

/* ===== FORMS ===== */
.form-group input[type="file"] {
    padding: 10px;
    border: 1px dashed var(--border);
    border-radius: 5px;
    background: var(--light-gray);
    cursor: pointer;
}

/* ===== FLOATING ELEMENTS ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    color: white;
    font-size: 2.5rem;
}

/* About Page */
.about-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

.about-story h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-story p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    text-align: center;
}

.stat-item {
    background: var(--card-bg, white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.mission-vision-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    background: var(--card-bg, white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mvv-card:hover {
    transform: translateY(-5px);
}

.mvv-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.mvv-card h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.team-section {
    margin-top: 50px;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary);
}

/* Map Section */
.map-section {
    margin-top: 50px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}


/* ===== MODALS & FORMS ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: var(--card-bg, white);
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    background: var(--card-bg, white);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
    margin-bottom: 8px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Messages */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-card {
    background: var(--card-bg, white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.message-card .sender {
    font-weight: 600;
    color: var(--secondary);
}

.message-card .date {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .logo-lottie {
        height: 40px;
        width: 100px;
    }

    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        background: var(--secondary);
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
        transition: var(--transition);
        text-align: center;
    }

    .nav-list.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .search-box.mobile-search {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-right: 10px;
    }

    .search-toggle {
        background: none;
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 5px;
    }

    .search-expanded {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--card-bg, white);
        padding: 5px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        gap: 5px;
        z-index: 100;
    }

    .search-expanded input {
        width: 120px;
        border: 1px solid var(--border);
        padding: 5px;
        border-radius: 3px;
    }

    .search-expanded.hidden {
        display: none;
    }

    .social-icons {
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .filters {
        flex-direction: column;
        gap: 10px;
    }

    .items-layout {
        flex-direction: column;
    }

    .filter-sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        position: static;
    }

    .items-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .admin-logo img {
        height: 40px !important;
    }

    .admin-logo h2 {
        font-size: 1rem !important;
    }

    .admin-container {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
.contact-info-box, .contact-form-box {
    background: var(--card-bg, white);
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
}


/* Map Section */
.map-section {
    margin-top: 80px;
    text-align: center;
}

.map-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.map-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    max-width: 1000px;
    margin: 0 auto;
}


.contact-form-box {
    padding: 50px;
}

.contact-form-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.contact-form-box h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

/* ===== RESPONSIVE ABOUT & CONTACT ===== */
@media (max-width: 768px) {
    .about-page, .contact-page {
        padding: 60px 0;
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }

    .about-story h2, .contact-info-box h2, .contact-form-box h2, .map-section h2 {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-bottom: 60px;
    }

    .about-stat-item {
        padding: 35px 20px;
    }

    .stat-number {
        font-size: 2.8rem;
        margin-bottom: 10px;
    }

    .mission-vision-values {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }

    .mvv-card {
        padding: 40px 30px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .contact-info-box, .contact-form-box {
        padding: 40px 30px;
    }

    .contact-details {
        gap: 20px;
    }

    .contact-item {
        padding: 20px;
        gap: 15px;
    }

    .contact-item i {
        font-size: 2.5rem;
    }
}

/* ===== SEARCH & AUTOCOMPLETE ===== */
.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg, white);
    border: 1px solid var(--border);
    border-radius: 0 0 5px 5px;
    box-shadow: var(--shadow);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--light-gray);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: var(--light-gray);
}

.autocomplete-item img {
    width: 28px;
    height: 22px;
    object-fit: cover;
    border-radius: 2px;
}

.autocomplete-item span {
    flex: 1;
    font-size: 0.85rem;
    color: var(--gray);
}

/* Search input consistency */
.search-expanded input {
    height: 36px;
    line-height: 36px;
    vertical-align: middle;
}

.search-expanded button {
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Compact form styling */
.contact-form-box {
    margin-top: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.25);
}

button[type="submit"] {
    padding: 12px 24px;
    font-size: 0.95rem;
}

/* Desktop search visibility */
@media (min-width: 769px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    .search-expanded {
        display: flex !important;
    }
    .search-toggle {
        display: none !important;
    }
}

/* Mobile autocomplete adjustments */
@media (max-width: 768px) {
    /* Admin mobile: lista em cards (bem legível) */
    .admin-table {
        display: none;
    }

    .admin-cards {
        display: grid;
        gap: 12px;
        padding: 8px 0;
    }

    .admin-cards:not(.hidden) {
        /* garante visibilidade quando o JS remove 'hidden' */
        display: grid;
    }

    .admin-card {
        background: var(--card-bg, white);
        border-radius: 12px;
        box-shadow: var(--shadow);
        padding: 12px;
    }

    /* reduzir imagens grandes no celular */
    .admin-card-top {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }

    .admin-card-img {
        width: 56px;
        height: 40px;
        object-fit: cover;
        border-radius: 8px;
        flex: 0 0 auto;
        max-width: 56px;
        max-height: 40px;
    }
}

/* Admin tablet/desktop: não mostrar cards (evita duplicação) */
@media (min-width: 769px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    .admin-cards {
        display: none !important;
    }

    .admin-card-top {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }

    .admin-card-img {
        width: 72px;
        height: 52px;
        object-fit: cover;
        border-radius: 8px;
        flex: 0 0 auto;
    }

    .admin-card-meta {
        flex: 1;
        min-width: 0;
    }

    .admin-card-title {
        font-weight: 800;
        color: var(--secondary);
        margin-bottom: 4px;
        line-height: 1.2;
        word-break: break-word;
    }

    .admin-card-sub {
        font-size: 0.9rem;
        color: var(--gray);
        margin-bottom: 3px;
    }

    .admin-card-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .admin-card-actions .btn {
        padding: 9px 10px;
        font-size: 0.8rem;
        border-radius: 10px;
    }

    /* badget sold */
    .admin-sold-badge {
        display: inline-block;
        font-size: 0.8rem;
        font-weight: 800;
        margin-top: 6px;
        padding: 4px 8px;
        border-radius: 999px;
        color: white;
        background: var(--primary);
    }
    .admin-sold-badge.active {
        background: #2f855a; /* ativo em verde */
    }
    .admin-sold-badge.sold {
        background: var(--primary);
    }

    .search-autocomplete {
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        border-radius: 5px;
        max-height: 200px;
        margin-top: 5px;
    }

    .autocomplete-item {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .autocomplete-item img {
        width: 32px;
        height: 24px;
    }

    .autocomplete-item span {
        font-size: 0.9rem;
    }
}
/* ===== SHARE CARD STYLES ===== */
.share-card-container {
    position: fixed;
    top: -9999px;
    left: -9999px;
}

.share-card {
    width: 400px;
    height: 711px; /* 9:16 ratio approximately */
    background: linear-gradient(135deg, #1e3a8a 0%, #000000 100%);
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}


.share-card-logo {
    height: 60px;
    margin-bottom: 20px;
}

.share-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.share-card-info {
    width: 100%;
    text-align: center;
}

.share-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.2;
}

.share-card-price {
    font-size: 2.5rem;
    color: #ef4444;
    font-weight: 800;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
}

.share-card-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
    margin-bottom: 30px;
}

.share-card-spec-item {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.share-card-spec-item i {
    margin-bottom: 5px;
    color: #ef4444;
}

.share-card-footer {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

.share-card-contact {
    font-size: 1.1rem;
    font-weight: 600;
}

.share-card-web {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 5px;
}

.share-btn-container {
    margin: 20px 0;
    text-align: center;
}

.btn-share {
    background-color: #25d366;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-share:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* ===== TEMPLATE MODAL STYLES ===== */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.template-option {
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}


.template-option:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.template-option.selected {
    border-color: var(--primary);
}

.template-option img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.template-option span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px;
    text-align: center;
    font-size: 0.8rem;
}
