/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
*/


/* ===== MAHALO ICE GLOBAL STYLES ===== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

:root {
    --header-height: 105px;
}

body,
.elementor-widget-heading .elementor-heading-title {
    font-family: 'Poppins', sans-serif;
}

div#primary {
    margin-top: 4rem;
}
nav.woocommerce-breadcrumb{
    display: none;
}

/* Navbar */

.site-header {
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.site-header .site-branding {
    padding: 10px 0;
}

.main-navigation a {
    color: #1a1a2e !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
    color: #e91e8c !important;
}

.main-navigation .menu-item:last-child>a {
    background: #e91e8c;
    border-radius: 30px;
    color: #ffffff !important;
    font-weight: 700;
    padding: 10px 22px !important;
    transition: background 0.2s;
}

.main-navigation .menu-item:last-child>a:hover {
    background: #c2185b;
}


/* Iconos sociales en el nav */

li.nav-social>a,
.main-navigation li.nav-social>a,
#menu-menu-principal li.nav-social>a {
    align-items: center !important;
    background: transparent !important;
    border: 2px solid #e91e8c !important;
    border-radius: 50% !important;
    color: #e91e8c !important;
    display: inline-flex !important;
    font-size: 0 !important;
    height: 34px !important;
    justify-content: center !important;
    margin: 0 2px !important;
    min-width: 34px !important;
    padding: 0 !important;
    text-indent: -9999px !important;
    transition: all 0.2s;
    width: 34px !important;
}

li.nav-social>a svg,
.main-navigation li.nav-social>a svg {
    display: block !important;
    fill: #e91e8c !important;
    flex-shrink: 0;
    height: 15px !important;
    min-width: 15px !important;
    text-indent: 0 !important;
    width: 15px !important;
}

li.nav-social>a:hover,
.main-navigation li.nav-social>a:hover {
    background: #12b8bd !important;
}

li.nav-social>a:hover svg,
.main-navigation li.nav-social>a:hover svg {
    fill: #12b8bd !important;
}


/* Elementor buttons global */

.elementor-button {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    transition: all 0.25s ease !important;
}

.elementor-button:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

html {
    scroll-behavior: smooth;
}

.elementor-widget-heading .elementor-heading-title {
    line-height: 1.2;
}


/* Social icons */

.elementor-social-icon {
    transition: transform 0.2s, opacity 0.2s !important;
}

.elementor-social-icon:hover {
    opacity: 0.9 !important;
    transform: scale(1.15) !important;
}


/* Icon list spacing */

.elementor-icon-list-item {
    padding: 4px 0 !important;
}


/* Remove default page padding on hello theme */

.page-content,
.entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 767px) {
    .elementor-section.elementor-section-boxed>.elementor-container {
        max-width: 100%;
        padding: 0 20px;
    }
}


/* ===== HERO ===== */

.hero-pink-overlay {
    overflow: hidden;
    position: relative;
}

.hero-pink-overlay .elementor-widget-wrap.elementor-element-populated {
    align-items: center;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.hero-pink-overlay .elementor-widget-wrap.elementor-element-populated>.elementor-element {
    align-self: flex-start;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: unset !important;
}

.hero-pink-overlay::before {
    content: "";
    inset: 0;
    position: absolute;
    z-index: 0;
    background: linear-gradient(90deg, rgba(245, 176, 200, 0.88) 0%, rgba(245, 176, 200, 0.72) 38%, rgba(245, 176, 200, 0.42) 65%, rgba(245, 176, 200, 0) 100%);
}

@media (max-width: 900px) {
    .hero-pink-overlay::before {
        display: none;
    }
}

.hero-pink-overlay>* {
    position: relative;
    z-index: 1;
}

#welcome_img {
    width: 60%;
}

#too_good {
    width: 75%;
}

header#site-header {
    padding: 0;
}

.page .entry-title,
.post .entry-title {
    display: none !important;
}


/* ===== NOSOTROS ===== */

#nos-img img {
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    height: 420px;
    object-fit: cover;
    width: 100%;
}


/* ===== GALERÍA ===== */


/* ===== HERO – botón ===== */

#hero-btn .elementor-button-wrapper {
    text-align: left;
}


/* ===== SECCIÓN SÍGUENOS ===== */

.mh-siguenos-section {
    position: relative;
    overflow: hidden;
}

.mh-siguenos-section>.elementor-container {
    position: relative;
    z-index: 2;
}

.mh-siguenos-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L0,0 Q360,80 720,40 Q1080,0 1440,50 L1440,0 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}

.mh-siguenos-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Crect width='14' height='80' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 1;
    display: none;
}

/* Botones Síguenos */
.mh-btn-siguenos .elementor-button {
    min-width: 200px;
    transition: all 0.3s ease !important;
}

