:root {
    /* MAIN COLORS */
    --color-primary: #1f3a65;
    --color-primary-dark: #152947;
    --color-secondary: #d90429;
    --color-light: #ececec;
    --color-white: #fafafa;
    --color-gray: #8d99ae;
    --color-light-gray: #cccccc;
    --color-md-gray: #979797;
    --color-dark-gray: #555;
    --color-light-dark: #222222;
    --color-dark: #1e1e1e;
    --color-whatsapp: #1ebe5b;
    --color-hover-whatsapp: #019501;
    --color-back-button: #0077cc;
    --color-hover-back-button: #005fa3;
    --color-blue: #2f5bea;
    --color-dark-blue: #2336c4;

    /* FONTS */
    --font-title: "Montserrat", sans-serif;
    --font-body: "Open Sans", sans-serif;

    /* SPACING */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;

    /* BORDERS */
    --border-radius-sm: var(--space-sm);
    --border-radius-md: var(--space-md);
    --border-radius-btn: 2rem;
    --border-gray: 1px solid var(--color-gray);

    /* SHADOWS */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);

    /* SEMANTIC Z-INDEX */
    --z-header: 1000;
    --z-dropdown: 1100;
    --z-modal: 1200;
    --z-backdrop: 1190;
    --z-toast: 1300;
    --z-floating-btn: 1400;
    --z-whatsapp: 1500;
}

html {
    font-size: 1rem;
    scroll-behavior: smooth;
}

/* O CONTENTOR MESTRE DA PÁGINA (A Solução Espacial) */
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-primary);
    margin: 0;
    position: relative;
    z-index: 0;
    padding-top: 105px; /* Espaço inegociável para a navegação fixa no Desktop */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--background-image-url);
    background-position: center 20%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    opacity: 0.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ################# ERROR MESSAGES ################### */

.messages {
    list-style: none;
    margin: 0 auto;
    padding: 15px;
    background-color: var(--color-light);
}

.message {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
}

.message.success {
    background-color: #e6ffed;
    color: #05632c;
    border-color: #9ae6b4;
}

.message.error {
    background-color: #ffe6e6;
    color: #9b1c1c;
    border-color: #feb2b2;
}

.message.warning {
    background-color: #fffaf0;
    color: #975a16;
    border-color: #fbd38d;
}

.message.info {
    background-color: #ebf8ff;
    color: #2c5282;
    border-color: #90cdf4;
}

.message.debug {
    background-color: #f7fafc;
    color: #4a5568;
    border-color: #e2e8f0;
}

/* ============== TEMPLATE BASE =================== */

/* ======= WHATSAPP ICON ======== */
.whatsapp-float {
    position: fixed;
    width: 90px;
    bottom: 30px;
    right: 30px;
    z-index: var(--z-whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.whatsapp-float.pulse {
    animation: pulse 1.6s ease-in-out 3;
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 110%;
    right: 0;
    width: max-content;
    transform: translateY(10px);
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
    z-index: var(--z-whatsapp);
}

.whatsapp-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 35px;
    border-width: 6px;
    border-style: solid;
    border-color: var(--color-whatsapp) transparent transparent transparent;
}

.whatsapp-tooltip span {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.whatsapp-tooltip span.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===========   MAIN HEADER   ============ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    z-index: var(--z-header);
    padding: var(--space-sm) 0;
    width: 100%;
}

.logo {
    position: relative;
    min-height: 50px;
}

.logo-img {
    display: block;
}

.logo-img img {
    height: 90px;
}

.header-content {
    display: flex;
    flex-direction: row;
}

.logo-text {
    display: none;
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
}

.logo-img,
.logo-text {
    transition: opacity 0.3s ease;
}

.nav-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 0;
}

.nav-desktop .menu {
    margin-left: auto;
}

.nav-link {
    color: var(--color-primary);
    font-weight: 600;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--color-secondary);
}

/* ======= Dropdown navbar Products ======= */

.dropdown-parent {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-sm);
    min-width: 270px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: var(--z-dropdown);
    list-style: none;
    padding-left: 0;
}

.dropdown-item {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-primary);
    transition: background 0.3s;
}

.dropdown-item:hover {
    background: var(--color-light);
    border-radius: var(--border-radius-sm);
}

.dropdown-parent:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 2px;
    margin-top: 2px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(225deg);
    transition: transform 0.3s;
}

.dropdown-parent:hover .dropdown-toggle::after {
    transform: rotate(45deg);
    margin-bottom: 3px;
    border-right: 2px solid var(--color-secondary);
    border-bottom: 2px solid var(--color-secondary);
}

.dropdown-parent:hover .nav-link {
    color: var(--color-secondary);
}

/* ====== MENU MOBILE ====== */

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: var(--z-header);
}

.hamburger-line {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--color-primary);
    margin: 4px 0;
    transition:
        transform 0.3s,
        opacity 0.3s;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== MENU MOBILE ===== */
