.primary-button {
    background-color: rgb(255 152 0) !important;
    border-color: rgb(255 152 0) !important;
}

.primary-button:hover {
    background-color: rgb(230 136 0) !important;
    border-color: rgb(230 136 0) !important;
}

.custom-header,
.custom-footer {
    background-color: rgb(255 152 0 / 100%)
}

.custom-header img {
    max-width: 150px;
}
.content-header-logo-desktop a{
    
}
.iconOpenSubMenu {
    color: #fff;
}
.custom-header-content a {
    color: #fff;
    text-transform: none;
    text-align: center;
    line-height: 20px;
    font-size: 1rem;
}
.custom-header-desktop-bottom .icon-search:before {
    font-size: 30px;
}
.custom-header-desktop-bottom .icon-cart:before,
.custom-header-desktop-bottom .icon-users:before {
    font-size: 30px;
}
.header-categories:hover {
    border-color: #fff
}
.header-categories:hover div {
    background-color: rgb(255 152 0 / 95%)
}
.content-footer-services {
    align-items: start;
}
.content-footer-services .items-center {
    align-items: start;
}
.content-list-categories-items{
    margin-top: 0rem;
    border-top: solid 1px rgba(255,255,255,0.5);
}

.content-panel-mobile {
    background-color: #fff;
}

/* El drawer está dentro de .custom-header-content que fuerza links blancos —
   sobreescribir aquí para que el contenido del drawer sea legible sobre fondo blanco */
.content-panel-mobile a,
.content-panel-mobile p,
.content-panel-mobile span:not([class*="icon"]) {
    color: #1a1a1a !important;
}

.content-panel-mobile .text-\[\#6E6E6E\] {
    color: #6e6e6e !important;
}

.secondary-button {
    color: rgb(255 152 0) !important;
    border-color: rgb(255 152 0) !important;
}

.secondary-button:hover {
    background-color: rgb(255 152 0 / 8%) !important;
}
.subMenuDesktop {
    top: 60px;
}
.categoryTitleSlugHome {
    position: absolute;
    top: calc(50% - 20px);
    display: none !important;
}
.categoryTitleSlugHome p {
    font-size: 2rem;
    line-height: 2rem;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}
.listCategoriesHome {
    margin-top: 0rem !important;
}
.listCategoriesHome img {
    text-align: center;
    /* margin: 0px auto; */
    width: 95% !important;
}
.buttonTitleCarousel {
    line-height: 0px;
    margin-top: 0px;
    margin-left: 0px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    background-color: rgb(255 152 0 / 100%);
    border-color: rgb(255 152 0 / 100%);
}
.buttonTitleCarousel h2 {
    font-size: 1rem !important;
    color: #fff;
}
.listCategoriesHome .container {
    padding-right: 0px;
    padding-left: 0px;
}
.container .categoryItemHome, .container .categoryItemHome img {
    max-height: 400px !important;
    border-radius: 30px;
}
.container-carousel-products {
    margin-bottom: -10px;
}
.content-footer-whatsapp {
    position: fixed;
    bottom: 40px;
    z-index: 9999;
    right: 5%;
}
.content-footer-whatsapp p {
    display: inline-block;
    background-color: rgb(255 152 0 / 75%);
    padding: 5px 10px;
    font-style: italic;
    color: #fff;
    border-radius: 5px;
    padding-right: 29px;
    border: solid 1px #fff;
}
.btnFooterWhatsapp {
    background-color: #25D366;
    border-radius: 2rem;
    padding: 0.5rem 0.75rem;
    display: inline-block;
    margin-left: -20px;
}
.btnFooterWhatsapp i {
    font-size: 3rem;
    color: #fff;
}
.content-mobile-product {
    display: none;
}

@media(max-width: 1700px) {
    .header-categories {
        max-width: 130px;
    }
}
@media(max-width: 1520px) {
    .listCategoriesHome .container {
        padding-right: 15px;
        padding-left: 15px;
    }
}
@media(max-width: 1440px) {
    .content-list-categories-items {
        padding-left: 0px;
        padding-right: 0px;
    }
    .custom-header-content a {
        font-size: 1rem;
        line-height: 25px;
    }
}
@media(max-width: 1240px) {
    #content-gallery-products {
        max-width: 100% !important;
        margin: 0px auto !important;
    }
}
@media(max-width: 1220px) {
    .custom-header img {
        max-width: 190px;
    }
    .content-list-categories-items {
        max-width: 90%;
        overflow-x: scroll;
        margin: 0 auto;
        display: block;
        overflow-y: hidden;
    }
    .header-categories {
        max-width: auto;
        min-width: 120px;
        text-align: center;
    }
    .content-header-logo-desktop a {
        position: relative;
    }
}
@media(max-width: 1180px) {
    #content-gallery-products {
        max-width: 100% !important;
    }
}
@media(max-width: 1024px) {
    .content-desktop-product {
        display: none;
    }
    .content-mobile-product {
        display: block;
    }
}
@media(max-width: 1022px) {
    .header-categories {

    }
    .header-categories a {

    }
    .custom-header img {
        min-width: 70px !important;
        margin-top: -15px;
        max-width: 80% !important;
    }
    .content-panel-mobile img {
        max-width: 240px !important;
        margin: 0px auto;
        display: block;
        min-width: 0px !important;
    }
    .content-suscribe-footer,
    .content-suscribe-footer p {
        width: 100% !important;
        max-width: 100%;
    }
}
@media(max-width: 700px) {
    .gridCategoryHome {
        display: block;
        padding-right: 20px;
        padding-left: 20px;
    }
    .container .categoryItemHome {
        width: 100%;
        display: block;
        max-height: 250px !important;
        margin-bottom: 25px;
    }
    .container .categoryItemHome img {
        max-height: 250px !important;
    }
    .listCategoriesHome img {
        width: 100%;
        height: auto;
    }
    .buttonTitleCarousel h2 {
        line-height: 17px;
    }
    .buttonTitleCarousel {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 200px;
    }
}
@media(max-width: 525px) {
    #content-gallery-products img {
        min-width: 100% !important;
        width: 100% !important;
    }
}

/* P5 — Header mobile compacto al hacer scroll */
@media(max-width: 1022px) {
    .mobile-search-form {
        max-height: 60px;
        overflow: hidden;
        opacity: 1;
        transition: max-height 0.3s ease, opacity 0.2s ease, margin 0.3s ease;
    }
    header.header-compact .mobile-search-form {
        max-height: 0;
        opacity: 0;
        margin: 0 !important;
    }
}