.mh-btn-ig .elementor-button {
    background: #fff !important;
    border: 2px solid #e91e8c !important;
    color: #e91e8c !important;
    text-decoration: none !important;
}

.mh-btn-ig .elementor-button:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #fff !important;
}

.mh-btn-ig .elementor-button svg {
    fill: #e91e8c;
}

.mh-btn-ig .elementor-button:hover svg {
    fill: #fff;
}

.mh-btn-fb .elementor-button {
    text-decoration: none !important;
}

.mh-btn-fb .elementor-button:hover {
    background-color: #333 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Phone mockup */
.mh-phone-mockup img {
    border-radius: 28px;
    box-shadow: 15px 25px 60px rgba(0, 0, 0, 0.4);
    max-height: 850px;
    width: auto;
    transform: perspective(900px) rotateY(-8deg) rotateZ(4deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mh-phone-mockup img:hover {
    transform: perspective(900px) rotateY(-8deg) rotateZ(4deg) translateY(-8px);
    box-shadow: 18px 30px 70px rgba(0, 0, 0, 0.45);
}

/* Centrar texto y celular verticalmente */
.mh-siguenos-section .elementor-row,
.mh-siguenos-section>.elementor-container {
    align-items: center !important;
}

@media (max-width: 767px) {
    .mh-phone-mockup img {
        max-height: 300px;
        margin: 20px auto 0;
        transform: rotate(3deg);
    }

    .mh-phone-mockup img:hover {
        transform: rotate(3deg) translateY(-5px);
    }
}


/* ===== HEADER MAHALO ===== */

#site-header {
    background: #fff8f3;
    padding: 0 !important;
}

#site-header .header-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    min-height: 78px;
    padding: 0 32px;
}

#site-header {
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

body {
    padding-top: var(--header-height) !important;
}

body.admin-bar #site-header {
    top: 32px;
}

body.admin-bar {
    padding-top: calc(var(--header-height) + 32px) !important;
}

@media (max-width: 782px) {
    body.admin-bar #site-header {
        top: 46px;
    }

    body.admin-bar {
        padding-top: calc(var(--header-height) + 46px) !important;
    }
}

#site-header .site-logo img {
    height: 120px !important;
    max-height: 120px !important;
    width: auto !important;
}

#site-header .site-navigation ul.menu {
    align-items: center;
    display: flex;
    gap: 20px;
}

#site-header .site-navigation ul.menu li:nth-last-child(2) {
    margin-right: -10px !important;
}

#site-header .site-navigation ul.menu li {
    margin: 0 !important;
}

#site-header .site-navigation ul.menu li a {
    color: #222;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    padding: 0 !important;
    text-decoration: none;
}

#site-header .site-navigation ul.menu li.current-menu-item a {
    border-bottom: 2px solid #ff4f9a;
    color: #00aeb7;
    padding-bottom: 4px !important;
}

#site-header .site-navigation ul.menu li a:hover {
    border-bottom: 2px solid #ff4f9a;
    color: #00aeb7;
    padding-bottom: 4px !important;
}

@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }

    #site-header .header-inner {
        min-height: 70px;
        padding: 0 20px;
    }

    #site-header .site-logo img {
        height: 70px !important;
    }
}


/* ===== BANNERS CATEGORÍAS (Lo más popular) ===== */

.elementor-section:has(.category-banner-col),
.elementor-section:has(.category-banner-col)>.elementor-container,
.elementor-section:has(.category-banner-col)>.elementor-container>.elementor-row {
    overflow: visible !important;
}

body .popular-row .elementor-container.elementor-column-gap-custom {
    display: flex;
    gap: 10px;
}

body .category-banner-col {
    cursor: pointer;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
    will-change: transform;
    z-index: 1;
    min-height: 350px;
}

body .category-banner-col .elementor-widget-wrap.elementor-element-populated {
    align-content: flex-end !important;
}

.category-banner-col>.elementor-column-wrap {
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px !important;
    overflow: hidden;
    position: relative;
}

.category-banner-col:hover {
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.70) !important;
    transform: translateY(-16px) scale(1.08) !important;
    z-index: 20 !important;
    border-radius: 20px !important;
}

.elementor-section:has(.category-banner-col:hover) .category-banner-col:not(:hover) {
    opacity: 0.82;
    transform: scale(0.97);
}

.category-banner-col .elementor-background-overlay {
    background: linear-gradient(to top, rgba(6, 6, 20, 0.95) 0%, rgba(6, 6, 20, 0.80) 25%, rgba(6, 6, 20, 0.35) 55%, rgba(6, 6, 20, 0.00) 100%) !important;
    transition: opacity 0.35s ease;
}

.category-banner-col:hover .elementor-background-overlay {
    opacity: 0.62;
}

.cat-badge-widget {
    margin: 10px 0;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    position: absolute !important;
    top: 2.5rem;
}

.cat-badge-widget .elementor-widget-container {
    overflow: visible;
}