.nav-mobile {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-10%);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.5s ease,
        opacity 0.5s ease;
    z-index: var(--z-dropdown);
}

.nav-mobile[data-visible="true"] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ==== Dropdown Mobile ==== */
.nav-mobile .dropdown-menu {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    position: fixed;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.5s;
    margin: 0;
    z-index: var(--z-dropdown);
    pointer-events: none;
}

.menu-mobile {
    list-style: none;
    padding-left: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

.menu-mobile > li {
    padding: 0 var(--space-md);
}

.menu-mobile .nav-link {
    display: block;
    padding: var(--space-md) 0;
    font-weight: 600;
    border-bottom: 2px solid var(--color-light);
}

.nav-mobile .dropdown-menu a {
    display: block;
    padding: var(--space-xs) 0;
    color: var(--color-gray);
    transition: color 0.3s;
}

.nav-mobile .dropdown-menu a:hover {
    color: var(--color-dark);
}

/* =========== SOCIAL MEDIA HEADER ========== */
.header-socials {
    display: flex;
    gap: 1.5rem;
    margin-left: 2rem;
    align-items: center;
}

.header-socials a,
.mobile-socials a {
    color: var(--color-primary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.header-socials a:hover,
.mobile-socials a:hover {
    color: var(--color-secondary);
}

/* =========== CART HEADER ========== */
.header-cart {
    margin: 0 0 0 1.3rem;
    display: flex;
    align-items: center;
}

.cart-link {
    position: relative;
    text-decoration: none;
    color: inherit;
    top: 4px;
}

.cart-link i {
    font-size: 1.8rem;
}

.cart-count {
    background-color: #e63946;
    color: #fff;
    font-size: 0.6rem;
    font-weight: bold;
    border-radius: 50%;
    padding: 0.3rem 0.6rem;
    position: absolute;
    top: -13px;
    right: -18px;
}

/* ======= FOOTER ======== */

.footer {
    background-color: var(--color-dark);
    color: var(--color-md-gray);
    padding: var(--space-xl) var(--space-md) var(--space-md);
    font-size: 1rem;
    font-family: var(--font-body);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.footer-col h3 {
    font-family: var(--font-title);
    color: var(--color-light);
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.footer-logo-img {
    width: 120px;
    height: auto;
    margin: auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-family: var(--font-title);
    color: var(--color-light);
    text-align: center;
}

.footer-col .footer-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 1em;
    display: block;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-links a,
.footer-contact a {
    text-decoration: none;
    color: var(--color-md-gray);
    transition: color 0.3s ease;
    text-transform: capitalize;
}

.footer-col p,
.footer-col li {
    font-size: 1rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-light);
}

.footer-address {
    margin-left: 1rem;
}

.footer-address p {
    margin-top: 1rem;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-bottom: 0.65rem;
}

.footer-social a {
    font-size: 1.5rem;
    color: var(--color-md-gray);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--color-light);
}

.footer-bottom {
    text-align: center;
    margin-top: var(--space-lg);
    border-top: var(--border-gray);
    padding-top: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-gray);
}

/* ============== RESPONSIVENESS(TEMPLATE BASE) ============== */

@media (max-width: 1025px) {
    .dropdown-parent:hover .dropdown-toggle::after {
        transform: rotate(45deg);
        margin-bottom: 3px;
        border-color: var(--color-secondary);
    }

    .dropdown-parent .dropdown-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 968px) {
    body::before {
        background-image: none;
        background-color: var(--color-light);
        opacity: unset;
    }

    .header-content {
        gap: 2rem;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }

    .header-socials {
        display: flex;
        justify-content: center;
        gap: 2rem;
        padding: 1rem 0;
        margin: 0;
    }

    .header-cart {
        margin: 0;
    }

    .header-socials a,
    .mobile-socials a {
        font-size: 2rem;
    }

    .nav-desktop .menu {
        display: none;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .logo-img {
        display: block;
    }

    .nav-mobile .dropdown-menu {
        position: relative;
        box-shadow: none;
        display: none;
    }

    .nav-mobile .dropdown-menu a {
        line-height: 2.2;
    }

    .dropdown-menu.open {
        display: block;
    }

    .nav-mobile[data-visible="true"] .menu-mobile {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .dropdown-toggle::after {
        transform: rotate(45deg);
        margin-bottom: 3px;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 70px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-tooltip {
        font-size: 0.9rem;
    }

    .whatsapp-tooltip::after {
        right: 19px;
    }
}

/* ------------------ FINISH TEMPLATE BASE ----------------------- */

/* =================== TEMPLATE HOME ========================== */

.banner-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.banner-slider .glide__track,
.glide__slides,
.glide__slide {
    height: 100%;
    margin: 0;
    padding: 0;
}

.banner-slide {
    position: relative;
    width: 100%;
    min-height: clamp(550px, 75vh, 850px);
    display: flex;
}

.banner-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
}

.banner-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    padding: 2rem;
    padding-bottom: 3rem;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    color: var(--color-white);
    animation: slideUp 0.8s ease-out forwards;
}

.banner-description {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-family: var(--font-title);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: pre-line;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    color: var(--color-light)
}

.banner-btn {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 0.8rem 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--border-radius-btn);
    font-size: 1.1rem;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.banner-btn:hover {
    background-color: #a80320;
    transform: translateY(-3px);
}

.glide__arrow {
    width: 56px;
    height: 56px;
    border: none;
    background: none;
    display: flex;
    color: var(--color-white);
    font-size: 3rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 10;
}

.glide__arrow:hover {
    transform: scale(1.2);
}

.glide__arrow--left {
    left: 30px;
}
.glide__arrow--right {
    right: 30px;
}

.banner-slider .glide__arrows {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 10;
}

.banner-slider:hover .glide__arrows {
    opacity: 1;
    pointer-events: auto;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========= FEATURED PRODUCTS ======== */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.featured-products {
    padding: 4rem 0.5rem;
    background-color: var(--color-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
    padding: 1rem 1.5rem 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.product-title {
    font-size: 1.4rem;
    color: var(--color-dark-gray);
    line-height: 1.5;
}

.product-description {
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
}

.product-btn {
    background-color: var(--color-secondary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-btn);
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s;
    align-self: center;
    margin-top: auto;
}

.product-btn:hover {
    background-color: #a80320;
}

/* ============ WHY GAZIL SECTION ============= */

.why-gazil {
    padding: 4rem 1rem;
}

.why-gazil .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-dark);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.reason-card {
    padding: 2rem;
    text-align: center;
    background: var(--color-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.reason-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-style: normal;
}

.reason-card p {
    text-align: center;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
}

.reason-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.reason-description {
    font-size: 1rem;
    color: var(--color-dark-gray);
    line-height: 1.5;
}

/* ============== RESPONSIVENESS(TEMPLATE HOME) ================ */

@media (max-width: 968px) {
    .products-grid {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        margin-top: -15px;
        padding: 15px;
        scroll-padding-left: 15px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .products-grid::-webkit-scrollbar {
        display: none;
    }
    .products-grid > .product-card-link {
        flex: 0 0 calc(100% - 3rem);
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {
    .why-gazil {
        padding: 0 1rem;
    }
    .reasons-grid {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-bottom: 2rem;
        padding-left: 15px;
        padding-right: 15px;
        scroll-padding-left: 15px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .reasons-grid::-webkit-scrollbar {
        display: none;
    }
    .reasons-grid > .reason-card {
        flex: 0 0 calc(100% - 3.5rem);
        scroll-snap-align: start;
    }
}

@media (max-width: 460px) {
    .header-content {
        gap: 2rem;
        padding-right: 0.5rem;
    }
    .header-socials {
        margin: 0 auto;
        gap: 2rem;
    }
    .reason-card {
        padding: 1rem;
    }
}

@media (max-width: 365px) {
    .header-content {
        gap: 1.3rem;
        padding-right: 0.5rem;
    }
    .header-socials {
        margin: 0 auto;
        gap: 1.3rem;
    }
    .banner-btn {
        font-size: 0.9rem;
    }
    .breadcrumb {
        font-size: 0.8rem;
    }
    .message {
        font-size: 12px;
    }
}

/* ---------------- FINISH TEMPLATE HOME -------------------- */

/* ============== TEMPLATE CONTACTS =============== */

.contact-header {
    background-color: var(--color-primary);
    padding: 60px 20px;
    text-align: center;
    /* A MARGEM DAQUI FOI ERRADICADA */
}

.contact-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.contact-header p {
    font-size: 1.5rem;
    color: var(--color-light-gray);
    max-width: 800px;
    margin: 0 auto;
}

.section-title-contact {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--color-light-dark);
    text-align: left;
}

.contact-section {
    padding: 1.2rem;
    background-color: var(--color-light);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1rem;
    width: 100%;
}

.contact-info,
.contact-form {
    flex: 1 1 295px;
    min-width: 280px;
    padding: 40px 20px;
    background-color: var(--color-light);
    color: var(--color-dark);
}

.contact-info {
    background-color: var(--color-light);
    padding: 40px 20px;
    text-align: center;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-light);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 600px;
    text-align: left;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-sublist {
    padding-left: 30px;
    color: var(--color-dark-gray);
    font-size: 1rem;
}

.icon {
    color: var(--color-md-gray);
    font-size: 1.2rem;
    min-width: 20px;
}

.contact-sublist a .icon:hover {
    color: var(--color-dark-gray);
}

.copy-email-button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-md-gray);
    font-size: 1rem;
    padding: 2px;
}

.email-text {
    word-break: break-all;
    color: var(--color-dark-gray);
}

.copy-feedback {
    display: none;
    margin-left: 10px;
    font-size: 0.9rem;
    color: green;
    animation: fadeInOut 2s ease-in-out forwards;
}

.copy-feedback.visible {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.form-required-alert {
    /* background-color: var(--color-light); */
    color: var(--color-dark-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: -15px;
}

.form-required-alert .required-symbol {
    color: var(--color-secondary);
    font-weight: bold;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    font-family: inherit;
    padding: 12px 16px;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-white);
    font-size: 1rem;
    transition:
        border 0.3s,
        box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(100, 100, 255, 0.1);
    background-color: var(--color-white);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    padding: 12px 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius-btn);
    font-size: 1rem;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.contact-form button:hover {
    background-color: var(--color-dark-blue);
}

.errorlist {
    list-style: none;
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin: 0;
    padding-left: 15px;
}

.success-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-light);
    padding: 40px 20px;
    min-height: 70vh;
}

.success-container {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    text-align: center;
    max-width: 450px;
    width: 100%;
    color: var(--color-dark);
}

.success-container h1 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-container p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--color-dark-gray);
}

.success-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.success-button:hover {
    background-color: var(--color-dark-blue);
}

.location-and-map {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-locations {
    padding: 0 20px;
    text-align: left;
    color: var(--color-dark);
}

.address-item {
    margin-bottom: 20px;
}

.address-text {
    display: block;
    margin-bottom: 5px;
    color: var(--color-dark-gray);
}

.map-link {
    display: none;
}

#custom-map {
    display: block;
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    margin: 2rem auto;
}

@media (max-width: 768px) {
    .contact-header {
        padding: 40px 20px;
    }
    .contact-header h1 {
        font-size: 2rem;
    }
    .contact-header p {
        font-size: 1.1rem;
    }
    .contact-grid {
        flex-direction: column;
        margin-bottom: 0;
    }
    .contact-form {
        padding: 20px 5px;
    }
    .contact-info {
        padding: 10px 5px;
    }
    .contact-line i {
        margin-top: 5px;
    }
    .contact-list {
        margin: 0;
    }
    .location-and-map {
        margin: 0;
    }
    #custom-map {
        display: none;
    }
    .contact-locations {
        padding: 0 5px;
        text-align: left;
        color: var(--color-dark);
    }
    .map-link {
        display: inline-block;
        margin-top: 5px;
        font-size: 1rem;
        color: var(--color-secondary);
        text-decoration: underline;
    }
    .map-link:hover {
        color: var(--color-primary);
    }
}

@media (max-width: 450px) {
    .contact-grid {
        gap: 15px;
        margin: 0;
    }
    .contact-info {
        padding: 0 5px;
    }
    .contact-line {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* ------------------- FINISH TEMPLATE CONTACTS -------------------- */

/* =================== TEMPLATE WHO WE ARE ======================= */

.main-content {
    background: var(--color-light);
    opacity: 0.8;
}

.about-page {
    /* ERRO DAQUI FOI ERRADICADO E O PADDING REVERTIDO AO NORMAL */
    padding: 2rem 2rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
    color: var(--color-dark);
    font-size: 1.125rem;
    line-height: 1.7;
    font-weight: 900;
}

.about-page section {
    margin-bottom: 4rem;
    background-color: var(--color-light);
}

.about-page h1 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
}

.about-page h2 {
    font-size: 2.5rem;
    text-align: center;
}

.about-page p {
    margin-bottom: 1.35rem;
    font-size: 1.2rem;
    text-align: center;
}

.about-page ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.about-page .note {
    font-size: 1.125rem;
    color: var(--color-dark-gray);
    font-style: italic;
}

.about-page blockquote {
    background-color: var(--color-white);
    border-left: 4px solid var(--color-secondary);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-dark);
}

.about-page .closing-line {
    margin-top: 2rem;
    font-weight: 700;
    color: var(--color-dark-gray);
}

.section-clients {
    max-width: 1100px;
    margin: 4rem auto;
    text-align: center;
    padding: 0 2rem;
}

.section-clients h2 {
    margin-bottom: 2.5rem;
}

.section-clients img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: block;
}

.glide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition:
        background-color 0.3s ease,
        transform 0.2s ease;
    font-size: 1.2rem;
    z-index: 10;
}

.glide__arrow:hover {
    background-color: var(--color-secondary);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .section-clients {
        padding: 0 1rem;
    }
    .glide__arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .glide__arrow--left {
        left: 5px;
    }
    .glide__arrow--right {
        right: 5px;
    }
}

@media (max-width: 1440px) {
    .main-content {
        padding: 50px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px 10px;
    }
    .about-page {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }
    .about-page h1 {
        font-size: 2rem;
    }
    .about-page h2 {
        font-size: 1.5rem;
    }
    .about-page ul {
        font-size: 1rem;
    }
    .about-page p {
        font-size: 1rem;
    }
}

/* ------------------ FINISH TEMPLATE WHO WE ARE ------------------- */

/* ======================= PRODUCTS SECTION ======================== */

.hero {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    /* A MARGEM DAQUI FOI ERRADICADA */
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
}

.hero-content h2 {
    font-family: var(--font-body);
    font-size: 2rem;
    margin: 3rem auto 0;
}

.hero-content p {
    font-family: var(--font-body);
    font-size: 1.575rem;
    margin: 0 auto 3rem;
}

.search-bar {
    display: flex;
    align-items: center;
    max-width: 550px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.search-bar input {
    background: var(--color-white);
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-bar button {
    padding: 0.75rem 1.5rem;
    background: var(--color-white);
    color: var(--color-dark);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button:hover {
    background: var(--color-light-gray);
}

.categories {
    padding: var(--space-xl) var(--space-md);
    background: var(--color-light);
    text-align: center;
}

.categories-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.categories-subtitle {
    font-size: 1.375rem;
    color: var(--color-dark-gray);
    text-align: center;
    margin-bottom: 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    padding: 1rem;
    color: var(--color-dark);
    border: 1px solid transparent;
    transition: border-color 0.4s ease;
}

.category-card:hover {
    border-color: var(--color-light-gray);
}

.card-content {
    padding: 0;
    text-align: center;
}

.card-content h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
}

@media (max-width: 1369px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0 var(--space-xl) var(--space-xl) var(--space-xl);
    }
    .hero-content h1 {
        padding: 2rem 0 1rem;
        margin: 0;
        font-size: 2.8rem;
    }
    .hero-content h2 {
        margin: 1.5rem auto 0.5rem;
    }
    .hero-content p {
        margin: 0 0 1.3rem 0;
        font-size: 1.25rem;
    }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 650px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    .hero-content h2 {
        font-size: 1.7rem;
        margin: 1.5rem auto 0.5rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 550px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 490px) {
    .hero-content h1 {
        padding: 1.5rem 0 0.5rem;
        font-size: 1.8rem;
    }
    .hero-content h2 {
        font-size: 1.75rem;
        margin: 0 0 0.75rem;
    }
}

@media (max-width: 450px) {
    .hero-content h1 {
        font-size: 2rem;
        padding: 1.7rem 0 1rem;
    }
    .categories-title {
        font-size: 1.75rem;
    }
    .categories-subtitle {
        font-size: 1.2rem;
    }
    .category-card {
        padding: 0.3rem;
    }
    .card-content h3 {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.55rem;
        padding: 1.5rem 0 1rem;
    }
    .hero-content h2 {
        font-size: 1.4rem;
        margin: 0.75rem auto 0.75rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}

/* ================== LIST PRODUCTS TEMPLATE =================== */

.content {
    background: var(--color-light);
}

.list-product {
    padding-bottom: 4rem !important;
}

.ordering {
    padding: 0;
    margin: 0;
}

.ordering form {
    display: flex;
    gap: 1rem;
}

.ordering form label {
    width: max-content;
}

.ordering select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.75rem;
}

.list-title h2 {
    text-align: center;
    font-size: 2.5rem;
    padding: 2rem;
    margin: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-list-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--color-light);
    margin-bottom: 2.5rem;
    padding: 5px;
    border: 1px solid transparent;
    border-radius: var(--border-radius-sm);
    transition: border-color 0.5s ease;
}

.product-list-card:hover {
    border-color: var(--color-light-gray);
}

.card-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--color-light);
}

