/* Premium CSS Additions for Filters, Clean Contact and Heroes */

/* ==================== GLOBAL FIXES ==================== */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ==================== HERO ADJUSTMENTS ==================== */
.carousel-slide {
    background-color: #000;
}

/* Carousel Navigation Buttons - Premium Circular Styling */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background-color: rgba(0, 0, 0, 0.55) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    padding: 0 !important;
    border-radius: 50% !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.carousel-nav i {
    font-size: 1.15rem !important;
    display: block !important;
}

.carousel-nav:hover {
    background-color: #E63946 !important;
    border-color: #E63946 !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Salientar ainda mais o botão de próximo slide com animação pulsante */
.carousel-nav.next {
    background-color: rgba(230, 57, 70, 0.85) !important;
    border-color: #ffffff !important;
    animation: pulse-next 2.5s infinite;
}

@keyframes pulse-next {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7), 0 4px 15px rgba(0, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(230, 57, 70, 0), 0 4px 15px rgba(0, 0, 0, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0), 0 4px 15px rgba(0, 0, 0, 0.4);
    }
}

.hero-product-bg img {
    object-fit: cover !important;
    background: #000;
    padding: 0;
    width: 100%;
    height: 100%;
}

/* Outlet Hero Fullscreen Adjustment */
.page-hero-outlet {
    height: 100vh !important;
    min-height: 100vh !important;
}

.page-hero-outlet .hero-background img {
    object-fit: cover !important;
    background: #111;
    filter: brightness(0.7);
}

.page-hero-outlet .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.page-hero-outlet .hero-title {
    font-size: clamp(2rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    color: #fff;
}

.page-hero-outlet .hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.8rem);
    color: #ddd;
}

/* ==================== FILTERS UI ==================== */

.product-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin: -2rem auto 3rem auto;
    max-width: 1200px;
    position: relative;
    z-index: 10;
    align-items: center;
    border: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .product-filter-container {
        flex-direction: column;
        padding: 1.5rem;
        margin-top: 0;
    }
}

.filter-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.filter-input, .filter-select {
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
    appearance: none;
}

.filter-input {
    padding-right: 3rem;
}

.filter-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.filter-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.filter-input:focus, .filter-select:focus {
    outline: none;
    border-color: #2a2a2a;
    box-shadow: 0 0 0 3px rgba(42, 42, 42, 0.1);
    background-color: #fff;
}

.no-products-msg {
    text-align: center;
    padding: 4rem 2rem;
    background: #fafafa;
    border-radius: 12px;
    margin: 2rem auto;
    max-width: 600px;
}

.no-products-msg p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* ==================== PRODUCT CATALOG DETAILS (REFACTORED) ==================== */
.product-catalog-details {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-type {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.product-price-regular {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2a2a2a;
}

.product-price-outlet {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-price-outlet .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.95rem;
}

.product-price-outlet .new-price {
    color: #E63946;
    font-weight: 600;
    font-size: 1.25rem;
}

/* ==================== CONTATO CLEAN ==================== */
.contact-clean-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card-clean {
    padding: 2.5rem;
    background: #fdfdfd;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    transition: transform 0.3s ease;
    text-align: left;
}

.info-card-clean:not(.no-hover):hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.clean-h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111;
}

.clean-p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.clean-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #1a1a1a;
    text-transform: none;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 0.25rem;
}

.clean-link:hover {
    color: #E63946;
    border-color: #E63946;
}

/* ==================== FOOTER DEVELOPER CREDIT ==================== */
.footer-developer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1rem;
    margin-top: 0.5rem;
    text-align: center;
}

.footer-developer p {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 1.5px;
    font-family: 'Montserrat', sans-serif;
}

.footer-developer a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-developer a:hover {
    color: #E63946;
}

/* ==================== FOOTER CONTACT INFO SMALL ==================== */
.footer-contact-info {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
}

.footer-contact-info a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-info a:hover {
    color: #fff;
}