.cat-badge {
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    left: 14px;
    letter-spacing: 0.3px;
    padding: 5px 14px;
    pointer-events: none;
    top: 14px;
    white-space: nowrap;
    z-index: 20;
}

body .elementor-widget.category-down-text {
    margin-bottom: 0;
}

.badge-pink {
    background: #FF2D7A;
    color: #fff;
}

.badge-amber {
    background: #FFB800;
    color: #1a1a2e;
}

.badge-blue {
    background: #00B4D8;
    color: #fff;
}

.badge-green {
    background: #2DC653;
    color: #fff;
}

.cat-subtitle {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.3;
    margin: 3px 0 10px;
}

.sub-pink {
    color: #FF9FCC;
}

.sub-amber {
    color: #FFD047;
}

.sub-blue {
    color: #80D8F0;
}

.sub-green {
    color: #7EDBA0;
}

.category-banner-col .elementor-heading-title {
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.category-banner-col .elementor-button {
    backdrop-filter: blur(4px);
}

@media (max-width: 1024px) and (min-width: 601px) {
    .elementor-section:has(.category-banner-col)>.elementor-container>.elementor-row {
        flex-wrap: wrap;
    }

    .category-banner-col {
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }
}

@media (max-width: 600px) {
    .category-banner-col {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* ===== CARRITO EN HEADER ===== */

li.nav-cart>a.nav-cart-link {
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    color: #e91e8c !important;
    display: inline-flex !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    gap: 7px !important;
    padding: 4px 8px !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}

li.nav-cart>a.nav-cart-link:hover {
    color: #c2185b !important;
}

li.nav-cart>a.nav-cart-link svg {
    fill: #e91e8c;
    flex-shrink: 0;
    height: 24px;
    transition: fill 0.2s;
    width: 24px;
}

li.nav-cart>a.nav-cart-link:hover svg {
    fill: #c2185b;
}

li.nav-cart .nav-cart-count {
    background: #e91e8c;
    border-radius: 50px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    min-width: 18px;
    padding: 2px 6px;
    text-align: center;
    transition: background 0.2s;
}

li.nav-cart>a.nav-cart-link:hover .nav-cart-count {
    background: #fff;
    color: #e91e8c;
}


/* ===== FEATURES STRIP ===== */

body .icons-text {
    align-items: center;
    display: flex;
    gap: 4px;
    justify-content: center;
    max-height: 13rem;
    width: 93%;
}

body .icons-text>.elementor-element {
    gap: 0px;
}

body .icons-text>.elementor-element>.elementor-element {
    gap: 2.5px;
    justify-content: center;
    margin: 0;
    padding: 0;
}

body .icons-text>.elementor-element>.elementor-element:hover {
    transform: translateY(-5px);
    transition: 0.2s ease;
}


/* ===== FOTOS ALOHA – CARDS INCLINADAS ===== */

.nos-photos-section,
.nos-photos-section>.elementor-container,
.nos-photos-section>.elementor-container>.elementor-row {
    overflow: visible !important;
}

.nos-photo-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
    padding: 10px 10px 32px !important;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease, z-index 0s;
    will-change: transform;
    z-index: 1;
}

.nos-photo-card .elementor-widget-image img {
    border-radius: 6px;
    display: block;
    width: 100%;
}

.nos-card-left {
    transform: rotate(-5deg);
}

.nos-card-mid {
    transform: rotate(3deg);
    z-index: 2;
}

.nos-card-right {
    transform: rotate(-3deg);
}

.nos-card-left:hover,
.nos-card-mid:hover,
.nos-card-right:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    transform: rotate(0deg) scale(1.06);
    z-index: 10;
}


/* ===== GALERÍA – Efecto Polaroid ===== */

.mh-photo-grid,
.mh-photo-grid .elementor-widget-container,
.mh-photo-grid .elementor-widget-image-gallery,
.mh-photo-grid .gallery {
    overflow: visible !important;
}

.mh-photo-grid .gallery-item {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.20);
    overflow: visible !important;
    padding: 8px 8px 32px;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
    will-change: transform;
    z-index: 1;
}

.mh-photo-grid .gallery-item:nth-child(4n+1) {
    transform: rotate(-2.5deg);
}

.mh-photo-grid .gallery-item:nth-child(4n+2) {
    transform: rotate(1.8deg);
}

.mh-photo-grid .gallery-item:nth-child(4n+3) {
    transform: rotate(-1.5deg);
}

.mh-photo-grid .gallery-item:nth-child(4n+4) {
    transform: rotate(2.2deg);
}

.mh-photo-grid .gallery-item:hover {
    box-shadow: 0 20px 60px rgba(233, 30, 140, 0.32);
    transform: rotate(0deg) scale(1.08) !important;
    z-index: 20 !important;
}