.card-product-image img {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-sm);
    object-fit: contain;
    mix-blend-mode: multiply;
}

.card-product-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.card-product-content h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.card-product-content .short-desc {
    font-size: 0.95rem;
    color: var(--color-dark-gray);
}

.card-product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: var(--border-radius-md);
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-cart {
    background-color: #e6f4ea;
    color: #185c37;
    border: 1px solid var(--color-primary);
    width: 100%;
}

.btn-cart:hover {
    background-color: #185c37;
    color: #e6f4ea;
}

.btn-details {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: var(--color-light);
}

.btn-details:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-light);
}

.btn i {
    font-size: 20px;
}

.icon-composto {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.icon-composto .fa-clipboard {
    font-size: 1.3rem;
}

.card-product-actions .btn-cart {
    background-color: #3b7b51 !important;
    color: #ffffff !important;
    border: 1px solid #3b7b51 !important;
    transition: all 0.2s ease;
}

.card-product-actions .btn-cart:hover {
    background-color: #2e613f !important;
    border-color: #2e613f !important;
    transform: translateY(-2px);
}

.card-product-actions .btn-cart .icon-composto .fa-clipboard {
    color: #ffffff;
}

.card-product-actions .btn-cart .icon-composto .fa-plus {
    position: absolute;
    bottom: 0;
    right: -0.2em;
    font-size: 0.5rem !important;
    width: 0.85rem !important;
    height: 0.85rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #3b7b51;
    border: 0.15em solid #3b7b51;
    border-radius: 50%;
    line-height: 1;
    transition: all 0.2s;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
    padding-bottom: 0.95rem;
}

.pagination a {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: var(--color-light-dark);
    transition: background 0.5s ease;
}

.pagination a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.pagination span {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: var(--color-light);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    border: 2px dashed var(--color-md-gray);
    border-radius: 16px;
    background: #fafafa;
    color: #444;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.no-results:hover {
    border-color: var(--color-dark-gray);
    background: whitesmoke;
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.no-results h2 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--color-light-dark);
}

