/* GeneratePress-EMPC — Iteración 17: paridad carrito y fila comercial. */

body.home .lmr-store-tools-row {
    width: 100%;
    margin: 0;
}

body.home .lmr-store-tools {
    width: min(100% - 40px, 1240px);
    max-width: none;
    min-height: 78px;
    box-sizing: border-box;
    padding: 9.6px 0;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) 240px;
    transform: translateY(1px);
}

body.home .lmr-store-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 608px;
    max-width: 608px;
    height: 58.8px;
}

body.home .lmr-store-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 50px;
    min-height: 50px;
    box-sizing: border-box;
    padding: 12px;
    font: 16px/24.8px "Open Sans", sans-serif;
    border: 2px solid #65766c;
    border-radius: 8px;
}

body.home .lmr-store-search button {
    height: 58.8px;
    min-height: 58.8px;
    width: 92px;
    min-width: 92px;
    padding: 15px 16px;
    font: 800 16px/24.8px "Open Sans", sans-serif;
    border: 2px solid #173e2d;
    border-radius: 8px;
}

body.home .lmr-header-cart {
    align-items: center;
    width: 240px;
    min-width: 240px;
    height: 50.8px;
    box-sizing: border-box;
    padding: 10.4px 13.6px;
    gap: 9.6px;
    border: 2px solid #173e2d;
    border-radius: 8px;
    background: #fff;
    color: #173e2d;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

body.home .lmr-header-cart__icon {
    display: grid;
    flex: 0 0 24px;
    place-items: center;
}

body.home .lmr-header-cart__icon svg {
    width: 24px;
    height: 24px;
}

body.home .lmr-header-cart__label {
    white-space: nowrap;
}

body.home .lmr-header-cart__count {
    display: grid;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    place-items: center;
    padding: 0 4.8px;
    border-radius: 999px;
    background: #173e2d;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
}

body.home .lmr-header-cart__subtotal {
    padding-left: 9.6px;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 768px) {
    body.home .lmr-store-tools {
        width: min(100% - 28px, 1200px);
        grid-template-columns: minmax(0, 1fr) auto;
    }

    body.home .lmr-store-search {
        width: 100%;
        max-width: none;
    }

    body.home .lmr-header-cart {
        width: auto;
        min-width: 0;
    }
}

@media (max-width: 520px) {
    body.home .lmr-store-tools {
        width: min(100% - 32px, 1200px);
    }

    body.home .lmr-header-cart__subtotal {
        display: none;
    }

    body.home .lmr-header-cart__label {
        font-size: 14px;
    }
}