.mh-photo-grid .gallery-icon {
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.mh-photo-grid .gallery-icon::after {
    background: linear-gradient(to top, rgba(233, 30, 140, 0.38) 0%, rgba(233, 30, 140, 0) 55%);
    border-radius: 2px;
    content: '';
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.35s ease;
}

.mh-photo-grid .gallery-item:hover .gallery-icon::after {
    opacity: 1;
}

.mh-photo-grid .gallery-item img {
    border-radius: 2px;
    display: block;
    height: 220px;
    object-fit: cover;
    transition: filter 0.35s ease;
    width: 100%;
}

.mh-photo-grid .gallery-item:hover img {
    filter: brightness(1.08);
}


/* ===== MENÚ PAGE – PRODUCT GRID ===== */

.mh-menu-wrap {
    padding: 0;
    font-family: 'Poppins', sans-serif;
}


/* --- Controls bar (branch + search) --- */

.mh-controls-bar {
    align-items: center;
    background: #fff;
    border: 1.5px solid #f0e0ec;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(233, 30, 140, .08);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 14px 20px;
}

.mh-branch-selector {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mh-branch-label {
    align-items: center;
    color: #555;
    display: flex;
    font-size: 13px;
    font-weight: 600;
    gap: 5px;
}

.mh-branch-label svg {
    color: #e91e8c;
}

.mh-branch-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mh-branch-tab {
    align-items: center;
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    color: #555;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    gap: 1px;
    line-height: 1.2;
    padding: 7px 16px;
    transition: all .2s;
}

.mh-branch-tab:hover {
    background: #e91e8c;
    border-color: #e91e8c;
    color: #fff;
}

.mh-branch-tab.active {
    background: #fce4f3;
    border-color: #e91e8c;
    color: #e91e8c;
}

.mh-branch-count {
    font-size: 10px;
    font-weight: 400;
    opacity: .8;
}

.mh-search-wrap {
    align-items: center;
    background: #f7f7f7;
    border: 1.5px solid #e8e8e8;
    border-radius: 30px;
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    transition: border-color .2s;
}

.mh-search-wrap:focus-within {
    border-color: #e91e8c;
    background: #fff;
}

.mh-search-wrap svg {
    color: #aaa;
    flex-shrink: 0;
}

#mh-search {
    background: transparent;
    border: none;
    color: #1a1a2e;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    outline: none;
    width: 200px;
}


/* --- Category filter pills --- */

.mh-cat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.mh-filter-btn {
    align-items: center;
    background: transparent;
    border: 2px solid #e8e8e8;
    border-radius: 30px;
    color: #555;
    cursor: pointer;
    display: flex;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
    padding: 7px 18px;
    transition: all .2s;
}

.mh-filter-btn:hover {
    background: #e91e8c;
    border-color: #e91e8c;
    color: #fff;
}

.mh-filter-btn:hover .mh-cat-count {
    background: rgba(255, 255, 255, .25);
}

.mh-filter-btn.active {
    background: #e91e8c;
    border-color: #e91e8c;
    color: #fff;
}

.mh-cat-count {
    background: rgba(0, 0, 0, .08);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
}

.mh-filter-btn.active .mh-cat-count {
    background: rgba(255, 255, 255, .25);
}


/* --- Product grid --- */

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


/* --- Product card --- */

.mh-card {
    background: #fff;
    border: 1.5px solid #f0f0f0;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.mh-card:hover {
    box-shadow: 0 12px 36px rgba(233, 30, 140, .15);
    transform: translateY(-5px);
}

.mh-card--out {
    opacity: .65;
}

.mh-card-link {
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
}

.mh-card a,
.mh-card a:hover {
    text-decoration: none !important;
}


/* Image */

.mh-card-img-wrap {
    overflow: hidden;
    position: relative;
}

.mh-card-img-wrap img {
    display: block;
    height: 220px;
    object-fit: cover;
    transition: transform .35s;
    width: 100%;
}

.mh-card:hover .mh-card-img-wrap img {
    transform: scale(1.05);
}

.mh-card-no-img {
    align-items: center;
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    display: flex;
    font-size: 48px;
    height: 220px;
    justify-content: center;
    width: 100%;
}


/* Stock badge */

.mh-stock-badge {
    background: rgba(76, 175, 80, .9);
    border-radius: 30px;
    bottom: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    left: 10px;
    padding: 3px 10px;
    position: absolute;
}

.mh-stock-badge.out {
    background: rgba(211, 47, 47, .85);
}


/* Card body */

.mh-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px 16px 16px;
}

.mh-badge {
    color: #e91e8c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.mh-name {
    color: #1a1a2e;
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px;
}

.mh-price {
    color: #e91e8c;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
}

.mh-btn {
    background: #e91e8c;
    border-radius: 30px;
    color: #fff !important;
    display: block;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 0;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s, transform .2s;
}