/* ==================== RESPONSIVE OVERRIDES ==================== */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem !important; }
    .page-hero-outlet .hero-title { font-size: 2rem !important; }
    .product-filter-container { flex-direction: column; width: 100%; margin: 1rem 5%; }
    .filter-group { width: 100%; min-width: unset; }
    .hero-content { padding: 2rem 5%; text-align: center; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .stats-container, .about-stats, .mission-stats { display: none !important; }
    .hero-text { display: flex; flex-direction: column; align-items: center; }
    
    /* Page Hero mobile */
    .page-hero {
        height: 45vh !important;
        min-height: 280px !important;
        padding: 2rem 5% !important;
    }
    .page-hero-title { font-size: 2rem !important; }
    .page-hero-subtitle { font-size: 0.65rem !important; }
    
    /* About section mobile */
    .about-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .about-section { padding: 3rem 5% !important; }
    
    /* Gallery mobile */
    .gallery-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2px !important;
    }
    .gallery-section { padding: 3rem 5% !important; }
    
    /* Mission mobile */
    .mission-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .mission-section { padding: 3rem 5% !important; }
    
    /* Values mobile */
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .values-section { padding: 3rem 5% !important; }
    
    /* Hide carousel navigation buttons on mobile */
    .carousel-nav { display: none !important; }

    /* Featured/products mobile */
    .featured-section { padding: 3rem 0 !important; }
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }
    
    /* FAQ mobile */
    .faq-section { padding: 3rem 5% !important; }
    
    /* Blog/Instagram mobile */
    .blog-section { padding: 3rem 5% !important; }
    .blog-grid { grid-template-columns: 1fr 1fr !important; }
    .blog-content { display: none; }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }
    .social-links { justify-content: center; }
    footer { padding: 3rem 5% 1rem !important; }
    
    /* Contact page mobile */
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
        margin: 2rem auto !important;
    }
    .contact-form-wrapper { padding: 1.5rem !important; }
    .info-card-clean { padding: 1.5rem !important; }
    
    /* Section headers mobile */
    .section-header { margin-bottom: 2rem; }
    .section-title { font-size: 1.6rem !important; }
    .section-subtitle { font-size: 0.65rem !important; }

    /* Lightbox mobile */
    .lightbox-content { max-width: 95vw; }
    .lightbox-main img { max-width: 95vw; max-height: 60vh; }
    .lightbox-thumbnails { max-width: 95vw; }
    .lightbox-close { top: 1rem; right: 1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem !important; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.5rem; }
    .page-hero { height: 100vh !important; min-height: 100vh !important; }
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }
}

/* ==================== PAGE HERO FULLSCREEN ALL PAGES ==================== */
.page-hero, .hero {
    height: 100vh !important;
    min-height: 600px !important;
}

@media (max-width: 768px) {
    .page-hero, .hero {
        height: 100vh !important;
        min-height: 100vh !important;
    }
}

/* ==================== VALUE CARD TITLES RED ==================== */
.value-card h3 {
    color: #E63946 !important;
}

/* ==================== MOBILE HERO BUTTON POSITION ==================== */
@media (max-width: 768px) {
    .hero-content {
        align-items: center !important;
        padding-bottom: 2.8rem !important;
    }
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ==================== TITLE UNDERLINE RED ==================== */
.title-underline {
    background: #E63946 !important;
    height: 3px !important;
    border-radius: 2px;
}

/* ==================== GALLERY THUMBNAIL CAROUSEL ==================== */
.gallery-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-main {
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
    background: #111;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.4s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 2px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.4;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: #E63946;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .gallery-main {
        height: 300px;
    }
    .gallery-thumb {
        width: 80px;
        height: 55px;
    }
}

/* ==================== INSTAGRAM FULLSCREEN CAROUSEL ==================== */
.insta-carousel-section {
    background: #0a0a0a;
    padding: 5rem 0;
    overflow: hidden;
}

.insta-carousel-section .section-title,
.insta-carousel-section .section-subtitle {
    color: #fff;
}

.insta-carousel-section .section-subtitle {
    color: rgba(255,255,255,0.5);
}

.insta-carousel-viewport {
    overflow: hidden;
    width: 100%;
    cursor: grab;
}

.insta-carousel-viewport:active {
    cursor: grabbing;
}

