body {
    color: #000;
}

input, textarea, select {
    margin: 0!important;
}
.form-group {
    margin: 0 0 20px 0!important;
}
.is-valid {
    border: 1px solid #2db020 !important;
}
/**/
.maquina-destaque-img {
    min-height: 210px;
display:flex;
align-items:center;
justify-content:center;
}
.maquina-destaque-img img{
    height: inherit!important;
    /*vertical-align: middle;*/
}
/* melhorar menu */
header nav.navbar.white-link .navbar-nav > li.active > a, nav.navbar.bootsnav.white-link ul.nav > li.active > a, header nav.navbar.bootsnav ul.nav.white-link > li.active > a, header.header-appear nav.header-dark-transparent .navbar-nav > li.active > a, header.header-appear nav.header-dark .navbar-nav > li.active > a, header.sticky nav.header-dark .navbar-nav > li.active > a, header.sticky nav.header-dark-transparent .navbar-nav > li.active > a, header.sticky nav.navbar.bootsnav.header-dark-transparent.white-link .navbar-nav > li.active > a {
    color: rgb(241 90 37);
}
nav.navbar.bootsnav ul.nav ul.dropdown-menu > li > a {
    text-transform: uppercase;
}
.simple-dropdown .dropdown-menu {
    min-width: 245px;
}
.dropdown-menu-small {
    min-width: 45px!important
}
/* melhorar ui do footer */
.footer-widget-area ul li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
}

.menu-categorias {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 400;
}


.wayWhitePlace::placeholder {
    color: #ffffff;
    opacity: 1; /* Firefox */
}

.wayWhitePlace::-ms-input-placeholder { /* Edge 12 -18 */
    color: #ffffff;
}

.grecaptcha-badge {
    display: none !important;
}

.whatsapp-sticky {
    align-items: center;
    background: #25d366;
    border-radius: 50%;
    bottom: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    color: #ffffff;
    display: flex;
    font-size: 31px;
    height: 58px;
    justify-content: center;
    line-height: 1;
    position: fixed;
    right: 32px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    width: 58px;
    z-index: 10007;
}

.whatsapp-sticky:hover,
.whatsapp-sticky:focus {
    background: #1ebe5d;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

body.has-whatsapp-sticky .scroll-top-arrow {
    right: 104px;
}

@media (max-width: 767px) {
    .whatsapp-sticky {
        bottom: 24px;
        font-size: 28px;
        height: 52px;
        right: 20px;
        width: 52px;
    }

    body.has-whatsapp-sticky .scroll-top-arrow {
        right: 82px;
    }
}


a, a:active, a:focus {
    color: #000;

}

/* Galeria de fotos do detalhe de produto */
.product-photos-title {
    border-top: 6px solid #f6b800;
    color: #0f1630;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 25px;
    padding-top: 22px;
    text-transform: uppercase;
}

.product-photos-title::before {
    content: none;
}

/* só imagens, sem legenda nem moldura (a legenda aparece no lightbox) */
.product-photos-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.product-photo {
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.product-photo-img {
    aspect-ratio: 4 / 3;
    background: #f2f2f2;
    display: block;
    overflow: hidden;
}

.product-photo-img img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
    width: 100%;
}

.product-photo:hover .product-photo-img img {
    transform: scale(1.05);
}

@media (max-width: 575px) {
    .product-photos-grid {
        gap: 6px;
        grid-template-columns: repeat(3, 1fr);
    }

    .product-photos-title {
        font-size: 26px;
    }
}


/* Legenda das fotos ampliadas (lightbox) */
/* fixa ao fundo do ecrã em qualquer largura (no desktop ficava por baixo da imagem e criava scroll) */
.mfp-bottom-bar {
    background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0));
    bottom: 0;
    box-sizing: border-box;
    left: 0;
    margin: 0;
    padding: 40px 70px 22px;
    position: fixed;
    text-align: center;
    top: auto;
    width: 100%;
}

/* setas brancas com contorno preto, visíveis em fundos claros e escuros */
.mfp-arrow-left:before,
.mfp-arrow-right:before {
    -webkit-text-stroke: 1px #000;
    text-shadow: 0 0 3px #000, 0 0 3px #000;
}

.mfp-bottom-bar .mfp-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    padding-right: 0;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

.mfp-bottom-bar .mfp-counter {
    bottom: 6px;
    color: #ddd;
    font-size: 13px;
    left: 0;
    right: 0;
    text-align: center;
    top: auto;
}

@media (max-width: 575px) {
    .mfp-bottom-bar {
        padding: 30px 16px 28px;
    }

    .mfp-bottom-bar .mfp-title {
        font-size: 16px;
    }
}

/* Formulário de contacto das páginas de detalhe (Views/front/layout/contact_form.php) */
.irm-cform-wrap {
    margin-top: 20px;
    text-align: left;
}

.irm-cform {
    background: #F5F3EF;
    border-radius: 16px;
    padding: 40px;
}

.irm-cform .form-group {
    margin: 0 !important;
}

.irm-cform__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.irm-cform__full {
    grid-column: 1 / -1;
}

.irm-cform__intro {
    color: #4A4A45;
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 24px;
}

.irm-cform__intro strong {
    color: #1D1D1B;
    font-weight: 700;
}

.irm-cform input[type="text"],
.irm-cform input[type="email"],
.irm-cform input[type="tel"],
.irm-cform textarea {
    background: #fff;
    border: 1px solid #E2DED6;
    border-radius: 10px;
    color: #1D1D1B;
    font-size: 16px;
    line-height: 1.4;
    box-sizing: border-box;
    padding: 16px 20px;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}