.mh-card:hover .mh-btn {
    background: #c2185b;
    transform: scale(1.02);
}

.mh-no-results {
    color: #999;
    font-size: 15px;
    padding: 40px 0;
    text-align: center;
}


/* --- Responsive --- */

@media (max-width: 1100px) {
    .mh-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mh-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mh-controls-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    #mh-search {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .mh-grid {
        grid-template-columns: 1fr;
    }

    #mh-search {
        width: 120px;
    }
}


/* ===== WOOCOMMERCE NOTICES ===== */

.woocommerce-message,
.woocommerce-info {
    background: #fff0f7 !important;
    border-top-color: #e91e8c !important;
    color: #1a1a2e !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #e91e8c !important;
}

.woocommerce-message a.button,
.woocommerce-info a.button {
    background: #e91e8c !important;
    border-radius: 30px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 8px 20px !important;
    text-decoration: none !important;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
    background: #c2185b !important;
}


/* ===== WOOCOMMERCE BLOCKS – BOTONES ===== */


/* Carrito: botón "Ir al pago" */

.wc-block-cart__submit-button,
a.wc-block-cart__submit-button {
    background: #12b8bd !important;
    border: none !important;
    border-radius: 30px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 13px 36px !important;
    text-decoration: none !important;
    transition: background .2s, transform .2s !important;
}

.wc-block-cart__submit-button:hover {
    background: #0e9ea3 !important;
    transform: scale(1.02) !important;
}


/* Checkout: botón "Realizar pedido" */

.wc-block-components-checkout-place-order-button {
    background: #12b8bd !important;
    border: none !important;
    border-radius: 30px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 13px 36px !important;
    transition: background .2s, transform .2s !important;
    width: 100% !important;
}

.wc-block-components-checkout-place-order-button:hover {
    background: #0e9ea3 !important;
    transform: scale(1.02) !important;
}


/* ===== SINGLE PRODUCT PAGE ===== */

.woocommerce div.product,
.woocommerce-page div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
    float: none !important;
    width: calc(50% - 15px) !important;
    flex: 0 0 calc(50% - 15px);
}

.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary {
    float: none !important;
    width: calc(50% - 15px) !important;
    flex: 0 0 calc(50% - 15px);
}

.woocommerce div.product .related,
.woocommerce div.product .woocommerce-tabs {
    flex: 0 0 100%;
}

.single-product form.cart .mh-topping-option {
    flex: 0 0 100%;
    order: -1;
}

/* Botón añadir al carrito – producto principal Y productos relacionados */
.single-product .single_add_to_cart_button,
.single-product button.single_add_to_cart_button,
.related.products .button.add_to_cart_button,
.related.products a.button,
.woocommerce ul.products li.product .button {
    background: #e91e8c !important;
    border: none !important;
    border-radius: 30px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    padding: 13px 20px !important;
    text-transform: none !important;
    transition: background .2s, transform .2s !important;
}

.single-product .single_add_to_cart_button:hover,
.related.products .button.add_to_cart_button:hover,
.related.products a.button:hover,
.woocommerce ul.products li.product .button:hover {
    background: #c2185b !important;
    transform: scale(1.02) !important;
}


/* ===== CALCULADORA DE ENVÍO ===== */

.mhc-wrap {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 360px;
    max-width: 920px;
    margin: 0 auto;
    padding: 40px 20px;
    align-items: start;
}

.mhc-title {
    color: #1a1a2e;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px;
}

.mhc-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0 0 28px;
}

.mhc-step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.mhc-step-num {
    background: #e91e8c;
    border-radius: 50%;
    color: #fff;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 800;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 30px;
}

.mhc-step-body {
    flex: 1;
}

.mhc-step-label {
    color: #1a1a2e;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
}

.mhc-input {
    background: #fafafa;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    color: #1a1a2e;
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    outline: none;
    padding: 11px 14px;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
}

.mhc-input:focus {
    border-color: #e91e8c;
    background: #fff;
}

.mhc-btn {
    background: #e91e8c;
    border: none;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-top: 8px;
    padding: 13px 36px;
    transition: background .2s, transform .2s;
    width: 100%;
}

.mhc-btn:hover:not(:disabled) {
    background: #c2185b;
    transform: scale(1.01);
}

.mhc-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.mhc-loader {
    color: #e91e8c;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
    min-height: 20px;
    display: none;
}

.mhc-loader.mhc-loading {
    display: block;
}

.mhc-error {
    color: #c62828;
    font-size: 13px;
    margin-top: 10px;
    min-height: 20px;
}


/* Result panel */

.mhc-result-col {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .3s, transform .3s;
}

.mhc-result-col.mhc-result-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mhc-result-card {
    background: #fff;
    border: 2px solid #f0e0ec;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(233, 30, 140, .08);
    padding: 24px 20px;
}

