/* Banner Home */
.banner-home { overflow: hidden; }
.banner-wrapper { width: 100%; }
.banner-img { width: 100%; height: auto; display: none; }
@media (min-width: 768px) { .banner-img-desktop { display: block; } }
@media (max-width: 767px) { .banner-img-mobile { display: block; } }

/* WhatsApp Contact Section */
/* Note: Original background-image paths in functions.php used absolute URLs. Using relative paths standard for theme assets. */
.contact2 { background-image: url("/media/wp-content/uploads/2024/09/banner-contact-desktop.webp"); background-size: cover; background-position: center; height: 659px; display: flex; align-items: center; }
.contact2 .container { height: 100%; align-content: center; margin-left: auto!important; margin-right: 10%; }
.contact2 .title { font-family: "Sylfaen", serif; font-size: 32px; line-height: 35.5px; color: #FFF; width: 70%; }
.contact2 .yellow-bar { width: 148px; height: 4px; background-color: #CCB544; margin: 10px; margin-left: 20px; }
.contact2 .subtitle { font-family: "Inter", sans-serif; font-size: 14.5px; color: #FFF; width: 410px; }
.whatsapp-buttons { display: flex; flex-direction: column; gap: 30px; width: fit-content; margin-top: 25px; }
.btn-whatsapp { display: flex; align-items: center; justify-content: center; padding: 10px 20px; background-color: #5CB85C; color: #FFF; font-size: 20px; text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease; width: auto; }
.btn-whatsapp svg { margin-right: 20px; }
.btn-whatsapp:hover { background-color: #4CAE4C; color: #fff; text-decoration: none; }

/* Mobile WhatsApp Section */
@media (max-width: 767px) {
    .contact2 { background-image: url("/media/wp-content/uploads/2024/09/banner-contact-mobile.webp"); padding: 40px 20px; height: 799px; align-items: flex-end; text-align: center; }
    .contact2 .container { align-content: end; margin-left: auto; margin-right: auto; }
    .contact2 .title { font-size: 32px; width: auto; margin-bottom: 20px; }
    .contact2 .yellow-bar { width: 128px; margin: 0 auto 10px auto; }
    .contact2 .subtitle { font-size: 14.5px; width: 365px; margin-top: 20px; margin-bottom: 20px; }
    .whatsapp-buttons { margin-top: 25px; gap: 25px; width: auto; align-items: center; }
    .btn-whatsapp { font-size: 20px; padding: 12px 15px; }
}

/* Product Tabs Layout Fix */
ul.cont-itens { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 0 !important; padding: 0 !important; margin-top: 20px !important; list-style: none !important; width: 100% !important; border: 1px solid #ddd !important; border-bottom: none !important; }
ul.cont-itens li.itens-opc { flex: 1 1 0 !important; min-width: 150px !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; background: #eaeaeb; padding: 15px 10px !important; cursor: pointer !important; transition: all 0.3s ease !important; text-align: center !important; border-bottom: 3px solid transparent !important; border-right: 1px solid #ddd !important; position: static !important; margin: 0 !important; height: auto !important; }
ul.cont-itens li.itens-opc:last-child { border-right: none !important; }
ul.cont-itens li.active-iten { background: #003B73 !important; color: #FFF !important; border-bottom: 3px solid #CCB544 !important; }

ul.cont-itens li.itens-opc .cont-ico-four { width: 45px !important; height: 45px !important; flex-shrink: 0 !important; position: relative !important; margin: 0 auto 10px auto !important; display: block !important; top: auto !important; bottom: auto !important; left: auto !important; right: auto !important; transform: none !important; }
ul.cont-itens li.itens-opc .ico-four { width: 100% !important; height: 100% !important; background-size: contain !important; background-repeat: no-repeat !important; background-position: center !important; position: absolute !important; top: 0 !important; left: 0 !important; right: auto !important; bottom: auto !important; transition: opacity 0.3s ease !important; }

/* Proper Icon Hover Logic cross-fade */
ul.cont-itens li.itens-opc .ico-four:not(.hover-ico) { opacity: 1 !important; z-index: 2 !important; }
ul.cont-itens li.itens-opc .hover-ico { opacity: 0 !important; z-index: 1 !important; }
ul.cont-itens li.itens-opc:hover .ico-four:not(.hover-ico) { opacity: 0 !important; }
ul.cont-itens li.active-iten .ico-four:not(.hover-ico) { opacity: 0 !important; }
ul.cont-itens li.itens-opc:hover .hover-ico { opacity: 1 !important; }
ul.cont-itens li.active-iten .hover-ico { opacity: 1 !important; }

/* Typography */
ul.cont-itens li.itens-opc span.des { font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; line-height: 1.2 !important; word-break: break-word !important; color: inherit !important; width: 100% !important; display: block !important; position: relative !important; top: auto !important; bottom: auto !important; padding: 0 !important; margin: 0 !important; }
ul.cont-itens li.itens-opc:not(.active-iten) span.des { color: #003B73 !important; }

/* Force-hide the broken pseudo-elements injected by legacy PHP template */
ul.cont-itens li.itens-opc span.des::before,
ul.cont-itens li.itens-opc .des.a::before,
ul.cont-itens li.itens-opc .des.b::before,
ul.cont-itens li.itens-opc .des.c::before,
ul.cont-itens li.itens-opc .des.d::before { display: none !important; content: none !important; width: 0 !important; height: 0 !important; }