.no-results p {
    font-size: 16px;
    color: var(--color-dark-gray);
}

.no-results .btn-back {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    background: var(--color-back-button);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    margin: 2rem 0 0;
}

.no-results .btn-back:hover {
    background: var(--color-hover-back-button);
}

.no-results i {
    font-size: 40px;
    color: var(--color-whatsapp);
    display: block;
    margin: 0.5rem 0 0;
}

@media (max-width: 1440px) {
    .product-grid {
        gap: 10px;
    }
    .content:has(.no-results) {
        padding: 4rem 0;
    }
    .btn {
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    .header .nav-desktop {
        padding: 0 10px;
    }
    .container {
        padding: 0;
        width: 95%;
    }
    .btn {
        font-size: 12.5px;
    }
    .btn i {
        font-size: 20px;
    }
    .no-results {
        padding: 20px;
    }
}

@media (max-width: 1050px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .btn {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .card-product-content h2 {
        font-size: 1.25rem;
    }
    .container {
        width: 90%;
    }
    .product-grid {
        padding: 0 5px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-list-card {
        margin-bottom: 2rem;
    }
    .btn {
        font-size: 14px;
    }
    .btn i {
        font-size: 22px;
    }
}

@media (max-width: 650px) {
    .container {
        padding: 0;
        width: 95%;
    }
    .ordering {
        padding: 0;
    }
    .list-title h2 {
        padding: 1.25rem;
    }
    .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }
    .card-product-content {
        padding: 5px;
    }
    .card-product-actions .btn i {
        font-size: 20px;
    }
}

@media (max-width: 450px) {
    .header .nav-desktop {
        padding: 0 10px;
    }
    .hero {
        padding: 0 0.5rem 1.2rem;
    }
    .hero-content p {
        line-height: 1.3;
    }
    .ordering label {
        font-size: 0.9rem;
    }
    .list-title h2 {
        font-size: 1.5rem;
    }
    .product-grid {
        padding: 0;
    }
    .card-product-content {
        padding: 0px;
    }
    .card-product-content h2 {
        font-size: 0.9rem;
    }
    .card-product-content .short-desc {
        font-size: 0.7rem;
    }
    .card-product-actions {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 5px;
        margin-top: auto;
    }
    .card-product-actions .btn i {
        font-size: 20px;
    }
    .btn-details {
        flex-grow: 1;
        display: flex;
        width: auto;
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem !important;
        justify-content: space-between;
        text-align: center;
        white-space: nowrap;
    }
    .btn-details i {
        display: none;
    }
    .btn-details::after {
        content: "\f054";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.75rem;
    }
    .btn-cart {
        flex-shrink: 0;
        padding: 0;
        margin: 0;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .btn-cart .btn-text {
        display: none !important;
    }
    .btn {
        font-size: 0.75rem;
        padding: 0.45rem 0;
    }
    .btn i {
        font-size: 2.25rem;
    }
    .no-results h2 {
        font-size: 1.2rem;
    }
    .no-results p {
        font-size: 0.95rem;
        margin: 0;
    }
    .no-results i {
        font-size: 30px;
        color: var(--color-whatsapp);
        margin: 0 0 0 0.5rem;
    }
}

@media (max-width: 360px) {
    .btn-details {
        flex-grow: 0;
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
    .btn-cart {
        border-radius: 50%;
    }
    .btn-details .btn-text,
    .btn-details::after {
        display: none !important;
    }
    .btn-details i {
        display: flex !important;
        font-size: 1.1rem !important;
        margin: 0;
    }
}

/* =================== DETAIL_PRODUCT TEMPLATE ===================== */

.product-detail-container {
    margin: 0 auto;
    padding: 2.5rem 0;
    background: var(--color-light);
}

.product-detail-header {
    text-align: left;
    margin-bottom: 2rem;
}

.product-detail-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: stretch;
    background: transparent;
    border-radius: 0;
}

.product-detail-image {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.product-detail-image img {
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.product-detail-info {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-detail-title {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin: 0 0 0.5rem 0;
}

.product-detail-short {
    font-size: 1.1rem;
    color: #666;
    font-weight: normal;
    margin: 0;
}

.product-detail-long {
    margin: 3rem 0 0;
}

.product-detail-long p {
    margin: 0;
}

.product-detail-buttons {
    display: flex;
    flex-direction: row;
    margin: 0;
    gap: 12px;
    justify-content: space-between;
}

.product-detail-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s;
}

.product-detail-buttons form,
.product-detail-buttons .btn-whatsapp {
    flex: 1;
}

.product-detail-buttons .btn-cart {
    color: white;
    border: 1px solid #3b7b51;
    background-color: #3b7b51;
}

.product-detail-buttons .btn-cart:hover {
    transform: translateY(-2px);
    background-color: #2e613f;
}

.product-detail-buttons .btn-cart i {
    font-size: 1.4rem;
}

.product-detail-buttons .btn-whatsapp {
    background-color: #ffffff;
    color: #3b7b51;
    border: 1px solid #e0e0e0;
}

.product-detail-buttons .btn-whatsapp i {
    color: #25d366;
    font-size: 1.2rem;
}

.product-detail-buttons .btn-whatsapp:hover {
    border-color: #3b7b51;
    background-color: #f4fbf6;
}

.product-detail-buttons .btn-cart .icon-composto {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-detail-buttons .btn-cart .icon-composto .fa-plus {
    position: absolute;
    bottom: 0;
    right: -0.2em;
    font-size: 0.5rem !important;
    width: 0.85rem !important;
    height: 0.85rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #3b7b51;
    border: 0.15em solid #3b7b51;
    border-radius: 50%;
    line-height: 1;
    transition: all 0.2s;
}

.product-detail-buttons .btn-cart:hover .icon-composto .fa-plus {
    border-color: #2e613f;
    color: #2e613f;
}

.related-section h2 {
    margin-bottom: 20px;
    font-size: 1.75rem;
    text-align: center;
    padding-bottom: 10px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-grid > a {
    display: block;
    height: 100%;
    text-decoration: none;
}

.related-card {
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    transition: transform 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-4px);
}

.related-card img {
    max-width: 100%;
    border-radius: var(--border-radius-sm);
    margin: auto auto 15px auto;
}

.related-card h3 {
    font-size: 1.1rem;
    margin: 0;
    margin-top: auto;
}

.related-card p {
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    margin-bottom: 15px;
}

.related-section .no-results {
    padding: 30px 0;
}

@media (max-width: 1440px) {
    .product-detail-container {
        padding: 2.5rem 0;
    }
    .product-detail-main {
        gap: 1rem;
    }
    .product-detail-image {
        justify-content: center;
        align-items: baseline;
    }
    .product-detail-image img {
        width: 90%;
    }
    .product-detail-buttons .btn-whatsapp {
        font-size: 18px;
    }
    .product-detail-buttons .btn-cart i {
        font-size: 28px;
    }
}

@media (max-width: 1072px) {
    .product-detail-main {
        gap: 0;
    }
    .product-detail-buttons .btn-whatsapp {
        font-size: 14px;
        padding: 8px 12px;
    }
    .product-detail-buttons .btn-cart i {
        font-size: 25px;
    }
}

@media (max-width: 768px) {
    .product-detail-container {
        max-width: 100%;
        padding: 3rem 0;
    }
    .product-detail-main {
        flex-direction: column;
        margin: 0 0 3.5rem 0;
        padding: 0 15px;
        justify-content: center;
        align-items: center;
    }
    .product-detail-title {
        font-size: 2.5rem;
    }
    .product-detail-buttons {
        margin: 0;
    }
    .product-detail-buttons .btn-cart i {
        font-size: 35px;
    }
    .product-detail-buttons .btn-whatsapp {
        font-size: 17px;
        padding: 10px 14px;
    }
    .related-grid {
        gap: 10px;
    }
    .related-section {
        margin: 6rem 0 0;
    }
    .related-card {
        padding: 10px;
    }
}

@media (max-width: 650px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-detail-image img {
        width: 100%;
    }
    .product-detail-image {
        align-items: center;
        justify-content: unset;
    }
    .product-detail-buttons i {
        font-size: 43px;
    }
    .product-detail-buttons .btn-group-inline .btn {
        padding: 0;
    }
}

@media (max-width: 450px) {
    .product-detail-main {
        padding: 0;
    }
    .product-detail-image {
        width: 100%;
    }
    .product-detail-title {
        font-size: 2rem;
    }
    .product-detail-buttons {
        flex-direction: column;
        gap: 12px;
        margin: 0;
    }
    .product-detail-buttons form,
    .product-detail-buttons .btn-whatsapp {
        width: 100%;
    }
    .product-detail-buttons .btn {
        width: 100%;
        padding: 14px 10px;
        justify-content: center;
    }
    .product-detail-buttons .btn .btn-text {
        display: block !important;
        font-size: 1rem;
    }
    .product-detail-buttons .btn i {
        font-size: 1.4rem !important;
        margin-right: 8px;
    }
    .product-detail-buttons .btn-cart {
        background-color: #3b7b51 !important;
        color: #ffffff !important;
        border: 1px solid #3b7b51 !important;
    }
    .product-detail-buttons .btn-whatsapp {
        background-color: #ffffff !important;
        color: #3b7b51 !important;
        border: 1px solid #d1d5db !important;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ################# PARTIAL _BREADCRUMBS ################### */

.content-breadcrumb {
    background-color: var(--color-light);
    /* A MARGEM DAQUI FOI ERRADICADA */
    opacity: 0.8;
    padding: 0.5rem 0;
}

.content-contacts {
    background-color: var(--color-light);
    padding: 0.5rem 0 0 1.5rem;
    overflow: hidden;
}

.content-success {
    background-color: var(--color-light);
    overflow: hidden;
}

.content-products-custom {
    background-color: var(--color-light);
}

.content-products-custom .breadcrumb {
    padding: 0.75rem 0 0;
}

.content-products-custom .container {
    width: 95%;
}

.content-products {
    width: 100%;
    padding: 0.5rem 0;
    background-color: var(--color-light);
}

.content-products .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-header-container {
    gap: 1rem;
}

.content-products-list {
    background-color: var(--color-light);
}

.content-products-detail {
    background-color: var(--color-light);
}

.breadcrumb {
    margin-top: 0px;
    margin-bottom: 0px;
    display: flex;
    flex-wrap: wrap;
    font-size: 1rem;
    color: var(--color-primary-dark);
    padding: 0;
    font-weight: bold;
    gap: 0.3rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb .no-active:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.95rem;
    }
}

@media (max-width: 550px) {
    .content-products-list .breadcrumb {
        font-size: 0.75rem;
    }
    .content-products-detail .breadcrumb {
        font-size: 0.6rem;
    }
    .content-products-detail .breadcrumb li {
        padding: 0 0.15rem;
    }
}

@media (max-width: 480px) {
    .content-products .container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .ordering {
        padding-left: 1.2rem;
    }
}

/* ======================= CART SECTION ======================== */

.cart-content {
    background: var(--color-light);
    margin: 0; /* A MARGEM DUPLA DAQUI FOI ERRADICADA */
    padding: 0.5rem 0 5rem; /* Ajustado o padding para compensar a margem removida */
}

.cart-container {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.breadcrumbs-cart .container {
    width: 100%;
}

.cart-header {
    display: flex;
    align-items: center;
    margin: 1rem 0 0;
    gap: 1rem;
}

.cart-header h1 {
    font-size: 1.2rem;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cart-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
}

.cart-image img {
    width: 140px;
    height: auto;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
}

.cart-details {
    flex: 1;
}

.cart-details h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-light-dark);
}

.cart-details p {
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    margin-bottom: 1rem;
}

.remove-btn {
    border: none;
    background: #f8f8f8;
    color: var(--color-secondary);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition:
        background 0.3s,
        color 0.3s;
}

.remove-btn:hover {
    background: var(--color-white);
    color: #a00;
}

.cart-budget {
    width: 50%;
}

.cart-budget form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-budget input,
.cart-budget textarea {
    font-family: inherit;
    padding: 12px 16px;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-white);
    font-size: 1rem;
    transition:
        border 0.3s,
        box-shadow 0.3s;
}

.cart-budget input:focus,
.cart-budget textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(100, 100, 255, 0.1);
    background-color: var(--color-white);
}

.cart-budget textarea {
    min-height: 120px;
    resize: vertical;
}

.cart-budget button {
    padding: 12px 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius-btn);
    font-size: 1rem;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.cart-budget button:hover {
    background-color: var(--color-dark-blue);
}

.cart-empty {
    text-align: center;
    color: var(--color-dark-gray);
    padding: 3rem 6rem;
    background: var(--color-white);
    border-radius: 8px;
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ccc;
}

@media (max-width: 768px) {
    .cart-container {
        flex-direction: column;
    }
    .cart-budget {
        width: auto;
    }
}

/* =================== PROJETOS SOB MEDIDA ======================= */
.custom-project-section {
    padding: 3rem 0;
    background-color: var(--color-light);
}

.custom-project-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.step-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step-card i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.portfolio-section {
    margin-bottom: 5rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

.portfolio-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.portfolio-info {
    padding: 1.5rem;
    text-align: center;
}

.custom-form-section {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.form-grid textarea {
    min-height: 120px;
    resize: vertical;
}

.form-file-upload {
    margin: 2rem 0;
    text-align: center;
    padding: 2rem;
    border: 2px dashed #ccc;
    border-radius: 8px;
    background: #f9f9f9;
}

.file-label {
    display: block;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.btn-submit-custom {
    width: 100%;
    padding: 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit-custom:hover {
    background: var(--color-secondary);
}

@media (max-width: 968px) {
    .steps-grid {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-bottom: 2rem;
        padding-left: 15px;
        padding-right: 15px;
        scroll-padding-left: 15px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .steps-grid::-webkit-scrollbar {
        display: none;
    }

    .steps-grid > .step-card {
        flex: 0 0 calc(100% - 3.5rem);
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .custom-form-section {
        padding: 1.5rem;
    }
}