.mhc-result-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mhc-result-tag {
    color: #999;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.mhc-result-val {
    color: #1a1a2e;
    font-size: 22px;
    font-weight: 800;
}

.mhc-result-row--price {
    margin-bottom: 4px;
}

.mhc-result-price {
    color: #e91e8c;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0;
}

.mhc-result-divider {
    background: #f0e0ec;
    height: 1px;
    margin: 16px 0;
}

.mhc-extras-title {
    color: #1a1a2e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.mhc-extras-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 16px;
}

.mhc-extras-table td {
    color: #555;
    font-size: 12.5px;
    padding: 5px 0;
    border-bottom: 1px solid #f5e8f2;
    vertical-align: middle;
}

.mhc-extras-table tr:last-child td {
    border-bottom: none;
}

.mhc-extras-cost {
    color: #e91e8c;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.mhc-result-note {
    color: #aaa;
    font-size: 11.5px;
    margin: 0;
    line-height: 1.5;
}

.mhc-outofrange {
    display: none;
    grid-column: 1 / -1;
}

.mhc-outofrange.mhc-oor-visible {
    display: block;
}

.mhc-outofrange p {
    background: #fff8e1;
    border: 1.5px solid #f9a825;
    border-radius: 10px;
    color: #5d4037;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 14px 18px;
}

@media (max-width: 700px) {
    .mhc-wrap {
        grid-template-columns: 1fr;
    }

    .mhc-result-col {
        order: -1;
    }

    .mhc-outofrange {
        grid-column: 1;
    }
}


/* ===== FOOTER BAR GLOBAL ===== */

#site-footer {
    display: none !important;
}

.mahalo-footer-bar {
    background: #1a1a2e;
    padding: 14px 20px;
    text-align: center;
    width: 100%;
}

.mahalo-footer-bar__copy {
    color: #9aa5b4;
    font-size: 12px;
    margin: 0;
}

.mahalo-footer-bar__legal ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
    list-style: none;
    margin: 0 auto 10px;
    max-width: 900px;
    padding: 0;
}

.mahalo-footer-bar__legal li {
    color: #5c6677;
    font-size: 12px;
    line-height: 1.6;
}

.mahalo-footer-bar__legal li + li::before {
    content: "\00B7";
    margin: 0 8px;
}

.mahalo-footer-bar__legal a {
    color: #9aa5b4;
    text-decoration: none;
}

.mahalo-footer-bar__legal a:hover,
.mahalo-footer-bar__legal a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.mahalo-footer-bar__legal a:focus-visible {
    border-radius: 2px;
    outline: 2px solid #e91e63;
    outline-offset: 2px;
}

/* En móvil las líneas se parten: sin "·" (quedaría al inicio de renglón), solo espacio */
@media (max-width: 600px) {
    .mahalo-footer-bar__legal ul {
        gap: 2px 18px;
    }

    .mahalo-footer-bar__legal li {
        font-size: 13px;
        line-height: 2;
    }

    .mahalo-footer-bar__legal li + li::before {
        content: none;
    }
}


/* ===== PÁGINAS LEGALES ===== */

.mahalo-legal-page .page-header {
    display: none;
}

.mahalo-legal {
    color: #1a1a2e;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 820px;
    padding: 72px 20px 64px;
}

.mahalo-legal .mahalo-legal__title {
    color: #1a1a2e;
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 8px;
    text-align: center;
}

.mahalo-legal .mahalo-legal__updated {
    color: #777;
    font-size: 14px;
    margin: 0 0 28px;
    text-align: center;
}

.mahalo-legal .mahalo-legal__intro {
    color: #444;
    font-size: 17px;
    margin-bottom: 28px;
}

.mahalo-legal .mahalo-legal__highlight {
    background: #fff0f7;
    border: 1.5px solid #f7c9e0;
    border-radius: 14px;
    color: #4a2a3a;
    margin: 0 0 28px;
    padding: 16px 18px;
}

.mahalo-legal h2 {
    border-top: 1px solid #f0eef2;
    color: #1a1a2e;
    font-size: 21px;
    line-height: 1.3;
    margin: 32px 0 12px;
    padding-top: 24px;
}

.mahalo-legal h3 {
    color: #c2185b;
    font-size: 17px;
    margin: 20px 0 8px;
}

.mahalo-legal p,
.mahalo-legal ul {
    margin: 0 0 14px;
}

.mahalo-legal ul {
    padding-left: 22px;
}

.mahalo-legal li {
    margin-bottom: 6px;
}

.mahalo-legal a {
    color: #c2185b;
    text-decoration: underline;
}

.mahalo-legal a:hover,
.mahalo-legal a:focus-visible {
    color: #e91e63;
}

@media (max-width: 600px) {
    .mahalo-legal {
        font-size: 15px;
        padding: 56px 16px 48px;
    }

    .mahalo-legal .mahalo-legal__title {
        font-size: 26px;
    }

    .mahalo-legal h2 {
        font-size: 19px;
    }
}