.irm-cform textarea {
    min-height: 106px;
    resize: vertical;
}

.irm-cform input::placeholder,
.irm-cform textarea::placeholder {
    color: #8A877F;
    opacity: 1;
}

.irm-cform input[type="text"]:focus,
.irm-cform input[type="email"]:focus,
.irm-cform input[type="tel"]:focus,
.irm-cform textarea:focus {
    border-color: #EE6A32 !important;
    box-shadow: 0 0 0 3px rgba(238, 106, 50, .15);
}

/* sem o verde de "válido" do formValidation; os erros continuam a vermelho */
.irm-cform .is-valid {
    border-color: #E2DED6 !important;
}

.irm-cform small.text-danger,
.irm-cform .help-block {
    display: block;
    font-size: 13px;
    margin-top: 6px;
}

.irm-cform__footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: space-between;
    margin-top: 24px;
}

.irm-cform__privacy label {
    align-items: center;
    color: #4A4A45;
    cursor: pointer;
    display: flex;
    font-size: 15px;
    font-weight: 400;
    gap: 12px;
    margin: 0;
}

.irm-cform__privacy input[type="checkbox"] {
    accent-color: #EE6A32;
    cursor: pointer;
    flex: 0 0 20px;
    height: 20px;
    width: 20px;
}

.irm-cform__privacy a {
    color: #1D1D1B;
    text-decoration: underline;
}

.irm-cform__privacy a:hover {
    color: #EE6A32;
}

.irm-cform__submit {
    background: #EE6A32;
    border: 2px solid #EE6A32;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    padding: 17px 34px;
    transition: background-color .2s, color .2s;
}

.irm-cform__submit:hover,
.irm-cform__submit:focus {
    background: #fff;
    color: #EE6A32;
}

.irm-cform__submit:disabled {
    cursor: default;
    opacity: .6;
}

@media (max-width: 767px) {
    .irm-cform {
        padding: 24px 20px;
    }

    .irm-cform__grid,
    .irm-cform-wrap--bare .irm-cform__grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .irm-cform-wrap--bare .irm-cform textarea {
        height: auto;
        min-height: 140px;
    }

    .irm-cform__intro {
        font-size: 16px;
    }

    .irm-cform__submit {
        width: 100%;
    }
}

/* Página de Contactos (Views/front/contact/index.php): painel claro com os contactos + formulário + mapa */
.irm-contact {
    padding: 72px 0 80px;
}

.irm-contact__grid {
    align-items: stretch;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.irm-contact__panel {
    background: #fff;
    border: 1px solid #E2DED6;
    border-radius: 16px;
    color: #1D1D1B;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 48px 44px;
}

.irm-contact__kicker {
    color: #EE6A32;
    display: block;
    font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 12px;
    letter-spacing: .16em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.irm-contact__title {
    color: #1D1D1B;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 16px;
}

.irm-contact__lead {
    color: #4A4A45;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.irm-contact__list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.irm-contact__list li {
    align-items: flex-start;
    display: grid;
    gap: 18px;
    grid-template-columns: 46px 1fr;
    margin: 0;
    padding: 0;
}

.irm-contact__icon {
    align-items: center;
    background: #FDEEE6;
    border-radius: 50%;
    color: #EE6A32;
    display: flex;
    font-size: 19px;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.irm-contact__icon svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 20px;
}

.irm-contact__label {
    color: #8A877F;
    display: block;
    font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 11px;
    letter-spacing: .16em;
    line-height: 1.4;
    margin: 2px 0 6px;
    text-transform: uppercase;
}

.irm-contact a.irm-contact__value {
    color: #1D1D1B;
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s;
    word-break: break-word;
}

.irm-contact a.irm-contact__value:hover,
.irm-contact a.irm-contact__value:focus {
    color: #EE6A32;
}

.irm-contact__note {
    color: #8A877F;
    display: block;
    font-size: 13px;
    margin-top: 4px;
}

.irm-contact__address {
    color: #1D1D1B;
    font-size: 16px;
    font-style: normal;
    line-height: 1.6;
    margin: 0 0 10px;
}

.irm-contact a.irm-contact__directions {
    border-bottom: 1px solid #EE6A32;
    color: #EE6A32;
    font-size: 14px;
    font-weight: 600;
    padding-bottom: 2px;
    text-decoration: none;
}

.irm-contact a.irm-contact__directions:hover,
.irm-contact a.irm-contact__directions:focus {
    border-color: #1D1D1B;
    color: #1D1D1B;
}

/* o cartão do formulário ocupa a altura toda, alinhado com o painel */
.irm-cform-wrap--bare {
    height: 100%;
    margin-top: 0;
}

.irm-cform-wrap--bare .irm-cform {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 48px 44px;
}

.irm-cform-wrap--bare .irm-cform__grid {
    flex: 1 1 auto;
    grid-template-rows: auto auto 1fr;
}

.irm-cform-wrap--bare .irm-cform textarea {
    height: 100%;
    min-height: 160px;
}

.irm-contact__map {
    background: #E5E3DE;
    height: 440px;
    padding: 0;
}

.irm-contact__map iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

@media (max-width: 991px) {
    .irm-contact {
        padding: 48px 0 56px;
    }

    .irm-contact__grid {
        grid-template-columns: 1fr;
    }

    .irm-contact__panel,
    .irm-cform-wrap--bare .irm-cform {
        padding: 36px 28px;
    }

    .irm-contact__title {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .irm-contact__panel,
    .irm-cform-wrap--bare .irm-cform {
        padding: 28px 20px;
    }

    .irm-contact__map {
        height: 320px;
    }
}