.insta-carousel-track {
    display: flex;
    gap: 1rem;
    padding: 0 10%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.insta-slide {
    flex: 0 0 80%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.2;
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: relative;
}

.insta-slide.active {
    opacity: 1;
    transform: scale(1);
}

.insta-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.insta-slide .insta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-slide.active:hover .insta-overlay {
    opacity: 1;
}

.insta-slide .insta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.insta-slide .insta-link:hover {
    background: #fff;
    color: #000;
}

.insta-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.insta-dot {
    width: 30px;
    height: 3px;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    border-radius: 2px;
}

.insta-dot.active {
    background: #fff;
    width: 50px;
}

@media (max-width: 768px) {
    .insta-carousel-section { padding: 3rem 0; }
    .insta-slide { height: 350px; flex: 0 0 85%; }
    .insta-carousel-track { padding: 0 7.5%; gap: 0.5rem; }
}

@media (max-width: 480px) {
    .insta-slide { height: 280px; flex: 0 0 90%; }
    .insta-carousel-track { padding: 0 5%; }
}

/* ==================== MOBILE DRAWER FIX ==================== */
.mobile-drawer {
    display: flex;
    flex-direction: column;
}

.mobile-drawer-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem !important;
    gap: 0 !important;
}

.mobile-drawer-nav a {
    padding: 0.8rem 1.5rem !important;
}

.mobile-drawer-social {
    padding: 1.5rem 2rem !important;
    flex-shrink: 0;
    margin-top: auto;
}

/* Formata botões para ficarem bonitos */
.mobile-drawer-social a { width: auto; padding: 0.5rem 1rem; border-radius: 20px; font-size: 1rem; }
.product-catalog-whatsapp { text-decoration: none !important; }
.load-more-btn { transition: none; }
.load-more-btn:hover { background: #333; color: white; transform: none; box-shadow: none; }

/* ==================== HERO DARKNESS & OUTLINE CONTROLS ==================== */
/* Make hero images darker and high-contrast */
.hero-background img, .page-hero img, .hero-product-bg img {
    filter: brightness(0.6) contrast(1.05) !important;
}

/* Darker overlays for perfect legibility of logo, header links, and text */
.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.72) 100%
    ) !important;
    z-index: 1;
}

.hero-product-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    ) !important;
}

/* Header Links extra drop shadow for maximum legibility */
.nav-links a {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    font-weight: 500 !important;
}

.logo img {
    filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.6));
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.75));
}




/* Official WhatsApp Green Float */
.whatsapp-float {
    background-color: #25D366 !important;
    background-image: none !important;
}
.whatsapp-float:hover {
    background-color: #128C7E !important;
    background-image: none !important;
}

/* ==================== PERFORMANCE ==================== */
img {
    content-visibility: auto;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== OUTLET PILL FILTERS ==================== */

.outlet-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    padding: 2rem 2rem 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-pill {
    padding: 0.45rem 1.25rem;
    border: 1px solid #c8bfb5;
    border-radius: 100px;
    background: transparent;
    color: #555;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
}

.filter-pill:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.filter-pill.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/* ==================== CATEGORIES EDITORIAL SECTION ==================== */

.categories-highlight-section {
    background: #fff;
    padding: 6rem 2rem;
}

.cat-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.cat-label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #a3846d;
    margin-bottom: 1.2rem;
}

.cat-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.cat-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    color: #777;
    line-height: 1.8;
    max-width: 380px;
}

.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid #efefef;
    transition: all 0.25s ease;
}

.cat-item:first-child {
    border-top: 1px solid #efefef;
}

.cat-item:hover {
    padding-left: 0.5rem;
}

.cat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #c5b8ad;
    font-weight: 400;
    flex-shrink: 0;
    padding-top: 0.1rem;
    min-width: 2rem;
}

.cat-text strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
    letter-spacing: 0.01em;
}

.cat-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .cat-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .cat-desc {
        max-width: 100%;
    }
    .outlet-filter-pills {
        padding: 1.5rem 1rem 0.5rem;
        gap: 0.5rem;
    }
}