/* ===== MOBILE – HAMBURGER ===== */


/* Suprimir el toggle nativo de Hello Elementor (usamos el nuestro) */

.site-navigation-toggle-holder {
    display: none !important;
}


/* Botón hamburguesa: oculto en desktop */

.mh-hamburger {
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mh-hamburger span {
    background: #1a1a2e;
    border-radius: 2px;
    display: block;
    height: 2.5px;
    transition: transform .3s ease, opacity .3s ease, width .3s ease;
    width: 24px;
}

.mh-hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mh-hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.mh-hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* ===== MOBILE ≤ 768px ===== */

@media (max-width: 768px) {
    :root {
        --header-height: 65px;
    }

    /* Header */
    #site-header .header-inner {
        align-items: center;
        display: flex;
        justify-content: space-between;
        min-height: 65px;
        padding: 0 16px;
        position: relative;
    }

    #site-header .site-logo img {
        height: 52px !important;
        max-height: 52px !important;
    }

    /* Mostrar hamburguesa */
    .mh-hamburger {
        display: flex;
    }

    /* Nav colapsado por defecto */
    #site-header .site-navigation,
    #site-header .main-navigation {
        background: #fff;
        border-top: 1.5px solid #f0e0ec;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
        display: none !important;
        left: 0;
        padding: 12px 20px 20px;
        position: absolute;
        top: 65px;
        width: 100%;
        z-index: 9998;
    }

    #site-header .site-navigation.nav-open,
    #site-header .main-navigation.nav-open {
        display: block !important;
    }

    #site-header .site-navigation ul.menu,
    #site-header .main-navigation ul.menu {
        flex-direction: column;
        gap: 0;
    }

    #site-header .site-navigation ul.menu li,
    #site-header .main-navigation ul.menu li {
        margin: 0 !important;
        width: 100%;
    }

    #site-header .site-navigation ul.menu li a,
    #site-header .main-navigation ul.menu li a {
        border-bottom: 1px solid #f5f5f5;
        display: block;
        font-size: 15px;
        padding: 12px 0 !important;
    }

    #site-header .site-navigation ul.menu li:last-child>a,
    #site-header .main-navigation ul.menu li:last-child>a {
        border-bottom: none;
    }

    /* Íconos sociales en menú mobile */
    li.nav-social>a,
    .main-navigation li.nav-social>a {
        margin: 8px 4px 0 !important;
    }

    /* Carrito en menú mobile */
    li.nav-cart>a.nav-cart-link {
        padding: 10px 0 !important;
    }

    /* Hero */
    #welcome_img {
        width: 95%;
    }

    #too_good {
        width: 95%;
    }

    /* Features strip */
    body .icons-text {
        flex-wrap: wrap;
        gap: 8px;
        max-height: none;
        width: 100%;
    }

    /* Nosotros */
    #nos-img img {
        height: 260px;
    }

    /* Fotos Aloha – sin rotación en touch */
    .nos-card-left,
    .nos-card-mid,
    .nos-card-right {
        transform: none !important;
    }

    .nos-card-left:hover,
    .nos-card-mid:hover,
    .nos-card-right:hover {
        transform: scale(1.03) !important;
    }

    /* Banners categorías – sin lift en touch */
    .category-banner-col:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, .20) !important;
        transform: none !important;
    }

    .elementor-section:has(.category-banner-col:hover) .category-banner-col:not(:hover) {
        opacity: 1;
        transform: none;
    }

    /* Galería polaroid – sin rotación */
    .mh-photo-grid .gallery-item:nth-child(4n+1),
    .mh-photo-grid .gallery-item:nth-child(4n+2),
    .mh-photo-grid .gallery-item:nth-child(4n+3),
    .mh-photo-grid .gallery-item:nth-child(4n+4) {
        transform: none !important;
    }

    .mh-photo-grid .gallery-item:hover {
        transform: scale(1.04) !important;
    }

    /* Tarjetas de producto */
    .mh-card-img-wrap img,
    .mh-card-no-img {
        height: 180px;
    }

    /* Controls bar menú */
    .mh-controls-bar {
        gap: 10px;
        padding: 12px 14px;
    }

    .mh-branch-tab {
        font-size: 12px;
        padding: 6px 12px;
    }

    .mh-search-wrap {
        width: 100%;
    }

    #mh-search {
        width: 100%;
    }

    /* Pills de filtro */
    .mh-filter-btn {
        font-size: 12px;
        padding: 6px 14px;
    }

    /* Botones WooCommerce */
    .wc-block-cart__submit-button,
    .wc-block-components-checkout-place-order-button {
        font-size: 14px !important;
        padding: 12px 24px !important;
    }

    /* ── Hero – centrar botón en mobile ── */
    #hero-btn .elementor-button-wrapper {
        text-align: center;
    }

    /* ── Features strip – deshabilitar hover en touch, 2 columnas ── */
    body .icons-text>.elementor-element>.elementor-element:hover {
        transform: none;
    }

    body .icons-text>.elementor-element {
        flex: 0 0 calc(50% - 4px);
        max-width: calc(50% - 4px);
    }

    /* ── Fotos Aloha – separación entre cards apiladas ── */
    .nos-photo-card {
        margin-bottom: 24px;
    }

    /* ── Nosotros – imagen con menos margen ── */
    #nos-img img {
        height: 240px;
        margin-bottom: 16px;
    }

    /* ── Categorías banners – altura mínima cómoda en 1 columna ── */
    body .category-banner-col {
        min-height: 300px;
    }

    /* ── Galería – padding polaroid más chico ── */
    .mh-photo-grid .gallery-item {
        padding: 6px 6px 24px;
    }

    /* ── Calculadora – padding interior ── */
    .mhc-wrap {
        gap: 24px;
        padding: 24px 16px;
    }

    .mhc-title {
        font-size: 22px;
    }

    .mhc-result-price {
        font-size: 30px;
    }

    /* ── Sección Síguenos – ajustes mobile ── */
    .mh-btn-siguenos .elementor-button {
        min-width: 160px;
        font-size: 13px !important;
    }

    .mh-siguenos-section::before,
    .mh-siguenos-section::after {
        height: 50px;
    }

    /* ── Single product – mobile: todo 100% apilado ── */
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary,
    .woocommerce div.product .related {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .single-product form.cart {
        align-items: center;
        display: flex !important;
        flex-wrap: wrap;
        gap: 10px;
    }

    .single-product form.cart .mh-topping-option {
        flex: 0 0 100%;
    }

    .single-product form.cart .quantity {
        flex-shrink: 0;
    }

    .single-product form.cart input.qty {
        background: #f7f7f7;
        border: 2px solid #e8e8e8;
        border-radius: 30px;
        color: #1a1a2e;
        font-family: 'Poppins', sans-serif;
        font-size: 15px;
        font-weight: 700;
        height: 46px;
        padding: 0 12px;
        text-align: center;
        width: 70px;
    }

    .single-product form.cart input.qty:focus {
        border-color: #e91e8c;
        outline: none;
    }

    .single-product .single_add_to_cart_button,
    .single-product button.single_add_to_cart_button {
        flex: 1;
        text-align: center !important;
    }

    /* ── WooCommerce tabla carrito – columnas legibles ── */
    .woocommerce table.shop_table td,
    .woocommerce table.shop_table th {
        padding: 10px 8px !important;
    }

    /* ── Shape dividers – que no desborden ── */
    .elementor-shape {
        overflow: hidden;
    }

    .elementor-shape svg {
        min-height: 30px;
    }
}


/* ===== MOBILE ≤ 480px ===== */

@media (max-width: 480px) {

    /* Branch tabs: scroll horizontal en lugar de wrap */
    .mh-branch-tabs {
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .mh-branch-tabs::-webkit-scrollbar {
        display: none;
    }

    .mh-branch-tab {
        flex-shrink: 0;
    }

    /* Pills de filtro: scroll horizontal */
    .mh-cat-filters {
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .mh-cat-filters::-webkit-scrollbar {
        display: none;
    }

    .mh-filter-btn {
        flex-shrink: 0;
    }

    /* Galería: imágenes más pequeñas */
    .mh-photo-grid .gallery-item img {
        height: 160px;
    }

    /* Tarjetas producto: imagen más alta en pantalla angosta */
    .mh-card-img-wrap img,
    .mh-card-no-img {
        height: 200px;
    }

    /* Search en menú: ancho completo */
    #mh-search {
        width: 100%;
        min-width: 0;
    }

    /* ── Hero – imágenes al 100% en pantalla muy angosta ── */
    #welcome_img,
    #too_good {
        width: 100%;
    }

    /* ── Features strip – 1 columna en pantalla muy angosta ── */
    body .icons-text>.elementor-element {
        flex: 0 0 calc(50% - 4px);
        max-width: calc(50% - 4px);
    }

    /* ── Nosotros – imagen más compacta ── */
    #nos-img img {
        height: 200px;
    }

    /* ── Categorías banners – altura mínima reducida ── */
    body .category-banner-col {
        min-height: 260px;
    }

    /* ── Calculadora – ajustes tipografía ── */
    .mhc-title {
        font-size: 20px;
    }

    .mhc-result-price {
        font-size: 26px;
    }

    /* ── Nav social – botones más pequeños en pantalla angosta ── */
    li.nav-social>a,
    .main-navigation li.nav-social>a {
        height: 30px !important;
        min-width: 30px !important;
        width: 30px !important;
    }
}